Interface RegistriesClient

    • Method Detail

      • importImageWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> importImageWithResponseAsync​(String resourceGroupName,
                                                                                               String registryName,
                                                                                               ImportImageParameters parameters)
        Copies an image to this container registry from 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.
        parameters - The parameters specifying the image to copy and the source container registry.
        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.
      • beginImportImageAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginImportImageAsync​(String resourceGroupName,
                                                                                                                                    String registryName,
                                                                                                                                    ImportImageParameters parameters)
        Copies an image to this container registry from 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.
        parameters - The parameters specifying the image to copy and the source container registry.
        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.
      • beginImportImage

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginImportImage​(String resourceGroupName,
                                                                                                                               String registryName,
                                                                                                                               ImportImageParameters parameters)
        Copies an image to this container registry from 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.
        parameters - The parameters specifying the image to copy and the source container registry.
        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.
      • beginImportImage

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginImportImage​(String resourceGroupName,
                                                                                                                               String registryName,
                                                                                                                               ImportImageParameters parameters,
                                                                                                                               com.azure.core.util.Context context)
        Copies an image to this container registry from 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.
        parameters - The parameters specifying the image to copy and the source container registry.
        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.
      • importImageAsync

        Mono<Void> importImageAsync​(String resourceGroupName,
                                    String registryName,
                                    ImportImageParameters parameters)
        Copies an image to this container registry from 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.
        parameters - The parameters specifying the image to copy and the source container registry.
        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.
      • importImage

        void importImage​(String resourceGroupName,
                         String registryName,
                         ImportImageParameters parameters)
        Copies an image to this container registry from 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.
        parameters - The parameters specifying the image to copy and the source 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.
      • importImage

        void importImage​(String resourceGroupName,
                         String registryName,
                         ImportImageParameters parameters,
                         com.azure.core.util.Context context)
        Copies an image to this container registry from 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.
        parameters - The parameters specifying the image to copy and the source container registry.
        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.
      • checkNameAvailabilityWithResponseAsync

        Mono<com.azure.core.http.rest.Response<RegistryNameStatusInner>> checkNameAvailabilityWithResponseAsync​(RegistryNameCheckRequest registryNameCheckRequest)
        Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.
        Parameters:
        registryNameCheckRequest - The object containing information for the availability request.
        Returns:
        the result of a request to check the availability of a container registry name.
        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.
      • checkNameAvailabilityAsync

        Mono<RegistryNameStatusInner> checkNameAvailabilityAsync​(RegistryNameCheckRequest registryNameCheckRequest)
        Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.
        Parameters:
        registryNameCheckRequest - The object containing information for the availability request.
        Returns:
        the result of a request to check the availability of a container registry name.
        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.
      • checkNameAvailability

        RegistryNameStatusInner checkNameAvailability​(RegistryNameCheckRequest registryNameCheckRequest)
        Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.
        Parameters:
        registryNameCheckRequest - The object containing information for the availability request.
        Returns:
        the result of a request to check the availability of a container registry name.
        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.
      • checkNameAvailabilityWithResponse

        com.azure.core.http.rest.Response<RegistryNameStatusInner> checkNameAvailabilityWithResponse​(RegistryNameCheckRequest registryNameCheckRequest,
                                                                                                     com.azure.core.util.Context context)
        Checks whether the container registry name is available for use. The name must contain only alphanumeric characters, be globally unique, and between 5 and 50 characters in length.
        Parameters:
        registryNameCheckRequest - The object containing information for the availability request.
        context - The context to associate with this operation.
        Returns:
        the result of a request to check the availability of a container registry name.
        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.
      • listAsync

        com.azure.core.http.rest.PagedFlux<RegistryInner> listAsync()
        Lists all the container registries under the specified subscription.
        Specified by:
        listAsync in interface InnerSupportsListing<RegistryInner>
        Returns:
        the result of a request to list container registries.
        Throws:
        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<RegistryInner> list()
        Lists all the container registries under the specified subscription.
        Specified by:
        list in interface InnerSupportsListing<RegistryInner>
        Returns:
        the result of a request to list container registries.
        Throws:
        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<RegistryInner> list​(com.azure.core.util.Context context)
        Lists all the container registries under the specified subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        the result of a request to list container registries.
        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.
      • listByResourceGroupAsync

        com.azure.core.http.rest.PagedFlux<RegistryInner> listByResourceGroupAsync​(String resourceGroupName)
        Lists all the container registries under the specified resource group.
        Specified by:
        listByResourceGroupAsync in interface InnerSupportsListing<RegistryInner>
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        Returns:
        the result of a request to list container registries.
        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.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<RegistryInner> listByResourceGroup​(String resourceGroupName)
        Lists all the container registries under the specified resource group.
        Specified by:
        listByResourceGroup in interface InnerSupportsListing<RegistryInner>
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        Returns:
        the result of a request to list container registries.
        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.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<RegistryInner> listByResourceGroup​(String resourceGroupName,
                                                                                  com.azure.core.util.Context context)
        Lists all the container registries under the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        context - The context to associate with this operation.
        Returns:
        the result of a request to list container registries.
        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.
      • getByResourceGroupWithResponseAsync

        Mono<com.azure.core.http.rest.Response<RegistryInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                   String registryName)
        Gets the properties of 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 properties of the specified 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.
      • getByResourceGroupAsync

        Mono<RegistryInner> getByResourceGroupAsync​(String resourceGroupName,
                                                    String registryName)
        Gets the properties of the specified container registry.
        Specified by:
        getByResourceGroupAsync in interface InnerSupportsGet<RegistryInner>
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        Returns:
        the properties of the specified 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.
      • getByResourceGroup

        RegistryInner getByResourceGroup​(String resourceGroupName,
                                         String registryName)
        Gets the properties of the specified container registry.
        Specified by:
        getByResourceGroup in interface InnerSupportsGet<RegistryInner>
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        Returns:
        the properties of the specified 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.
      • getByResourceGroupWithResponse

        com.azure.core.http.rest.Response<RegistryInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                        String registryName,
                                                                                        com.azure.core.util.Context context)
        Gets the properties of 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 properties of the specified 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.
      • createWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync​(String resourceGroupName,
                                                                                          String registryName,
                                                                                          RegistryInner registry)
        Creates 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.
        registry - The parameters for creating a container registry.
        Returns:
        an object that represents 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<RegistryInner>,​RegistryInner> beginCreateAsync​(String resourceGroupName,
                                                                                                                                                 String registryName,
                                                                                                                                                 RegistryInner registry)
        Creates 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.
        registry - The parameters for creating a container registry.
        Returns:
        an object that represents 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<RegistryInner>,​RegistryInner> beginCreate​(String resourceGroupName,
                                                                                                                                            String registryName,
                                                                                                                                            RegistryInner registry)
        Creates 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.
        registry - The parameters for creating a container registry.
        Returns:
        an object that represents 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<RegistryInner>,​RegistryInner> beginCreate​(String resourceGroupName,
                                                                                                                                            String registryName,
                                                                                                                                            RegistryInner registry,
                                                                                                                                            com.azure.core.util.Context context)
        Creates 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.
        registry - The parameters for creating a container registry.
        context - The context to associate with this operation.
        Returns:
        an object that represents 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<RegistryInner> createAsync​(String resourceGroupName,
                                        String registryName,
                                        RegistryInner registry)
        Creates 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.
        registry - The parameters for creating a container registry.
        Returns:
        an object that represents 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

        RegistryInner create​(String resourceGroupName,
                             String registryName,
                             RegistryInner registry)
        Creates 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.
        registry - The parameters for creating a container registry.
        Returns:
        an object that represents 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

        RegistryInner create​(String resourceGroupName,
                             String registryName,
                             RegistryInner registry,
                             com.azure.core.util.Context context)
        Creates 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.
        registry - The parameters for creating a container registry.
        context - The context to associate with this operation.
        Returns:
        an object that represents 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)
        Deletes a 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 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)
        Deletes a 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 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)
        Deletes a 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 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,
                                                                                                                          com.azure.core.util.Context context)
        Deletes a 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 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)
        Deletes a container registry.
        Specified by:
        deleteAsync in interface InnerSupportsDelete<Void>
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        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)
        Deletes a container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the 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.
      • delete

        void delete​(String resourceGroupName,
                    String registryName,
                    com.azure.core.util.Context context)
        Deletes a 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.
        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,
                                                                                          RegistryUpdateParameters registryUpdateParameters)
        Updates 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.
        registryUpdateParameters - The parameters for updating a container registry.
        Returns:
        an object that represents 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<RegistryInner>,​RegistryInner> beginUpdateAsync​(String resourceGroupName,
                                                                                                                                                 String registryName,
                                                                                                                                                 RegistryUpdateParameters registryUpdateParameters)
        Updates 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.
        registryUpdateParameters - The parameters for updating a container registry.
        Returns:
        an object that represents 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<RegistryInner>,​RegistryInner> beginUpdate​(String resourceGroupName,
                                                                                                                                            String registryName,
                                                                                                                                            RegistryUpdateParameters registryUpdateParameters)
        Updates 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.
        registryUpdateParameters - The parameters for updating a container registry.
        Returns:
        an object that represents 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<RegistryInner>,​RegistryInner> beginUpdate​(String resourceGroupName,
                                                                                                                                            String registryName,
                                                                                                                                            RegistryUpdateParameters registryUpdateParameters,
                                                                                                                                            com.azure.core.util.Context context)
        Updates 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.
        registryUpdateParameters - The parameters for updating a container registry.
        context - The context to associate with this operation.
        Returns:
        an object that represents 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<RegistryInner> updateAsync​(String resourceGroupName,
                                        String registryName,
                                        RegistryUpdateParameters registryUpdateParameters)
        Updates 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.
        registryUpdateParameters - The parameters for updating a container registry.
        Returns:
        an object that represents 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

        RegistryInner update​(String resourceGroupName,
                             String registryName,
                             RegistryUpdateParameters registryUpdateParameters)
        Updates 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.
        registryUpdateParameters - The parameters for updating a container registry.
        Returns:
        an object that represents 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

        RegistryInner update​(String resourceGroupName,
                             String registryName,
                             RegistryUpdateParameters registryUpdateParameters,
                             com.azure.core.util.Context context)
        Updates 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.
        registryUpdateParameters - The parameters for updating a container registry.
        context - The context to associate with this operation.
        Returns:
        an object that represents 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.
      • listUsagesWithResponseAsync

        Mono<com.azure.core.http.rest.Response<RegistryUsageListResultInner>> listUsagesWithResponseAsync​(String resourceGroupName,
                                                                                                          String registryName)
        Gets the quota usages 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 quota usages for the specified 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.
      • listUsagesAsync

        Mono<RegistryUsageListResultInner> listUsagesAsync​(String resourceGroupName,
                                                           String registryName)
        Gets the quota usages 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 quota usages for the specified 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.
      • listUsages

        RegistryUsageListResultInner listUsages​(String resourceGroupName,
                                                String registryName)
        Gets the quota usages 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 quota usages for the specified 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.
      • listUsagesWithResponse

        com.azure.core.http.rest.Response<RegistryUsageListResultInner> listUsagesWithResponse​(String resourceGroupName,
                                                                                               String registryName,
                                                                                               com.azure.core.util.Context context)
        Gets the quota usages 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 quota usages for the specified 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.
      • listPrivateLinkResourcesAsync

        com.azure.core.http.rest.PagedFlux<PrivateLinkResourceInner> listPrivateLinkResourcesAsync​(String resourceGroupName,
                                                                                                   String registryName)
        Lists the private link resources for a 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 private link resources 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.
      • listPrivateLinkResources

        com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner> listPrivateLinkResources​(String resourceGroupName,
                                                                                                  String registryName)
        Lists the private link resources for a 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 private link resources 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.
      • listPrivateLinkResources

        com.azure.core.http.rest.PagedIterable<PrivateLinkResourceInner> listPrivateLinkResources​(String resourceGroupName,
                                                                                                  String registryName,
                                                                                                  com.azure.core.util.Context context)
        Lists the private link resources for a 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 private link resources 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.
      • getPrivateLinkResourceWithResponseAsync

        Mono<com.azure.core.http.rest.Response<PrivateLinkResourceInner>> getPrivateLinkResourceWithResponseAsync​(String resourceGroupName,
                                                                                                                  String registryName,
                                                                                                                  String groupName)
        Gets a private link resource by a specified group name for a container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        groupName - The name of the private link resource.
        Returns:
        a private link resource by a specified group name 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.
      • getPrivateLinkResourceAsync

        Mono<PrivateLinkResourceInner> getPrivateLinkResourceAsync​(String resourceGroupName,
                                                                   String registryName,
                                                                   String groupName)
        Gets a private link resource by a specified group name for a container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        groupName - The name of the private link resource.
        Returns:
        a private link resource by a specified group name 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.
      • getPrivateLinkResource

        PrivateLinkResourceInner getPrivateLinkResource​(String resourceGroupName,
                                                        String registryName,
                                                        String groupName)
        Gets a private link resource by a specified group name for a container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        groupName - The name of the private link resource.
        Returns:
        a private link resource by a specified group name 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.
      • getPrivateLinkResourceWithResponse

        com.azure.core.http.rest.Response<PrivateLinkResourceInner> getPrivateLinkResourceWithResponse​(String resourceGroupName,
                                                                                                       String registryName,
                                                                                                       String groupName,
                                                                                                       com.azure.core.util.Context context)
        Gets a private link resource by a specified group name for a container registry.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        groupName - The name of the private link resource.
        context - The context to associate with this operation.
        Returns:
        a private link resource by a specified group name 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.
      • listCredentialsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<RegistryListCredentialsResultInner>> listCredentialsWithResponseAsync​(String resourceGroupName,
                                                                                                                     String registryName)
        Lists the login credentials 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 response from the ListCredentials 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.
      • listCredentialsAsync

        Mono<RegistryListCredentialsResultInner> listCredentialsAsync​(String resourceGroupName,
                                                                      String registryName)
        Lists the login credentials 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 response from the ListCredentials 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.
      • listCredentials

        RegistryListCredentialsResultInner listCredentials​(String resourceGroupName,
                                                           String registryName)
        Lists the login credentials 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 response from the ListCredentials 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.
      • listCredentialsWithResponse

        com.azure.core.http.rest.Response<RegistryListCredentialsResultInner> listCredentialsWithResponse​(String resourceGroupName,
                                                                                                          String registryName,
                                                                                                          com.azure.core.util.Context context)
        Lists the login credentials 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 response from the ListCredentials 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.
      • regenerateCredentialWithResponseAsync

        Mono<com.azure.core.http.rest.Response<RegistryListCredentialsResultInner>> regenerateCredentialWithResponseAsync​(String resourceGroupName,
                                                                                                                          String registryName,
                                                                                                                          RegenerateCredentialParameters regenerateCredentialParameters)
        Regenerates one of the login credentials 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.
        regenerateCredentialParameters - Specifies name of the password which should be regenerated -- password or password2.
        Returns:
        the response from the ListCredentials 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.
      • regenerateCredentialAsync

        Mono<RegistryListCredentialsResultInner> regenerateCredentialAsync​(String resourceGroupName,
                                                                           String registryName,
                                                                           RegenerateCredentialParameters regenerateCredentialParameters)
        Regenerates one of the login credentials 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.
        regenerateCredentialParameters - Specifies name of the password which should be regenerated -- password or password2.
        Returns:
        the response from the ListCredentials 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.
      • regenerateCredential

        RegistryListCredentialsResultInner regenerateCredential​(String resourceGroupName,
                                                                String registryName,
                                                                RegenerateCredentialParameters regenerateCredentialParameters)
        Regenerates one of the login credentials 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.
        regenerateCredentialParameters - Specifies name of the password which should be regenerated -- password or password2.
        Returns:
        the response from the ListCredentials 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.
      • regenerateCredentialWithResponse

        com.azure.core.http.rest.Response<RegistryListCredentialsResultInner> regenerateCredentialWithResponse​(String resourceGroupName,
                                                                                                               String registryName,
                                                                                                               RegenerateCredentialParameters regenerateCredentialParameters,
                                                                                                               com.azure.core.util.Context context)
        Regenerates one of the login credentials 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.
        regenerateCredentialParameters - Specifies name of the password which should be regenerated -- password or password2.
        context - The context to associate with this operation.
        Returns:
        the response from the ListCredentials 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.
      • scheduleRunWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> scheduleRunWithResponseAsync​(String resourceGroupName,
                                                                                               String registryName,
                                                                                               RunRequest runRequest)
        Schedules a new run based on the request parameters and add it to the run queue.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        runRequest - The parameters of a run that needs to scheduled.
        Returns:
        run resource properties.
        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.
      • beginScheduleRunAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RunInner>,​RunInner> beginScheduleRunAsync​(String resourceGroupName,
                                                                                                                                            String registryName,
                                                                                                                                            RunRequest runRequest)
        Schedules a new run based on the request parameters and add it to the run queue.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        runRequest - The parameters of a run that needs to scheduled.
        Returns:
        run resource properties.
        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.
      • beginScheduleRun

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RunInner>,​RunInner> beginScheduleRun​(String resourceGroupName,
                                                                                                                                       String registryName,
                                                                                                                                       RunRequest runRequest)
        Schedules a new run based on the request parameters and add it to the run queue.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        runRequest - The parameters of a run that needs to scheduled.
        Returns:
        run resource properties.
        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.
      • beginScheduleRun

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RunInner>,​RunInner> beginScheduleRun​(String resourceGroupName,
                                                                                                                                       String registryName,
                                                                                                                                       RunRequest runRequest,
                                                                                                                                       com.azure.core.util.Context context)
        Schedules a new run based on the request parameters and add it to the run queue.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        runRequest - The parameters of a run that needs to scheduled.
        context - The context to associate with this operation.
        Returns:
        run resource properties.
        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.
      • scheduleRunAsync

        Mono<RunInner> scheduleRunAsync​(String resourceGroupName,
                                        String registryName,
                                        RunRequest runRequest)
        Schedules a new run based on the request parameters and add it to the run queue.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        runRequest - The parameters of a run that needs to scheduled.
        Returns:
        run resource properties.
        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.
      • scheduleRun

        RunInner scheduleRun​(String resourceGroupName,
                             String registryName,
                             RunRequest runRequest)
        Schedules a new run based on the request parameters and add it to the run queue.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        runRequest - The parameters of a run that needs to scheduled.
        Returns:
        run resource properties.
        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.
      • scheduleRun

        RunInner scheduleRun​(String resourceGroupName,
                             String registryName,
                             RunRequest runRequest,
                             com.azure.core.util.Context context)
        Schedules a new run based on the request parameters and add it to the run queue.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        runRequest - The parameters of a run that needs to scheduled.
        context - The context to associate with this operation.
        Returns:
        run resource properties.
        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.
      • getBuildSourceUploadUrlWithResponseAsync

        Mono<com.azure.core.http.rest.Response<SourceUploadDefinitionInner>> getBuildSourceUploadUrlWithResponseAsync​(String resourceGroupName,
                                                                                                                      String registryName)
        Get the upload location for the user to be able to upload the source.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        Returns:
        the upload location for the user to be able to upload the source.
        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.
      • getBuildSourceUploadUrlAsync

        Mono<SourceUploadDefinitionInner> getBuildSourceUploadUrlAsync​(String resourceGroupName,
                                                                       String registryName)
        Get the upload location for the user to be able to upload the source.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        Returns:
        the upload location for the user to be able to upload the source.
        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.
      • getBuildSourceUploadUrl

        SourceUploadDefinitionInner getBuildSourceUploadUrl​(String resourceGroupName,
                                                            String registryName)
        Get the upload location for the user to be able to upload the source.
        Parameters:
        resourceGroupName - The name of the resource group to which the container registry belongs.
        registryName - The name of the container registry.
        Returns:
        the upload location for the user to be able to upload the source.
        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.
      • getBuildSourceUploadUrlWithResponse

        com.azure.core.http.rest.Response<SourceUploadDefinitionInner> getBuildSourceUploadUrlWithResponse​(String resourceGroupName,
                                                                                                           String registryName,
                                                                                                           com.azure.core.util.Context context)
        Get the upload location for the user to be able to upload the source.
        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 upload location for the user to be able to upload the source.
        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.