Get-AzAutomationWebhook

Mendapatkan webhook dari Automation.

Sintaks

Get-AzAutomationWebhook
   [-ResourceGroupName] <String>
   [-AutomationAccountName] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzAutomationWebhook
   -Name <String>
   [-ResourceGroupName] <String>
   [-AutomationAccountName] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzAutomationWebhook
   -RunbookName <String>
   [-ResourceGroupName] <String>
   [-AutomationAccountName] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Deskripsi

Cmdlet Get-AzAutomationWebhook mendapatkan webhook. Untuk mendapatkan webhook tertentu, tentukan nama webhook atau tentukan nama runbook Azure Automation untuk menyambungkan webhook ke dalamnya.
Catatan: WebhookUri dikembalikan sebagai string kosong karena masalah keamanan. Pastikan untuk menyimpan URL webhook yang dikembalikan cmdlet New-AzAutomationWebhook , karena tidak dapat diambil dengan menggunakan Get-AzAutomationWebhook.

Contoh

Contoh 1: Mendapatkan semua webhook untuk runbook

Get-AzAutomationWebhook -RunbookName "Runbook03" -ResourceGroupName "ResourceGroup01" -AutomationAccountName "AutomationAccount01"

Perintah ini mendapatkan semua webhook untuk runbook bernama Runbook03 di akun Automation bernama AutomationAccount01 di grup sumber daya bernama ResourceGroup01.

Parameter

-AutomationAccountName

Menentukan nama akun Automation tempat cmdlet ini mendapatkan webhook.

Type:String
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-DefaultProfile

Kredensial, akun, penyewa, dan langganan yang digunakan untuk komunikasi dengan azure

Type:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Menentukan nama webhook yang didapat cmdlet ini.

Type:String
Aliases:WebhookName
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-ResourceGroupName

Menentukan nama grup sumber daya tempat cmdlet ini mendapatkan webhook.

Type:String
Position:0
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

-RunbookName

Menentukan nama runbook tempat cmdlet ini mendapatkan webhook.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False

Input

String

Output

Webhook