Interface CacheRulesClient
public interface CacheRulesClient
An instance of this class provides access to all the operations defined in CacheRulesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CacheRuleInner>, CacheRuleInner> beginCreate(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters) Creates a cache rule for a container registry with the specified parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CacheRuleInner>, CacheRuleInner> beginCreate(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters, com.azure.core.util.Context context) Creates a cache rule for a container registry with the specified parameters.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CacheRuleInner>, CacheRuleInner> beginCreateAsync(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters) Creates a cache rule for a container registry with the specified parameters.beginDelete(String resourceGroupName, String registryName, String cacheRuleName) Deletes a cache rule resource from a container registry.beginDelete(String resourceGroupName, String registryName, String cacheRuleName, com.azure.core.util.Context context) Deletes a cache rule resource from a container registry.beginDeleteAsync(String resourceGroupName, String registryName, String cacheRuleName) Deletes a cache rule resource from a container registry.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CacheRuleInner>, CacheRuleInner> beginUpdate(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters) Updates a cache rule for a container registry with the specified parameters.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CacheRuleInner>, CacheRuleInner> beginUpdate(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters, com.azure.core.util.Context context) Updates a cache rule for a container registry with the specified parameters.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<CacheRuleInner>, CacheRuleInner> beginUpdateAsync(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters) Updates a cache rule for a container registry with the specified parameters.create(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters) Creates a cache rule for a container registry with the specified parameters.create(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters, com.azure.core.util.Context context) Creates a cache rule for a container registry with the specified parameters.createAsync(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters) Creates a cache rule for a container registry with the specified parameters.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters) Creates a cache rule for a container registry with the specified parameters.voidDeletes a cache rule resource from a container registry.voiddelete(String resourceGroupName, String registryName, String cacheRuleName, com.azure.core.util.Context context) Deletes a cache rule resource from a container registry.deleteAsync(String resourceGroupName, String registryName, String cacheRuleName) Deletes a cache rule resource from a container registry.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String registryName, String cacheRuleName) Deletes a cache rule resource from a container registry.Gets the properties of the specified cache rule resource.Gets the properties of the specified cache rule resource.com.azure.core.http.rest.Response<CacheRuleInner> getWithResponse(String resourceGroupName, String registryName, String cacheRuleName, com.azure.core.util.Context context) Gets the properties of the specified cache rule resource.Mono<com.azure.core.http.rest.Response<CacheRuleInner>> getWithResponseAsync(String resourceGroupName, String registryName, String cacheRuleName) Gets the properties of the specified cache rule resource.com.azure.core.http.rest.PagedIterable<CacheRuleInner> Lists all cache rule resources for the specified container registry.com.azure.core.http.rest.PagedIterable<CacheRuleInner> Lists all cache rule resources for the specified container registry.com.azure.core.http.rest.PagedFlux<CacheRuleInner> Lists all cache rule resources for the specified container registry.update(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters) Updates a cache rule for a container registry with the specified parameters.update(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters, com.azure.core.util.Context context) Updates a cache rule for a container registry with the specified parameters.updateAsync(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters) Updates a cache rule for a container registry with the specified parameters.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters) Updates a cache rule for a container registry with the specified parameters.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<CacheRuleInner> listAsync(String resourceGroupName, String registryName) Lists all cache rule resources for the specified container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.- Returns:
- the result of a request to list cache rules for a container registry as paginated response with
PagedFlux. - 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.
-
list
com.azure.core.http.rest.PagedIterable<CacheRuleInner> list(String resourceGroupName, String registryName) Lists all cache rule resources for the specified container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.- Returns:
- the result of a request to list cache rules for a container registry 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.
-
list
com.azure.core.http.rest.PagedIterable<CacheRuleInner> list(String resourceGroupName, String registryName, com.azure.core.util.Context context) Lists all cache rule resources for the specified container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.context- The context to associate with this operation.- Returns:
- the result of a request to list cache rules for a container registry 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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<CacheRuleInner>> getWithResponseAsync(String resourceGroupName, String registryName, String cacheRuleName) Gets the properties of the specified cache rule resource.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.- Returns:
- the properties of the specified cache rule resource along with
Responseon successful completion ofMono. - 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.
-
getAsync
Gets the properties of the specified cache rule resource.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.- Returns:
- the properties of the specified cache rule resource on successful completion of
Mono. - 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.
-
getWithResponse
com.azure.core.http.rest.Response<CacheRuleInner> getWithResponse(String resourceGroupName, String registryName, String cacheRuleName, com.azure.core.util.Context context) Gets the properties of the specified cache rule resource.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.context- The context to associate with this operation.- Returns:
- the properties of the specified cache rule resource 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.
-
get
Gets the properties of the specified cache rule resource.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.- Returns:
- the properties of the specified cache rule resource.
- 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, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters) Creates a cache rule for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.cacheRuleCreateParameters- The parameters for creating a cache rule.- Returns:
- an object that represents a cache rule for a container registry along with
Responseon successful completion ofMono. - 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<CacheRuleInner>,CacheRuleInner> beginCreateAsync(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters) Creates a cache rule for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.cacheRuleCreateParameters- The parameters for creating a cache rule.- Returns:
- the
PollerFluxfor polling of an object that represents a cache rule 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CacheRuleInner>,CacheRuleInner> beginCreate(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters) Creates a cache rule for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.cacheRuleCreateParameters- The parameters for creating a cache rule.- Returns:
- the
SyncPollerfor polling of an object that represents a cache rule 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CacheRuleInner>,CacheRuleInner> beginCreate(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters, com.azure.core.util.Context context) Creates a cache rule for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.cacheRuleCreateParameters- The parameters for creating a cache rule.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of an object that represents a cache rule 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.
-
createAsync
Mono<CacheRuleInner> createAsync(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters) Creates a cache rule for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.cacheRuleCreateParameters- The parameters for creating a cache rule.- Returns:
- an object that represents a cache rule for a container registry on successful completion of
Mono. - 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
CacheRuleInner create(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters) Creates a cache rule for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.cacheRuleCreateParameters- The parameters for creating a cache rule.- Returns:
- an object that represents a cache rule 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.
-
create
CacheRuleInner create(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters, com.azure.core.util.Context context) Creates a cache rule for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.cacheRuleCreateParameters- The parameters for creating a cache rule.context- The context to associate with this operation.- Returns:
- an object that represents a cache rule 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String registryName, String cacheRuleName) Deletes a cache rule resource from a container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.- Returns:
- the
Responseon successful completion ofMono. - 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, String cacheRuleName) Deletes a cache rule resource from a container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.- Returns:
- the
PollerFluxfor 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, String cacheRuleName) Deletes a cache rule resource from a container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.- 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, String cacheRuleName, com.azure.core.util.Context context) Deletes a cache rule resource from a container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.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.
-
deleteAsync
Deletes a cache rule resource from a container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.- Returns:
- A
Monothat completes when a successful response is received. - 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
Deletes a cache rule resource from a container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.- 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, String cacheRuleName, com.azure.core.util.Context context) Deletes a cache rule resource from a container registry.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.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, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters) Updates a cache rule for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.cacheRuleUpdateParameters- The parameters for updating a cache rule.- Returns:
- an object that represents a cache rule for a container registry along with
Responseon successful completion ofMono. - 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<CacheRuleInner>,CacheRuleInner> beginUpdateAsync(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters) Updates a cache rule for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.cacheRuleUpdateParameters- The parameters for updating a cache rule.- Returns:
- the
PollerFluxfor polling of an object that represents a cache rule 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CacheRuleInner>,CacheRuleInner> beginUpdate(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters) Updates a cache rule for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.cacheRuleUpdateParameters- The parameters for updating a cache rule.- Returns:
- the
SyncPollerfor polling of an object that represents a cache rule 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<CacheRuleInner>,CacheRuleInner> beginUpdate(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters, com.azure.core.util.Context context) Updates a cache rule for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.cacheRuleUpdateParameters- The parameters for updating a cache rule.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of an object that represents a cache rule 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.
-
updateAsync
Mono<CacheRuleInner> updateAsync(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters) Updates a cache rule for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.cacheRuleUpdateParameters- The parameters for updating a cache rule.- Returns:
- an object that represents a cache rule for a container registry on successful completion of
Mono. - 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
CacheRuleInner update(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters) Updates a cache rule for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.cacheRuleUpdateParameters- The parameters for updating a cache rule.- Returns:
- an object that represents a cache rule 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.
-
update
CacheRuleInner update(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters, com.azure.core.util.Context context) Updates a cache rule for a container registry with the specified parameters.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.registryName- The name of the container registry.cacheRuleName- The name of the cache rule.cacheRuleUpdateParameters- The parameters for updating a cache rule.context- The context to associate with this operation.- Returns:
- an object that represents a cache rule 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.
-