NAME

gcloud alpha deployment-manager type-providers create - create a type provider

SYNOPSIS

gcloud alpha deployment-manager type-providers create PROVIDER_NAME --descriptor-url=DESCRIPTOR_URL [--api-options-file=API_OPTIONS_FILE] [--async] [--custom-certificate-authority-roots=CA_ROOT,[CA_ROOT,...]] [--description=DESCRIPTION] [--labels=[KEY=VALUE,...]] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION

(ALPHA) This command inserts (creates) a new type provider based on a provided configuration file.

EXAMPLES

To create a new type provider, run:

$ gcloud alpha deployment-manager type-providers create \ my-type-provider --api-options-file=my-options.yaml \ --descriptor-url=<descriptor URL> --description="My type."

POSITIONAL ARGUMENTS

PROVIDER_NAME

Type provider name or URI.

REQUIRED FLAGS

--descriptor-url=DESCRIPTOR_URL

URL of API of your type.

OPTIONAL FLAGS

--api-options-file=API_OPTIONS_FILE

YAML file with options for the API: e.g. options and collection overrides.

--async

Return immediately, without waiting for the operation in progress to complete.

--custom-certificate-authority-roots=CA_ROOT,[CA_ROOT,...]

Comma-separated list of CA root certificates to use when connecting to the type's API by HTTPS.

--description=DESCRIPTION

Optional description of the type provider.

--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.

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 this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early access allowlist. This variant is also available:

$ gcloud beta deployment-manager type-providers create