Persistent disks preserve valuable data from accidental deletion.
In a cloud template, under a volume, you can add the persistent: true
property to have the disk survive Cloud Assembly or Service Broker deletions. Persistent disks aren't removed during deployment deletion nor Day 2 delete or remove disk operations.
Because of that, persistent disks can remain in your infrastructure even after a deployment deletion or disk deletion. To remove them, you can use the following techniques.
- Explicitly pass the purge flag as a query parameter using the DELETE API.
- Delete them directly from your cloud endpoint.
Note that there is no Cloud Assembly or Service Broker user interface for removing them.