共用方式為


RedisPatchScheduleSetting Class

Definition

Patch schedule entry for a Premium Redis Cache.

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

Constructors

RedisPatchScheduleSetting(RedisDayOfWeek, Int32)

Initializes a new instance of RedisPatchScheduleSetting.

Properties

DayOfWeek

Day of the week when a cache can be patched.

MaintenanceWindow

ISO8601 timespan specifying how much time cache patching can take.

StartHourUtc

Start hour after which cache patching can start.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<RedisPatchScheduleSetting>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RedisPatchScheduleSetting>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RedisPatchScheduleSetting>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RedisPatchScheduleSetting>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RedisPatchScheduleSetting>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to