שם
gdcloud storage buckets delete - מחיקת קטגוריות אחסון.
SYNOPSIS
gdcloud storage buckets delete BUCKET_NAME [ BUCKET_NAME ...]
[--location=LOCATION]
[--location-type=LOCATION_TYPE]
[--project=PROJECT_ID]
[--format=FORMAT]
[--log-http] [flags]
תיאור
מחיקה של דלי אחסון אחד או יותר.
דוגמאות
The following command deletes a zonal bucket named my-bucket under the default project:
gdcloud storage buckets delete my-bucket --location=zone1 --location-type=SingleZone
The following command deletes two zonal buckets, one named my-bucket and a second bucket named my-other-bucket:
gdcloud storage buckets delete my-bucket my-other-bucket --location=zone1 --location-type=SingleZone
The following command deletes a zonal bucket under a project with ID my-project-id:
gdcloud storage buckets delete my-bucket --location=zone1 --location-type=SingleZone --project=my-project-id
The following command deletes a dual-zone bucket named my-dz-bucket under the default project:
gdcloud storage buckets delete my-dz-bucket --location=zone1,zone2 --location-type=AsyncDualZone
The following command deletes two dual-zone buckets, one named my-dz-bucket and a second bucket named my-other-dz-bucket:
gdcloud storage buckets delete my-dz-bucket my-other-dz-bucket --location=zone1,zone2 --location-type=AsyncDualZone
The following command deletes a dual-zone bucket under a project with ID my-project-id:
gdcloud storage buckets delete my-dz-bucket --location=zone1,zone2 --location-type=AsyncDualZone --project=my-project-id
דגלים אופציונליים
--location string Comma-separated list of zones where the storage buckets are available. If unset, will use current zone as the location
--location-type string Bucket location configuration type. Available options are: [AsyncDualZone, SyncDualZone, SingleZone]. (default "singlezone")
--log-http Log all HTTP server requests and responses to stderr.
GDCLOUD WIDE FLAGS
הדגלים האלה זמינים לכל הפקודות: --configuration, --format, --help, --project, --quiet.
מידע נוסף זמין בדף סקירה כללית של מדריך העזר ל-CLI של gcloud.