deletionPolicy property

Input<String?>? deletionPolicy
final

Policy to determine if the volume should be deleted forcefully. Volumes may have nested snapshot resources. Deleting such a volume will fail. Setting this parameter to FORCE will delete volumes including nested snapshots.

When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", the command will behave as if set to "DEFAULT".

Possible values: DEFAULT, FORCE, PREVENT, ABANDON, DELETE.

Implementation

final pulumi.Input<String?>? deletionPolicy;