RedisCreateOrUpdateContent Class

Definition

Parameters supplied to the Create Redis operation.

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

Constructors

RedisCreateOrUpdateContent(AzureLocation, RedisSku)

Initializes a new instance of RedisCreateOrUpdateContent.

Properties

EnableNonSslPort

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

Identity

The identity of the resource.

IsAccessKeyAuthenticationDisabled

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

Location

The geo-location where the resource lives.

MinimumTlsVersion

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

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.

ShardCount

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

Sku

The SKU of the Redis cache to deploy.

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.

Tags

Resource tags.

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.

Explicit Interface Implementations

IJsonModel<RedisCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RedisCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RedisCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RedisCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RedisCreateOrUpdateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to