File: //snap/google-cloud-cli/current/help/man/man1/gcloud_container_vmware_admin-clusters_enroll.1
.TH "GCLOUD_CONTAINER_VMWARE_ADMIN\-CLUSTERS_ENROLL" 1
.SH "NAME"
.HP
gcloud container vmware admin\-clusters enroll \- enroll an Anthos on VMware admin cluster
.SH "SYNOPSIS"
.HP
\f5gcloud container vmware admin\-clusters enroll\fR (\fIADMIN_CLUSTER\fR\ :\ \fB\-\-location\fR=\fILOCATION\fR) (\fB\-\-admin\-cluster\-membership\fR=\fIADMIN_CLUSTER_MEMBERSHIP\fR\ :\ \fB\-\-admin\-cluster\-membership\-location\fR=\fIADMIN_CLUSTER_MEMBERSHIP_LOCATION\fR;\ default="global") [\fB\-\-async\fR] [\fIGCLOUD_WIDE_FLAG\ ...\fR]
.SH "DESCRIPTION"
Enroll an Anthos on VMware admin cluster.
.SH "EXAMPLES"
To enroll a cluster named \f5\fImy\-cluster\fR\fR managed in location
\f5\fIus\-west1\fR\fR with admin cluster membership of
\f5\fIprojects/my\-project/locations/us\-west1/memberships/my\-admin\-cluster\-membership\fR\fR,
run:
.RS 2m
$ gcloud container vmware admin\-clusters enroll my\-cluster \e
\-\-location=us\-west1 \e
\-\-admin\-cluster\-membership=projects/my\-project/locations/\e
us\-west1/memberships/my\-admin\-cluster\-membership
.RE
.SH "POSITIONAL ARGUMENTS"
.RS 2m
.TP 2m
Admin cluster resource \- admin cluster to enroll The arguments in this group
can be used to specify the attributes of this resource. (NOTE) Some attributes
are not given arguments in this group but can be set in other ways.
To set the \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5admin_cluster\fR on the command line with a fully
specified name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fIADMIN_CLUSTER\fR
ID of the admin_cluster or fully qualified identifier for the admin_cluster.
To set the \f5admin_cluster\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5admin_cluster\fR on the command line.
.RE
.sp
This positional argument must be specified if any of the other arguments in this
group are specified.
.TP 2m
\fB\-\-location\fR=\fILOCATION\fR
Google Cloud location for the admin_cluster.
To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5admin_cluster\fR on the command line with a fully
specified name;
.IP "\(bu" 2m
provide the argument \f5\-\-location\fR on the command line;
.IP "\(bu" 2m
set the property \f5container_vmware/location\fR.
.RE
.sp
.RE
.RE
.sp
.SH "REQUIRED FLAGS"
.RS 2m
.TP 2m
Admin cluster membership resource \- membership of the admin cluster. Membership
can be the membership ID or the full resource name. The arguments in this group
can be used to specify the attributes of this resource. (NOTE) Some attributes
are not given arguments in this group but can be set in other ways.
To set the \f5project\fR attribute:
.RS 2m
.IP "\(em" 2m
provide the argument \f5\-\-admin\-cluster\-membership\fR on the command line
with a fully specified name;
.IP "\(em" 2m
provide the argument \f5\-\-project\fR on the command line;
.IP "\(em" 2m
set the property \f5core/project\fR.
.RE
.sp
This must be specified.
.RS 2m
.TP 2m
\fB\-\-admin\-cluster\-membership\fR=\fIADMIN_CLUSTER_MEMBERSHIP\fR
ID of the admin_cluster_membership or fully qualified identifier for the
admin_cluster_membership.
To set the \f5admin_cluster_membership\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-admin\-cluster\-membership\fR on the command line.
.RE
.sp
This flag argument must be specified if any of the other arguments in this group
are specified.
.TP 2m
\fB\-\-admin\-cluster\-membership\-location\fR=\fIADMIN_CLUSTER_MEMBERSHIP_LOCATION\fR; default="global"
Google Cloud location for the admin_cluster_membership.
To set the \f5location\fR attribute:
.RS 2m
.IP "\(bu" 2m
provide the argument \f5\-\-admin\-cluster\-membership\fR on the command line
with a fully specified name;
.IP "\(bu" 2m
provide the argument \f5\-\-admin\-cluster\-membership\-location\fR on the
command line.
.RE
.sp
.RE
.RE
.sp
.SH "OPTIONAL FLAGS"
.RS 2m
.TP 2m
\fB\-\-async\fR
Return immediately, without waiting for the operation in progress to complete.
.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 container vmware admin\-clusters enroll
.RE
.RS 2m
$ gcloud beta container vmware admin\-clusters enroll
.RE