Interface Registries


public interface Registries
Resource collection API of Registries.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<Registry> 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<Registry> 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<Registry> 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<Registry> 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.
    • deleteByResourceGroup

      void deleteByResourceGroup(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<Registry> 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

      Registry 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.
    • removeRegions

      Registry 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

      Registry 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.
    • getById

      Registry getById(String id)
      Get registry.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<Registry> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Get registry.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Delete registry.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Delete registry.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new Registry resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new Registry definition.