你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SnapshotPolicyWeeklySchedule Class

Definition

Weekly Schedule properties, make a snapshot every week at a specific day or days.

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

Constructors

SnapshotPolicyWeeklySchedule()

Initializes a new instance of SnapshotPolicyWeeklySchedule.

Properties

Day

Indicates which weekdays snapshot should be taken, accepts a comma separated list of week day names in english.

Hour

Indicates which hour in UTC timezone a snapshot should be taken.

Minute

Indicates which minute snapshot should be taken.

SnapshotsToKeep

Weekly snapshot count to keep.

UsedBytes

Resource size in bytes, current storage usage for the volume in bytes.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SnapshotPolicyWeeklySchedule>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SnapshotPolicyWeeklySchedule>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SnapshotPolicyWeeklySchedule>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SnapshotPolicyWeeklySchedule>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SnapshotPolicyWeeklySchedule>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to