gcloud_alpha_compute_backend-buckets_create (1)
NAME
- gcloud alpha compute backend-buckets create - create a backend bucket
SYNOPSIS
-
gcloud alpha compute backend-buckets create BACKEND_BUCKET_NAME --gcs-bucket-name=GCS_BUCKET_NAME [--description=DESCRIPTION] [--enable-cdn] [--signed-url-cache-max-age=SIGNED_URL_CACHE_MAX_AGE] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) gcloud alpha compute backend-buckets create is used to
POSITIONAL ARGUMENTS
-
- BACKEND_BUCKET_NAME
-
Name of the backend bucket to create.
REQUIRED FLAGS
-
- --gcs-bucket-name=GCS_BUCKET_NAME
-
The name of the Google Cloud Storage bucket to serve from. The storage bucket
must be in the same project.
OPTIONAL FLAGS
-
- --description=DESCRIPTION
-
An optional, textual description for the backend bucket.
- --enable-cdn
-
Enable Cloud CDN for the backend bucket. Cloud CDN can cache HTTP responses from
a backend bucket at the edge of the network, close to users.
- --signed-url-cache-max-age=SIGNED_URL_CACHE_MAX_AGE
-
The amount of time up to which the response to a signed URL request will be
cached in the CDN. After this time period, the Signed URL will be revalidated
before being served. Cloud CDN will internally act as though all responses from
this backend had a Cache-Control: public, max-age=[TTL] header,
regardless of any existing Cache-Control header. The actual headers served in
responses will not be altered. If unspecified, the default value is 3600s.
For example, specifying 12h will cause the responses to signed URL requests to be cached in the CDN up to 12 hours. See $ gcloud topic datetimes for information on duration formats.
This flag only affects signed URL requests.
GCLOUD WIDE FLAGS
These flags are available to all commands: --account, --configuration, --flags-file, --flatten, --format, --help, --log-http, --project, --quiet, --trace-token, --user-output-enabled, --verbosity. Run $ gcloud help for details.
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support These variants are also available:
- $ gcloud compute backend-buckets create $ gcloud beta compute backend-buckets create