@Beta(value=V1_4_0) public interface Webhook extends ExternalChildResource<Webhook,Registry>, Resource, HasInner<com.microsoft.azure.management.containerregistry.implementation.WebhookInner>, Refreshable<Webhook>, Updatable<Webhook.Update>
Modifier and Type | Interface and Description |
---|---|
static interface |
Webhook.DefinitionStages
Grouping of webhook definition stages.
|
static interface |
Webhook.Update
The entirety of a webhook update.
|
static interface |
Webhook.UpdateDefinition<ParentT>
Grouping of the container registry's webhook update definition.
|
static interface |
Webhook.UpdateDefinitionStages
Grouping of webhook update definition stages.
|
static interface |
Webhook.UpdateResource<ParentT>
The entirety of a webhook resource update as part of a container registry update.
|
static interface |
Webhook.UpdateResourceStages
Grouping of webhook update stages applicable as part of a container registry update.
|
static interface |
Webhook.UpdateStages
Grouping of webhook update stages.
|
static interface |
Webhook.WebhookDefinition<ParentT>
Grouping of the container register webhook definitions.
|
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T>
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
customHeaders() |
void |
disable()
Changes the status of the webhook to "disabled".
|
rx.Completable |
disableAsync()
Changes the status of the webhook to "disabled".
|
void |
enable()
Changes the status of the webhook to "enabled".
|
rx.Completable |
enableAsync()
Changes the status of the webhook to "enabled".
|
boolean |
isEnabled() |
PagedList<WebhookEventInfo> |
listEvents() |
rx.Observable<WebhookEventInfo> |
listEventsAsync() |
String |
parentId() |
String |
ping() |
rx.Observable<String> |
pingAsync() |
ProvisioningState |
provisioningState() |
String |
scope() |
String |
serviceUri() |
Collection<WebhookAction> |
triggers() |
id
key
name
parent
refresh, refreshAsync
region, regionName, tags, type
id
boolean isEnabled()
String scope()
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
String serviceUri()
Map<String,String> customHeaders()
Collection<WebhookAction> triggers()
ProvisioningState provisioningState()
String parentId()
void enable()
rx.Completable enableAsync()
void disable()
rx.Completable disableAsync()
String ping()
rx.Observable<String> pingAsync()
PagedList<WebhookEventInfo> listEvents()
rx.Observable<WebhookEventInfo> listEventsAsync()
Copyright © 2019. All rights reserved.