RedisClient Interface
Implements
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 Type
Method and Description
abstract
SyncPoller <PollResult <RedisResourceInner >,RedisResourceInner >
beginCreate(String resourceGroupName, String name, RedisCreateParameters parameters)
Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
abstract
SyncPoller <PollResult <RedisResourceInner >,RedisResourceInner >
beginCreate(String resourceGroupName, String name, RedisCreateParameters parameters, Context context)
Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
abstract
PollerFlux <PollResult <RedisResourceInner >,RedisResourceInner >
beginCreateAsync(String resourceGroupName, String name, RedisCreateParameters parameters)
Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
abstract
SyncPoller <PollResult <Void >,Void >
beginDelete(String resourceGroupName, String name)
Deletes a Redis cache.
abstract
SyncPoller <PollResult <Void >,Void >
beginDelete(String resourceGroupName, String name, Context context)
Deletes a Redis cache.
abstract
PollerFlux <PollResult <Void >,Void >
beginDeleteAsync(String resourceGroupName, String name)
Deletes a Redis cache.
abstract
SyncPoller <PollResult <Void >,Void >
beginExportData(String resourceGroupName, String name, ExportRdbParameters parameters)
Export data from the redis cache to blobs in a container.
abstract
SyncPoller <PollResult <Void >,Void >
beginExportData(String resourceGroupName, String name, ExportRdbParameters parameters, Context context)
Export data from the redis cache to blobs in a container.
abstract
PollerFlux <PollResult <Void >,Void >
beginExportDataAsync(String resourceGroupName, String name, ExportRdbParameters parameters)
Export data from the redis cache to blobs in a container.
abstract
SyncPoller <PollResult <OperationStatusResult >,OperationStatusResult >
beginFlushCache(String resourceGroupName, String cacheName)
Deletes all of the keys in a cache.
abstract
SyncPoller <PollResult <OperationStatusResult >,OperationStatusResult >
beginFlushCache(String resourceGroupName, String cacheName, Context context)
Deletes all of the keys in a cache.
abstract
PollerFlux <PollResult <OperationStatusResult >,OperationStatusResult >
beginFlushCacheAsync(String resourceGroupName, String cacheName)
Deletes all of the keys in a cache.
abstract
SyncPoller <PollResult <Void >,Void >
beginImportData(String resourceGroupName, String name, ImportRdbParameters parameters)
Import data into Redis cache.
abstract
SyncPoller <PollResult <Void >,Void >
beginImportData(String resourceGroupName, String name, ImportRdbParameters parameters, Context context)
Import data into Redis cache.
abstract
PollerFlux <PollResult <Void >,Void >
beginImportDataAsync(String resourceGroupName, String name, ImportRdbParameters parameters)
Import data into Redis cache.
abstract
SyncPoller <PollResult <RedisResourceInner >,RedisResourceInner >
beginUpdate(String resourceGroupName, String name, RedisUpdateParameters parameters)
Update an existing Redis cache.
abstract
SyncPoller <PollResult <RedisResourceInner >,RedisResourceInner >
beginUpdate(String resourceGroupName, String name, RedisUpdateParameters parameters, Context context)
Update an existing Redis cache.
abstract
PollerFlux <PollResult <RedisResourceInner >,RedisResourceInner >
beginUpdateAsync(String resourceGroupName, String name, RedisUpdateParameters parameters)
Update an existing Redis cache.
abstract
void
checkNameAvailability(CheckNameAvailabilityParameters parameters)
Checks that the redis cache name is valid and is not already in use.
abstract
Mono <Void >
checkNameAvailabilityAsync(CheckNameAvailabilityParameters parameters)
Checks that the redis cache name is valid and is not already in use.
abstract
Response <Void >
checkNameAvailabilityWithResponse(CheckNameAvailabilityParameters parameters, Context context)
Checks that the redis cache name is valid and is not already in use.
abstract
Mono <Response <Void >>
checkNameAvailabilityWithResponseAsync(CheckNameAvailabilityParameters parameters)
Checks that the redis cache name is valid and is not already in use.
abstract
RedisResourceInner
create(String resourceGroupName, String name, RedisCreateParameters parameters)
Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
abstract
RedisResourceInner
create(String resourceGroupName, String name, RedisCreateParameters parameters, Context context)
Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
abstract
Mono <RedisResourceInner >
createAsync(String resourceGroupName, String name, RedisCreateParameters parameters)
Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
abstract
Mono <Response <Flux <ByteBuffer >>>
createWithResponseAsync(String resourceGroupName, String name, RedisCreateParameters parameters)
Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
abstract
void
delete(String resourceGroupName, String name)
Deletes a Redis cache.
abstract
void
delete(String resourceGroupName, String name, Context context)
Deletes a Redis cache.
abstract
Mono <Void >
deleteAsync(String resourceGroupName, String name)
Deletes a Redis cache.
abstract
Mono <Response <Flux <ByteBuffer >>>
deleteWithResponseAsync(String resourceGroupName, String name)
Deletes a Redis cache.
abstract
void
exportData(String resourceGroupName, String name, ExportRdbParameters parameters)
Export data from the redis cache to blobs in a container.
abstract
void
exportData(String resourceGroupName, String name, ExportRdbParameters parameters, Context context)
Export data from the redis cache to blobs in a container.
abstract
Mono <Void >
exportDataAsync(String resourceGroupName, String name, ExportRdbParameters parameters)
Export data from the redis cache to blobs in a container.
abstract
Mono <Response <Flux <ByteBuffer >>>
exportDataWithResponseAsync(String resourceGroupName, String name, ExportRdbParameters parameters)
Export data from the redis cache to blobs in a container.
abstract
OperationStatusResult
flushCache(String resourceGroupName, String cacheName)
Deletes all of the keys in a cache.
abstract
OperationStatusResult
flushCache(String resourceGroupName, String cacheName, Context context)
Deletes all of the keys in a cache.
abstract
Mono <OperationStatusResult >
flushCacheAsync(String resourceGroupName, String cacheName)
Deletes all of the keys in a cache.
abstract
Mono <Response <Flux <ByteBuffer >>>
flushCacheWithResponseAsync(String resourceGroupName, String cacheName)
Deletes all of the keys in a cache.
abstract
RedisForceRebootResponseInner
forceReboot(String resourceGroupName, String name, RedisRebootParameters parameters)
Reboot specified Redis node(s).
abstract
Mono <RedisForceRebootResponseInner >
forceRebootAsync(String resourceGroupName, String name, RedisRebootParameters parameters)
Reboot specified Redis node(s).
abstract
Response <RedisForceRebootResponseInner >
forceRebootWithResponse(String resourceGroupName, String name, RedisRebootParameters parameters, Context context)
Reboot specified Redis node(s).
abstract
Mono <Response <RedisForceRebootResponseInner >>
forceRebootWithResponseAsync(String resourceGroupName, String name, RedisRebootParameters parameters)
Reboot specified Redis node(s).
abstract
RedisResourceInner
getByResourceGroup(String resourceGroupName, String name)
Gets a Redis cache (resource description).
abstract
Mono <RedisResourceInner >
getByResourceGroupAsync(String resourceGroupName, String name)
Gets a Redis cache (resource description).
abstract
Response <RedisResourceInner >
getByResourceGroupWithResponse(String resourceGroupName, String name, Context context)
Gets a Redis cache (resource description).
abstract
Mono <Response <RedisResourceInner >>
getByResourceGroupWithResponseAsync(String resourceGroupName, String name)
Gets a Redis cache (resource description).
abstract
void
importData(String resourceGroupName, String name, ImportRdbParameters parameters)
Import data into Redis cache.
abstract
void
importData(String resourceGroupName, String name, ImportRdbParameters parameters, Context context)
Import data into Redis cache.
abstract
Mono <Void >
importDataAsync(String resourceGroupName, String name, ImportRdbParameters parameters)
Import data into Redis cache.
abstract
Mono <Response <Flux <ByteBuffer >>>
importDataWithResponseAsync(String resourceGroupName, String name, ImportRdbParameters parameters)
Import data into Redis cache.
abstract
PagedIterable <RedisResourceInner >
list()
Gets all Redis caches in the specified subscription.
abstract
PagedIterable <RedisResourceInner >
list(Context context)
Gets all Redis caches in the specified subscription.
abstract
PagedFlux <RedisResourceInner >
listAsync()
Gets all Redis caches in the specified subscription.
abstract
PagedIterable <RedisResourceInner >
listByResourceGroup(String resourceGroupName)
Lists all Redis caches in a resource group.
abstract
PagedIterable <RedisResourceInner >
listByResourceGroup(String resourceGroupName, Context context)
Lists all Redis caches in a resource group.
abstract
PagedFlux <RedisResourceInner >
listByResourceGroupAsync(String resourceGroupName)
Lists all Redis caches in a resource group.
abstract
RedisAccessKeysInner
listKeys(String resourceGroupName, String name)
Retrieve a Redis cache's access keys.
abstract
Mono <RedisAccessKeysInner >
listKeysAsync(String resourceGroupName, String name)
Retrieve a Redis cache's access keys.
abstract
Response <RedisAccessKeysInner >
listKeysWithResponse(String resourceGroupName, String name, Context context)
Retrieve a Redis cache's access keys.
abstract
Mono <Response <RedisAccessKeysInner >>
listKeysWithResponseAsync(String resourceGroupName, String name)
Retrieve a Redis cache's access keys.
abstract
PagedIterable <UpgradeNotificationInner >
listUpgradeNotifications(String resourceGroupName, String name, double history)
Gets any upgrade notifications for a Redis cache.
abstract
PagedIterable <UpgradeNotificationInner >
listUpgradeNotifications(String resourceGroupName, String name, double history, Context context)
Gets any upgrade notifications for a Redis cache.
abstract
PagedFlux <UpgradeNotificationInner >
listUpgradeNotificationsAsync(String resourceGroupName, String name, double history)
Gets any upgrade notifications for a Redis cache.
abstract
RedisAccessKeysInner
regenerateKey(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters)
Regenerate Redis cache's access keys.
abstract
Mono <RedisAccessKeysInner >
regenerateKeyAsync(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters)
Regenerate Redis cache's access keys.
abstract
Response <RedisAccessKeysInner >
regenerateKeyWithResponse(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters, Context context)
Regenerate Redis cache's access keys.
abstract
Mono <Response <RedisAccessKeysInner >>
regenerateKeyWithResponseAsync(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters)
Regenerate Redis cache's access keys.
abstract
RedisResourceInner
update(String resourceGroupName, String name, RedisUpdateParameters parameters)
Update an existing Redis cache.
abstract
RedisResourceInner
update(String resourceGroupName, String name, RedisUpdateParameters parameters, Context context)
Update an existing Redis cache.
abstract
Mono <RedisResourceInner >
updateAsync(String resourceGroupName, String name, RedisUpdateParameters parameters)
Update an existing Redis cache.
abstract
Mono <Response <Flux <ByteBuffer >>>
updateWithResponseAsync(String resourceGroupName, String name, RedisUpdateParameters parameters)
Update an existing Redis cache.
Method Details
beginCreate
public abstract SyncPoller,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<T,U> for polling of a single Redis item in List or Get Operation.
beginCreate
public abstract SyncPoller,RedisResourceInner> beginCreate(String resourceGroupName, String name, RedisCreateParameters parameters, 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<T,U> for polling of a single Redis item in List or Get Operation.
beginCreateAsync
public abstract PollerFlux,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<T,U> for polling of a single Redis item in List or Get Operation.
beginDelete
public abstract SyncPoller,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:
beginDelete
public abstract SyncPoller,Void> beginDelete(String resourceGroupName, String name, 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:
beginDeleteAsync
public abstract PollerFlux,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:
beginExportData
public abstract SyncPoller,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:
beginExportData
public abstract SyncPoller,Void> beginExportData(String resourceGroupName, String name, ExportRdbParameters parameters, 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:
beginExportDataAsync
public abstract PollerFlux,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:
beginFlushCache
public abstract SyncPoller,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<T,U> for polling of the current status of an async operation.
beginFlushCache
public abstract SyncPoller,OperationStatusResult> beginFlushCache(String resourceGroupName, String cacheName, 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<T,U> for polling of the current status of an async operation.
beginFlushCacheAsync
public abstract PollerFlux,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<T,U> for polling of the current status of an async operation.
beginImportData
public abstract SyncPoller,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:
beginImportData
public abstract SyncPoller,Void> beginImportData(String resourceGroupName, String name, ImportRdbParameters parameters, 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:
beginImportDataAsync
public abstract PollerFlux,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:
beginUpdate
public abstract SyncPoller,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<T,U> for polling of a single Redis item in List or Get Operation.
beginUpdate
public abstract SyncPoller,RedisResourceInner> beginUpdate(String resourceGroupName, String name, RedisUpdateParameters parameters, 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<T,U> for polling of a single Redis item in List or Get Operation.
beginUpdateAsync
public abstract PollerFlux,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<T,U> for polling of a single Redis item in List or Get Operation.
checkNameAvailability
public abstract void checkNameAvailability(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'.
checkNameAvailabilityAsync
public abstract Mono checkNameAvailabilityAsync(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:
A Mono that completes when a successful response is received.
checkNameAvailabilityWithResponse
public abstract Response checkNameAvailabilityWithResponse(CheckNameAvailabilityParameters parameters, 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:
checkNameAvailabilityWithResponseAsync
public abstract Mono> 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:
create
public abstract RedisResourceInner create(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.
create
public abstract RedisResourceInner create(String resourceGroupName, String name, RedisCreateParameters parameters, 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.
createAsync
public abstract Mono 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 .
createWithResponseAsync
public abstract Mono>> 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<T> on successful completion of
Mono .
delete
public abstract void delete(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.
delete
public abstract void delete(String resourceGroupName, String name, 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.
deleteAsync
public abstract Mono deleteAsync(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:
A Mono that completes when a successful response is received.
deleteWithResponseAsync
public abstract Mono>> 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:
exportData
public abstract void exportData(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.
exportData
public abstract void exportData(String resourceGroupName, String name, ExportRdbParameters parameters, 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.
exportDataAsync
public abstract Mono exportDataAsync(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:
A Mono that completes when a successful response is received.
exportDataWithResponseAsync
public abstract Mono>> 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:
flushCache
public abstract OperationStatusResult flushCache(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.
flushCache
public abstract OperationStatusResult flushCache(String resourceGroupName, String cacheName, 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.
flushCacheAsync
public abstract Mono flushCacheAsync(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 on successful completion of Mono .
flushCacheWithResponseAsync
public abstract Mono>> 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<T> on successful completion of
Mono .
forceReboot
public abstract 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.
forceRebootAsync
public abstract Mono 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 .
forceRebootWithResponse
public abstract Response forceRebootWithResponse(String resourceGroupName, String name, RedisRebootParameters parameters, 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<T> .
forceRebootWithResponseAsync
public abstract Mono> 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<T> on successful completion of
Mono .
getByResourceGroup
public abstract RedisResourceInner getByResourceGroup(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).
getByResourceGroupAsync
public abstract Mono getByResourceGroupAsync(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) on successful completion of Mono .
getByResourceGroupWithResponse
public abstract Response getByResourceGroupWithResponse(String resourceGroupName, String name, 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<T> .
getByResourceGroupWithResponseAsync
public abstract Mono> 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<T> on successful completion of
Mono .
importData
public abstract void importData(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.
importData
public abstract void importData(String resourceGroupName, String name, ImportRdbParameters parameters, 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.
importDataAsync
public abstract Mono importDataAsync(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:
A Mono that completes when a successful response is received.
importDataWithResponseAsync
public abstract Mono>> 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:
list
public abstract PagedIterable list()
Gets all Redis caches in the specified subscription.
Returns:
all Redis caches in the specified subscription as paginated response with
PagedIterable<T> .
list
public abstract PagedIterable list(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<T> .
listAsync
public abstract PagedFlux listAsync()
Gets all Redis caches in the specified subscription.
Returns:
all Redis caches in the specified subscription as paginated response with
PagedFlux<T> .
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName)
Lists all Redis caches in a resource group.
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<T> .
listByResourceGroup
public abstract PagedIterable listByResourceGroup(String resourceGroupName, 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<T> .
listByResourceGroupAsync
public abstract PagedFlux listByResourceGroupAsync(String resourceGroupName)
Lists all Redis caches in a resource group.
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<T> .
listKeys
public abstract RedisAccessKeysInner listKeys(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.
listKeysAsync
public abstract Mono listKeysAsync(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 on successful completion of Mono .
listKeysWithResponse
public abstract Response listKeysWithResponse(String resourceGroupName, String name, 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:
listKeysWithResponseAsync
public abstract Mono> 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<T> on successful completion of
Mono .
listUpgradeNotifications
public abstract PagedIterable 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<T> .
listUpgradeNotifications
public abstract PagedIterable listUpgradeNotifications(String resourceGroupName, String name, double history, 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<T> .
listUpgradeNotificationsAsync
public abstract PagedFlux 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<T> .
regenerateKey
public abstract 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.
regenerateKeyAsync
public abstract Mono 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 .
regenerateKeyWithResponse
public abstract Response regenerateKeyWithResponse(String resourceGroupName, String name, RedisRegenerateKeyParameters parameters, 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:
regenerateKeyWithResponseAsync
public abstract Mono> 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<T> on successful completion of
Mono .
update
public abstract RedisResourceInner update(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.
update
public abstract RedisResourceInner update(String resourceGroupName, String name, RedisUpdateParameters parameters, 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.
updateAsync
public abstract Mono 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 .
updateWithResponseAsync
public abstract Mono>> 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<T> on successful completion of
Mono .
Applies to