Dela via


RedisEnterpriseDatabasePatch Class

Definition

A partial update to the Redis Enterprise database.

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

Constructors

RedisEnterpriseDatabasePatch()

Initializes a new instance of RedisEnterpriseDatabasePatch.

Properties

AccessKeysAuthentication

This property can be Enabled/Disabled to allow or deny access with the current access keys. Can be updated even after database is created.

ClientProtocol

Specifies whether redis clients can connect using TLS-encrypted or plaintext redis protocols. Default is TLS-encrypted.

ClusteringPolicy

Clustering policy - default is OSSCluster. This property must be chosen at create time, and cannot be changed without deleting the database.

DeferUpgrade

Option to defer upgrade when newest version is released - default is NotDeferred. Learn more: https://aka.ms/redisversionupgrade.

EvictionPolicy

Redis eviction policy - default is VolatileLRU.

GeoReplication

Optional set of properties to configure geo replication for this database.

Modules

Optional set of redis modules to enable in this database - modules can only be added at creation time.

Persistence

Persistence settings.

Port

TCP port of the database endpoint. Specified at create time. Defaults to an available port.

ProvisioningState

Current provisioning status of the database.

RedisVersion

Version of Redis the database is running on, e.g. '6.0'.

ResourceState

Current resource status of the database.

Explicit Interface Implementations

IJsonModel<RedisEnterpriseDatabasePatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RedisEnterpriseDatabasePatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RedisEnterpriseDatabasePatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RedisEnterpriseDatabasePatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RedisEnterpriseDatabasePatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to