WebhookCreateParameters Class
The parameters for creating a webhook.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
WebhookCreateParameters
Constructor
WebhookCreateParameters(*, location: str, tags: Optional[Dict[str, str]] = None, service_uri: Optional[str] = None, custom_headers: Optional[Dict[str, str]] = None, status: Optional[Union[str, azure.mgmt.containerregistry.v2021_06_01_preview.models._container_registry_management_client_enums.WebhookStatus]] = None, scope: Optional[str] = None, actions: Optional[List[Union[str, azure.mgmt.containerregistry.v2021_06_01_preview.models._container_registry_management_client_enums.WebhookAction]]] = None, **kwargs)
Variables
- location
- str
Required. The location of the webhook. This cannot be changed after the resource is created.
- service_uri
- str
The service URI for the webhook to post notifications.
- status
- str or WebhookStatus
The status of the webhook at the time the operation was called. Possible values include: "enabled", "disabled".
- scope
- str
The scope of repositories where the event can be triggered. For example, 'foo:>>*<<' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.
- actions
- list[str or WebhookAction]
The list of actions that trigger the webhook to post notifications.
Feedback
Submit and view feedback for