Interface WebhookOperations
-
public interface WebhookOperationsGrouping of container registry webhook actions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(String webhookName)Deletes a webhook from the container registry.Mono<Void>deleteAsync(String webhookName)Deletes a webhook from the container registry.Webhookget(String webhookName)Gets the properties of the specified webhook.Mono<Webhook>getAsync(String webhookName)Gets the properties of the specified webhook.com.azure.core.http.rest.PagedIterable<Webhook>list()Lists all the webhooks for the container registry.com.azure.core.http.rest.PagedFlux<Webhook>listAsync()Lists all the webhooks for the container registry.
-
-
-
Method Detail
-
get
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
Mono<Webhook> 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
-
delete
void delete(String webhookName)
Deletes a webhook from the container registry.- Parameters:
webhookName- the name of the webhook
-
deleteAsync
Mono<Void> 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
-
list
com.azure.core.http.rest.PagedIterable<Webhook> list()
Lists all the webhooks for the container registry.- Returns:
- the list of all the webhooks for the specified container registry
-
listAsync
com.azure.core.http.rest.PagedFlux<Webhook> 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
-
-