mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Wed Oct 1 11:06:24 UTC 2025
This commit is contained in:
parent
1dea1ef852
commit
a0434a4d7a
247 changed files with 8086 additions and 424 deletions
|
|
@ -14,12 +14,12 @@ EXAMPLES
|
|||
project my-project, run:
|
||||
|
||||
$ gcloud alpha design-center locations describe my-location \
|
||||
--project=my-project
|
||||
--project=my-project
|
||||
|
||||
Or run:
|
||||
Or run:
|
||||
|
||||
$ gcloud alpha design-center locations describe \
|
||||
projects/my-project/locations/my-location
|
||||
projects/my-project/locations/my-location
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Location resource - Location. This represents a Cloud resource. (NOTE)
|
||||
|
|
|
|||
|
|
@ -18,17 +18,19 @@ EXAMPLES
|
|||
my-app-template, space my-space, project my-project and location
|
||||
us-central1 using a shared template revision, run:
|
||||
|
||||
$ gcloud alpha design-center spaces application-templates \ components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=projects/my-project/locations/\
|
||||
$ gcloud alpha design-center spaces application-templates \
|
||||
components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=projects/my-project/locations/\
|
||||
us-central1/spaces/my-space/sharedTemplates/my-shared-template/\
|
||||
revisions/rev1
|
||||
|
||||
Or run:
|
||||
|
||||
$ gcloud alpha design-center spaces application-templates \ components create \
|
||||
projects/my-project/locations/us-central1/spaces/my-space/\
|
||||
$ gcloud alpha design-center spaces application-templates \
|
||||
components create \
|
||||
projects/my-project/locations/us-central1/spaces/my-space/\
|
||||
applicationTemplates/my-app-template/components/my-component \
|
||||
--shared-template-revision-uri=projects/my-project/locations/\
|
||||
us-central1/spaces/my-space/sharedTemplates/my-shared-template/\
|
||||
|
|
@ -39,10 +41,11 @@ EXAMPLES
|
|||
us-central1 using a google shared template google-shared-template and
|
||||
revision rev1, run:
|
||||
|
||||
$ gcloud alpha design-center spaces application-templates \ components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=google/google-shared-template/\
|
||||
$ gcloud alpha design-center spaces application-templates \
|
||||
components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=google/google-shared-template/\
|
||||
revisions/rev1
|
||||
|
||||
To create the component my-component in application template
|
||||
|
|
@ -50,39 +53,43 @@ EXAMPLES
|
|||
us-central1 using a google shared template google-shared-template with its
|
||||
latest revision, run:
|
||||
|
||||
$ gcloud alpha design-center spaces application-templates \ components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=google/google-shared-template
|
||||
$ gcloud alpha design-center spaces application-templates \
|
||||
components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=google/google-shared-template
|
||||
|
||||
To create the component my-component in application template
|
||||
my-app-template, space my-space, project my-project and location
|
||||
us-central1 using a shared template my-shared-template and revision rev1
|
||||
present in the same space, run:
|
||||
|
||||
$ gcloud alpha design-center spaces application-templates \ components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=my-shared-template/revisions/rev1
|
||||
$ gcloud alpha design-center spaces application-templates \
|
||||
components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=my-shared-template/revisions/rev1
|
||||
|
||||
To create the component my-component in application template
|
||||
my-app-template, space my-space, project my-project and location
|
||||
us-central1 using a shared template my-shared-template with its latest
|
||||
revision present in the same space, run:
|
||||
|
||||
$ gcloud alpha design-center spaces application-templates \ components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=my-shared-template
|
||||
$ gcloud alpha design-center spaces application-templates \
|
||||
components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=my-shared-template
|
||||
|
||||
To create the component my-component with a display name My Component in
|
||||
application template my-app-template, space my-space, project my-project
|
||||
and location us-central1 using a shared template revision, run:
|
||||
|
||||
$ gcloud alpha design-center spaces application-templates \ components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=projects/my-project/locations/\
|
||||
$ gcloud alpha design-center spaces application-templates \
|
||||
components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=projects/my-project/locations/\
|
||||
us-central1/spaces/my-space/sharedTemplates/my-shared-template/\
|
||||
revisions/rev1 --display-name="My Component"
|
||||
|
||||
|
|
@ -91,19 +98,21 @@ EXAMPLES
|
|||
project my-project and location us-central1, run the following shorthand
|
||||
example:
|
||||
|
||||
$ gcloud alpha design-center spaces application-templates \ components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=projects/my-project/locations/\
|
||||
$ gcloud alpha design-center spaces application-templates \
|
||||
components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=projects/my-project/locations/\
|
||||
us-central1/spaces/my-space/sharedTemplates/my-shared-template/\
|
||||
revisions/rev1 --parameters=key=region,value=us-central1
|
||||
|
||||
Or run the following JSON example:
|
||||
|
||||
$ gcloud alpha design-center spaces application-templates \ components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=projects/my-project/locations/\
|
||||
$ gcloud alpha design-center spaces application-templates \
|
||||
components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=projects/my-project/locations/\
|
||||
us-central1/spaces/my-space/sharedTemplates/my-shared-template/\
|
||||
revisions/rev1 \
|
||||
--parameters='[{"key": "region", "value": "us-central1"}]'
|
||||
|
|
@ -111,10 +120,11 @@ EXAMPLES
|
|||
Or create a YAML or JSON file with the parameters and run the following
|
||||
file example:
|
||||
|
||||
$ gcloud alpha design-center spaces application-templates \ components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=projects/my-project/locations/\
|
||||
$ gcloud alpha design-center spaces application-templates \
|
||||
components create my-component \
|
||||
--application-template=my-app-template --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--shared-template-revision-uri=projects/my-project/locations/\
|
||||
us-central1/spaces/my-space/sharedTemplates/my-shared-template/\
|
||||
revisions/rev1 --parameters=my-parameters.yaml
|
||||
|
||||
|
|
|
|||
|
|
@ -5,36 +5,40 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud alpha design-center spaces catalogs templates create
|
||||
(TEMPLATE : --catalog=CATALOG --location=LOCATION --space=SPACE)
|
||||
[--description=DESCRIPTION] [--display-name=DISPLAY_NAME]
|
||||
[--template-category=TEMPLATE_CATEGORY] [--type=TYPE]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
--template-category=TEMPLATE_CATEGORY [--description=DESCRIPTION]
|
||||
[--display-name=DISPLAY_NAME] [--type=TYPE] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) Create a catalog template.
|
||||
|
||||
EXAMPLES
|
||||
To create the catalog template my-template in catalog my-catalog, space
|
||||
my-space, project my-project and location us-central1, run:
|
||||
To create the catalog template my-template with template category
|
||||
application-template in catalog my-catalog, space my-space, project
|
||||
my-project and location us-central1, run:
|
||||
|
||||
$ gcloud alpha design-center spaces catalogs templates create \
|
||||
my-template --catalog=my-catalog --space=my-space \
|
||||
--project=my-project --location=us-central1
|
||||
--project=my-project --location=us-central1 \
|
||||
--template-category=application-template
|
||||
|
||||
Or run:
|
||||
|
||||
$ gcloud alpha design-center spaces catalogs templates create \
|
||||
projects/my-project/locations/us-central1/spaces/my-space/\
|
||||
catalogs/my-catalog/templates/my-template
|
||||
catalogs/my-catalog/templates/my-template \
|
||||
--template-category=application-template
|
||||
|
||||
To create the catalog template my-template with a display name of My
|
||||
Template and description of My template description in catalog my-catalog,
|
||||
space my-space, project my-project and location us-central1, run:
|
||||
Template, description of My template description and template category of
|
||||
application-template in catalog my-catalog, space my-space, project
|
||||
my-project and location us-central1, run:
|
||||
|
||||
$ gcloud alpha design-center spaces catalogs templates create \
|
||||
my-template --catalog=my-catalog --space=my-space \
|
||||
--project=my-project --location=us-central1 \
|
||||
--display-name="My Template" \
|
||||
--description="My template description"
|
||||
--description="My template description" \
|
||||
--template-category=application-template
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Template resource - Identifier. The catalog template name in following
|
||||
|
|
@ -85,13 +89,7 @@ POSITIONAL ARGUMENTS
|
|||
specified name;
|
||||
▸ provide the argument --space on the command line.
|
||||
|
||||
FLAGS
|
||||
--description=DESCRIPTION
|
||||
The catalog template description.
|
||||
|
||||
--display-name=DISPLAY_NAME
|
||||
The display name of a catalog template.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--template-category=TEMPLATE_CATEGORY
|
||||
The category of the ADC template. TEMPLATE_CATEGORY must be one of:
|
||||
|
||||
|
|
@ -103,6 +101,13 @@ FLAGS
|
|||
Imported as a single, complex unit without disassembling into
|
||||
components.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--description=DESCRIPTION
|
||||
The catalog template description.
|
||||
|
||||
--display-name=DISPLAY_NAME
|
||||
The display name of a catalog template.
|
||||
|
||||
--type=TYPE
|
||||
The Application Design Center assembly template type. TYPE must be one
|
||||
of:
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ EXAMPLES
|
|||
my-shared-template --space=my-space --project=my-project \
|
||||
--location=us-central1
|
||||
|
||||
Or run:
|
||||
Or run:
|
||||
|
||||
$ gcloud alpha design-center spaces shared-templates describe \
|
||||
projects/my-project/locations/us-central1/spaces/my-space/\
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ EXAMPLES
|
|||
$ gcloud alpha design-center spaces shared-templates list \
|
||||
--space=my-space --project=my-project --location=us-central1
|
||||
|
||||
Or run:
|
||||
Or run:
|
||||
|
||||
$ gcloud alpha design-center spaces shared-templates list \
|
||||
--space=projects/my-project/locations/us-central1/spaces/\
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ EXAMPLES
|
|||
describe my-revision --shared-template=my-shared-template \
|
||||
--space=my-space --project=my-project --location=us-central1
|
||||
|
||||
Or run:
|
||||
Or run:
|
||||
|
||||
$ gcloud alpha design-center spaces shared-templates revisions \
|
||||
describe \
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ EXAMPLES
|
|||
list --shared-template=my-shared-template --space=my-space \
|
||||
--project=my-project --location=us-central1
|
||||
|
||||
Or run:
|
||||
Or run:
|
||||
|
||||
$ gcloud alpha design-center spaces shared-templates revisions \
|
||||
list \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue