File: //snap/google-cloud-cli/396/help/man/man1/gcloud_app_domain-mappings_create.1
.TH "GCLOUD_APP_DOMAIN\-MAPPINGS_CREATE" 1
.SH "NAME"
.HP
gcloud app domain\-mappings create \- creates a domain mapping
.SH "SYNOPSIS"
.HP
\f5gcloud app domain\-mappings create\fR \fIDOMAIN\fR [\fB\-\-certificate\-id\fR=\fICERTIFICATE_ID\fR] [\fB\-\-certificate\-management\fR=\fICERTIFICATE_MANAGEMENT\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Creates a domain mapping.
.SH "EXAMPLES"
To create a new App Engine domain mapping with an automatically managed
certificate, run:
.RS 2m
$ gcloud app domain\-mappings create 'example.com'
.RE
Note: managed certificates do not support wildcard domain mappings.
To create a domain with a manual certificate, run:
.RS 2m
$ gcloud app domain\-mappings create '*.example.com' \e
\-\-certificate\-management=manual \-\-certificate\-id=1234
.RE
To create a domain with no associated certificate, run:
.RS 2m
$ gcloud app domain\-mappings create '*.example.com' \e
\-\-certificate\-management=manual
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
\fIDOMAIN\fR
A valid domain which may begin with a wildcard, such as: \f5example.com\fR or
\f5*.example.com\fR
.RE
.sp
.SH "FLAGS"
.RS 2m
.TP 2m
\fB\-\-certificate\-id\fR=\fICERTIFICATE_ID\fR
A certificate id to use for this domain. May not be used on a domain mapping
with automatically managed certificates. Use the \f5gcloud app ssl\-certificates
list\fR to see available certificates for this app.
.TP 2m
\fB\-\-certificate\-management\fR=\fICERTIFICATE_MANAGEMENT\fR
Type of certificate management. 'automatic' will provision an SSL certificate
automatically while 'manual' requires the user to provide a certificate id to
provision. \fICERTIFICATE_MANAGEMENT\fR must be one of: \fBautomatic\fR,
\fBmanual\fR.
.RE
.sp
.SH "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 \fB$ gcloud help\fR for details.
.SH "NOTES"
These variants are also available:
.RS 2m
$ gcloud alpha app domain\-mappings create
.RE
.RS 2m
$ gcloud beta app domain\-mappings create
.RE