Deletes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume¶
Description¶
Deletes an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.
Usage¶
Arguments¶
-
ClientRequestToken(Optional) An idempotency token for resource creation, in a string of up to 63 ASCII characters. This token is automatically filled on your behalf when you use the Command Line Interface (CLI) or an Amazon Web Services SDK.
-
VolumeId[required] The ID of the volume that you are deleting.
-
OntapConfigurationFor Amazon FSx for ONTAP volumes, specify whether to take a final backup of the volume and apply tags to the backup. To apply tags to the backup, you must have the
fsx:TagResourcepermission. -
OpenZFSConfigurationFor Amazon FSx for OpenZFS volumes, specify whether to delete all child volumes and snapshots.
Value¶
A list with the following syntax:
list(
VolumeId = "string",
Lifecycle = "CREATING"|"CREATED"|"DELETING"|"FAILED"|"MISCONFIGURED"|"PENDING"|"AVAILABLE",
OntapResponse = list(
FinalBackupId = "string",
FinalBackupTags = list(
list(
Key = "string",
Value = "string"
)
)
)
)
Request syntax¶
svc$delete_volume(
ClientRequestToken = "string",
VolumeId = "string",
OntapConfiguration = list(
SkipFinalBackup = TRUE|FALSE,
FinalBackupTags = list(
list(
Key = "string",
Value = "string"
)
),
BypassSnaplockEnterpriseRetention = TRUE|FALSE
),
OpenZFSConfiguration = list(
Options = list(
"DELETE_CHILD_VOLUMES_AND_SNAPSHOTS"
)
)
)