Compute Engine v1 API - Class ResourcePolicySnapshotSchedulePolicy (2.6.0)

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.

Inheritance

Object > ResourcePolicySnapshotSchedulePolicy

Namespace

Google.Cloud.Compute.V1

Assembly

Google.Cloud.Compute.V1.dll

Constructors

ResourcePolicySnapshotSchedulePolicy()

public ResourcePolicySnapshotSchedulePolicy()

ResourcePolicySnapshotSchedulePolicy(ResourcePolicySnapshotSchedulePolicy)

public ResourcePolicySnapshotSchedulePolicy(ResourcePolicySnapshotSchedulePolicy other)
Parameter
NameDescription
otherResourcePolicySnapshotSchedulePolicy

Properties

RetentionPolicy

public ResourcePolicySnapshotSchedulePolicyRetentionPolicy RetentionPolicy { get; set; }

Retention policy applied to snapshots created by this resource policy.

Property Value
TypeDescription
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
TypeDescription
ResourcePolicySnapshotSchedulePolicySchedule

SnapshotProperties

public ResourcePolicySnapshotSchedulePolicySnapshotProperties SnapshotProperties { get; set; }

Properties with which snapshots are created such as labels, encryption keys.

Property Value
TypeDescription
ResourcePolicySnapshotSchedulePolicySnapshotProperties