public sealed class WeeklySchedule : IMessage<WeeklySchedule>, IEquatable<WeeklySchedule>, IDeepCloneable<WeeklySchedule>, IBufferMessage, IMessage
Reference documentation and code samples for the NetApp v1 API class WeeklySchedule.
Make a snapshot every week e.g. at Monday 04:00, Wednesday 05:20, Sunday 23:50
Implements
IMessageWeeklySchedule, IEquatableWeeklySchedule, IDeepCloneableWeeklySchedule, IBufferMessage, IMessageNamespace
Google.Cloud.NetApp.V1Assembly
Google.Cloud.NetApp.V1.dll
Constructors
WeeklySchedule()
public WeeklySchedule()
WeeklySchedule(WeeklySchedule)
public WeeklySchedule(WeeklySchedule other)
Parameter | |
---|---|
Name | Description |
other | WeeklySchedule |
Properties
Day
public string Day { get; set; }
Set the day or days of the week to make a snapshot. Accepts a comma separated days of the week. Defaults to 'Sunday'.
Property Value | |
---|---|
Type | Description |
string |
HasDay
public bool HasDay { get; }
Gets whether the "day" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasHour
public bool HasHour { get; }
Gets whether the "hour" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasMinute
public bool HasMinute { get; }
Gets whether the "minute" field is set
Property Value | |
---|---|
Type | Description |
bool |
HasSnapshotsToKeep
public bool HasSnapshotsToKeep { get; }
Gets whether the "snapshots_to_keep" field is set
Property Value | |
---|---|
Type | Description |
bool |
Hour
public double Hour { get; set; }
Set the hour to start the snapshot (0-23), defaults to midnight (0).
Property Value | |
---|---|
Type | Description |
double |
Minute
public double Minute { get; set; }
Set the minute of the hour to start the snapshot (0-59), defaults to the top of the hour (0).
Property Value | |
---|---|
Type | Description |
double |
SnapshotsToKeep
public double SnapshotsToKeep { get; set; }
The maximum number of Snapshots to keep for the hourly schedule
Property Value | |
---|---|
Type | Description |
double |