Interface RegistriesClient
public interface RegistriesClient
An instance of this class provides access to all the operations defined in RegistriesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RegistryInner>,RegistryInner> beginCreateOrUpdate(String resourceGroupName, String registryName, RegistryInner body) Create or update registry.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.beginDelete(String resourceGroupName, String registryName) Delete registry.beginDelete(String resourceGroupName, String registryName, com.azure.core.util.Context context) Delete registry.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.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.createOrUpdate(String resourceGroupName, String registryName, RegistryInner body) Create or update registry.createOrUpdate(String resourceGroupName, String registryName, RegistryInner body, com.azure.core.util.Context context) Create or update registry.voidDelete registry.voidDelete registry.getByResourceGroup(String resourceGroupName, String registryName) Get registry.com.azure.core.http.rest.Response<RegistryInner>getByResourceGroupWithResponse(String resourceGroupName, String registryName, com.azure.core.util.Context context) Get registry.com.azure.core.http.rest.PagedIterable<RegistryInner>list()List registries by subscription.com.azure.core.http.rest.PagedIterable<RegistryInner>list(com.azure.core.util.Context context) List registries by subscription.com.azure.core.http.rest.PagedIterable<RegistryInner>listByResourceGroup(String resourceGroupName) List registries.com.azure.core.http.rest.PagedIterable<RegistryInner>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.update(String resourceGroupName, String registryName, PartialRegistryPartialTrackedResource body) Update tags.com.azure.core.http.rest.Response<RegistryInner>updateWithResponse(String resourceGroupName, String registryName, PartialRegistryPartialTrackedResource body, com.azure.core.util.Context context) Update tags.
-
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
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<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
SyncPollerfor 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
SyncPollerfor 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
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<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
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
SyncPollerfor 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
SyncPollerfor 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
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
SyncPollerfor 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
SyncPollerfor 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
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.
-