Webhook interface

An object that represents a webhook for a container registry.

Extends

Properties

actions

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

provisioningState

The provisioning state of the webhook at the time the operation was called. NOTE: This property will not be serialized. It can only be populated by the server.

scope

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.

status

The status of the webhook at the time the operation was called.

Inherited Properties

id

The resource ID. NOTE: This property will not be serialized. It can only be populated by the server.

location

The location of the resource. This cannot be changed after the resource is created.

name

The name of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

systemData

Metadata pertaining to creation and last modification of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

tags

The tags of the resource.

type

The type of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

actions

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

actions?: string[]

Property Value

string[]

provisioningState

The provisioning state of the webhook at the time the operation was called. NOTE: This property will not be serialized. It can only be populated by the server.

provisioningState?: string

Property Value

string

scope

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.

scope?: string

Property Value

string

status

The status of the webhook at the time the operation was called.

status?: string

Property Value

string

Inherited Property Details

id

The resource ID. NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

Inherited From Resource.id

location

The location of the resource. This cannot be changed after the resource is created.

location: string

Property Value

string

Inherited From Resource.location

name

The name of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

Inherited From Resource.name

systemData

Metadata pertaining to creation and last modification of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

systemData?: SystemData

Property Value

Inherited From Resource.systemData

tags

The tags of the resource.

tags?: {[propertyName: string]: string}

Property Value

{[propertyName: string]: string}

Inherited From Resource.tags

type

The type of the resource. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

Inherited From Resource.type