Interface WebhooksClient


  • public interface WebhooksClient
    An instance of this class provides access to all the operations defined in WebhooksClient.
    • Method Detail

      • listAsync

        com.azure.core.http.rest.PagedFlux<WebhookInner> listAsync​(String resourceGroupName,
                                                                   String registryName)
        Lists all the webhooks for the specified container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        Returns:
        the result of a request to list webhooks for a container registry.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<WebhookInner> list​(String resourceGroupName,
                                                                  String registryName)
        Lists all the webhooks for the specified container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        Returns:
        the result of a request to list webhooks for a container registry.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • list

        com.azure.core.http.rest.PagedIterable<WebhookInner> list​(String resourceGroupName,
                                                                  String registryName,
                                                                  com.azure.core.util.Context context)
        Lists all the webhooks for the specified container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<WebhookInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                   String registryName,
                                                                                   String webhookName)
        Gets the properties of the specified webhook.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        webhookName - The name of the webhook.
        Returns:
        the properties of the specified webhook.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getAsync

        Mono<WebhookInner> getAsync​(String resourceGroupName,
                                    String registryName,
                                    String webhookName)
        Gets the properties of the specified webhook.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        webhookName - The name of the webhook.
        Returns:
        the properties of the specified webhook.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • get

        WebhookInner get​(String resourceGroupName,
                         String registryName,
                         String webhookName)
        Gets the properties of the specified webhook.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        webhookName - The name of the webhook.
        Returns:
        the properties of the specified webhook.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponse

        com.azure.core.http.rest.Response<WebhookInner> getWithResponse​(String resourceGroupName,
                                                                        String registryName,
                                                                        String webhookName,
                                                                        com.azure.core.util.Context context)
        Gets the properties of the specified webhook.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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 to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<WebhookInner>,​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 to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WebhookInner>,​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 to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WebhookInner>,​WebhookInner> beginCreate​(String resourceGroupName,
                                                                                                                                          String registryName,
                                                                                                                                          String webhookName,
                                                                                                                                          WebhookCreateParameters webhookCreateParameters,
                                                                                                                                          com.azure.core.util.Context context)
        Creates a webhook for a container registry with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createAsync

        Mono<WebhookInner> 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 to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • create

        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 to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • create

        WebhookInner create​(String resourceGroupName,
                            String registryName,
                            String webhookName,
                            WebhookCreateParameters webhookCreateParameters,
                            com.azure.core.util.Context context)
        Creates a webhook for a container registry with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync​(String resourceGroupName,
                                                                                          String registryName,
                                                                                          String webhookName)
        Deletes a webhook from a container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        webhookName - The name of the webhook.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDeleteAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginDeleteAsync​(String resourceGroupName,
                                                                                                                               String registryName,
                                                                                                                               String webhookName)
        Deletes a webhook from a container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        webhookName - The name of the webhook.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String registryName,
                                                                                                                          String webhookName)
        Deletes a webhook from a container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        webhookName - The name of the webhook.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginDelete

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginDelete​(String resourceGroupName,
                                                                                                                          String registryName,
                                                                                                                          String webhookName,
                                                                                                                          com.azure.core.util.Context context)
        Deletes a webhook from a container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        webhookName - The name of the webhook.
        context - The context to associate with this operation.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteAsync

        Mono<Void> deleteAsync​(String resourceGroupName,
                               String registryName,
                               String webhookName)
        Deletes a webhook from a container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        webhookName - The name of the webhook.
        Returns:
        the completion.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

        void delete​(String resourceGroupName,
                    String registryName,
                    String webhookName)
        Deletes a webhook from a container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        webhookName - The name of the webhook.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • delete

        void delete​(String resourceGroupName,
                    String registryName,
                    String webhookName,
                    com.azure.core.util.Context context)
        Deletes a webhook from a container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        webhookName - The name of the webhook.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync​(String resourceGroupName,
                                                                                          String registryName,
                                                                                          String webhookName,
                                                                                          WebhookUpdateParameters webhookUpdateParameters)
        Updates a webhook with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginUpdateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<WebhookInner>,​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 to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WebhookInner>,​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 to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<WebhookInner>,​WebhookInner> beginUpdate​(String resourceGroupName,
                                                                                                                                          String registryName,
                                                                                                                                          String webhookName,
                                                                                                                                          WebhookUpdateParameters webhookUpdateParameters,
                                                                                                                                          com.azure.core.util.Context context)
        Updates a webhook with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateAsync

        Mono<WebhookInner> updateAsync​(String resourceGroupName,
                                       String registryName,
                                       String webhookName,
                                       WebhookUpdateParameters webhookUpdateParameters)
        Updates a webhook with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • update

        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 to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • update

        WebhookInner update​(String resourceGroupName,
                            String registryName,
                            String webhookName,
                            WebhookUpdateParameters webhookUpdateParameters,
                            com.azure.core.util.Context context)
        Updates a webhook with the specified parameters.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • pingWithResponseAsync

        Mono<com.azure.core.http.rest.Response<EventInfoInner>> 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 to which the container registry belongs.
        registryName - The name of the container registry.
        webhookName - The name of the webhook.
        Returns:
        the basic information of an event.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • pingAsync

        Mono<EventInfoInner> 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 to which the container registry belongs.
        registryName - The name of the container registry.
        webhookName - The name of the webhook.
        Returns:
        the basic information of an event.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • ping

        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 to which the container registry belongs.
        registryName - The name of the container registry.
        webhookName - The name of the webhook.
        Returns:
        the basic information of an event.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • pingWithResponse

        com.azure.core.http.rest.Response<EventInfoInner> pingWithResponse​(String resourceGroupName,
                                                                           String registryName,
                                                                           String webhookName,
                                                                           com.azure.core.util.Context context)
        Triggers a ping event to be sent to the webhook.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listEventsAsync

        com.azure.core.http.rest.PagedFlux<EventInner> listEventsAsync​(String resourceGroupName,
                                                                       String registryName,
                                                                       String webhookName)
        Lists recent events for the specified webhook.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listEvents

        com.azure.core.http.rest.PagedIterable<EventInner> listEvents​(String resourceGroupName,
                                                                      String registryName,
                                                                      String webhookName)
        Lists recent events for the specified webhook.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listEvents

        com.azure.core.http.rest.PagedIterable<EventInner> listEvents​(String resourceGroupName,
                                                                      String registryName,
                                                                      String webhookName,
                                                                      com.azure.core.util.Context context)
        Lists recent events for the specified webhook.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getCallbackConfigWithResponseAsync

        Mono<com.azure.core.http.rest.Response<CallbackConfigInner>> 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 to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getCallbackConfigAsync

        Mono<CallbackConfigInner> 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 to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getCallbackConfig

        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 to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getCallbackConfigWithResponse

        com.azure.core.http.rest.Response<CallbackConfigInner> getCallbackConfigWithResponse​(String resourceGroupName,
                                                                                             String registryName,
                                                                                             String webhookName,
                                                                                             com.azure.core.util.Context context)
        Gets the configuration of service URI and custom headers for the webhook.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        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.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.