RedisRebootContent Class

Definition

Specifies which Redis node(s) to reboot.

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

Constructors

Name Description
RedisRebootContent()

Initializes a new instance of RedisRebootContent.

Properties

Name Description
Ports

A list of redis instances to reboot, specified by per-instance SSL ports or non-SSL ports.

RebootType

Which Redis node(s) to reboot. Depending on this value data loss is possible.

ShardId

If clustering is enabled, the ID of the shard to be rebooted.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<RedisRebootContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RedisRebootContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RedisRebootContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RedisRebootContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RedisRebootContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to