mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-20 13:10:18 +00:00
gcloud: Wed May 15 09:19:06 UTC 2024
This commit is contained in:
parent
e8259d86b1
commit
3b84182be4
193 changed files with 10091 additions and 581 deletions
|
|
@ -3,6 +3,7 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud infra-manager previews create [PREVIEW]
|
||||
[--annotations=[KEY=VALUE,...]]
|
||||
[--artifacts-gcs-bucket=ARTIFACTS_GCS_BUCKET] [--async]
|
||||
[--deployment=DEPLOYMENT] [--labels=[KEY=VALUE,...]]
|
||||
[--location=LOCATION] [--preview-mode=PREVIEW_MODE]
|
||||
|
|
@ -59,6 +60,9 @@ POSITIONAL ARGUMENTS
|
|||
▸ provide the argument PREVIEW on the command line.
|
||||
|
||||
FLAGS
|
||||
--annotations=[KEY=VALUE,...]
|
||||
Preview annotations cannot be updated after creation.
|
||||
|
||||
--artifacts-gcs-bucket=ARTIFACTS_GCS_BUCKET
|
||||
user-defined location of Cloud Build logs, artifacts, and Terraform
|
||||
state files in Google Cloud Storage. Format: gs://{bucket}/{folder} A
|
||||
|
|
@ -72,27 +76,7 @@ FLAGS
|
|||
Deployment reference for preview.
|
||||
|
||||
--labels=[KEY=VALUE,...]
|
||||
Labels to apply to the preview. Existing values are overwritten. To
|
||||
retain the existing labels on a preview, do not specify this flag.
|
||||
|
||||
Examples:
|
||||
|
||||
Update labels for an existing preview:
|
||||
|
||||
$ gcloud infra-manager previews create \
|
||||
projects/p1/locations/us-central1/previews/my-preview \
|
||||
--gcs-source="gs://my-bucket" --labels="env=prod,team=finance"
|
||||
|
||||
Clear labels for an existing preview:
|
||||
|
||||
$ gcloud infra-manager previews create \
|
||||
projects/p1/locations/us-central1/previews/my-preview \
|
||||
--gcs-source="gs://my-bucket" --labels=""
|
||||
|
||||
Add a label to an existing preview:
|
||||
|
||||
First, fetch the current labels using the `describe` command, then follow the
|
||||
preceding example for updating labels.
|
||||
Preview labels cannot be updated after creation.
|
||||
|
||||
Location resource - the location to be used as parent. This represents a
|
||||
Cloud resource. (NOTE) Some attributes are not given arguments in this
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue