Share via


RedisInstanceDetails Class

Definition

Details of single instance of redis.

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

Properties

IsMaster

Specifies whether the instance is a primary node.

IsPrimary

Specifies whether the instance is a primary node.

NonSslPort

If enableNonSslPort is true, provides Redis instance Non-SSL port.

ShardId

If clustering is enabled, the Shard ID of Redis Instance.

SslPort

Redis instance SSL port.

Zone

If the Cache uses availability zones, specifies availability zone where this instance is located.

Explicit Interface Implementations

IJsonModel<RedisInstanceDetails>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RedisInstanceDetails>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RedisInstanceDetails>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RedisInstanceDetails>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RedisInstanceDetails>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to