Webhook Interface
Implements
public interface Webhook
extends ExternalChildResource<Webhook,Registry>, Resource, HasInnerModel<WebhookInner>, Refreshable<Webhook>, Updatable<Update>
An object that represents a webhook for a container registry.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Map<String,String> | customHeaders() |
abstract void |
disable()
Changes the status of the webhook to "disabled". |
abstract Mono<Void> |
disableAsync()
Changes the status of the webhook to "disabled". |
abstract void |
enable()
Changes the status of the webhook to "enabled". |
abstract Mono<Void> |
enableAsync()
Changes the status of the webhook to "enabled". |
abstract boolean | isEnabled() |
abstract
Paged |
listEvents() |
abstract
Paged |
listEventsAsync() |
abstract String | parentId() |
abstract String | ping() |
abstract Mono<String> | pingAsync() |
abstract
Provisioning |
provisioningState() |
abstract String | scope() |
abstract String | serviceUri() |
abstract
Collection<Webhook |
triggers() |
Method Details
customHeaders
public abstract Map
Returns:
disable
public abstract void disable()
Changes the status of the webhook to "disabled".
disableAsync
public abstract Mono
Changes the status of the webhook to "disabled".
Returns:
enable
public abstract void enable()
Changes the status of the webhook to "enabled".
enableAsync
public abstract Mono
Changes the status of the webhook to "enabled".
Returns:
isEnabled
public abstract boolean isEnabled()
Returns:
listEvents
public abstract PagedIterable
Returns:
listEventsAsync
public abstract PagedFlux
Returns:
parentId
public abstract String parentId()
Returns:
ping
public abstract String ping()
Returns:
pingAsync
public abstract Mono
Returns:
provisioningState
public abstract ProvisioningState provisioningState()
Returns:
scope
public abstract String scope()
Returns:
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
serviceUri
public abstract String serviceUri()
Returns:
triggers
public abstract Collection
Returns:
Applies to
Azure SDK for Java