def __init__(__self__, *, max_retention_days: Optional[pulumi.Input[int]]=None, on_policy_switch: Optional[pulumi.Input['ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitch']]=None, on_source_disk_delete: Optional[pulumi.Input['ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete']]=None):
    "\n        Policy for retention of scheduled snapshots.\n        :param pulumi.Input[int] max_retention_days: Maximum age of the snapshot that is allowed to be kept.\n        :param pulumi.Input['ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete'] on_source_disk_delete: Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.\n        "
    if (max_retention_days is not None):
        pulumi.set(__self__, 'max_retention_days', max_retention_days)
    if (on_policy_switch is not None):
        pulumi.set(__self__, 'on_policy_switch', on_policy_switch)
    if (on_source_disk_delete is not None):
        pulumi.set(__self__, 'on_source_disk_delete', on_source_disk_delete)
Policy for retention of scheduled snapshots.
:param pulumi.Input[int] max_retention_days: Maximum age of the snapshot that is allowed to be kept.
:param pulumi.Input['ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete'] on_source_disk_delete: Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.
def __init__(__self__, *, max_retention_days: Optional[pulumi.Input[int]]=None, on_policy_switch: Optional[pulumi.Input['ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnPolicySwitch']]=None, on_source_disk_delete: Optional[pulumi.Input['ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete']]=None):
    "\n        Policy for retention of scheduled snapshots.\n        :param pulumi.Input[int] max_retention_days: Maximum age of the snapshot that is allowed to be kept.\n        :param pulumi.Input['ResourcePolicySnapshotSchedulePolicyRetentionPolicyOnSourceDiskDelete'] on_source_disk_delete: Specifies the behavior to apply to scheduled snapshots when the source disk is deleted.\n        "
    if (max_retention_days is not None):
        pulumi.set(__self__, 'max_retention_days', max_retention_days)
    if (on_policy_switch is not None):
        pulumi.set(__self__, 'on_policy_switch', on_policy_switch)
    if (on_source_disk_delete is not None):
        pulumi.set(__self__, 'on_source_disk_delete', on_source_disk_delete)