Compartilhar via


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>
public class RedisRebootContent
type RedisRebootContent = class
    interface IJsonModel<RedisRebootContent>
    interface IPersistableModel<RedisRebootContent>
type RedisRebootContent = class
Public Class RedisRebootContent
Implements IJsonModel(Of RedisRebootContent), IPersistableModel(Of RedisRebootContent)
Public Class RedisRebootContent
Inheritance
RedisRebootContent
Implements

Constructors

RedisRebootContent()

Initializes a new instance of RedisRebootContent.

Properties

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.

Explicit Interface Implementations

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