Partilhar via


Registries.WebhooksClient Interface

public static interface Registries.WebhooksClient

Grouping of registry webhook actions.

Method Summary

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

Deletes a webhook from the container registry.

abstract Mono<Void> deleteAsync(String resourceGroupName, String registryName, String webhookName)

Deletes a webhook from the container registry.

abstract Webhook get(String resourceGroupName, String registryName, String webhookName)

Gets the properties of the specified webhook.

abstract Mono<Webhook> getAsync(String resourceGroupName, String registryName, String webhookName)

Gets the properties of the specified webhook.

abstract PagedIterable<Webhook> list(String resourceGroupName, String registryName)

Lists all the webhooks for the container registry.

abstract PagedFlux<Webhook> listAsync(String resourceGroupName, String registryName)

Lists all the webhooks for the container registry.

Method Details

delete

public abstract void delete(String resourceGroupName, String registryName, String webhookName)

Deletes a webhook from the container registry.

Parameters:

resourceGroupName - the resource group name
registryName - the registry name
webhookName - the name of the webhook

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String registryName, String webhookName)

Deletes a webhook from the container registry.

Parameters:

resourceGroupName - the resource group name
registryName - the registry name
webhookName - the name of the webhook

Returns:

a representation of the future computation of this call

get

public abstract Webhook get(String resourceGroupName, String registryName, String webhookName)

Gets the properties of the specified webhook.

Parameters:

resourceGroupName - the resource group name
registryName - the registry name
webhookName - the name of the webhook

Returns:

the Webhook object if successful

getAsync

public abstract Mono getAsync(String resourceGroupName, String registryName, String webhookName)

Gets the properties of the specified webhook.

Parameters:

resourceGroupName - the resource group name
registryName - the registry name
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(String resourceGroupName, String registryName)

Lists all the webhooks for the container registry.

Parameters:

resourceGroupName - the resource group name
registryName - the registry name

Returns:

the list of all the webhooks for the specified container registry

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String registryName)

Lists all the webhooks for the container registry.

Parameters:

resourceGroupName - the resource group name
registryName - the registry name

Returns:

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

Applies to