Condividi tramite


RedisPatch Class

Definition

Parameters supplied to the Update Redis operation.

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

Constructors

RedisPatch()

Initializes a new instance of RedisPatch.

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.

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.

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'.

Explicit Interface Implementations

IJsonModel<RedisPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RedisPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RedisPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RedisPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RedisPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to