RedisPatchScheduleSetting Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>
type RedisPatchScheduleSetting = class
interface IJsonModel<RedisPatchScheduleSetting>
interface IPersistableModel<RedisPatchScheduleSetting>
Public Class RedisPatchScheduleSetting
Implements IJsonModel(Of RedisPatchScheduleSetting), IPersistableModel(Of RedisPatchScheduleSetting)
- Inheritance
-
RedisPatchScheduleSetting
- Implements
Constructors
| Name | Description |
|---|---|
| RedisPatchScheduleSetting(RedisDayOfWeek, Int32) |
Initializes a new instance of RedisPatchScheduleSetting. |
Properties
| Name | Description |
|---|---|
| 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
Explicit Interface Implementations
| Name | Description |
|---|---|
| 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. |