Condividi tramite


RedisEnterpriseDatabaseData Class

Definition

A class representing the RedisEnterpriseDatabase data model. Describes a database on the Redis Enterprise cluster

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

Constructors

RedisEnterpriseDatabaseData()

Initializes a new instance of RedisEnterpriseDatabaseData.

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.

Id

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

(Inherited from ResourceData)
Modules

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

Name

The name of the resource.

(Inherited from ResourceData)
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.

ResourceType

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

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<RedisEnterpriseDatabaseData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RedisEnterpriseDatabaseData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RedisEnterpriseDatabaseData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RedisEnterpriseDatabaseData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RedisEnterpriseDatabaseData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to