Interface Registries
public interface Registries
Resource collection API of Registries.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Registry resource.voidDelete registry.voiddeleteById(String id) Delete registry.voiddeleteByIdWithResponse(String id, com.azure.core.util.Context context) Delete registry.voiddeleteByResourceGroup(String resourceGroupName, String registryName) Delete registry.Get registry.com.azure.core.http.rest.Response<Registry>getByIdWithResponse(String id, com.azure.core.util.Context context) Get registry.getByResourceGroup(String resourceGroupName, String registryName) Get registry.com.azure.core.http.rest.Response<Registry>getByResourceGroupWithResponse(String resourceGroupName, String registryName, com.azure.core.util.Context context) Get registry.com.azure.core.http.rest.PagedIterable<Registry>list()List registries by subscription.com.azure.core.http.rest.PagedIterable<Registry>list(com.azure.core.util.Context context) List registries by subscription.com.azure.core.http.rest.PagedIterable<Registry>listByResourceGroup(String resourceGroupName) List registries.com.azure.core.http.rest.PagedIterable<Registry>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) List registries.removeRegions(String resourceGroupName, String registryName, RegistryInner body) Remove regions from registry.removeRegions(String resourceGroupName, String registryName, RegistryInner body, com.azure.core.util.Context context) Remove regions from registry.
-
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
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
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
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
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
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
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
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
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
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.
-