This page provides instructions for how to delete a volume.
Before you begin
When you delete a volume, all of the data and volume snapshots within the volume get deleted and the capacity of the pool returns. Before you delete a volume, you must delete the replication relationship.
Delete a volume
Use the following instructions to delete a volume using the Google Cloud console or Google Cloud CLI.
Console
Go to the NetApp Volumes page in the Google Cloud console.
Identify the volume you want to delete.
Click the
Show more icon on the volume and click Delete.A confirmation dialog appears. Read through the warnings.
To proceed, enter the name of the volume and click Delete.
gcloud
Run the following command:
gcloud netapp volumes delete VOLUME_NAME \ --project=PROJECT_ID \ --location=LOCATION
Replace the following information:
VOLUME_NAME
: the name of the volume to deletePROJECT_ID
: the name of the project the volume is inLOCATION
: The location of the volume
For more information on additional optional flags, see Google Cloud SDK documentation on volumes.
What's next
Manage customer-managed encryption key policies.