gcloud alpha deployment-manager types create

NAME
gcloud alpha deployment-manager types create - create a type
SYNOPSIS
gcloud alpha deployment-manager types createNAME--template=TEMPLATE[--async][--description=DESCRIPTION][--labels=[KEY=VALUE,…]][--status=STATUS][GCLOUD_WIDE_FLAG]
DESCRIPTION
(ALPHA) This command inserts (creates) a new composite type basedon a provided configuration file.
EXAMPLES
To create a new composite type, run:
gcloudalphadeployment-managertypescreatemy-composite-type--template=my-template.jinja--status=EXPERIMENTAL--description="My type."
POSITIONAL ARGUMENTS
NAME
Composite type name.
REQUIRED FLAGS
--template=TEMPLATE
Path to a python or jinja file (local or via URL) that defines the compositetype. 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 alsoexist. The file must end in either ".jinja" or ".py" to be interpretedcorrectly.
OPTIONAL FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--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, andnumbers. Values must contain only hyphens (-), underscores(_), lowercase characters, and numbers.

--status=STATUS
Optional status for a composite type.STATUS must be oneof:DEPRECATED,EXPERIMENTAL,SUPPORTED.
GCLOUD WIDE FLAGS
These flags are available to all commands:--access-token-file,--account,--billing-project,--configuration,--flags-file,--flatten,--format,--help,--impersonate-service-account,--log-http,--project,--quiet,--trace-token,--user-output-enabled,--verbosity.

Run$gcloud help for details.

NOTES
This command is currently in alpha and might change without notice. If thiscommand fails with API permission errors despite specifying the correct project,you might be trying to access an API with an invitation-only early accessallowlist. This variant is also available:
gcloudbetadeployment-managertypescreate

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-05-07 UTC.