Skip to main content

effective_on_policy_delete

Function effective_on_policy_delete 

Source
pub fn effective_on_policy_delete(
    deletion: Option<&PolicyDeletionSpec>,
) -> PolicyDeletePolicy
Expand description

The effective cascade policy for a SnapshotPolicy: spec.deletion.onPolicyDelete when the sub-object is present, else Retain. (A default nested under an ABSENT optional sub-object does not materialize server-side — every read goes through this resolver.)