-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from logicmonitor/2-implement-support-for-missi…
…ng-v198-endpoints 6.1 Release Prep
- Loading branch information
Showing
27 changed files
with
5,074 additions
and
1,412 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
--- | ||
external help file: Logic.Monitor-help.xml | ||
Module Name: Logic.Monitor | ||
online version: https://www.logicmonitor.com/support/rest-api-developers-guide/ | ||
schema: 2.0.0 | ||
--- | ||
|
||
# Get-LMAWSAccountId | ||
|
||
## SYNOPSIS | ||
Retrieves the AWS Account ID associated with the LogicMonitor account. | ||
|
||
## SYNTAX | ||
|
||
``` | ||
Get-LMAWSAccountId [-ProgressAction <ActionPreference>] [<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
The Get-LMAWSAccountId function is used to retrieve the AWS Account ID associated with the LogicMonitor account. | ||
It checks if the user is logged in and has valid API credentials. | ||
If the user is logged in, it builds the necessary headers and URI, and then sends a GET request to the LogicMonitor API to retrieve the AWS Account ID. | ||
The function returns the response containing the AWS Account ID. | ||
|
||
## EXAMPLES | ||
|
||
### EXAMPLE 1 | ||
``` | ||
Get-LMAWSAccountId | ||
Retrieves the AWS Account ID associated with the LogicMonitor account. | ||
``` | ||
|
||
## PARAMETERS | ||
|
||
### -ProgressAction | ||
{{ Fill ProgressAction Description }} | ||
|
||
```yaml | ||
Type: ActionPreference | ||
Parameter Sets: (All) | ||
Aliases: proga | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### CommonParameters | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). | ||
## INPUTS | ||
## OUTPUTS | ||
## NOTES | ||
## RELATED LINKS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,166 @@ | ||
--- | ||
external help file: Logic.Monitor-help.xml | ||
Module Name: Logic.Monitor | ||
online version: | ||
schema: 2.0.0 | ||
--- | ||
|
||
# Get-LMConfigsourceUpdateHistory | ||
|
||
## SYNOPSIS | ||
Retrieves the update history for a LogicMonitor configuration source. | ||
|
||
## SYNTAX | ||
|
||
### Id (Default) | ||
``` | ||
Get-LMConfigsourceUpdateHistory -Id <Int32> [-Filter <Object>] [-BatchSize <Int32>] | ||
[-ProgressAction <ActionPreference>] [<CommonParameters>] | ||
``` | ||
|
||
### Name | ||
``` | ||
Get-LMConfigsourceUpdateHistory [-Name <String>] [-Filter <Object>] [-BatchSize <Int32>] | ||
[-ProgressAction <ActionPreference>] [<CommonParameters>] | ||
``` | ||
|
||
### DisplayName | ||
``` | ||
Get-LMConfigsourceUpdateHistory [-DisplayName <String>] [-Filter <Object>] [-BatchSize <Int32>] | ||
[-ProgressAction <ActionPreference>] [<CommonParameters>] | ||
``` | ||
|
||
## DESCRIPTION | ||
The Get-LMConfigsourceUpdateHistory function retrieves the update history for a LogicMonitor configuration source. | ||
It can be used to get information about the updates made to a configuration source, such as the update reasons and the modules that were updated. | ||
|
||
## EXAMPLES | ||
|
||
### EXAMPLE 1 | ||
``` | ||
Get-LMConfigsourceUpdateHistory -Id 1234 | ||
Retrieves the update history for the configuration source with the ID 1234. | ||
``` | ||
|
||
### EXAMPLE 2 | ||
``` | ||
Get-LMConfigsourceUpdateHistory -Name "MyConfigSource" | ||
Retrieves the update history for the configuration source with the name "MyConfigSource". | ||
``` | ||
|
||
### EXAMPLE 3 | ||
``` | ||
Get-LMConfigsourceUpdateHistory -DisplayName "My Config Source" | ||
Retrieves the update history for the configuration source with the display name "My Config Source". | ||
``` | ||
|
||
## PARAMETERS | ||
|
||
### -Id | ||
The ID of the configuration source. | ||
This parameter is mandatory when using the 'Id' parameter set. | ||
|
||
```yaml | ||
Type: Int32 | ||
Parameter Sets: Id | ||
Aliases: | ||
|
||
Required: True | ||
Position: Named | ||
Default value: 0 | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -Name | ||
The name of the configuration source. | ||
This parameter is used to look up the ID of the configuration source. | ||
This parameter is used when using the 'Name' parameter set. | ||
```yaml | ||
Type: String | ||
Parameter Sets: Name | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -DisplayName | ||
The display name of the configuration source. | ||
This parameter is used to look up the ID of the configuration source. | ||
This parameter is used when using the 'DisplayName' parameter set. | ||
```yaml | ||
Type: String | ||
Parameter Sets: DisplayName | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -Filter | ||
A filter object that specifies additional filtering criteria for the update history. | ||
This parameter is optional. | ||
```yaml | ||
Type: Object | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -BatchSize | ||
The number of results to retrieve per request. | ||
The default value is 1000. | ||
This parameter is optional. | ||
```yaml | ||
Type: Int32 | ||
Parameter Sets: (All) | ||
Aliases: | ||
|
||
Required: False | ||
Position: Named | ||
Default value: 1000 | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### -ProgressAction | ||
{{ Fill ProgressAction Description }} | ||
```yaml | ||
Type: ActionPreference | ||
Parameter Sets: (All) | ||
Aliases: proga | ||
|
||
Required: False | ||
Position: Named | ||
Default value: None | ||
Accept pipeline input: False | ||
Accept wildcard characters: False | ||
``` | ||
### CommonParameters | ||
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216). | ||
## INPUTS | ||
## OUTPUTS | ||
## NOTES | ||
## RELATED LINKS |
Oops, something went wrong.