gcloud compute networks vpc-access connectors create

NAME
gcloud compute networks vpc-access connectors create - create a VPC Access connector
SYNOPSIS
gcloud compute networks vpc-access connectors create (CONNECTOR : --region=REGION) [--async] [--max-throughput=MAX_THROUGHPUT; default=300] [--min-throughput=MIN_THROUGHPUT; default=200] [--network=NETWORK; default="default"] [--range=RANGE] [GCLOUD_WIDE_FLAG]
DESCRIPTION
Create a new VPC Access connector with the given name.

This command can fail for the following reasons:

  • An instance with the same name already exists.
  • The active account does not have permission to create instances.
POSITIONAL ARGUMENTS
Connector resource - Arguments and flags that specify the VPC Access connector you want to create. 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 [connector] on the command line with a fully specified name; provide the argument [--project] on the command line; set the property [core/project]. This must be specified.
CONNECTOR
ID of the connector or fully qualified identifier for the connector. This positional must be specified if any of the other arguments in this group are specified.
--region=REGION
Compute region (e.g. us-central1) for the connector.
FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.
--max-throughput=MAX_THROUGHPUT; default=300
Maximum throughput in Mbps. Value must be a multiple of 100 from 300 through 1000. Must be higher than the value specified by --min-throughput; the set value, if applicable, or the default minimum throughput value.
--min-throughput=MIN_THROUGHPUT; default=200
Minimum throughput in Mbps. Value must be a multiple of 100 from 200 through 900. Must be lower than the value specified by --max-throughput; the set value, if applicable, or the default maximum throughput value.
--network=NETWORK; default="default"
Name of the Compute Engine network to which the connector will be connected. If left unspecified, the default network will be used.
--range=RANGE
CIDR range of internal addresses that are reserved for this connector. For example, 10.132.0.0/28. Range must be unique and non-overlapping with existing ranges in the network.
GCLOUD WIDE FLAGS
These flags are available to all commands: --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.

API REFERENCE
This command uses the vpcaccess/v1 API. The full documentation for this API can be found at: http://cloud.google.com
EXAMPLES
The following command creates a VPC Access connector with name 'my-vpc-connector' in region 'us-central1' in network 'my-network' with IP CIDR range of '10.132.0.0/28'.
gcloud compute networks vpc-access connectors create my-vpc-connector --region=us-central1 --network=my-network
    --range=10.132.0.0/28
NOTES
This variant is also available:
gcloud beta compute networks vpc-access connectors create