public sealed class SnapshotPolicy : IMessage<SnapshotPolicy>, IEquatable<SnapshotPolicy>, IDeepCloneable<SnapshotPolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the NetApp v1 API class SnapshotPolicy.
Snapshot Policy for a volume.
Implements
IMessageSnapshotPolicy, IEquatableSnapshotPolicy, IDeepCloneableSnapshotPolicy, IBufferMessage, IMessageNamespace
Google.Cloud.NetApp.V1Assembly
Google.Cloud.NetApp.V1.dll
Constructors
SnapshotPolicy()
public SnapshotPolicy()
SnapshotPolicy(SnapshotPolicy)
public SnapshotPolicy(SnapshotPolicy other)
Parameter | |
---|---|
Name | Description |
other |
SnapshotPolicy |
Properties
DailySchedule
public DailySchedule DailySchedule { get; set; }
Daily schedule policy.
Property Value | |
---|---|
Type | Description |
DailySchedule |
Enabled
public bool Enabled { get; set; }
If enabled, make snapshots automatically according to the schedules. Default is false.
Property Value | |
---|---|
Type | Description |
bool |
HasEnabled
public bool HasEnabled { get; }
Gets whether the "enabled" field is set
Property Value | |
---|---|
Type | Description |
bool |
HourlySchedule
public HourlySchedule HourlySchedule { get; set; }
Hourly schedule policy.
Property Value | |
---|---|
Type | Description |
HourlySchedule |
MonthlySchedule
public MonthlySchedule MonthlySchedule { get; set; }
Monthly schedule policy.
Property Value | |
---|---|
Type | Description |
MonthlySchedule |
WeeklySchedule
public WeeklySchedule WeeklySchedule { get; set; }
Weekly schedule policy.
Property Value | |
---|---|
Type | Description |
WeeklySchedule |