public sealed class ResourcePolicySnapshotSchedulePolicy : IMessage<ResourcePolicySnapshotSchedulePolicy>, IEquatable<ResourcePolicySnapshotSchedulePolicy>, IDeepCloneable<ResourcePolicySnapshotSchedulePolicy>, IBufferMessage, IMessage
Reference documentation and code samples for the Compute Engine v1 API class ResourcePolicySnapshotSchedulePolicy.
A snapshot schedule policy specifies when and how frequently snapshots are to be created for the target disk. Also specifies how many and how long these scheduled snapshots should be retained.
Implements
IMessage<ResourcePolicySnapshotSchedulePolicy>, IEquatable<ResourcePolicySnapshotSchedulePolicy>, IDeepCloneable<ResourcePolicySnapshotSchedulePolicy>, IBufferMessage, IMessageNamespace
Google.Cloud.Compute.V1Assembly
Google.Cloud.Compute.V1.dll
Constructors
ResourcePolicySnapshotSchedulePolicy()
public ResourcePolicySnapshotSchedulePolicy()
ResourcePolicySnapshotSchedulePolicy(ResourcePolicySnapshotSchedulePolicy)
public ResourcePolicySnapshotSchedulePolicy(ResourcePolicySnapshotSchedulePolicy other)
Parameter | |
---|---|
Name | Description |
other | ResourcePolicySnapshotSchedulePolicy |
Properties
RetentionPolicy
public ResourcePolicySnapshotSchedulePolicyRetentionPolicy RetentionPolicy { get; set; }
Retention policy applied to snapshots created by this resource policy.
Property Value | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicyRetentionPolicy |
Schedule
public ResourcePolicySnapshotSchedulePolicySchedule Schedule { get; set; }
A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy.
Property Value | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySchedule |
SnapshotProperties
public ResourcePolicySnapshotSchedulePolicySnapshotProperties SnapshotProperties { get; set; }
Properties with which snapshots are created such as labels, encryption keys.
Property Value | |
---|---|
Type | Description |
ResourcePolicySnapshotSchedulePolicySnapshotProperties |