New-AzActionGroupAutomationRunbookReceiverObject
Create an in-memory object for AutomationRunbookReceiver.
Syntax
New-AzActionGroupAutomationRunbookReceiverObject
-AutomationAccountId <String>
-IsGlobalRunbook <Boolean>
-RunbookName <String>
-WebhookResourceId <String>
[-Name <String>]
[-ServiceUri <String>]
[-UseCommonAlertSchema <Boolean>]
[<CommonParameters>]
Description
Create an in-memory object for AutomationRunbookReceiver.
Examples
Example 1: create action group automation runbook receiver
New-AzActionGroupAutomationRunbookReceiverObject -AutomationAccountId "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest" -RunbookName "sample runbook" -WebhookResourceId "/subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/automationAccounts/runbooktest/webhooks/Alert1510184037084" -Name "testRunbook" -UseCommonAlertSchema $true -IsGlobalRunbook $false
AutomationAccountId : /subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/a
utomationAccounts/runbooktest
IsGlobalRunbook : False
Name : testRunbook
RunbookName : sample runbook
ServiceUri :
UseCommonAlertSchema : True
WebhookResourceId : /subscriptions/187f412d-1758-44d9-b052-169e2564721d/resourceGroups/runbookTest/providers/Microsoft.Automation/a
utomationAccounts/runbooktest/webhooks/Alert1510184037084
This command creates action group automation runbook receiver object.
Parameters
-AutomationAccountId
The Azure automation account Id which holds this runbook and authenticate to Azure resource.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-IsGlobalRunbook
Indicates whether this instance is global runbook.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Indicates name of the webhook.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-RunbookName
The name for this runbook.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-ServiceUri
The URI where webhooks should be sent.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UseCommonAlertSchema
Indicates whether to use common alert schema.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-WebhookResourceId
The resource id for webhook linked to this runbook.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.