< Back

Set-AzureRmAutomationWebhook

Tue Jan 29, 2019 9:33 pm

NAME Set-AzureRmAutomationWebhook



SYNOPSIS

Modifies a webhook for an Automation runbook.





SYNTAX

Set-AzureRmAutomationWebhook [-ResourceGroupName] <String> [-AutomationAccountName] <String> [-Name] <String> [-IsEnabled] <Boolean>

[[-Parameters] <IDictionary>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]





DESCRIPTION

The Set-AzureRmAutomationWebhook cmdlet modifies a webhook for an Azure Automation runbook.





PARAMETERS

-AutomationAccountName <String>

Specifies the name of an Automation account in which this cmdlet modifies a webhook.



Required? true

Position? 1

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-DefaultProfile <IAzureContextContainer>

The credentials, account, tenant, and subscription used for communication with azure



Required? false

Position? named

Default value None

Accept pipeline input? False

Accept wildcard characters? false



-IsEnabled <Boolean>

Specifies whether the webhook is enabled.



Required? true

Position? 3

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Name <String>

Specifies a name of the webhook that this cmdlet modifies.



Required? true

Position? 2

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-Parameters <IDictionary>

Specifies a dictionary of key/value pairs. The keys are the runbook parameter names. The values are the runbook parameter values. When the

runbook starts in response to a webhook, these parameters are passed to the runbook.



Required? false

Position? 4

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



-ResourceGroupName <String>

Specifies the name of the resource group for which this cmdlet modifies a webhook.



Required? true

Position? 0

Default value None

Accept pipeline input? True (ByPropertyName)

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).



INPUTS

None

This cmdlet does not accept any input.





OUTPUTS

Microsoft.Azure.Commands.Automation.Model.Webhook







NOTES









Example 1: Disable a webhook



PS C:\\>Set-AzureAutomationWebhook -Name "Webhook01" -ResourceGroup "ResourceGroup01" -AutomationAccountName "AutomationAccount01" -IsEnabled $False



This command disables a webhook named Webhook01 in the Automation account named AutomationAccount01.







RELATED LINKS

Online Version: https://docs.microsoft.com/en-us/powers ... ionwebhook

Get-AzureRmAutomationWebhook

New-AzureRmAutomationWebhook

Remove-AzureRmAutomationWebhook