Interface AccessPolicyAssignmentsClient
public interface AccessPolicyAssignmentsClient
An instance of this class provides access to all the operations defined in AccessPolicyAssignmentsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<RedisCacheAccessPolicyAssignmentInner>, RedisCacheAccessPolicyAssignmentInner> beginCreateUpdate
(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters) Adds the access policy assignment to the specified users.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<RedisCacheAccessPolicyAssignmentInner>, RedisCacheAccessPolicyAssignmentInner> beginCreateUpdate
(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters, com.azure.core.util.Context context) Adds the access policy assignment to the specified users.com.azure.core.util.polling.PollerFlux
<com.azure.core.management.polling.PollResult<RedisCacheAccessPolicyAssignmentInner>, RedisCacheAccessPolicyAssignmentInner> beginCreateUpdateAsync
(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters) Adds the access policy assignment to the specified users.beginDelete
(String resourceGroupName, String cacheName, String accessPolicyAssignmentName) Deletes the access policy assignment from a redis cache.beginDelete
(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, com.azure.core.util.Context context) Deletes the access policy assignment from a redis cache.beginDeleteAsync
(String resourceGroupName, String cacheName, String accessPolicyAssignmentName) Deletes the access policy assignment from a redis cache.createUpdate
(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters) Adds the access policy assignment to the specified users.createUpdate
(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters, com.azure.core.util.Context context) Adds the access policy assignment to the specified users.createUpdateAsync
(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters) Adds the access policy assignment to the specified users.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createUpdateWithResponseAsync
(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters) Adds the access policy assignment to the specified users.void
Deletes the access policy assignment from a redis cache.void
delete
(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, com.azure.core.util.Context context) Deletes the access policy assignment from a redis cache.deleteAsync
(String resourceGroupName, String cacheName, String accessPolicyAssignmentName) Deletes the access policy assignment from a redis cache.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync
(String resourceGroupName, String cacheName, String accessPolicyAssignmentName) Deletes the access policy assignment from a redis cache.Gets the list of assignments for an access policy of a redis cache.Gets the list of assignments for an access policy of a redis cache.com.azure.core.http.rest.Response
<RedisCacheAccessPolicyAssignmentInner> getWithResponse
(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, com.azure.core.util.Context context) Gets the list of assignments for an access policy of a redis cache.Mono
<com.azure.core.http.rest.Response<RedisCacheAccessPolicyAssignmentInner>> getWithResponseAsync
(String resourceGroupName, String cacheName, String accessPolicyAssignmentName) Gets the list of assignments for an access policy of a redis cache.com.azure.core.http.rest.PagedIterable
<RedisCacheAccessPolicyAssignmentInner> Gets the list of access policy assignments associated with this redis cache.com.azure.core.http.rest.PagedIterable
<RedisCacheAccessPolicyAssignmentInner> Gets the list of access policy assignments associated with this redis cache.com.azure.core.http.rest.PagedFlux
<RedisCacheAccessPolicyAssignmentInner> Gets the list of access policy assignments associated with this redis cache.
-
Method Details
-
createUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> 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
on 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.
-
beginCreateUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RedisCacheAccessPolicyAssignmentInner>,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
for polling of response to an operation on access policy assignment. - 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.
-
beginCreateUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RedisCacheAccessPolicyAssignmentInner>,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
for polling of response to an operation on access policy assignment. - 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.
-
beginCreateUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RedisCacheAccessPolicyAssignmentInner>,RedisCacheAccessPolicyAssignmentInner> beginCreateUpdate(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters, com.azure.core.util.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
for polling of response to an operation on access policy assignment. - 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.
-
createUpdateAsync
Mono<RedisCacheAccessPolicyAssignmentInner> 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
. - 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.
-
createUpdate
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.
- 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.
-
createUpdate
RedisCacheAccessPolicyAssignmentInner createUpdate(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, RedisCacheAccessPolicyAssignmentInner parameters, com.azure.core.util.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.
- 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 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
on 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 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
for 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 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
for 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 cacheName, String accessPolicyAssignmentName, com.azure.core.util.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
for 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
Mono<Void> 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. - 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 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.- 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 cacheName, String accessPolicyAssignmentName, com.azure.core.util.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.- 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<RedisCacheAccessPolicyAssignmentInner>> 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
on 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
Mono<RedisCacheAccessPolicyAssignmentInner> 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
. - 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<RedisCacheAccessPolicyAssignmentInner> getWithResponse(String resourceGroupName, String cacheName, String accessPolicyAssignmentName, com.azure.core.util.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
. - 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
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.
- 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<RedisCacheAccessPolicyAssignmentInner> 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
. - 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<RedisCacheAccessPolicyAssignmentInner> 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
. - 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<RedisCacheAccessPolicyAssignmentInner> list(String resourceGroupName, String cacheName, com.azure.core.util.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
. - 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.
-