Azure Automation Webhook
This page shows how to write Terraform and Azure Resource Manager for Automation Webhook and write them securely.
azurerm_automation_webhook (Terraform)
The Webhook in Automation can be configured in Terraform with the resource name azurerm_automation_webhook
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.
Parameters
The following arguments are supported:
name
- (Required) Specifies the name of the Webhook. Changing this forces a new resource to be created.resource_group_name
- (Required) The name of the resource group in which the Webhook is created. Changing this forces a new resource to be created.automation_account_name
- (Required) The name of the automation account in which the Webhook is created. Changing this forces a new resource to be created.expiry_time
- (Required) Timestamp when the webhook expires. Changing this forces a new resource to be created.enabled
- (Optional) Controls if Webhook is enabled. Defaults totrue
.runbook_name
- (Required) Name of the Automation Runbook to execute by Webhook.run_on_worker_group
- (Optional) Name of the hybrid worker group the Webhook job will run on.parameters
- (Optional) Map of input parameters passed to runbook.uri
- (Optional) URI to initiate the webhook. Can be generated using Generate URI API. By default, new URI is generated on each new resource creation.
The following attributes are exported:
id
- The Automation Webhook ID.uri
- (Sensitive) Generated URI for this Webhook.
Explanation in Terraform Registry
Manages an Automation Runbook's Webhook.
Microsoft.Automation/automationAccounts/webhooks (Azure Resource Manager)
The automationAccounts/webhooks in Microsoft.Automation can be configured in Azure Resource Manager with the resource name Microsoft.Automation/automationAccounts/webhooks
. The following sections describe how to use the resource and its parameters.
Example Usage from GitHub
An example could not be found in GitHub.