AccessPoliciesClient Interface

public interface AccessPoliciesClient

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

Method Summary

Modifier and Type Method and Description
abstract SyncPoller<PollResult<RedisCacheAccessPolicyInner>,RedisCacheAccessPolicyInner> beginCreateUpdate(String resourceGroupName, String cacheName, String accessPolicyName, RedisCacheAccessPolicyInner parameters)

Adds an access policy to the redis cache.

abstract SyncPoller<PollResult<RedisCacheAccessPolicyInner>,RedisCacheAccessPolicyInner> beginCreateUpdate(String resourceGroupName, String cacheName, String accessPolicyName, RedisCacheAccessPolicyInner parameters, Context context)

Adds an access policy to the redis cache.

abstract PollerFlux<PollResult<RedisCacheAccessPolicyInner>,RedisCacheAccessPolicyInner> beginCreateUpdateAsync(String resourceGroupName, String cacheName, String accessPolicyName, RedisCacheAccessPolicyInner parameters)

Adds an access policy to the redis cache.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String cacheName, String accessPolicyName)

Deletes the access policy from a redis cache.

abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String cacheName, String accessPolicyName, Context context)

Deletes the access policy from a redis cache.

abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String cacheName, String accessPolicyName)

Deletes the access policy from a redis cache.

abstract RedisCacheAccessPolicyInner createUpdate(String resourceGroupName, String cacheName, String accessPolicyName, RedisCacheAccessPolicyInner parameters)

Adds an access policy to the redis cache.

abstract RedisCacheAccessPolicyInner createUpdate(String resourceGroupName, String cacheName, String accessPolicyName, RedisCacheAccessPolicyInner parameters, Context context)

Adds an access policy to the redis cache.

abstract Mono<RedisCacheAccessPolicyInner> createUpdateAsync(String resourceGroupName, String cacheName, String accessPolicyName, RedisCacheAccessPolicyInner parameters)

Adds an access policy to the redis cache.

abstract Mono<Response<Flux<ByteBuffer>>> createUpdateWithResponseAsync(String resourceGroupName, String cacheName, String accessPolicyName, RedisCacheAccessPolicyInner parameters)

Adds an access policy to the redis cache.

abstract void delete(String resourceGroupName, String cacheName, String accessPolicyName)

Deletes the access policy from a redis cache.

abstract void delete(String resourceGroupName, String cacheName, String accessPolicyName, Context context)

Deletes the access policy from a redis cache.

abstract Mono<Void> deleteAsync(String resourceGroupName, String cacheName, String accessPolicyName)

Deletes the access policy from a redis cache.

abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String cacheName, String accessPolicyName)

Deletes the access policy from a redis cache.

abstract RedisCacheAccessPolicyInner get(String resourceGroupName, String cacheName, String accessPolicyName)

Gets the detailed information about an access policy of a redis cache.

abstract Mono<RedisCacheAccessPolicyInner> getAsync(String resourceGroupName, String cacheName, String accessPolicyName)

Gets the detailed information about an access policy of a redis cache.

abstract Response<RedisCacheAccessPolicyInner> getWithResponse(String resourceGroupName, String cacheName, String accessPolicyName, Context context)

Gets the detailed information about an access policy of a redis cache.

abstract Mono<Response<RedisCacheAccessPolicyInner>> getWithResponseAsync(String resourceGroupName, String cacheName, String accessPolicyName)

Gets the detailed information about an access policy of a redis cache.

abstract PagedIterable<RedisCacheAccessPolicyInner> list(String resourceGroupName, String cacheName)

Gets the list of access policies associated with this redis cache.

abstract PagedIterable<RedisCacheAccessPolicyInner> list(String resourceGroupName, String cacheName, Context context)

Gets the list of access policies associated with this redis cache.

abstract PagedFlux<RedisCacheAccessPolicyInner> listAsync(String resourceGroupName, String cacheName)

Gets the list of access policies associated with this redis cache.

Method Details

beginCreateUpdate

public abstract SyncPoller,RedisCacheAccessPolicyInner> beginCreateUpdate(String resourceGroupName, String cacheName, String accessPolicyName, RedisCacheAccessPolicyInner parameters)

Adds an access policy to the redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.
parameters - Parameters supplied to the Create Update Access Policy operation.

Returns:

the SyncPoller<T,U> for polling of response to get/put access policy.

beginCreateUpdate

public abstract SyncPoller,RedisCacheAccessPolicyInner> beginCreateUpdate(String resourceGroupName, String cacheName, String accessPolicyName, RedisCacheAccessPolicyInner parameters, Context context)

Adds an access policy to the redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.
parameters - Parameters supplied to the Create Update Access Policy operation.
context - The context to associate with this operation.

Returns:

the SyncPoller<T,U> for polling of response to get/put access policy.

beginCreateUpdateAsync

public abstract PollerFlux,RedisCacheAccessPolicyInner> beginCreateUpdateAsync(String resourceGroupName, String cacheName, String accessPolicyName, RedisCacheAccessPolicyInner parameters)

Adds an access policy to the redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.
parameters - Parameters supplied to the Create Update Access Policy operation.

Returns:

the PollerFlux<T,U> for polling of response to get/put access policy.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String cacheName, String accessPolicyName)

Deletes the access policy from a redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.

Returns:

the SyncPoller<T,U> for polling of long-running operation.

beginDelete

public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String cacheName, String accessPolicyName, Context context)

Deletes the access policy from a redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.
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 cacheName, String accessPolicyName)

Deletes the access policy from a redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.

Returns:

the PollerFlux<T,U> for polling of long-running operation.

createUpdate

public abstract RedisCacheAccessPolicyInner createUpdate(String resourceGroupName, String cacheName, String accessPolicyName, RedisCacheAccessPolicyInner parameters)

Adds an access policy to the redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.
parameters - Parameters supplied to the Create Update Access Policy operation.

Returns:

response to get/put access policy.

createUpdate

public abstract RedisCacheAccessPolicyInner createUpdate(String resourceGroupName, String cacheName, String accessPolicyName, RedisCacheAccessPolicyInner parameters, Context context)

Adds an access policy to the redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.
parameters - Parameters supplied to the Create Update Access Policy operation.
context - The context to associate with this operation.

Returns:

response to get/put access policy.

createUpdateAsync

public abstract Mono createUpdateAsync(String resourceGroupName, String cacheName, String accessPolicyName, RedisCacheAccessPolicyInner parameters)

Adds an access policy to the redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.
parameters - Parameters supplied to the Create Update Access Policy operation.

Returns:

response to get/put access policy on successful completion of Mono.

createUpdateWithResponseAsync

public abstract Mono>> createUpdateWithResponseAsync(String resourceGroupName, String cacheName, String accessPolicyName, RedisCacheAccessPolicyInner parameters)

Adds an access policy to the redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.
parameters - Parameters supplied to the Create Update Access Policy operation.

Returns:

response to get/put access policy along with Response<T> on successful completion of Mono.

delete

public abstract void delete(String resourceGroupName, String cacheName, String accessPolicyName)

Deletes the access policy from a redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.

delete

public abstract void delete(String resourceGroupName, String cacheName, String accessPolicyName, Context context)

Deletes the access policy from a redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.
context - The context to associate with this operation.

deleteAsync

public abstract Mono deleteAsync(String resourceGroupName, String cacheName, String accessPolicyName)

Deletes the access policy from a redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

public abstract Mono>> deleteWithResponseAsync(String resourceGroupName, String cacheName, String accessPolicyName)

Deletes the access policy from a redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract RedisCacheAccessPolicyInner get(String resourceGroupName, String cacheName, String accessPolicyName)

Gets the detailed information about an access policy of a redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.

Returns:

the detailed information about an access policy of a redis cache.

getAsync

public abstract Mono getAsync(String resourceGroupName, String cacheName, String accessPolicyName)

Gets the detailed information about an access policy of a redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.

Returns:

the detailed information about an access policy of a redis cache on successful completion of Mono.

getWithResponse

public abstract Response getWithResponse(String resourceGroupName, String cacheName, String accessPolicyName, Context context)

Gets the detailed information about an access policy of a redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.
context - The context to associate with this operation.

Returns:

the detailed information about an access policy of a redis cache along with Response<T>.

getWithResponseAsync

public abstract Mono> getWithResponseAsync(String resourceGroupName, String cacheName, String accessPolicyName)

Gets the detailed information about an access policy of a redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyName - The name of the access policy that is being added to the Redis cache.

Returns:

the detailed information about an access policy of a redis cache along with Response<T> on successful completion of Mono.

list

public abstract PagedIterable list(String resourceGroupName, String cacheName)

Gets the list of access policies associated with this redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.

Returns:

the list of access policies associated with this redis cache as paginated response with PagedIterable<T>.

list

public abstract PagedIterable list(String resourceGroupName, String cacheName, Context context)

Gets the list of access policies associated with this redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
context - The context to associate with this operation.

Returns:

the list of access policies associated with this redis cache as paginated response with PagedIterable<T>.

listAsync

public abstract PagedFlux listAsync(String resourceGroupName, String cacheName)

Gets the list of access policies associated with this redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.

Returns:

the list of access policies associated with this redis cache as paginated response with PagedFlux<T>.

Applies to