public interface RedisCachePremium extends RedisCache
RedisCache.Definition, RedisCache.DefinitionStages, RedisCache.Update, RedisCache.UpdateStagesResource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T>| Modifier and Type | Method and Description |
|---|---|
String |
addLinkedServer(String linkedRedisCacheId,
String linkedServerLocation,
ReplicationRole role)
Adds a linked server to the current Redis cache instance.
|
void |
deletePatchSchedule()
Deletes the patching schedule for Redis Cache.
|
void |
exportData(String containerSASUrl,
String prefix)
Export data from Redis Cache.
|
void |
exportData(String containerSASUrl,
String prefix,
String fileFormat)
Export data from Redis Cache.
|
void |
forceReboot(RebootType rebootType,
int shardId)
Reboot specified Redis node(s).
|
ReplicationRole |
getLinkedServerRole(String linkedServerName)
Gets the role for the linked server of the current Redis cache instance.
|
void |
importData(List<String> files)
Import data into Redis Cache.
|
void |
importData(List<String> files,
String fileFormat)
Import data into Redis Cache.
|
Map<String,ReplicationRole> |
listLinkedServers()
Gets the list of linked servers associated with this redis cache.
|
List<ScheduleEntry> |
listPatchSchedules()
Gets the patching schedule for Redis Cache.
|
void |
removeLinkedServer(String linkedServerName)
Removes the linked server from the current Redis cache instance.
|
asPremium, firewallRules, forceReboot, getKeys, hostName, isPremium, keys, minimumTlsVersion, nonSslPort, patchSchedules, port, provisioningState, redisConfiguration, redisVersion, refreshKeys, regenerateKey, shardCount, sku, sslPort, staticIP, subnetIdregion, regionName, tags, typekeyidnameresourceGroupNamemanagerinnerrefresh, refreshAsyncvoid forceReboot(RebootType rebootType, int shardId)
rebootType - specifies which Redis node(s) to reboot. Depending on this value data loss is
possible. Possible values include: 'PrimaryNode', 'SecondaryNode', 'AllNodes'.shardId - In case of cluster cache, this specifies shard id which should be rebooted.void importData(List<String> files, String fileFormat)
files - files to import.fileFormat - specifies file format.void importData(List<String> files)
files - files to import.void exportData(String containerSASUrl, String prefix)
containerSASUrl - container name to export to.prefix - prefix to use for exported files.void exportData(String containerSASUrl, String prefix, String fileFormat)
containerSASUrl - container name to export to.prefix - prefix to use for exported files.fileFormat - specifies file format.List<ScheduleEntry> listPatchSchedules()
void deletePatchSchedule()
@Beta(value=V1_12_0) String addLinkedServer(String linkedRedisCacheId, String linkedServerLocation, ReplicationRole role)
linkedRedisCacheId - the resource Id of the Redis instance to link with.linkedServerLocation - the location of the linked Redis instance.role - the role of the linked server.@Beta(value=V1_12_0) void removeLinkedServer(String linkedServerName)
linkedServerName - the name of the linked server.@Beta(value=V1_12_0) ReplicationRole getLinkedServerRole(String linkedServerName)
linkedServerName - the name of the linked server.@Beta(value=V1_12_0) Map<String,ReplicationRole> listLinkedServers()
Copyright © 2019. All rights reserved.