Udostępnij za pośrednictwem


IRedisCache Interface

Definition

An immutable client-side representation of an Azure Redis Cache.

public interface IRedisCache : Microsoft.Azure.Management.Redis.Fluent.IRedisCacheBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IGroupableResource<Microsoft.Azure.Management.Redis.Fluent.IRedisManager,Microsoft.Azure.Management.Redis.Fluent.Models.RedisResourceInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasInner<Microsoft.Azure.Management.Redis.Fluent.Models.RedisResourceInner>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IHasManager<Microsoft.Azure.Management.Redis.Fluent.IRedisManager>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IRefreshable<Microsoft.Azure.Management.Redis.Fluent.IRedisCache>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ResourceActions.IUpdatable<Microsoft.Azure.Management.Redis.Fluent.RedisCache.Update.IUpdate>
type IRedisCache = interface
    interface IGroupableResource<IRedisManager, RedisResourceInner>
    interface IResource
    interface IIndexable
    interface IHasId
    interface IHasName
    interface IHasResourceGroup
    interface IHasManager<IRedisManager>
    interface IHasInner<RedisResourceInner>
    interface IRefreshable<IRedisCache>
    interface IUpdatable<IUpdate>
    interface IRedisCacheBeta
    interface IBeta
Public Interface IRedisCache
Implements IBeta, IGroupableResource(Of IRedisManager, RedisResourceInner), IHasInner(Of RedisResourceInner), IHasManager(Of IRedisManager), IRedisCacheBeta, IRefreshable(Of IRedisCache), IUpdatable(Of IUpdate)
Derived
Implements

Properties

FirewallRules

Gets Firewall Rules in the Redis Cache, indexed by name.

(Inherited from IRedisCacheBeta)
HostName

Gets the hostName value.

Id

Gets the resource id string

(Inherited from IHasId)
Inner (Inherited from IHasInner<T>)
IsPremium

Gets returns true if current Redis Cache instance has Premium Sku.

Key (Inherited from IIndexable)
Keys

Gets a Redis Cache's access keys. This operation requires write permission to the Cache resource.

Manager

Gets the manager client type of this resource type.

(Inherited from IHasManager<ManagerT>)
MinimumTlsVersion

Gets the minimum TLS version (or higher) that clients require to use.

(Inherited from IRedisCacheBeta)
Name

Gets the name of the resource

(Inherited from IHasName)
NonSslPort

Gets true if non SSL port is enabled, false otherwise.

PatchSchedules

Gets List of patch schedules for current Redis Cache.

(Inherited from IRedisCacheBeta)
Port

Gets the port value.

ProvisioningState

Gets the provisioningState value.

RedisConfiguration

Gets the Redis configuration value.

RedisVersion

Gets the Redis version value.

Region (Inherited from IResource)
RegionName (Inherited from IResource)
ResourceGroupName (Inherited from IHasResourceGroup)
ShardCount

Gets the shardCount value.

Sku

Gets the sku value.

SslPort

Gets the sslPort value.

StaticIP

Gets the staticIP value.

SubnetId

Gets the subnetId value.

Tags (Inherited from IResource)
Type (Inherited from IResource)

Methods

AsPremium()
ForceReboot(String)

Reboot specified Redis node(s). This operation requires write permission to the cache resource. There can be potential data loss.

GetKeys()
Refresh()

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshAsync(CancellationToken)

Refreshes the resource to sync with Azure.

(Inherited from IRefreshable<T>)
RefreshKeys()

Fetch the up-to-date access keys from Azure for this Redis Cache.

RegenerateKey(RedisKeyType)

Regenerates the access keys for this Redis Cache.

Update() (Inherited from IUpdatable<T>)

Applies to