mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Wed Oct 16 09:53:34 UTC 2024
This commit is contained in:
parent
4ffb04ab9e
commit
694f6671d0
151 changed files with 4031 additions and 414 deletions
|
|
@ -19,6 +19,9 @@ GROUPS
|
|||
linked-interconnect-attachments
|
||||
Manage VLAN attachment spokes.
|
||||
|
||||
linked-producer-vpc-network
|
||||
Manage Producer VPC spokes.
|
||||
|
||||
linked-router-appliances
|
||||
Manage Router appliance spokes.
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,96 @@
|
|||
NAME
|
||||
gcloud network-connectivity spokes linked-producer-vpc-network create -
|
||||
create a new Producer VPC spoke
|
||||
|
||||
SYNOPSIS
|
||||
gcloud network-connectivity spokes linked-producer-vpc-network create SPOKE
|
||||
--hub=HUB --network=NETWORK --peering=PEERING [--async]
|
||||
[--description=DESCRIPTION] [--exclude-export-ranges=[CIDR_RANGE,...]]
|
||||
[--global] [--labels=[KEY=VALUE,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Create a new Producer VPC spoke.
|
||||
|
||||
EXAMPLES
|
||||
To create a Producer VPC spoke named myspoke, run:
|
||||
|
||||
$ gcloud network-connectivity spokes linked-producer-vpc-network \
|
||||
create myspoke \
|
||||
--hub="https://www.googleapis.com/networkconnectivity/v1/project\
|
||||
s/my-project/locations/global/hubs/my-hub" --global \
|
||||
--network="https://www.googleapis.com/compute/v1/projects/my-pro\
|
||||
ject/global/networks/my-vpc" --peering="my-peering-name" \
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Spoke resource - Name of the spoke to create. 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 spoke on the command line with a fully specified
|
||||
name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
To set the location attribute:
|
||||
◆ provide the argument spoke on the command line with a fully specified
|
||||
name;
|
||||
◆ provide the argument --global on the command line.
|
||||
|
||||
This must be specified.
|
||||
|
||||
SPOKE
|
||||
ID of the spoke or fully qualified identifier for the spoke.
|
||||
|
||||
To set the spoke attribute:
|
||||
▸ provide the argument spoke on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--hub=HUB
|
||||
Hub that the spoke will attach to. The hub must already exist.
|
||||
|
||||
--network=NETWORK
|
||||
Your VPC network that contains the peering to the Producer VPC, which
|
||||
this spoke connects to the Hub. The peering must already exist and be
|
||||
in the ACTIVE state.
|
||||
|
||||
--peering=PEERING
|
||||
Peering between your network and the Producer VPC, which this spoke
|
||||
connects to the Hub. The peering must already exist and be in the
|
||||
ACTIVATE state.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--description=DESCRIPTION
|
||||
Description of the spoke to create.
|
||||
|
||||
--exclude-export-ranges=[CIDR_RANGE,...]
|
||||
Subnet IP address range(s) to hide from other VPC networks that are
|
||||
connected through Network Connectivity Center.
|
||||
|
||||
--global
|
||||
Indicates that the spoke is global.
|
||||
|
||||
--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.
|
||||
|
||||
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 networkconnectivity/v1 API. The full documentation
|
||||
for this API can be found at:
|
||||
https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
NAME
|
||||
gcloud network-connectivity spokes linked-producer-vpc-network - manage
|
||||
Producer VPC spokes
|
||||
|
||||
SYNOPSIS
|
||||
gcloud network-connectivity spokes linked-producer-vpc-network COMMAND
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Manage Producer VPC spokes.
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --help.
|
||||
|
||||
Run $ gcloud help for details.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
create
|
||||
Create a new Producer VPC spoke.
|
||||
|
||||
update
|
||||
Update a Producer VPC spoke.
|
||||
|
|
@ -0,0 +1,96 @@
|
|||
NAME
|
||||
gcloud network-connectivity spokes linked-producer-vpc-network update -
|
||||
update a Producer VPC spoke
|
||||
|
||||
SYNOPSIS
|
||||
gcloud network-connectivity spokes linked-producer-vpc-network update SPOKE
|
||||
[--async] [--description=DESCRIPTION] [--global]
|
||||
[--update-labels=[KEY=VALUE,...]]
|
||||
[--clear-labels | --remove-labels=[KEY,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Update the details of a Producer VPC spoke.
|
||||
|
||||
EXAMPLES
|
||||
To update the description of a Producer VPC spoke named my-spoke, run:
|
||||
|
||||
$ gcloud network-connectivity spokes linked-producer-vpc-network \
|
||||
update myspoke --global --description="new spoke description"
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Spoke resource - Name of the spoke to update. 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 spoke on the command line with a fully specified
|
||||
name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
To set the location attribute:
|
||||
◆ provide the argument spoke on the command line with a fully specified
|
||||
name;
|
||||
◆ provide the argument --global on the command line.
|
||||
|
||||
This must be specified.
|
||||
|
||||
SPOKE
|
||||
ID of the spoke or fully qualified identifier for the spoke.
|
||||
|
||||
To set the spoke attribute:
|
||||
▸ provide the argument spoke on the command line.
|
||||
|
||||
FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--description=DESCRIPTION
|
||||
New description of the spoke.
|
||||
|
||||
--global
|
||||
Indicates that the spoke is global.
|
||||
|
||||
--update-labels=[KEY=VALUE,...]
|
||||
List of label KEY=VALUE pairs to update. If a label exists, its value
|
||||
is modified. Otherwise, a new label is created.
|
||||
|
||||
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.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-labels
|
||||
Remove all labels. If --update-labels is also specified then
|
||||
--clear-labels is applied first.
|
||||
|
||||
For example, to remove all labels:
|
||||
|
||||
$ gcloud network-connectivity spokes linked-producer-vpc-network \
|
||||
update --clear-labels
|
||||
|
||||
To remove all existing labels and create two new labels, foo and baz:
|
||||
|
||||
$ gcloud network-connectivity spokes linked-producer-vpc-network \
|
||||
update --clear-labels --update-labels foo=bar,baz=qux
|
||||
|
||||
--remove-labels=[KEY,...]
|
||||
List of label keys to remove. If a label does not exist it is
|
||||
silently ignored. If --update-labels is also specified then
|
||||
--update-labels is applied first.
|
||||
|
||||
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 networkconnectivity/v1 API. The full documentation
|
||||
for this API can be found at:
|
||||
https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
|
||||
Loading…
Add table
Add a link
Reference in a new issue