AccessPolicyAssignmentsClient Interface

public interface AccessPolicyAssignmentsClient

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

Method Summary

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

Adds the access policy assignment to the specified users.

abstract SyncPoller<PollResult<RedisCacheAccessPolicyAssignmentInner>,RedisCacheAccessPolicyAssignmentInner> beginCreateUpdate(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters, Context context)

Adds the access policy assignment to the specified users.

abstract PollerFlux<PollResult<RedisCacheAccessPolicyAssignmentInner>,RedisCacheAccessPolicyAssignmentInner> beginCreateUpdateAsync(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters)

Adds the access policy assignment to the specified users.

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

Deletes the access policy assignment from a redis cache.

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

Deletes the access policy assignment from a redis cache.

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

Deletes the access policy assignment from a redis cache.

abstract RedisCacheAccessPolicyAssignmentInner createUpdate(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters)

Adds the access policy assignment to the specified users.

abstract RedisCacheAccessPolicyAssignmentInner createUpdate(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters, Context context)

Adds the access policy assignment to the specified users.

abstract Mono<RedisCacheAccessPolicyAssignmentInner> createUpdateAsync(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters)

Adds the access policy assignment to the specified users.

abstract Mono<Response<Flux<ByteBuffer>>> createUpdateWithResponseAsync(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters)

Adds the access policy assignment to the specified users.

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

Deletes the access policy assignment from a redis cache.

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

Deletes the access policy assignment from a redis cache.

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

Deletes the access policy assignment from a redis cache.

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

Deletes the access policy assignment from a redis cache.

abstract RedisCacheAccessPolicyAssignmentInner get(String resourceGroupName, String cacheName, String accessPolicyAssignmentName)

Gets the list of assignments for an access policy of a redis cache.

abstract Mono<RedisCacheAccessPolicyAssignmentInner> getAsync(String resourceGroupName, String cacheName, String accessPolicyAssignmentName)

Gets the list of assignments for an access policy of a redis cache.

abstract Response<RedisCacheAccessPolicyAssignmentInner> getWithResponse(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, Context context)

Gets the list of assignments for an access policy of a redis cache.

abstract Mono<Response<RedisCacheAccessPolicyAssignmentInner>> getWithResponseAsync(String resourceGroupName, String cacheName, String accessPolicyAssignmentName)

Gets the list of assignments for an access policy of a redis cache.

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

Gets the list of access policy assignments associated with this redis cache.

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

Gets the list of access policy assignments associated with this redis cache.

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

Gets the list of access policy assignments associated with this redis cache.

Method Details

beginCreateUpdate

public abstract SyncPoller,RedisCacheAccessPolicyAssignmentInner> beginCreateUpdate(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters)

Adds the access policy assignment to the specified users.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyAssignmentName - The name of the access policy assignment.
parameters - Parameters supplied to the Create Update Access Policy Assignment operation.

Returns:

the SyncPoller<T,U> for polling of response to an operation on access policy assignment.

beginCreateUpdate

public abstract SyncPoller,RedisCacheAccessPolicyAssignmentInner> beginCreateUpdate(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters, Context context)

Adds the access policy assignment to the specified users.

Parameters:

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

Returns:

the SyncPoller<T,U> for polling of response to an operation on access policy assignment.

beginCreateUpdateAsync

public abstract PollerFlux,RedisCacheAccessPolicyAssignmentInner> beginCreateUpdateAsync(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters)

Adds the access policy assignment to the specified users.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyAssignmentName - The name of the access policy assignment.
parameters - Parameters supplied to the Create Update Access Policy Assignment operation.

Returns:

the PollerFlux<T,U> for polling of response to an operation on access policy assignment.

beginDelete

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

Deletes the access policy assignment from a redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyAssignmentName - The name of the access policy assignment.

Returns:

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

beginDelete

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

Deletes the access policy assignment from a redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyAssignmentName - The name of the access policy assignment.
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 accessPolicyAssignmentName)

Deletes the access policy assignment from a redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyAssignmentName - The name of the access policy assignment.

Returns:

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

createUpdate

public abstract RedisCacheAccessPolicyAssignmentInner createUpdate(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters)

Adds the access policy assignment to the specified users.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyAssignmentName - The name of the access policy assignment.
parameters - Parameters supplied to the Create Update Access Policy Assignment operation.

Returns:

response to an operation on access policy assignment.

createUpdate

public abstract RedisCacheAccessPolicyAssignmentInner createUpdate(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters, Context context)

Adds the access policy assignment to the specified users.

Parameters:

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

Returns:

response to an operation on access policy assignment.

createUpdateAsync

public abstract Mono createUpdateAsync(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters)

Adds the access policy assignment to the specified users.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyAssignmentName - The name of the access policy assignment.
parameters - Parameters supplied to the Create Update Access Policy Assignment operation.

Returns:

response to an operation on access policy assignment on successful completion of Mono.

createUpdateWithResponseAsync

public abstract Mono>> createUpdateWithResponseAsync(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters)

Adds the access policy assignment to the specified users.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyAssignmentName - The name of the access policy assignment.
parameters - Parameters supplied to the Create Update Access Policy Assignment operation.

Returns:

response to an operation on access policy assignment along with Response<T> on successful completion of Mono.

delete

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

Deletes the access policy assignment from a redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyAssignmentName - The name of the access policy assignment.

delete

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

Deletes the access policy assignment from a redis cache.

Parameters:

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

deleteAsync

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

Deletes the access policy assignment from a redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyAssignmentName - The name of the access policy assignment.

Returns:

A Mono that completes when a successful response is received.

deleteWithResponseAsync

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

Deletes the access policy assignment from a redis cache.

Parameters:

resourceGroupName - The name of the resource group. The name is case insensitive.
cacheName - The name of the Redis cache.
accessPolicyAssignmentName - The name of the access policy assignment.

Returns:

the Response<T> on successful completion of Mono.

get

public abstract RedisCacheAccessPolicyAssignmentInner get(String resourceGroupName, String cacheName, String accessPolicyAssignmentName)

Gets the list of assignments for 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.
accessPolicyAssignmentName - The name of the access policy assignment.

Returns:

the list of assignments for an access policy of a redis cache.

getAsync

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

Gets the list of assignments for 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.
accessPolicyAssignmentName - The name of the access policy assignment.

Returns:

the list of assignments for an access policy of a redis cache on successful completion of Mono.

getWithResponse

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

Gets the list of assignments for 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.
accessPolicyAssignmentName - The name of the access policy assignment.
context - The context to associate with this operation.

Returns:

the list of assignments for an access policy of a redis cache along with Response<T>.

getWithResponseAsync

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

Gets the list of assignments for 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.
accessPolicyAssignmentName - The name of the access policy assignment.

Returns:

the list of assignments for 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 policy assignments 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 policy assignments 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 policy assignments 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 policy assignments 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 policy assignments 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 policy assignments associated with this redis cache as paginated response with PagedFlux<T>.

Applies to