WebhookOperations Interface

public interface WebhookOperations

Grouping of container registry webhook actions.

Method Summary

Modifier and Type Method and Description
abstract void delete(String webhookName)

Deletes a webhook from the container registry.

abstract Mono<Void> deleteAsync(String webhookName)

Deletes a webhook from the container registry.

abstract Webhook get(String webhookName)

Gets the properties of the specified webhook.

abstract Mono<Webhook> getAsync(String webhookName)

Gets the properties of the specified webhook.

abstract PagedIterable<Webhook> list()

Lists all the webhooks for the container registry.

abstract PagedFlux<Webhook> listAsync()

Lists all the webhooks for the container registry.

Method Details

delete

public abstract void delete(String webhookName)

Deletes a webhook from the container registry.

Parameters:

webhookName - the name of the webhook

deleteAsync

public abstract Mono deleteAsync(String webhookName)

Deletes a webhook from the container registry.

Parameters:

webhookName - the name of the webhook

Returns:

a representation of the future computation of this call

get

public abstract Webhook get(String webhookName)

Gets the properties of the specified webhook.

Parameters:

webhookName - the name of the webhook

Returns:

the Webhook object if successful

getAsync

public abstract Mono getAsync(String webhookName)

Gets the properties of the specified webhook.

Parameters:

webhookName - the name of the webhook

Returns:

a representation of the future computation of this call, returning the Webhook object

list

public abstract PagedIterable list()

Lists all the webhooks for the container registry.

Returns:

the list of all the webhooks for the specified container registry

listAsync

public abstract PagedFlux listAsync()

Lists all the webhooks for the container registry.

Returns:

a representation of the future computation of this call, returning the list of all the webhooks for the specified container registry

Applies to