RedisData Class

Definition

A class representing the Redis data model. A single Redis item in List or Get Operation.

public class RedisData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Redis.RedisData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Redis.RedisData>
public class RedisData : Azure.ResourceManager.Models.TrackedResourceData
type RedisData = class
    inherit TrackedResourceData
    interface IJsonModel<RedisData>
    interface IPersistableModel<RedisData>
type RedisData = class
    inherit TrackedResourceData
Public Class RedisData
Inherits TrackedResourceData
Implements IJsonModel(Of RedisData), IPersistableModel(Of RedisData)
Public Class RedisData
Inherits TrackedResourceData
Inheritance
Implements

Constructors

RedisData(AzureLocation, RedisSku)

Initializes a new instance of RedisData.

Properties

AccessKeys

The keys of the Redis cache - not set if this object is not the response to Create or Update redis cache.

EnableNonSslPort

Specifies whether the non-ssl Redis server port (6379) is enabled.

HostName

Redis host name.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Identity

The identity of the resource.

Instances

List of the Redis instances associated with the cache.

IsAccessKeyAuthenticationDisabled

Authentication to Redis through access keys is disabled when set as true. Default value is false.

LinkedServers

List of the linked servers associated with the cache.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
MinimumTlsVersion

Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2').

Name

The name of the resource.

(Inherited from ResourceData)
Port

Redis non-SSL port.

PrivateEndpointConnections

List of private endpoint connection associated with the specified redis cache.

ProvisioningState

Redis instance provisioning status.

PublicNetworkAccess

Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'.

RedisConfiguration

All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta, maxmemory-policy,notify-keyspace-events, aof-backup-enabled, aof-storage-connection-string-0, aof-storage-connection-string-1 etc.

RedisVersion

Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'.

ReplicasPerMaster

The number of replicas to be created per primary.

ReplicasPerPrimary

The number of replicas to be created per primary.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
ShardCount

The number of shards to be created on a Premium Cluster Cache.

Sku

The SKU of the Redis cache to deploy.

SslPort

Redis SSL port.

StaticIP

Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default.

SubnetId

The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
TenantSettings

A dictionary of tenant settings.

UpdateChannel

Optional: Specifies the update channel for the monthly Redis updates your Redis Cache will receive. Caches using 'Preview' update channel get latest Redis updates at least 4 weeks ahead of 'Stable' channel caches. Default value is 'Stable'.

Zones

A list of availability zones denoting where the resource needs to come from.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<RedisData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<RedisData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RedisData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RedisData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<RedisData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to