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
Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
Parameters:
Returns:
beginCreate
public abstract SyncPoller
Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
Parameters:
Returns:
beginCreateAsync
public abstract PollerFlux
Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
Parameters:
Returns:
beginDelete
public abstract SyncPoller
Deletes a Redis cache.
Parameters:
Returns:
beginDelete
public abstract SyncPoller
Deletes a Redis cache.
Parameters:
Returns:
beginDeleteAsync
public abstract PollerFlux
Deletes a Redis cache.
Parameters:
Returns:
beginExportData
public abstract SyncPoller
Export data from the redis cache to blobs in a container.
Parameters:
Returns:
beginExportData
public abstract SyncPoller
Export data from the redis cache to blobs in a container.
Parameters:
Returns:
beginExportDataAsync
public abstract PollerFlux
Export data from the redis cache to blobs in a container.
Parameters:
Returns:
beginFlushCache
public abstract SyncPoller
Deletes all of the keys in a cache.
Parameters:
Returns:
beginFlushCache
public abstract SyncPoller
Deletes all of the keys in a cache.
Parameters:
Returns:
beginFlushCacheAsync
public abstract PollerFlux
Deletes all of the keys in a cache.
Parameters:
Returns:
beginImportData
public abstract SyncPoller
Import data into Redis cache.
Parameters:
Returns:
beginImportData
public abstract SyncPoller
Import data into Redis cache.
Parameters:
Returns:
beginImportDataAsync
public abstract PollerFlux
Import data into Redis cache.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller
Update an existing Redis cache.
Parameters:
Returns:
beginUpdate
public abstract SyncPoller
Update an existing Redis cache.
Parameters:
Returns:
beginUpdateAsync
public abstract PollerFlux
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
Checks that the redis cache name is valid and is not already in use.
Parameters:
Returns:
checkNameAvailabilityWithResponse
public abstract Response
Checks that the redis cache name is valid and is not already in use.
Parameters:
Returns:
checkNameAvailabilityWithResponseAsync
public abstract Mono
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
Create or replace (overwrite/recreate, with potential downtime) an existing Redis cache.
Parameters:
Returns:
createWithResponseAsync
public abstract Mono
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
Deletes a Redis cache.
Parameters:
Returns:
deleteWithResponseAsync
public abstract Mono
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
Export data from the redis cache to blobs in a container.
Parameters:
Returns:
exportDataWithResponseAsync
public abstract Mono
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
Deletes all of the keys in a cache.
Parameters:
Returns:
flushCacheWithResponseAsync
public abstract Mono
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
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
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
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
Gets a Redis cache (resource description).
Parameters:
Returns:
getByResourceGroupWithResponse
public abstract Response
Gets a Redis cache (resource description).
Parameters:
Returns:
getByResourceGroupWithResponseAsync
public abstract Mono
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
Import data into Redis cache.
Parameters:
Returns:
importDataWithResponseAsync
public abstract Mono
Import data into Redis cache.
Parameters:
Returns:
list
public abstract PagedIterable
Gets all Redis caches in the specified subscription.
Returns:
list
public abstract PagedIterable
Gets all Redis caches in the specified subscription.
Parameters:
Returns:
listAsync
public abstract PagedFlux
Gets all Redis caches in the specified subscription.
Returns:
listByResourceGroup
public abstract PagedIterable
Lists all Redis caches in a resource group.
Parameters:
Returns:
listByResourceGroup
public abstract PagedIterable
Lists all Redis caches in a resource group.
Parameters:
Returns:
listByResourceGroupAsync
public abstract PagedFlux
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
Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.
Parameters:
Returns:
listKeysWithResponse
public abstract Response
Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.
Parameters:
Returns:
listKeysWithResponseAsync
public abstract Mono
Retrieve a Redis cache's access keys. This operation requires write permission to the cache resource.
Parameters:
Returns:
listUpgradeNotifications
public abstract PagedIterable
Gets any upgrade notifications for a Redis cache.
Parameters:
Returns:
listUpgradeNotifications
public abstract PagedIterable
Gets any upgrade notifications for a Redis cache.
Parameters:
Returns:
listUpgradeNotificationsAsync
public abstract PagedFlux
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
Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.
Parameters:
Returns:
regenerateKeyWithResponse
public abstract Response
Regenerate Redis cache's access keys. This operation requires write permission to the cache resource.
Parameters:
Returns:
regenerateKeyWithResponseAsync
public abstract Mono
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
Update an existing Redis cache.
Parameters:
Returns:
updateWithResponseAsync
public abstract Mono
Update an existing Redis cache.
Parameters:
Returns:
Applies to
Azure SDK for Java