Class ResourcePolicySnapshotSchedulePolicyRetentionPolicy (1.16.1)

ResourcePolicySnapshotSchedulePolicyRetentionPolicy(
    mapping=None, *, ignore_unknown_fields=False, **kwargs
)

Attributes

NameDescription
max_retention_days int
Maximum age of the snapshot that is allowed to be kept. This field is a member of oneof_ _max_retention_days.
on_source_disk_delete str
Specifies the behavior to apply to scheduled snapshots when the source disk is deleted. Check the OnSourceDiskDelete enum for the list of possible values. This field is a member of oneof_ _on_source_disk_delete.

Classes

OnSourceDiskDelete

OnSourceDiskDelete(value)

Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.

Values: UNDEFINED_ON_SOURCE_DISK_DELETE (0): A value indicating that the enum field is not set. APPLY_RETENTION_POLICY (535071332): No description available. KEEP_AUTO_SNAPSHOTS (258925689): No description available. UNSPECIFIED_ON_SOURCE_DISK_DELETE (239140769): No description available.