次の方法で共有


WebhookUpdateParameters Class

The parameters for updating a webhook.

Inheritance
azure.mgmt.containerregistry._serialization.Model
WebhookUpdateParameters

Constructor

WebhookUpdateParameters(*, tags: Dict[str, str] | None = None, service_uri: str | None = None, custom_headers: Dict[str, str] | None = None, status: str | _models.WebhookStatus | None = None, scope: str | None = None, actions: List[str | _models.WebhookAction] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
tags

The tags for the webhook.

service_uri
str

The service URI for the webhook to post notifications.

custom_headers

Custom headers that will be added to the webhook notifications.

status

The status of the webhook at the time the operation was called. Known values are: "enabled" and "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

The list of actions that trigger the webhook to post notifications.

Variables

Name Description
tags

The tags for the webhook.

service_uri
str

The service URI for the webhook to post notifications.

custom_headers

Custom headers that will be added to the webhook notifications.

status

The status of the webhook at the time the operation was called. Known values are: "enabled" and "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

The list of actions that trigger the webhook to post notifications.