gcloud_alpha_app_domain-mappings_update (1)
NAME
- gcloud alpha app domain-mappings update - updates a domain mapping
SYNOPSIS
-
gcloud alpha app domain-mappings update DOMAIN [--certificate-management=CERTIFICATE_MANAGEMENT] [--certificate-id=CERTIFICATE_ID | --no-certificate-id] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Updates a domain mapping.
POSITIONAL ARGUMENTS
-
- DOMAIN
-
- A valid domain which may begin with a wildcard, such as: example.com or .example.com
- A valid domain which may begin with a wildcard, such as: example.com or .example.com
FLAGS
-
- --certificate-management=CERTIFICATE_MANAGEMENT
-
Type of certificate management. 'automatic' will provision an SSL certificate
automatically while 'manual' requires the user to provide a certificate id to
provision. CERTIFICATE_MANAGEMENT must be one of: automatic,
manual.
-
At most one of these may be specified:
-
- --certificate-id=CERTIFICATE_ID
-
A certificate id to use for this domain. May not be used on a domain mapping
with automatically managed certificates. Use the gcloud app ssl-certificates
list to see available certificates for this app.
- --no-certificate-id
-
Do not associate any certificate with this domain.
-
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 update an App Engine domain mapping, run:
-
$ gcloud alpha app domain-mappings update '*.example.com' \
--certificate-id=1234
To remove a certificate from a domain:
-
$ gcloud alpha app domain-mappings update '*.example.com' \
--no-certificate-id
NOTES
This command is currently in ALPHA and may change without notice. If this command fails with API permission errors despite specifying the right project, you will have to apply for early access and have your projects registered on the API whitelist to use it. To do so, contact Support at cloud.google.com/support These variants are also available:
- $ gcloud app domain-mappings update $ gcloud beta app domain-mappings update