WebhooksClient Interface

public interface WebhooksClient

An instance of this class provides access to all the operations defined in WebhooksClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<WebhookInner>,WebhookInner> beginCreate(String resourceGroupName, String registryName, String webhookName, WebhookCreateParameters webhookCreateParameters)

Creates a webhook for a container registry with the specified parameters.

abstract SyncPoller<PollResult<WebhookInner>,WebhookInner> beginCreate(String resourceGroupName, String registryName, String webhookName, WebhookCreateParameters webhookCreateParameters, Context context)

Creates a webhook for a container registry with the specified parameters.

abstract PollerFlux<PollResult<WebhookInner>,WebhookInner> beginCreateAsync(String resourceGroupName, String registryName, String webhookName, WebhookCreateParameters webhookCreateParameters)

Creates a webhook for a container registry with the specified parameters.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String registryName, String webhookName)

Deletes a webhook from a container registry.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String registryName, String webhookName, Context context)

Deletes a webhook from a container registry.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String registryName, String webhookName)

Deletes a webhook from a container registry.

abstract SyncPoller<PollResult<WebhookInner>,WebhookInner> beginUpdate(String resourceGroupName, String registryName, String webhookName, WebhookUpdateParameters webhookUpdateParameters)

Updates a webhook with the specified parameters.

abstract SyncPoller<PollResult<WebhookInner>,WebhookInner> beginUpdate(String resourceGroupName, String registryName, String webhookName, WebhookUpdateParameters webhookUpdateParameters, Context context)

Updates a webhook with the specified parameters.

abstract PollerFlux<PollResult<WebhookInner>,WebhookInner> beginUpdateAsync(String resourceGroupName, String registryName, String webhookName, WebhookUpdateParameters webhookUpdateParameters)

Updates a webhook with the specified parameters.

abstract WebhookInner create(String resourceGroupName, String registryName, String webhookName, WebhookCreateParameters webhookCreateParameters)

Creates a webhook for a container registry with the specified parameters.

abstract WebhookInner create(String resourceGroupName, String registryName, String webhookName, WebhookCreateParameters webhookCreateParameters, Context context)

Creates a webhook for a container registry with the specified parameters.

abstract Mono<WebhookInner> createAsync(String resourceGroupName, String registryName, String webhookName, WebhookCreateParameters webhookCreateParameters)

Creates a webhook for a container registry with the specified parameters.

abstract Mono<Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String registryName, String webhookName, WebhookCreateParameters webhookCreateParameters)

Creates a webhook for a container registry with the specified parameters.

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

Deletes a webhook from a container registry.

abstract void delete(String resourceGroupName, String registryName, String webhookName, Context context)

Deletes a webhook from a container registry.

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

Deletes a webhook from a container registry.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String registryName, String webhookName)

Deletes a webhook from a container registry.

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

Gets the properties of the specified webhook.

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

Gets the properties of the specified webhook.

abstract CallbackConfigInner getCallbackConfig(String resourceGroupName, String registryName, String webhookName)

Gets the configuration of service URI and custom headers for the webhook.

abstract Mono<CallbackConfigInner> getCallbackConfigAsync(String resourceGroupName, String registryName, String webhookName)

Gets the configuration of service URI and custom headers for the webhook.

abstract Response<CallbackConfigInner> getCallbackConfigWithResponse(String resourceGroupName, String registryName, String webhookName, Context context)

Gets the configuration of service URI and custom headers for the webhook.

abstract Mono<Response<CallbackConfigInner>> getCallbackConfigWithResponseAsync(String resourceGroupName, String registryName, String webhookName)

Gets the configuration of service URI and custom headers for the webhook.

abstract Response<WebhookInner> getWithResponse(String resourceGroupName, String registryName, String webhookName, Context context)

Gets the properties of the specified webhook.

abstract Mono<Response<WebhookInner>> getWithResponseAsync(String resourceGroupName, String registryName, String webhookName)

Gets the properties of the specified webhook.

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

Lists all the webhooks for the specified container registry.

abstract PagedIterable<WebhookInner> list(String resourceGroupName, String registryName, Context context)

Lists all the webhooks for the specified container registry.

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

Lists all the webhooks for the specified container registry.

abstract PagedIterable<EventInner> listEvents(String resourceGroupName, String registryName, String webhookName)

Lists recent events for the specified webhook.

abstract PagedIterable<EventInner> listEvents(String resourceGroupName, String registryName, String webhookName, Context context)

Lists recent events for the specified webhook.

abstract PagedFlux<EventInner> listEventsAsync(String resourceGroupName, String registryName, String webhookName)

Lists recent events for the specified webhook.

abstract EventInfoInner ping(String resourceGroupName, String registryName, String webhookName)

Triggers a ping event to be sent to the webhook.

abstract Mono<EventInfoInner> pingAsync(String resourceGroupName, String registryName, String webhookName)

Triggers a ping event to be sent to the webhook.

abstract Response<EventInfoInner> pingWithResponse(String resourceGroupName, String registryName, String webhookName, Context context)

Triggers a ping event to be sent to the webhook.

abstract Mono<Response<EventInfoInner>> pingWithResponseAsync(String resourceGroupName, String registryName, String webhookName)

Triggers a ping event to be sent to the webhook.

abstract WebhookInner update(String resourceGroupName, String registryName, String webhookName, WebhookUpdateParameters webhookUpdateParameters)

Updates a webhook with the specified parameters.

abstract WebhookInner update(String resourceGroupName, String registryName, String webhookName, WebhookUpdateParameters webhookUpdateParameters, Context context)

Updates a webhook with the specified parameters.

abstract Mono<WebhookInner> updateAsync(String resourceGroupName, String registryName, String webhookName, WebhookUpdateParameters webhookUpdateParameters)

Updates a webhook with the specified parameters.

abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String registryName, String webhookName, WebhookUpdateParameters webhookUpdateParameters)

Updates a webhook with the specified parameters.

Method Details

beginCreate

public abstract SyncPoller,WebhookInner> beginCreate(String resourceGroupName, String registryName, String webhookName, WebhookCreateParameters webhookCreateParameters)

Creates a webhook for a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
webhookCreateParameters - The parameters for creating a webhook.

Returns:

the SyncPoller<T,U> for polling of an object that represents a webhook for a container registry.

beginCreate

public abstract SyncPoller,WebhookInner> beginCreate(String resourceGroupName, String registryName, String webhookName, WebhookCreateParameters webhookCreateParameters, Context context)

Creates a webhook for a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
webhookCreateParameters - The parameters for creating a webhook.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an object that represents a webhook for a container registry.

beginCreateAsync

public abstract PollerFlux,WebhookInner> beginCreateAsync(String resourceGroupName, String registryName, String webhookName, WebhookCreateParameters webhookCreateParameters)

Creates a webhook for a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
webhookCreateParameters - The parameters for creating a webhook.

Returns:

the PollerFlux<T,U> for polling of an object that represents a webhook for a container registry.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String registryName, String webhookName)

Deletes a webhook from a container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String registryName, String webhookName, Context context)

Deletes a webhook from a container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,Void> beginDeleteAsync(String resourceGroupName, String registryName, String webhookName)

Deletes a webhook from a container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller,WebhookInner> beginUpdate(String resourceGroupName, String registryName, String webhookName, WebhookUpdateParameters webhookUpdateParameters)

Updates a webhook with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
webhookUpdateParameters - The parameters for updating a webhook.

Returns:

the SyncPoller<T,U> for polling of an object that represents a webhook for a container registry.

beginUpdate

public abstract SyncPoller,WebhookInner> beginUpdate(String resourceGroupName, String registryName, String webhookName, WebhookUpdateParameters webhookUpdateParameters, Context context)

Updates a webhook with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
webhookUpdateParameters - The parameters for updating a webhook.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of an object that represents a webhook for a container registry.

beginUpdateAsync

public abstract PollerFlux,WebhookInner> beginUpdateAsync(String resourceGroupName, String registryName, String webhookName, WebhookUpdateParameters webhookUpdateParameters)

Updates a webhook with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
webhookUpdateParameters - The parameters for updating a webhook.

Returns:

the PollerFlux<T,U> for polling of an object that represents a webhook for a container registry.

create

public abstract WebhookInner create(String resourceGroupName, String registryName, String webhookName, WebhookCreateParameters webhookCreateParameters)

Creates a webhook for a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
webhookCreateParameters - The parameters for creating a webhook.

Returns:

an object that represents a webhook for a container registry.

create

public abstract WebhookInner create(String resourceGroupName, String registryName, String webhookName, WebhookCreateParameters webhookCreateParameters, Context context)

Creates a webhook for a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
webhookCreateParameters - The parameters for creating a webhook.
context - The context to associate with this operation.

Returns:

an object that represents a webhook for a container registry.

createAsync

public abstract Mono createAsync(String resourceGroupName, String registryName, String webhookName, WebhookCreateParameters webhookCreateParameters)

Creates a webhook for a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
webhookCreateParameters - The parameters for creating a webhook.

Returns:

an object that represents a webhook for a container registry on successful completion of Mono.

createWithResponseAsync

public abstract Mono>> createWithResponseAsync(String resourceGroupName, String registryName, String webhookName, WebhookCreateParameters webhookCreateParameters)

Creates a webhook for a container registry with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
webhookCreateParameters - The parameters for creating a webhook.

Returns:

an object that represents a webhook for a container registry along with Response<T> on successful completion of Mono.

delete

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

Deletes a webhook from a container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.

delete

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

Deletes a webhook from a container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
context - The context to associate with this operation.

deleteAsync

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

Deletes a webhook from a container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String registryName, String webhookName)

Deletes a webhook from a container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.

Returns:

the Response<T> on successful completion of Mono.

get

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

Gets the properties of the specified webhook.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.

Returns:

the properties of the specified webhook.

getAsync

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

Gets the properties of the specified webhook.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.

Returns:

the properties of the specified webhook on successful completion of Mono.

getCallbackConfig

public abstract CallbackConfigInner getCallbackConfig(String resourceGroupName, String registryName, String webhookName)

Gets the configuration of service URI and custom headers for the webhook.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.

Returns:

the configuration of service URI and custom headers for the webhook.

getCallbackConfigAsync

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

Gets the configuration of service URI and custom headers for the webhook.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.

Returns:

the configuration of service URI and custom headers for the webhook on successful completion of Mono.

getCallbackConfigWithResponse

public abstract Response getCallbackConfigWithResponse(String resourceGroupName, String registryName, String webhookName, Context context)

Gets the configuration of service URI and custom headers for the webhook.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
context - The context to associate with this operation.

Returns:

the configuration of service URI and custom headers for the webhook along with Response<T>.

getCallbackConfigWithResponseAsync

public abstract Mono> getCallbackConfigWithResponseAsync(String resourceGroupName, String registryName, String webhookName)

Gets the configuration of service URI and custom headers for the webhook.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.

Returns:

the configuration of service URI and custom headers for the webhook along with Response<T> on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String registryName, String webhookName, Context context)

Gets the properties of the specified webhook.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
context - The context to associate with this operation.

Returns:

the properties of the specified webhook along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String registryName, String webhookName)

Gets the properties of the specified webhook.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.

Returns:

the properties of the specified webhook along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String registryName)

Lists all the webhooks for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.

Returns:

the result of a request to list webhooks for a container registry as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String registryName, Context context)

Lists all the webhooks for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
context - The context to associate with this operation.

Returns:

the result of a request to list webhooks for a container registry as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String registryName)

Lists all the webhooks for the specified container registry.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.

Returns:

the result of a request to list webhooks for a container registry as paginated response with PagedFlux<T>.

listEvents

public abstract PagedIterable listEvents(String resourceGroupName, String registryName, String webhookName)

Lists recent events for the specified webhook.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.

Returns:

the result of a request to list events for a webhook as paginated response with PagedIterable<T>.

listEvents

public abstract PagedIterable listEvents(String resourceGroupName, String registryName, String webhookName, Context context)

Lists recent events for the specified webhook.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
context - The context to associate with this operation.

Returns:

the result of a request to list events for a webhook as paginated response with PagedIterable<T>.

listEventsAsync

public abstract PagedFlux listEventsAsync(String resourceGroupName, String registryName, String webhookName)

Lists recent events for the specified webhook.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.

Returns:

the result of a request to list events for a webhook as paginated response with PagedFlux<T>.

ping

public abstract EventInfoInner ping(String resourceGroupName, String registryName, String webhookName)

Triggers a ping event to be sent to the webhook.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.

Returns:

the basic information of an event.

pingAsync

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

Triggers a ping event to be sent to the webhook.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.

Returns:

the basic information of an event on successful completion of Mono.

pingWithResponse

public abstract Response pingWithResponse(String resourceGroupName, String registryName, String webhookName, Context context)

Triggers a ping event to be sent to the webhook.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
context - The context to associate with this operation.

Returns:

the basic information of an event along with Response<T>.

pingWithResponseAsync

public abstract Mono> pingWithResponseAsync(String resourceGroupName, String registryName, String webhookName)

Triggers a ping event to be sent to the webhook.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.

Returns:

the basic information of an event along with Response<T> on successful completion of Mono.

update

public abstract WebhookInner update(String resourceGroupName, String registryName, String webhookName, WebhookUpdateParameters webhookUpdateParameters)

Updates a webhook with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
webhookUpdateParameters - The parameters for updating a webhook.

Returns:

an object that represents a webhook for a container registry.

update

public abstract WebhookInner update(String resourceGroupName, String registryName, String webhookName, WebhookUpdateParameters webhookUpdateParameters, Context context)

Updates a webhook with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
webhookUpdateParameters - The parameters for updating a webhook.
context - The context to associate with this operation.

Returns:

an object that represents a webhook for a container registry.

updateAsync

public abstract Mono updateAsync(String resourceGroupName, String registryName, String webhookName, WebhookUpdateParameters webhookUpdateParameters)

Updates a webhook with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
webhookUpdateParameters - The parameters for updating a webhook.

Returns:

an object that represents a webhook for a container registry on successful completion of Mono.

updateWithResponseAsync

public abstract Mono>> updateWithResponseAsync(String resourceGroupName, String registryName, String webhookName, WebhookUpdateParameters webhookUpdateParameters)

Updates a webhook with the specified parameters.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
registryName - The name of the container registry.
webhookName - The name of the webhook.
webhookUpdateParameters - The parameters for updating a webhook.

Returns:

an object that represents a webhook for a container registry along with Response<T> on successful completion of Mono.

Applies to