1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 06:47:12 +00:00

gcloud: Wed Mar 1 10:23:17 UTC 2023

This commit is contained in:
Automated 2023-03-01 10:23:17 +00:00
parent 7664984b79
commit bdaa0b3cfc
230 changed files with 8963 additions and 242 deletions

View file

@ -2,7 +2,7 @@ NAME
gcloud alpha logging buckets create - create a bucket
SYNOPSIS
gcloud alpha logging buckets create BUCKET_ID --location=LOCATION
gcloud alpha logging buckets create BUCKET_ID --location=LOCATION [--async]
[--cmek-kms-key-name=CMEK_KMS_KEY_NAME] [--description=DESCRIPTION]
[--enable-analytics] [--index=[KEY=VALUE, ...,...]]
[--restricted-fields=[RESTRICTED_FIELD,...]]
@ -38,6 +38,11 @@ EXAMPLES
$ gcloud alpha logging buckets create my-bucket \
--location=us-central1 --cmek-kms-key-name=CMEK_KMS_KEY_NAME
To asynchronously create a bucket enrolled into Log Analytics, run:
$ gcloud alpha logging buckets create my-bucket --location=global \
--async --enable-analytics
POSITIONAL ARGUMENTS
BUCKET_ID
ID of the bucket to create.
@ -48,6 +53,10 @@ REQUIRED FLAGS
location cannot be changed.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--cmek-kms-key-name=CMEK_KMS_KEY_NAME
A valid kms_key_name will enable CMEK for the bucket.
@ -55,8 +64,8 @@ OPTIONAL FLAGS
A textual description for the bucket.
--enable-analytics
Whether to opt the bucket into advanced log analytics. This field may
only be set at bucket creation and cannot be changed later.
Whether to opt the bucket into Log Analytics. Once opted in, the bucket
cannot be opted out of Log Analytics.
--index=[KEY=VALUE, ...,...]
Specify an index to be added to the log bucket. This flag can be