gcloud_beta_deployment-manager_types_create (1)
NAME
- gcloud beta deployment-manager types create - create a type
SYNOPSIS
-
gcloud beta deployment-manager types create NAME --template=TEMPLATE [--async] [--description=DESCRIPTION] [--labels=[KEY=VALUE,...]] [--status=STATUS] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(BETA) This command inserts (creates) a new composite type based on a
POSITIONAL ARGUMENTS
-
- NAME
-
Composite type name.
REQUIRED FLAGS
-
- --template=TEMPLATE
-
Path to a python or jinja file (local or via URL) that defines the composite
type. If you want to provide a schema, that file must be in the same location:
e.g. "--template=./foobar.jinja" means "./foobar.jinja.schema" should also
exist. The file must end in either ".jinja" or ".py" to be interpreted
correctly.
OPTIONAL FLAGS
-
- --async
-
Return immediately and print information about the Operation in progress rather
than waiting for the Operation to complete. (default=False)
- --description=DESCRIPTION
-
Optional description of the composite type.
- --labels=[KEY=VALUE,...]
-
List of label KEY=VALUE pairs to add.
Keys must start with a lowercase character and contain only hyphens (-), underscores (_), lowercase characters, and numbers. Values must contain only hyphens (-), underscores (_), lowercase characters, and numbers.
- --status=STATUS
-
Optional status for a composite type. STATUS must be one of:
DEPRECATED, EXPERIMENTAL, SUPPORTED.
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.
EXAMPLES
To create a new composite type, run:
-
$ gcloud beta deployment-manager types create my-composite-type \
--template=my-template.jinja --status EXPERIMENTAL \
--description "My type."
NOTES
This command is currently in BETA and may change without notice. This variant is also available:
- $ gcloud alpha deployment-manager types create