1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-15 01:15:34 +00:00
gcloud-help/gcloud/alpha/edge-cloud/networking/networks/create

102 lines
3.7 KiB
Text
Raw Normal View History

2022-04-13 08:33:42 +00:00
NAME
2022-04-27 09:13:09 +00:00
gcloud alpha edge-cloud networking networks create - create a Distributed
Cloud Edge Network network
2022-04-13 08:33:42 +00:00
SYNOPSIS
gcloud alpha edge-cloud networking networks create
(NETWORK : --location=LOCATION --zone=ZONE) [--async]
[--description=DESCRIPTION] [--labels=[KEY=VALUE,...]] [--mtu=MTU]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
2022-04-27 09:13:09 +00:00
(ALPHA) Create a new Distributed Cloud Edge Network network resource.
2022-04-13 08:33:42 +00:00
EXAMPLES
To create a network called 'my-network' with MTU value of 9000 bytes in
edge zone 'us-central1-edge-den1', run:
$ gcloud alpha edge-cloud networking networks create my-network \
2022-04-27 09:13:09 +00:00
--location=us-central1 --zone=us-central1-edge-den1 --mtu=9000
2022-04-13 08:33:42 +00:00
POSITIONAL ARGUMENTS
2022-04-27 09:13:09 +00:00
Network resource - Distributed Cloud Edge Network network 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
2023-05-04 10:43:54 +00:00
can be set in other ways.
To set the project attribute:
2022-04-13 08:33:42 +00:00
◆ provide the argument network on the command line with a fully
specified name;
2024-07-31 09:35:16 +00:00
◆ provide the argument --project on the command line;
◆ set the property core/project.
2022-04-13 08:33:42 +00:00
This must be specified.
NETWORK
2023-05-04 10:43:54 +00:00
ID of the network or fully qualified identifier for the network.
To set the network attribute:
2022-04-13 08:33:42 +00:00
▸ provide the argument network on the command line.
2022-08-10 08:48:58 +00:00
This positional argument must be specified if any of the other
arguments in this group are specified.
2022-04-13 08:33:42 +00:00
--location=LOCATION
2023-05-04 10:43:54 +00:00
The global location name.
To set the location attribute:
2022-04-13 08:33:42 +00:00
▸ provide the argument network on the command line with a fully
specified name;
▸ provide the argument --location on the command line.
--zone=ZONE
2023-05-04 10:43:54 +00:00
The name of the Google Distributed Cloud Edge zone.
To set the zone attribute:
2022-04-13 08:33:42 +00:00
▸ provide the argument network on the command line with a fully
specified name;
▸ provide the argument --zone on the command line.
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
--description=DESCRIPTION
An optional, textual description for the network.
--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.
--mtu=MTU
Maximum transmission unit (MTU) is the size of the largest IP packet
that can be transmitted on this network. Default value is 1500 bytes,
and the valid values are 1500 and 9000.
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.
API REFERENCE
This command uses the edgenetwork/v1alpha1 API. The full documentation for
2022-04-27 09:13:09 +00:00
this API can be found at:
https://cloud.google.com/distributed-cloud-edge/docs
2022-04-13 08:33:42 +00:00
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
2023-02-15 10:13:15 +00:00
access allowlist. This variant is also available:
$ gcloud edge-cloud networking networks create
2022-04-13 08:33:42 +00:00