Interface RedisClient
- All Superinterfaces:
InnerSupportsDelete<Void>
,InnerSupportsGet<RedisResourceInner>
,InnerSupportsListing<RedisResourceInner>
public interface RedisClient
extends InnerSupportsGet<RedisResourceInner>, InnerSupportsListing<RedisResourceInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in RedisClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<RedisResourceInner>, RedisResourceInner> beginCreate
(String resourceGroupName, String name, RedisCreateParameters parameters) Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<RedisResourceInner>, RedisResourceInner> beginCreate
(String resourceGroupName, String name, RedisCreateParameters parameters, com.azure.core.util.Context context) Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.com.azure.core.util.polling.PollerFlux
<com.azure.core.management.polling.PollResult<RedisResourceInner>, RedisResourceInner> beginCreateAsync
(String resourceGroupName, String name, RedisCreateParameters parameters) Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.beginDelete
(String resourceGroupName, String name) Deletes a Redis cache.beginDelete
(String resourceGroupName, String name, com.azure.core.util.Context context) Deletes a Redis cache.beginDeleteAsync
(String resourceGroupName, String name) Deletes a Redis cache.beginExportData
(String resourceGroupName, String name, ExportRdbParameters parameters) Export data from the redis cache to blobs in a container.beginExportData
(String resourceGroupName, String name, ExportRdbParameters parameters, com.azure.core.util.Context context) Export data from the redis cache to blobs in a container.beginExportDataAsync
(String resourceGroupName, String name, ExportRdbParameters parameters) Export data from the redis cache to blobs in a container.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<OperationStatusResult>, OperationStatusResult> beginFlushCache
(String resourceGroupName, String cacheName) Deletes all of the keys in a cache.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<OperationStatusResult>, OperationStatusResult> beginFlushCache
(String resourceGroupName, String cacheName, com.azure.core.util.Context context) Deletes all of the keys in a cache.com.azure.core.util.polling.PollerFlux
<com.azure.core.management.polling.PollResult<OperationStatusResult>, OperationStatusResult> beginFlushCacheAsync
(String resourceGroupName, String cacheName) Deletes all of the keys in a cache.beginImportData
(String resourceGroupName, String name, ImportRdbParameters parameters) Import data into Redis cache.beginImportData
(String resourceGroupName, String name, ImportRdbParameters parameters, com.azure.core.util.Context context) Import data into Redis cache.beginImportDataAsync
(String resourceGroupName, String name, ImportRdbParameters parameters) Import data into Redis cache.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<RedisResourceInner>, RedisResourceInner> beginUpdate
(String resourceGroupName, String name, RedisUpdateParameters parameters) Update an existing Redis cache.com.azure.core.util.polling.SyncPoller
<com.azure.core.management.polling.PollResult<RedisResourceInner>, RedisResourceInner> beginUpdate
(String resourceGroupName, String name, RedisUpdateParameters parameters, com.azure.core.util.Context context) Update an existing Redis cache.com.azure.core.util.polling.PollerFlux
<com.azure.core.management.polling.PollResult<RedisResourceInner>, RedisResourceInner> beginUpdateAsync
(String resourceGroupName, String name, RedisUpdateParameters parameters) Update an existing Redis cache.void
checkNameAvailability
(CheckNameAvailabilityParameters parameters) Checks that the redis cache name is valid and is not already in use.Checks that the redis cache name is valid and is not already in use.com.azure.core.http.rest.Response
<Void> checkNameAvailabilityWithResponse
(CheckNameAvailabilityParameters parameters, com.azure.core.util.Context context) Checks that the redis cache name is valid and is not already in use.Checks that the redis cache name is valid and is not already in use.create
(String resourceGroupName, String name, RedisCreateParameters parameters) Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.create
(String resourceGroupName, String name, RedisCreateParameters parameters, com.azure.core.util.Context context) Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.createAsync
(String resourceGroupName, String name, RedisCreateParameters parameters) Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync
(String resourceGroupName, String name, RedisCreateParameters parameters) Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.void
Deletes a Redis cache.void
Deletes a Redis cache.deleteAsync
(String resourceGroupName, String name) Deletes a Redis cache.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync
(String resourceGroupName, String name) Deletes a Redis cache.void
exportData
(String resourceGroupName, String name, ExportRdbParameters parameters) Export data from the redis cache to blobs in a container.void
exportData
(String resourceGroupName, String name, ExportRdbParameters parameters, com.azure.core.util.Context context) Export data from the redis cache to blobs in a container.exportDataAsync
(String resourceGroupName, String name, ExportRdbParameters parameters) Export data from the redis cache to blobs in a container.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> exportDataWithResponseAsync
(String resourceGroupName, String name, ExportRdbParameters parameters) Export data from the redis cache to blobs in a container.flushCache
(String resourceGroupName, String cacheName) Deletes all of the keys in a cache.flushCache
(String resourceGroupName, String cacheName, com.azure.core.util.Context context) Deletes all of the keys in a cache.flushCacheAsync
(String resourceGroupName, String cacheName) Deletes all of the keys in a cache.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> flushCacheWithResponseAsync
(String resourceGroupName, String cacheName) Deletes all of the keys in a cache.forceReboot
(String resourceGroupName, String name, RedisRebootParameters parameters) Reboot specified Redis node(s).forceRebootAsync
(String resourceGroupName, String name, RedisRebootParameters parameters) Reboot specified Redis node(s).com.azure.core.http.rest.Response
<RedisForceRebootResponseInner> forceRebootWithResponse
(String resourceGroupName, String name, RedisRebootParameters parameters, com.azure.core.util.Context context) Reboot specified Redis node(s).Mono
<com.azure.core.http.rest.Response<RedisForceRebootResponseInner>> forceRebootWithResponseAsync
(String resourceGroupName, String name, RedisRebootParameters parameters) Reboot specified Redis node(s).getByResourceGroup
(String resourceGroupName, String name) Gets a Redis cache (resource description).getByResourceGroupAsync
(String resourceGroupName, String name) Gets a Redis cache (resource description).com.azure.core.http.rest.Response
<RedisResourceInner> getByResourceGroupWithResponse
(String resourceGroupName, String name, com.azure.core.util.Context context) Gets a Redis cache (resource description).Mono
<com.azure.core.http.rest.Response<RedisResourceInner>> getByResourceGroupWithResponseAsync
(String resourceGroupName, String name) Gets a Redis cache (resource description).void
importData
(String resourceGroupName, String name, ImportRdbParameters parameters) Import data into Redis cache.void
importData
(String resourceGroupName, String name, ImportRdbParameters parameters, com.azure.core.util.Context context) Import data into Redis cache.importDataAsync
(String resourceGroupName, String name, ImportRdbParameters parameters) Import data into Redis cache.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> importDataWithResponseAsync
(String resourceGroupName, String name, ImportRdbParameters parameters) Import data into Redis cache.com.azure.core.http.rest.PagedIterable
<RedisResourceInner> list()
Gets all Redis caches in the specified subscription.com.azure.core.http.rest.PagedIterable
<RedisResourceInner> list
(com.azure.core.util.Context context) Gets all Redis caches in the specified subscription.com.azure.core.http.rest.PagedFlux
<RedisResourceInner> Gets all Redis caches in the specified subscription.com.azure.core.http.rest.PagedIterable
<RedisResourceInner> listByResourceGroup
(String resourceGroupName) Lists all Redis caches in a resource group.com.azure.core.http.rest.PagedIterable
<RedisResourceInner> listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Lists all Redis caches in a resource group.com.azure.core.http.rest.PagedFlux
<RedisResourceInner> listByResourceGroupAsync
(String resourceGroupName) Lists all Redis caches in a resource group.Retrieve a Redis cache's access keys.listKeysAsync
(String resourceGroupName, String name) Retrieve a Redis cache's access keys.com.azure.core.http.rest.Response
<RedisAccessKeysInner> listKeysWithResponse
(String resourceGroupName, String name, com.azure.core.util.Context context) Retrieve a Redis cache's access keys.Mono
<com.azure.core.http.rest.Response<RedisAccessKeysInner>> listKeysWithResponseAsync
(String resourceGroupName, String name) Retrieve a Redis cache's access keys.com.azure.core.http.rest.PagedIterable
<UpgradeNotificationInner> listUpgradeNotifications
(String resourceGroupName, String name, double history) Gets any upgrade notifications for a Redis cache.com.azure.core.http.rest.PagedIterable
<UpgradeNotificationInner> listUpgradeNotifications
(String resourceGroupName, String name, double history, com.azure.core.util.Context context) Gets any upgrade notifications for a Redis cache.com.azure.core.http.rest.PagedFlux
<UpgradeNotificationInner> listUpgradeNotificationsAsync
(String resourceGroupName, String name, double history) Gets any upgrade notifications for a Redis cache.regenerateKey
(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters) Regenerate Redis cache's access keys.regenerateKeyAsync
(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters) Regenerate Redis cache's access keys.com.azure.core.http.rest.Response
<RedisAccessKeysInner> regenerateKeyWithResponse
(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters, com.azure.core.util.Context context) Regenerate Redis cache's access keys.Mono
<com.azure.core.http.rest.Response<RedisAccessKeysInner>> regenerateKeyWithResponseAsync
(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters) Regenerate Redis cache's access keys.update
(String resourceGroupName, String name, RedisUpdateParameters parameters) Update an existing Redis cache.update
(String resourceGroupName, String name, RedisUpdateParameters parameters, com.azure.core.util.Context context) Update an existing Redis cache.updateAsync
(String resourceGroupName, String name, RedisUpdateParameters parameters) Update an existing Redis cache.Mono
<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateWithResponseAsync
(String resourceGroupName, String name, RedisUpdateParameters parameters) Update an existing Redis cache.
-
Method Details
-
checkNameAvailabilityWithResponseAsync
Mono<com.azure.core.http.rest.Response<Void>> checkNameAvailabilityWithResponseAsync(CheckNameAvailabilityParameters parameters) Checks that the redis cache name is valid and is not already in use.- Parameters:
parameters
- Parameters supplied to the CheckNameAvailability Redis operation. The only supported resource type is 'Microsoft.Cache/redis'.- 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.
-
checkNameAvailabilityAsync
Checks that the redis cache name is valid and is not already in use.- Parameters:
parameters
- Parameters supplied to the CheckNameAvailability Redis operation. The only supported resource type is 'Microsoft.Cache/redis'.- 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.
-
checkNameAvailabilityWithResponse
com.azure.core.http.rest.Response<Void> checkNameAvailabilityWithResponse(CheckNameAvailabilityParameters parameters, com.azure.core.util.Context context) Checks that the redis cache name is valid and is not already in use.- Parameters:
parameters
- Parameters supplied to the CheckNameAvailability Redis operation. The only supported resource type is 'Microsoft.Cache/redis'.context
- The context to associate with this operation.- Returns:
- the
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.
-
checkNameAvailability
Checks that the redis cache name is valid and is not already in use.- Parameters:
parameters
- Parameters supplied to the CheckNameAvailability Redis operation. The only supported resource type is 'Microsoft.Cache/redis'.- 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.
-
listUpgradeNotificationsAsync
com.azure.core.http.rest.PagedFlux<UpgradeNotificationInner> listUpgradeNotificationsAsync(String resourceGroupName, String name, double history) Gets any upgrade notifications for a Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.history
- how many minutes in past to look for upgrade notifications.- Returns:
- any upgrade notifications for a 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.
-
listUpgradeNotifications
com.azure.core.http.rest.PagedIterable<UpgradeNotificationInner> listUpgradeNotifications(String resourceGroupName, String name, double history) Gets any upgrade notifications for a Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.history
- how many minutes in past to look for upgrade notifications.- Returns:
- any upgrade notifications for a 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.
-
listUpgradeNotifications
com.azure.core.http.rest.PagedIterable<UpgradeNotificationInner> listUpgradeNotifications(String resourceGroupName, String name, double history, com.azure.core.util.Context context) Gets any upgrade notifications for a Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.history
- how many minutes in past to look for upgrade notifications.context
- The context to associate with this operation.- Returns:
- any upgrade notifications for a 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.
-
createWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String name, RedisCreateParameters parameters) Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters supplied to the Create Redis operation.- Returns:
- a single Redis item in List or Get Operation 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.
-
beginCreateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RedisResourceInner>,RedisResourceInner> beginCreateAsync(String resourceGroupName, String name, RedisCreateParameters parameters) Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters supplied to the Create Redis operation.- Returns:
- the
PollerFlux
for polling of a single Redis item in List or Get 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RedisResourceInner>,RedisResourceInner> beginCreate(String resourceGroupName, String name, RedisCreateParameters parameters) Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters supplied to the Create Redis operation.- Returns:
- the
SyncPoller
for polling of a single Redis item in List or Get 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.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RedisResourceInner>,RedisResourceInner> beginCreate(String resourceGroupName, String name, RedisCreateParameters parameters, com.azure.core.util.Context context) Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters supplied to the Create Redis operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of a single Redis item in List or Get 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.
-
createAsync
Mono<RedisResourceInner> createAsync(String resourceGroupName, String name, RedisCreateParameters parameters) Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters supplied to the Create Redis operation.- Returns:
- a single Redis item in List or Get Operation 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
Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters supplied to the Create Redis operation.- Returns:
- a single Redis item in List or Get 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.
-
create
RedisResourceInner create(String resourceGroupName, String name, RedisCreateParameters parameters, com.azure.core.util.Context context) Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters supplied to the Create Redis operation.context
- The context to associate with this operation.- Returns:
- a single Redis item in List or Get 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 name, RedisUpdateParameters parameters) Update an existing Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters supplied to the Update Redis operation.- Returns:
- a single Redis item in List or Get Operation 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.
-
beginUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RedisResourceInner>,RedisResourceInner> beginUpdateAsync(String resourceGroupName, String name, RedisUpdateParameters parameters) Update an existing Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters supplied to the Update Redis operation.- Returns:
- the
PollerFlux
for polling of a single Redis item in List or Get 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RedisResourceInner>,RedisResourceInner> beginUpdate(String resourceGroupName, String name, RedisUpdateParameters parameters) Update an existing Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters supplied to the Update Redis operation.- Returns:
- the
SyncPoller
for polling of a single Redis item in List or Get 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RedisResourceInner>,RedisResourceInner> beginUpdate(String resourceGroupName, String name, RedisUpdateParameters parameters, com.azure.core.util.Context context) Update an existing Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters supplied to the Update Redis operation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of a single Redis item in List or Get 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.
-
updateAsync
Mono<RedisResourceInner> updateAsync(String resourceGroupName, String name, RedisUpdateParameters parameters) Update an existing Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters supplied to the Update Redis operation.- Returns:
- a single Redis item in List or Get Operation 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
Update an existing Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters supplied to the Update Redis operation.- Returns:
- a single Redis item in List or Get 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.
-
update
RedisResourceInner update(String resourceGroupName, String name, RedisUpdateParameters parameters, com.azure.core.util.Context context) Update an existing Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters supplied to the Update Redis operation.context
- The context to associate with this operation.- Returns:
- a single Redis item in List or Get 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String name) Deletes a Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.- 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 name) Deletes a Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.- 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 name) Deletes a Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.- 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 name, com.azure.core.util.Context context) Deletes a Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.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
Deletes a Redis cache.- Specified by:
deleteAsync
in interfaceInnerSupportsDelete<Void>
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.- 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 a Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the 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.
-
delete
Deletes a Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<RedisResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String name) Gets a Redis cache (resource description).- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.- Returns:
- a Redis cache (resource description) 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.
-
getByResourceGroupAsync
Gets a Redis cache (resource description).- Specified by:
getByResourceGroupAsync
in interfaceInnerSupportsGet<RedisResourceInner>
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.- Returns:
- a Redis cache (resource description) 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<RedisResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String name, com.azure.core.util.Context context) Gets a Redis cache (resource description).- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.context
- The context to associate with this operation.- Returns:
- a Redis cache (resource description) 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.
-
getByResourceGroup
Gets a Redis cache (resource description).- Specified by:
getByResourceGroup
in interfaceInnerSupportsGet<RedisResourceInner>
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.- Returns:
- a Redis cache (resource description).
- 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<RedisResourceInner> listByResourceGroupAsync(String resourceGroupName) Lists all Redis caches in a resource group.- Specified by:
listByResourceGroupAsync
in interfaceInnerSupportsListing<RedisResourceInner>
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- the response of list Redis operation 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<RedisResourceInner> listByResourceGroup(String resourceGroupName) Lists all Redis caches in a resource group.- Specified by:
listByResourceGroup
in interfaceInnerSupportsListing<RedisResourceInner>
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- the response of list Redis operation 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<RedisResourceInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all Redis caches in a resource group.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- the response of list Redis operation 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<RedisResourceInner> listAsync()Gets all Redis caches in the specified subscription.- Specified by:
listAsync
in interfaceInnerSupportsListing<RedisResourceInner>
- Returns:
- all Redis caches in the specified subscription as paginated response with
PagedFlux
. - Throws:
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<RedisResourceInner> list()Gets all Redis caches in the specified subscription.- Specified by:
list
in interfaceInnerSupportsListing<RedisResourceInner>
- Returns:
- all Redis caches in the specified subscription as paginated response with
PagedIterable
. - Throws:
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<RedisResourceInner> list(com.azure.core.util.Context context) Gets all Redis caches in the specified subscription.- Parameters:
context
- The context to associate with this operation.- Returns:
- all Redis caches in the specified subscription 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.
-
listKeysWithResponseAsync
Mono<com.azure.core.http.rest.Response<RedisAccessKeysInner>> listKeysWithResponseAsync(String resourceGroupName, String name) Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.- Returns:
- redis cache access keys 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.
-
listKeysAsync
Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.- Returns:
- redis cache access keys 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.
-
listKeysWithResponse
com.azure.core.http.rest.Response<RedisAccessKeysInner> listKeysWithResponse(String resourceGroupName, String name, com.azure.core.util.Context context) Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.context
- The context to associate with this operation.- Returns:
- redis cache access keys 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.
-
listKeys
Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.- Returns:
- redis cache access keys.
- 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.
-
regenerateKeyWithResponseAsync
Mono<com.azure.core.http.rest.Response<RedisAccessKeysInner>> regenerateKeyWithResponseAsync(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters) Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Specifies which key to regenerate.- Returns:
- redis cache access keys 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.
-
regenerateKeyAsync
Mono<RedisAccessKeysInner> regenerateKeyAsync(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters) Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Specifies which key to regenerate.- Returns:
- redis cache access keys 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.
-
regenerateKeyWithResponse
com.azure.core.http.rest.Response<RedisAccessKeysInner> regenerateKeyWithResponse(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters, com.azure.core.util.Context context) Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Specifies which key to regenerate.context
- The context to associate with this operation.- Returns:
- redis cache access keys 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.
-
regenerateKey
RedisAccessKeysInner regenerateKey(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters) Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Specifies which key to regenerate.- Returns:
- redis cache access keys.
- 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.
-
forceRebootWithResponseAsync
Mono<com.azure.core.http.rest.Response<RedisForceRebootResponseInner>> forceRebootWithResponseAsync(String resourceGroupName, String name, RedisRebootParameters parameters) Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Specifies which Redis node(s) to reboot.- Returns:
- response to force reboot for 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.
-
forceRebootAsync
Mono<RedisForceRebootResponseInner> forceRebootAsync(String resourceGroupName, String name, RedisRebootParameters parameters) Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Specifies which Redis node(s) to reboot.- Returns:
- response to force reboot for 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.
-
forceRebootWithResponse
com.azure.core.http.rest.Response<RedisForceRebootResponseInner> forceRebootWithResponse(String resourceGroupName, String name, RedisRebootParameters parameters, com.azure.core.util.Context context) Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Specifies which Redis node(s) to reboot.context
- The context to associate with this operation.- Returns:
- response to force reboot for 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.
-
forceReboot
RedisForceRebootResponseInner forceReboot(String resourceGroupName, String name, RedisRebootParameters parameters) Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Specifies which Redis node(s) to reboot.- Returns:
- response to force reboot for 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.
-
importDataWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> importDataWithResponseAsync(String resourceGroupName, String name, ImportRdbParameters parameters) Import data into Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters for Redis import operation.- 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.
-
beginImportDataAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginImportDataAsync(String resourceGroupName, String name, ImportRdbParameters parameters) Import data into Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters for Redis import operation.- 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.
-
beginImportData
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginImportData(String resourceGroupName, String name, ImportRdbParameters parameters) Import data into Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters for Redis import 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.
-
beginImportData
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginImportData(String resourceGroupName, String name, ImportRdbParameters parameters, com.azure.core.util.Context context) Import data into Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters for Redis import operation.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.
-
importDataAsync
Import data into Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters for Redis import operation.- 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.
-
importData
Import data into Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters for Redis import 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.
-
importData
void importData(String resourceGroupName, String name, ImportRdbParameters parameters, com.azure.core.util.Context context) Import data into Redis cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters for Redis import operation.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.
-
exportDataWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> exportDataWithResponseAsync(String resourceGroupName, String name, ExportRdbParameters parameters) Export data from the redis cache to blobs in a container.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters for Redis export operation.- 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.
-
beginExportDataAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginExportDataAsync(String resourceGroupName, String name, ExportRdbParameters parameters) Export data from the redis cache to blobs in a container.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters for Redis export operation.- 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.
-
beginExportData
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginExportData(String resourceGroupName, String name, ExportRdbParameters parameters) Export data from the redis cache to blobs in a container.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters for Redis export 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.
-
beginExportData
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginExportData(String resourceGroupName, String name, ExportRdbParameters parameters, com.azure.core.util.Context context) Export data from the redis cache to blobs in a container.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters for Redis export operation.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.
-
exportDataAsync
Export data from the redis cache to blobs in a container.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters for Redis export operation.- 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.
-
exportData
Export data from the redis cache to blobs in a container.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters for Redis export 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.
-
exportData
void exportData(String resourceGroupName, String name, ExportRdbParameters parameters, com.azure.core.util.Context context) Export data from the redis cache to blobs in a container.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.name
- The name of the Redis cache.parameters
- Parameters for Redis export operation.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.
-
flushCacheWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> flushCacheWithResponseAsync(String resourceGroupName, String cacheName) Deletes all of the keys in a cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.cacheName
- The name of the Redis cache.- Returns:
- the current status of an async operation 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.
-
beginFlushCacheAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<OperationStatusResult>,OperationStatusResult> beginFlushCacheAsync(String resourceGroupName, String cacheName) Deletes all of the keys in a cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.cacheName
- The name of the Redis cache.- Returns:
- the
PollerFlux
for polling of the current status of an async 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.
-
beginFlushCache
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResult>,OperationStatusResult> beginFlushCache(String resourceGroupName, String cacheName) Deletes all of the keys in a cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.cacheName
- The name of the Redis cache.- Returns:
- the
SyncPoller
for polling of the current status of an async 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.
-
beginFlushCache
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<OperationStatusResult>,OperationStatusResult> beginFlushCache(String resourceGroupName, String cacheName, com.azure.core.util.Context context) Deletes all of the keys in a 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
SyncPoller
for polling of the current status of an async 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.
-
flushCacheAsync
Deletes all of the keys in a cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.cacheName
- The name of the Redis cache.- Returns:
- the current status of an async operation 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.
-
flushCache
Deletes all of the keys in a cache.- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.cacheName
- The name of the Redis cache.- Returns:
- the current status of an async 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.
-
flushCache
OperationStatusResult flushCache(String resourceGroupName, String cacheName, com.azure.core.util.Context context) Deletes all of the keys in a 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 current status of an async 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.
-