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
Method Details
beginCreate
public abstract SyncPoller<PollResult<RedisResourceInner>,RedisResourceInner> beginCreate(String resourceGroupName, String name, RedisCreateParameters parameters)
Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
Parameters:
Returns:
beginCreate
public 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.
Parameters:
Returns:
beginCreateAsync
public abstract PollerFlux<PollResult<RedisResourceInner>,RedisResourceInner> beginCreateAsync(String resourceGroupName, String name, RedisCreateParameters parameters)
Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String name)
Deletes a Redis cache.
Parameters:
Returns:
beginDelete
public abstract SyncPoller<PollResult<Void>,Void> beginDelete(String resourceGroupName, String name, Context context)
Deletes a Redis cache.
Parameters:
Returns:
beginDeleteAsync
public abstract PollerFlux<PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String name)
Deletes a Redis cache.
Parameters:
Returns:
beginExportData
public abstract SyncPoller<PollResult<Void>,Void> beginExportData(String resourceGroupName, String name, ExportRdbParameters parameters)
Export data from the redis cache to blobs in a container.
Parameters:
Returns:
beginExportData
public 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.
Parameters:
Returns:
beginExportDataAsync
public abstract PollerFlux<PollResult<Void>,Void> beginExportDataAsync(String resourceGroupName, String name, ExportRdbParameters parameters)
Export data from the redis cache to blobs in a container.
Parameters:
Returns:
beginFlushCache
public abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginFlushCache(String resourceGroupName, String cacheName)
Deletes all of the keys in a cache.
Parameters:
Returns:
beginFlushCache
public abstract SyncPoller<PollResult<OperationStatusResult>,OperationStatusResult> beginFlushCache(String resourceGroupName, String cacheName, Context context)
Deletes all of the keys in a cache.
Parameters:
Returns:
beginFlushCacheAsync
public abstract PollerFlux<PollResult<OperationStatusResult>,OperationStatusResult> beginFlushCacheAsync(String resourceGroupName, String cacheName)
Deletes all of the keys in a cache.
Parameters:
Returns:
beginImportData
public abstract SyncPoller<PollResult<Void>,Void> beginImportData(String resourceGroupName, String name, ImportRdbParameters parameters)
Import data into Redis cache.
Parameters:
Returns:
beginImportData
public abstract SyncPoller<PollResult<Void>,Void> beginImportData(String resourceGroupName, String name, ImportRdbParameters parameters, Context context)
Import data into Redis cache.
Parameters:
Returns:
beginImportDataAsync
public abstract PollerFlux<PollResult<Void>,Void> beginImportDataAsync(String resourceGroupName, String name, ImportRdbParameters parameters)
Import data into Redis cache.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller<PollResult<RedisResourceInner>,RedisResourceInner> beginUpdate(String resourceGroupName, String name, RedisUpdateParameters parameters)
Update an existing Redis cache.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller<PollResult<RedisResourceInner>,RedisResourceInner> beginUpdate(String resourceGroupName, String name, RedisUpdateParameters parameters, Context context)
Update an existing Redis cache.
Parameters:
Returns:
beginUpdateAsync
public abstract PollerFlux<PollResult<RedisResourceInner>,RedisResourceInner> beginUpdateAsync(String resourceGroupName, String name, RedisUpdateParameters parameters)
Update an existing Redis cache.
Parameters:
Returns:
checkNameAvailability
public abstract void checkNameAvailability(CheckNameAvailabilityParameters parameters)
Checks that the redis cache name is valid and is not already in use.
Parameters:
checkNameAvailabilityAsync
public abstract Mono<Void> checkNameAvailabilityAsync(CheckNameAvailabilityParameters parameters)
Checks that the redis cache name is valid and is not already in use.
Parameters:
Returns:
checkNameAvailabilityWithResponse
public abstract Response<Void> checkNameAvailabilityWithResponse(CheckNameAvailabilityParameters parameters, Context context)
Checks that the redis cache name is valid and is not already in use.
Parameters:
Returns:
checkNameAvailabilityWithResponseAsync
public abstract Mono<Response<Void>> checkNameAvailabilityWithResponseAsync(CheckNameAvailabilityParameters parameters)
Checks that the redis cache name is valid and is not already in use.
Parameters:
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:
Returns:
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:
Returns:
createAsync
public abstract Mono<RedisResourceInner> createAsync(String resourceGroupName, String name, RedisCreateParameters parameters)
Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
Parameters:
Returns:
createWithResponseAsync
public abstract Mono<Response<Flux<ByteBuffer>>> createWithResponseAsync(String resourceGroupName, String name, RedisCreateParameters parameters)
Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
Parameters:
Returns:
delete
public abstract void delete(String resourceGroupName, String name)
Deletes a Redis cache.
Parameters:
delete
public abstract void delete(String resourceGroupName, String name, Context context)
Deletes a Redis cache.
Parameters:
deleteAsync
public abstract Mono<Void> deleteAsync(String resourceGroupName, String name)
Deletes a Redis cache.
Parameters:
Returns:
deleteWithResponseAsync
public abstract Mono<Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String name)
Deletes a Redis cache.
Parameters:
Returns:
exportData
public abstract void exportData(String resourceGroupName, String name, ExportRdbParameters parameters)
Export data from the redis cache to blobs in a container.
Parameters:
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:
exportDataAsync
public abstract Mono<Void> exportDataAsync(String resourceGroupName, String name, ExportRdbParameters parameters)
Export data from the redis cache to blobs in a container.
Parameters:
Returns:
exportDataWithResponseAsync
public abstract Mono<Response<Flux<ByteBuffer>>> exportDataWithResponseAsync(String resourceGroupName, String name, ExportRdbParameters parameters)
Export data from the redis cache to blobs in a container.
Parameters:
Returns:
flushCache
public abstract OperationStatusResult flushCache(String resourceGroupName, String cacheName)
Deletes all of the keys in a cache.
Parameters:
Returns:
flushCache
public abstract OperationStatusResult flushCache(String resourceGroupName, String cacheName, Context context)
Deletes all of the keys in a cache.
Parameters:
Returns:
flushCacheAsync
public abstract Mono<OperationStatusResult> flushCacheAsync(String resourceGroupName, String cacheName)
Deletes all of the keys in a cache.
Parameters:
Returns:
flushCacheWithResponseAsync
public abstract Mono<Response<Flux<ByteBuffer>>> flushCacheWithResponseAsync(String resourceGroupName, String cacheName)
Deletes all of the keys in a cache.
Parameters:
Returns:
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:
Returns:
forceRebootAsync
public abstract 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:
Returns:
forceRebootWithResponse
public abstract Response<RedisForceRebootResponseInner> 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:
Returns:
forceRebootWithResponseAsync
public abstract Mono<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:
Returns:
getByResourceGroup
public abstract RedisResourceInner getByResourceGroup(String resourceGroupName, String name)
Gets a Redis cache (resource description).
Parameters:
Returns:
getByResourceGroupAsync
public abstract Mono<RedisResourceInner> getByResourceGroupAsync(String resourceGroupName, String name)
Gets a Redis cache (resource description).
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response<RedisResourceInner> getByResourceGroupWithResponse(String resourceGroupName, String name, Context context)
Gets a Redis cache (resource description).
Parameters:
Returns:
getByResourceGroupWithResponseAsync
public abstract Mono<Response<RedisResourceInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String name)
Gets a Redis cache (resource description).
Parameters:
Returns:
importData
public abstract void importData(String resourceGroupName, String name, ImportRdbParameters parameters)
Import data into Redis cache.
Parameters:
importData
public abstract void importData(String resourceGroupName, String name, ImportRdbParameters parameters, Context context)
Import data into Redis cache.
Parameters:
importDataAsync
public abstract Mono<Void> importDataAsync(String resourceGroupName, String name, ImportRdbParameters parameters)
Import data into Redis cache.
Parameters:
Returns:
importDataWithResponseAsync
public abstract Mono<Response<Flux<ByteBuffer>>> importDataWithResponseAsync(String resourceGroupName, String name, ImportRdbParameters parameters)
Import data into Redis cache.
Parameters:
Returns:
list
public abstract PagedIterable<RedisResourceInner> list()
Gets all Redis caches in the specified subscription.
Returns:
list
public abstract PagedIterable<RedisResourceInner> list(Context context)
Gets all Redis caches in the specified subscription.
Parameters:
Returns:
listAsync
public abstract PagedFlux<RedisResourceInner> listAsync()
Gets all Redis caches in the specified subscription.
Returns:
listByResourceGroup
public abstract PagedIterable<RedisResourceInner> listByResourceGroup(String resourceGroupName)
Lists all Redis caches in a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable<RedisResourceInner> listByResourceGroup(String resourceGroupName, Context context)
Lists all Redis caches in a resource group.
Parameters:
Returns:
listByResourceGroupAsync
public abstract PagedFlux<RedisResourceInner> listByResourceGroupAsync(String resourceGroupName)
Lists all Redis caches in a resource group.
Parameters:
Returns:
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:
Returns:
listKeysAsync
public abstract Mono<RedisAccessKeysInner> listKeysAsync(String resourceGroupName, String name)
Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.
Parameters:
Returns:
listKeysWithResponse
public abstract Response<RedisAccessKeysInner> listKeysWithResponse(String resourceGroupName, String name, Context context)
Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.
Parameters:
Returns:
listKeysWithResponseAsync
public abstract Mono<Response<RedisAccessKeysInner>> listKeysWithResponseAsync(String resourceGroupName, String name)
Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.
Parameters:
Returns:
listUpgradeNotifications
public abstract PagedIterable<UpgradeNotificationInner> listUpgradeNotifications(String resourceGroupName, String name, double history)
Gets any upgrade notifications for a Redis cache.
Parameters:
Returns:
listUpgradeNotifications
public abstract PagedIterable<UpgradeNotificationInner> listUpgradeNotifications(String resourceGroupName, String name, double history, Context context)
Gets any upgrade notifications for a Redis cache.
Parameters:
Returns:
listUpgradeNotificationsAsync
public abstract PagedFlux<UpgradeNotificationInner> listUpgradeNotificationsAsync(String resourceGroupName, String name, double history)
Gets any upgrade notifications for a Redis cache.
Parameters:
Returns:
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:
Returns:
regenerateKeyAsync
public abstract 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:
Returns:
regenerateKeyWithResponse
public abstract Response<RedisAccessKeysInner> 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:
Returns:
regenerateKeyWithResponseAsync
public abstract Mono<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:
Returns:
update
public abstract RedisResourceInner update(String resourceGroupName, String name, RedisUpdateParameters parameters)
Update an existing Redis cache.
Parameters:
Returns:
update
public abstract RedisResourceInner update(String resourceGroupName, String name, RedisUpdateParameters parameters, Context context)
Update an existing Redis cache.
Parameters:
Returns:
updateAsync
public abstract Mono<RedisResourceInner> updateAsync(String resourceGroupName, String name, RedisUpdateParameters parameters)
Update an existing Redis cache.
Parameters:
Returns:
updateWithResponseAsync
public abstract Mono<Response<Flux<ByteBuffer>>> updateWithResponseAsync(String resourceGroupName, String name, RedisUpdateParameters parameters)
Update an existing Redis cache.
Parameters:
Returns: