File: //snap/google-cloud-cli/current/lib/surface/edge_cloud/networking/networks/create.yaml
- release_tracks: [ALPHA, GA]
help_text:
brief: Create a Distributed Cloud Edge Network network.
description: |
Create a new Distributed Cloud Edge Network network resource.
examples: |
To create a network called 'my-network' with MTU value of 9000 bytes in edge zone 'us-central1-edge-den1',
run:
$ {command} my-network --location=us-central1 --zone=us-central1-edge-den1 --mtu=9000
request:
collection: edgenetwork.projects.locations.zones.networks
ALPHA:
api_version: v1alpha1
GA:
api_version: v1
arguments:
resource:
help_text: Distributed Cloud Edge Network network to create.
# The following should point to the resource argument definition under
# your surface's command_lib directory.:
spec: !REF googlecloudsdk.command_lib.edge_cloud.networking.resources:network
params:
- arg_name: description
api_field: network.description
help_text: |
An optional, textual description for the network.
- arg_name: mtu
api_field: network.mtu
help_text: |
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.
labels:
api_field: network.labels
async:
collection: edgenetwork.projects.locations.operations