New-AzActionGroupAutomationRunbookReceiverObject
Maak een in-memory object voor AutomationRunbookReceiver.
Syntaxis
New-AzActionGroupAutomationRunbookReceiverObject
-AutomationAccountId <String>
-IsGlobalRunbook <Boolean>
-RunbookName <String>
-WebhookResourceId <String>
[-Name <String>]
[-ServiceUri <String>]
[-UseCommonAlertSchema <Boolean>]
[<CommonParameters>]
Description
Maak een in-memory object voor AutomationRunbookReceiver.
Voorbeelden
Voorbeeld 1: actiegroep automation runbookontvanger maken
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
Met deze opdracht maakt u actiegroep automation runbook ontvanger object.
Parameters
-AutomationAccountId
De Azure Automation-account-id die dit runbook bevat en verifieert bij de Azure-resource.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-IsGlobalRunbook
Geeft aan of dit exemplaar een globaal runbook is.
Type: | Boolean |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-Name
Geeft de naam van de webhook aan.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-RunbookName
De naam voor dit runbook.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-ServiceUri
De URI waar webhooks moeten worden verzonden.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-UseCommonAlertSchema
Geeft aan of het algemene waarschuwingsschema moet worden gebruikt.
Type: | Boolean |
Position: | Named |
Default value: | None |
Vereist: | False |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
-WebhookResourceId
De resource-id voor webhook die is gekoppeld aan dit runbook.
Type: | String |
Position: | Named |
Default value: | None |
Vereist: | True |
Pijplijninvoer accepteren: | False |
Jokertekens accepteren: | False |
Uitvoerwaarden
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure PowerShell