Interface WebhookOperations


public interface WebhookOperations
Grouping of container registry webhook actions.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(String webhookName)
    Deletes a webhook from the container registry.
    deleteAsync(String webhookName)
    Deletes a webhook from the container registry.
    get(String webhookName)
    Gets the properties of the specified webhook.
    getAsync(String webhookName)
    Gets the properties of the specified webhook.
    com.azure.core.http.rest.PagedIterable<Webhook>
    Lists all the webhooks for the container registry.
    com.azure.core.http.rest.PagedFlux<Webhook>
    Lists all the webhooks for the container registry.
  • Method Details

    • 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