Interface RegistriesClient


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

    • list

      com.azure.core.http.rest.PagedIterable<RegistryInner> list()
      List registries by subscription.
      Returns:
      a paginated list of Registry entities as paginated response with PagedIterable.
      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)
      List registries by subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      a paginated list of Registry entities as paginated response with PagedIterable.
      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)
      List registries.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      Returns:
      a paginated list of Registry entities as paginated response with PagedIterable.
      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)
      List registries.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      context - The context to associate with this operation.
      Returns:
      a paginated list of Registry entities as paginated response with PagedIterable.
      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)
      Delete registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - Name of Azure Machine Learning registry. This is case-insensitive.
      Returns:
      the SyncPoller for polling of long-running 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.
    • 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)
      Delete registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - Name of Azure Machine Learning registry. This is case-insensitive.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • delete

      void delete(String resourceGroupName, String registryName)
      Delete registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - Name of Azure Machine Learning registry. This is case-insensitive.
      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)
      Delete registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - Name of Azure Machine Learning registry. This is case-insensitive.
      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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<RegistryInner> getByResourceGroupWithResponse(String resourceGroupName, String registryName, com.azure.core.util.Context context)
      Get registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - Name of Azure Machine Learning registry. This is case-insensitive.
      context - The context to associate with this operation.
      Returns:
      registry along with Response.
      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)
      Get registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - Name of Azure Machine Learning registry. This is case-insensitive.
      Returns:
      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.
    • updateWithResponse

      com.azure.core.http.rest.Response<RegistryInner> updateWithResponse(String resourceGroupName, String registryName, PartialRegistryPartialTrackedResource body, com.azure.core.util.Context context)
      Update tags.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - Name of Azure Machine Learning registry. This is case-insensitive.
      body - Details required to create the registry.
      context - The context to associate with this operation.
      Returns:
      the response body along with Response.
      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, PartialRegistryPartialTrackedResource body)
      Update tags.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - Name of Azure Machine Learning registry. This is case-insensitive.
      body - Details required to create the registry.
      Returns:
      the response.
      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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RegistryInner>,RegistryInner> beginCreateOrUpdate(String resourceGroupName, String registryName, RegistryInner body)
      Create or update registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - Name of Azure Machine Learning registry. This is case-insensitive.
      body - Details required to create the registry.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RegistryInner>,RegistryInner> beginCreateOrUpdate(String resourceGroupName, String registryName, RegistryInner body, com.azure.core.util.Context context)
      Create or update registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - Name of Azure Machine Learning registry. This is case-insensitive.
      body - Details required to create the registry.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • createOrUpdate

      RegistryInner createOrUpdate(String resourceGroupName, String registryName, RegistryInner body)
      Create or update registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - Name of Azure Machine Learning registry. This is case-insensitive.
      body - Details required to create the registry.
      Returns:
      the response.
      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.
    • createOrUpdate

      RegistryInner createOrUpdate(String resourceGroupName, String registryName, RegistryInner body, com.azure.core.util.Context context)
      Create or update registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - Name of Azure Machine Learning registry. This is case-insensitive.
      body - Details required to create the registry.
      context - The context to associate with this operation.
      Returns:
      the response.
      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.
    • beginRemoveRegions

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RegistryInner>,RegistryInner> beginRemoveRegions(String resourceGroupName, String registryName, RegistryInner body)
      Remove regions from registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - Name of Azure Machine Learning registry. This is case-insensitive.
      body - Details required to create the registry.
      Returns:
      the SyncPoller for polling of long-running 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.
    • beginRemoveRegions

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RegistryInner>,RegistryInner> beginRemoveRegions(String resourceGroupName, String registryName, RegistryInner body, com.azure.core.util.Context context)
      Remove regions from registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - Name of Azure Machine Learning registry. This is case-insensitive.
      body - Details required to create the registry.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running 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.
    • removeRegions

      RegistryInner removeRegions(String resourceGroupName, String registryName, RegistryInner body)
      Remove regions from registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - Name of Azure Machine Learning registry. This is case-insensitive.
      body - Details required to create the registry.
      Returns:
      the response.
      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.
    • removeRegions

      RegistryInner removeRegions(String resourceGroupName, String registryName, RegistryInner body, com.azure.core.util.Context context)
      Remove regions from registry.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      registryName - Name of Azure Machine Learning registry. This is case-insensitive.
      body - Details required to create the registry.
      context - The context to associate with this operation.
      Returns:
      the response.
      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.