mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 18:45:13 +00:00
157 lines
6.6 KiB
Text
157 lines
6.6 KiB
Text
NAME
|
|
gcloud alpha vmware privateclouds create - create a VMware Engine private
|
|
cloud
|
|
|
|
SYNOPSIS
|
|
gcloud alpha vmware privateclouds create
|
|
(PRIVATE_CLOUD : --location=LOCATION) --cluster=CLUSTER
|
|
--management-range=MANAGEMENT_RANGE --network=NETWORK
|
|
--node-count=NODE_COUNT --node-type=NODE_TYPE
|
|
[--description=DESCRIPTION] [--external-ip-access]
|
|
[--labels=[KEY=VALUE,...]] [--network-project=NETWORK_PROJECT]
|
|
[GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(ALPHA) Create a VMware Engine private cloud. Private cloud creation is
|
|
considered finished when the private cloud is in READY state. Check the
|
|
progress of a private cloud using gcloud alpha vmware privateclouds list.
|
|
|
|
EXAMPLES
|
|
To create a private cloud in the us-west2-a zone using standard-72 nodes
|
|
that connects to the default-vpc VPC network of another project, run:
|
|
|
|
$ gcloud alpha vmware privateclouds create my-private-cloud \
|
|
--location=us-west2-a --project=my-project \
|
|
--cluster=my-management-cluster --node-type=standard-72 \
|
|
--node-count=3 --management-range=192.168.0.0/24 \
|
|
--network=default-vpc --network-project=another-project
|
|
|
|
Or:
|
|
|
|
$ gcloud alpha vmware privateclouds create my-private-cloud \
|
|
--cluster=my-management-cluster --node-type=standard-72 \
|
|
--node-count=3 --management-range=192.168.0.0/24 \
|
|
--network=default-vpc --network-project=another-project
|
|
|
|
In the second example, the project and location are taken from gcloud
|
|
properties core/project and compute/zone.
|
|
|
|
POSITIONAL ARGUMENTS
|
|
Private cloud resource - private_cloud. 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 project attribute:
|
|
◆ provide the argument private_cloud on the command line with a fully
|
|
specified name;
|
|
◆ set the property core/project;
|
|
◆ provide the argument --project on the command line.
|
|
|
|
This must be specified.
|
|
|
|
PRIVATE_CLOUD
|
|
ID of the private cloud or fully qualified identifier for the private
|
|
cloud. To set the private-cloud attribute:
|
|
▸ provide the argument private_cloud on the command line.
|
|
|
|
This positional must be specified if any of the other arguments in
|
|
this group are specified.
|
|
|
|
--location=LOCATION
|
|
Zone of the private cloud or cluster. To set the location attribute:
|
|
▸ provide the argument private_cloud on the command line with a
|
|
fully specified name;
|
|
▸ provide the argument --location on the command line;
|
|
▸ set the property compute/zone.
|
|
|
|
REQUIRED FLAGS
|
|
Cluster resource - cluster. This represents a Cloud resource. (NOTE) Some
|
|
attributes are not given arguments in this group but can be set in other
|
|
ways. To set the project attribute:
|
|
◆ provide the argument --cluster on the command line with a fully
|
|
specified name;
|
|
◆ set the property core/project;
|
|
◆ provide the argument --project on the command line. To set the
|
|
location attribute:
|
|
◆ provide the argument --cluster on the command line with a fully
|
|
specified name;
|
|
◆ set the property compute/zone. To set the private-cloud attribute:
|
|
◆ provide the argument --cluster on the command line with a fully
|
|
specified name.
|
|
|
|
This must be specified.
|
|
|
|
--cluster=CLUSTER
|
|
ID of the cluster or fully qualified identifier for the cluster. To
|
|
set the cluster attribute:
|
|
▸ provide the argument --cluster on the command line.
|
|
|
|
--management-range=MANAGEMENT_RANGE
|
|
IP address range in the private cloud to use for management appliances,
|
|
in CIDR format. Use an IP address range that meets the VMware Engine
|
|
networking requirements
|
|
(https://cloud.google.com/vmware-engine/docs/quickstart-networking-requirements).
|
|
|
|
--network=NETWORK
|
|
Network ID of the Google Cloud VPC network to connect with your private
|
|
cloud.
|
|
|
|
--node-count=NODE_COUNT
|
|
Node type to use for management cluster nodes. To get a list of
|
|
available node types, run gcloud alpha vmware nodetypes list.
|
|
|
|
Node type resource - node_type. This represents a Cloud resource. (NOTE)
|
|
Some attributes are not given arguments in this group but can be set in
|
|
other ways. To set the project attribute:
|
|
◆ provide the argument --node-type on the command line with a fully
|
|
specified name;
|
|
◆ set the property core/project;
|
|
◆ provide the argument --project on the command line. To set the
|
|
location attribute:
|
|
◆ provide the argument --node-type on the command line with a fully
|
|
specified name;
|
|
◆ set the property compute/zone.
|
|
|
|
This must be specified.
|
|
|
|
--node-type=NODE_TYPE
|
|
ID of the node type or fully qualified identifier for the node type.
|
|
To set the node-type attribute:
|
|
▸ provide the argument --node-type on the command line.
|
|
|
|
OPTIONAL FLAGS
|
|
--description=DESCRIPTION
|
|
Text describing the private cloud.
|
|
|
|
--external-ip-access
|
|
Enable public IP address service for management appliances so vCenter
|
|
and NSX can be accessed via internet. Resolution of FQDNs requires
|
|
local DNS configuration for the private cloud domain. NAT is set up on
|
|
NSX for external IP ingress traffic, and users must manually configure
|
|
NSX firewall to allow HTTPS traffic.
|
|
|
|
--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.
|
|
|
|
--network-project=NETWORK_PROJECT
|
|
Project ID or project name of the VPC network. Use this flag when the
|
|
VPC network is in another project.
|
|
|
|
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.
|
|
|