1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-15 17:35:31 +00:00

gcloud: Wed Feb 8 10:13:59 UTC 2023

This commit is contained in:
Automated 2023-02-08 10:13:59 +00:00
parent fc11b54760
commit 11068cb123
240 changed files with 8982 additions and 619 deletions

View file

@ -12,7 +12,26 @@ SYNOPSIS
[--subnets-region=SUBNETS_REGION] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
(ALPHA) Create a Google Compute Engine network attachment.
(ALPHA) gcloud alpha compute network-attachments create is used to create
network attachments. A service consumer creates network attachments and
makes it available to producers. Service producers then use a multi-NIC VM
to form a bi-directional, non-NAT'd communication channel.
EXAMPLES
$ gcloud alpha compute network-attachments create \
NETWORK_ATTACHMENT_NAME --region=us-central1 \
--subnets=MY_SUBNET --connection-preference=ACCEPT_MANUAL \
--producer-accept-list=PROJECT1,PROJECT2 \
--producer-reject-list=PROJECT3,PROJECT4
To create a network attachment with a textual description, run:
$ gcloud alpha compute network-attachments create \
NETWORK_ATTACHMENT_NAME --region=us-central1 \
--subnets=MY_SUBNET --connection-preference=ACCEPT_MANUAL \
--producer-accept-list=PROJECT1,PROJECT2 \
--producer-reject-list=PROJECT3,PROJECT4 \
--description='default network attachment'
POSITIONAL ARGUMENTS
NAME
@ -77,5 +96,9 @@ 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.
access allowlist. These variants are also available:
$ gcloud compute network-attachments create
$ gcloud beta compute network-attachments create