iaas_delete_block_device
Delete an unattached block device in VCF Automation IaaS; use purge or forceDelete to remove persistent volumes.
Instructions
Delete a BlockDevice Delete a BlockDevice 1. A block device cannot be deleted when attached to a machine. 2. A block device with persistent property set to 'false' is deleted. 3. A block device with persistent property set to 'true' needs an additional parameter 'purge' to be set to true, for deletion. DELETE /iaas/api/block-devices/{id}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The ID of the block device. (path) | |
| purge | No | Controls whether this is a force delete operation. If true, best effort is made for deleting this block device. Use with caution as force deleting may cause inconsistencies between the cloud provider and VMware Aria Automation. | |
| apiVersion | No | The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /iaas/api/about | |
| forceDelete | No | Controls whether this is a force delete operation. If true, best effort is made for deleting this block device. Use with caution as force deleting may cause inconsistencies between the cloud provider and VMware Aria Automation. |