gdcloud storage buckets delete

名前

gdcloud storage buckets delete - ストレージ バケットを削除します。

概要

gdcloud storage buckets delete BUCKET_NAME [ BUCKET_NAME ...]
    [--location=LOCATION]
    [--location-type=LOCATION_TYPE]
    [--project=PROJECT_ID]
    [--format=FORMAT]
    [--log-http] [flags]

説明

1 つ以上のストレージ バケットを削除します。

EXAMPLES

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 全般のフラグ

これらのフラグは、すべてのコマンド(--configuration--format--help--project--quiet)で使用できます。

詳細については、gdcloud CLI リファレンスの概要ページをご覧ください。