CacheRulesClient Interface

public interface CacheRulesClient

An instance of this class provides access to all the operations defined in CacheRulesClient.

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<CacheRuleInner>,CacheRuleInner> beginCreate(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters)

Creates a cache rule for a container registry with the specified parameters.

abstract SyncPoller<PollResult<CacheRuleInner>,CacheRuleInner> beginCreate(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters, Context context)

Creates a cache rule for a container registry with the specified parameters.

abstract PollerFlux<PollResult<CacheRuleInner>,CacheRuleInner> beginCreateAsync(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters)

Creates a cache rule for a container registry with the specified parameters.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String registryName, String cacheRuleName)

Deletes a cache rule resource from a container registry.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String registryName, String cacheRuleName, Context context)

Deletes a cache rule resource from a container registry.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String registryName, String cacheRuleName)

Deletes a cache rule resource from a container registry.

abstract SyncPoller<PollResult<CacheRuleInner>,CacheRuleInner> beginUpdate(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters)

Updates a cache rule for a container registry with the specified parameters.

abstract SyncPoller<PollResult<CacheRuleInner>,CacheRuleInner> beginUpdate(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters, Context context)

Updates a cache rule for a container registry with the specified parameters.

abstract PollerFlux<PollResult<CacheRuleInner>,CacheRuleInner> beginUpdateAsync(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters)

Updates a cache rule for a container registry with the specified parameters.

abstract CacheRuleInner create(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters)

Creates a cache rule for a container registry with the specified parameters.

abstract CacheRuleInner create(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters, Context context)

Creates a cache rule for a container registry with the specified parameters.

abstract Mono<CacheRuleInner> createAsync(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters)

Creates a cache rule for a container registry with the specified parameters.

abstract Mono<Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters)

Creates a cache rule for a container registry with the specified parameters.

abstract void delete(String resourceGroupName, String registryName, String cacheRuleName)

Deletes a cache rule resource from a container registry.

abstract void delete(String resourceGroupName, String registryName, String cacheRuleName, Context context)

Deletes a cache rule resource from a container registry.

abstract Mono<Void> deleteAsync(String resourceGroupName, String registryName, String cacheRuleName)

Deletes a cache rule resource from a container registry.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String registryName, String cacheRuleName)

Deletes a cache rule resource from a container registry.

abstract CacheRuleInner get(String resourceGroupName, String registryName, String cacheRuleName)

Gets the properties of the specified cache rule resource.

abstract Mono<CacheRuleInner> getAsync(String resourceGroupName, String registryName, String cacheRuleName)

Gets the properties of the specified cache rule resource.

abstract Response<CacheRuleInner> getWithResponse(String resourceGroupName, String registryName, String cacheRuleName, Context context)

Gets the properties of the specified cache rule resource.

abstract Mono<Response<CacheRuleInner>> getWithResponseAsync(String resourceGroupName, String registryName, String cacheRuleName)

Gets the properties of the specified cache rule resource.

abstract PagedIterable<CacheRuleInner> list(String resourceGroupName, String registryName)

Lists all cache rule resources for the specified container registry.

abstract PagedIterable<CacheRuleInner> list(String resourceGroupName, String registryName, Context context)

Lists all cache rule resources for the specified container registry.

abstract PagedFlux<CacheRuleInner> listAsync(String resourceGroupName, String registryName)

Lists all cache rule resources for the specified container registry.

abstract CacheRuleInner update(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters)

Updates a cache rule for a container registry with the specified parameters.

abstract CacheRuleInner update(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters, Context context)

Updates a cache rule for a container registry with the specified parameters.

abstract Mono<CacheRuleInner> updateAsync(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters)

Updates a cache rule for a container registry with the specified parameters.

abstract Mono<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

beginCreate

public abstract SyncPoller,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 SyncPoller<T,U> for polling of an object that represents a cache rule for a container registry.

beginCreate

public abstract SyncPoller,CacheRuleInner> beginCreate(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters, 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 SyncPoller<T,U> for polling of an object that represents a cache rule for a container registry.

beginCreateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of an object that represents a cache rule for a container registry.

beginDelete

public abstract SyncPoller,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 SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String registryName, String cacheRuleName, 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 SyncPoller<T,U> for polling of long-running operation.

beginDeleteAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of long-running operation.

beginUpdate

public abstract SyncPoller,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 SyncPoller<T,U> for polling of an object that represents a cache rule for a container registry.

beginUpdate

public abstract SyncPoller,CacheRuleInner> beginUpdate(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters, 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 SyncPoller<T,U> for polling of an object that represents a cache rule for a container registry.

beginUpdateAsync

public abstract PollerFlux,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 PollerFlux<T,U> for polling of an object that represents a cache rule for a container registry.

create

public abstract 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.

create

public abstract CacheRuleInner create(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleInner cacheRuleCreateParameters, 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.

createAsync

public abstract Mono 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.

createWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

delete

public abstract void delete(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.

delete

public abstract void delete(String resourceGroupName, String registryName, String cacheRuleName, 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.

deleteAsync

public abstract Mono deleteAsync(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:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

get

public abstract CacheRuleInner get(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.

getAsync

public abstract Mono getAsync(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 on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String registryName, String cacheRuleName, 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<T>.

getWithResponseAsync

public abstract Mono> 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 Response<T> on successful completion of Mono.

list

public abstract PagedIterable 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<T>.

list

public abstract PagedIterable list(String resourceGroupName, String registryName, 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<T>.

listAsync

public abstract PagedFlux 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<T>.

update

public abstract 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.

update

public abstract CacheRuleInner update(String resourceGroupName, String registryName, String cacheRuleName, CacheRuleUpdateParameters cacheRuleUpdateParameters, 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.

updateAsync

public abstract Mono 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.

updateWithResponseAsync

public abstract Mono>> 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 Response<T> on successful completion of Mono.

Applies to