mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-23 00:02:45 +00:00
gcloud: Wed Jul 12 10:20:16 UTC 2023
This commit is contained in:
parent
f52bc665a7
commit
b4c2508b12
300 changed files with 7469 additions and 3231 deletions
61
gcloud/network-connectivity/spokes/accept
Normal file
61
gcloud/network-connectivity/spokes/accept
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
NAME
|
||||
gcloud network-connectivity spokes accept - accept a spoke
|
||||
|
||||
SYNOPSIS
|
||||
gcloud network-connectivity spokes accept SPOKE [--async] [--global]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Accept a proposed or previously rejected VPC spoke. By accepting a spoke,
|
||||
you permit connectivity between the associated VPC network and other VPC
|
||||
networks that are attached to the same hub.
|
||||
|
||||
EXAMPLES
|
||||
To accept a spoke named myspoke, run:
|
||||
|
||||
$ gcloud network-connectivity spokes accept myspoke --global
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Spoke resource - Name of the spoke to accept. 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.
|
||||
|
||||
--global
|
||||
Indicates that the spoke is global.
|
||||
|
||||
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
|
||||
|
|
@ -2,8 +2,8 @@ NAME
|
|||
gcloud network-connectivity spokes delete - delete a spoke
|
||||
|
||||
SYNOPSIS
|
||||
gcloud network-connectivity spokes delete SPOKE [--async] [--region=REGION]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
gcloud network-connectivity spokes delete SPOKE [--async]
|
||||
[--global | --region=REGION] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Delete the specified spoke.
|
||||
|
|
@ -44,10 +44,15 @@ FLAGS
|
|||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--region=REGION
|
||||
A Google Cloud region. To see the names of regions, see Viewing a list
|
||||
of available regions
|
||||
(https://cloud.google.com/compute/docs/regions-zones/viewing-regions-zones#viewing_a_list_of_available_regions).
|
||||
At most one of these can be specified:
|
||||
|
||||
--global
|
||||
Indicates that the spoke is global.
|
||||
|
||||
--region=REGION
|
||||
A Google Cloud region. To see the names of regions, see Viewing a
|
||||
list of available regions
|
||||
(https://cloud.google.com/compute/docs/regions-zones/viewing-regions-zones#viewing_a_list_of_available_regions).
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ NAME
|
|||
gcloud network-connectivity spokes describe - describe a spoke
|
||||
|
||||
SYNOPSIS
|
||||
gcloud network-connectivity spokes describe SPOKE [--region=REGION]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
gcloud network-connectivity spokes describe SPOKE
|
||||
[--global | --region=REGION] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Retrieve and display details about a spoke.
|
||||
|
|
@ -41,10 +41,15 @@ POSITIONAL ARGUMENTS
|
|||
▸ provide the argument spoke on the command line.
|
||||
|
||||
FLAGS
|
||||
--region=REGION
|
||||
A Google Cloud region. To see the names of regions, see Viewing a list
|
||||
of available regions
|
||||
(https://cloud.google.com/compute/docs/regions-zones/viewing-regions-zones#viewing_a_list_of_available_regions).
|
||||
At most one of these can be specified:
|
||||
|
||||
--global
|
||||
Indicates that the spoke is global.
|
||||
|
||||
--region=REGION
|
||||
A Google Cloud region. To see the names of regions, see Viewing a
|
||||
list of available regions
|
||||
(https://cloud.google.com/compute/docs/regions-zones/viewing-regions-zones#viewing_a_list_of_available_regions).
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
|
|
|
|||
|
|
@ -22,12 +22,18 @@ GROUPS
|
|||
linked-router-appliances
|
||||
Manage Router appliance spokes.
|
||||
|
||||
linked-vpc-network
|
||||
Manage VPC spokes.
|
||||
|
||||
linked-vpn-tunnels
|
||||
Manage VPN spokes.
|
||||
|
||||
COMMANDS
|
||||
COMMAND is one of the following:
|
||||
|
||||
accept
|
||||
Accept a spoke.
|
||||
|
||||
delete
|
||||
Delete a spoke.
|
||||
|
||||
|
|
@ -37,6 +43,9 @@ COMMANDS
|
|||
list
|
||||
List spokes.
|
||||
|
||||
reject
|
||||
Reject a spoke.
|
||||
|
||||
NOTES
|
||||
This variant is also available:
|
||||
|
||||
|
|
|
|||
90
gcloud/network-connectivity/spokes/linked-vpc-network/create
Normal file
90
gcloud/network-connectivity/spokes/linked-vpc-network/create
Normal file
|
|
@ -0,0 +1,90 @@
|
|||
NAME
|
||||
gcloud network-connectivity spokes linked-vpc-network create - create a new
|
||||
VPC spoke
|
||||
|
||||
SYNOPSIS
|
||||
gcloud network-connectivity spokes linked-vpc-network create SPOKE
|
||||
--hub=HUB --vpc-network=VPC_NETWORK [--async]
|
||||
[--description=DESCRIPTION] [--exclude-export-ranges=[CIDR_RANGE,...]]
|
||||
[--global] [--labels=[KEY=VALUE,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Create a new VPC spoke.
|
||||
|
||||
EXAMPLES
|
||||
To create a VPC spoke named myspoke, run:
|
||||
|
||||
$ gcloud network-connectivity spokes linked-vpc-network create \
|
||||
myspoke \
|
||||
--hub="https://www.googleapis.com/networkconnectivity/v1/project\
|
||||
s/my-project/locations/global/hubs/my-hub" --global \
|
||||
--vpc-network="https://www.googleapis.com/compute/v1/projects/my\
|
||||
-project/global/networks/my-vpc"
|
||||
|
||||
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.
|
||||
|
||||
--vpc-network=VPC_NETWORK
|
||||
VPC network that the spoke provides connectivity to. The resource must
|
||||
already exist.
|
||||
|
||||
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,...]
|
||||
IP address range(s) to hide from subnets in VPC networks that are
|
||||
peered through Network Connectivity Center peering.
|
||||
|
||||
--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
|
||||
23
gcloud/network-connectivity/spokes/linked-vpc-network/help
Normal file
23
gcloud/network-connectivity/spokes/linked-vpc-network/help
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
NAME
|
||||
gcloud network-connectivity spokes linked-vpc-network - manage VPC spokes
|
||||
|
||||
SYNOPSIS
|
||||
gcloud network-connectivity spokes linked-vpc-network COMMAND
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Manage 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 VPC spoke.
|
||||
|
||||
update
|
||||
Update a VPC spoke.
|
||||
96
gcloud/network-connectivity/spokes/linked-vpc-network/update
Normal file
96
gcloud/network-connectivity/spokes/linked-vpc-network/update
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
NAME
|
||||
gcloud network-connectivity spokes linked-vpc-network update - update a VPC
|
||||
spoke
|
||||
|
||||
SYNOPSIS
|
||||
gcloud network-connectivity spokes linked-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 VPC spoke.
|
||||
|
||||
EXAMPLES
|
||||
To update the description of a global VPC spoke named my-spoke, run:
|
||||
|
||||
$ gcloud network-connectivity spokes linked-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-vpc-network update \
|
||||
--clear-labels
|
||||
|
||||
To remove all existing labels and create two new labels, foo and baz:
|
||||
|
||||
$ gcloud network-connectivity spokes linked-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
|
||||
|
|
@ -2,7 +2,7 @@ NAME
|
|||
gcloud network-connectivity spokes list - list spokes
|
||||
|
||||
SYNOPSIS
|
||||
gcloud network-connectivity spokes list [--region=REGION]
|
||||
gcloud network-connectivity spokes list [--global | --region=REGION]
|
||||
[--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE]
|
||||
[--sort-by=[FIELD,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -19,11 +19,16 @@ EXAMPLES
|
|||
$ gcloud network-connectivity spokes list
|
||||
|
||||
FLAGS
|
||||
--region=REGION
|
||||
A Google Cloud region. To see the names of regions, see Viewing a list
|
||||
of available regions
|
||||
(https://cloud.google.com/compute/docs/regions-zones/viewing-regions-zones#viewing_a_list_of_available_regions).
|
||||
Use ``-`` to specify all regions.
|
||||
At most one of these can be specified:
|
||||
|
||||
--global
|
||||
Indicates that the spoke is global.
|
||||
|
||||
--region=REGION
|
||||
A Google Cloud region. To see the names of regions, see Viewing a
|
||||
list of available regions
|
||||
(https://cloud.google.com/compute/docs/regions-zones/viewing-regions-zones#viewing_a_list_of_available_regions).
|
||||
Use ``-`` to specify all regions.
|
||||
|
||||
LIST COMMAND FLAGS
|
||||
--filter=EXPRESSION
|
||||
|
|
|
|||
65
gcloud/network-connectivity/spokes/reject
Normal file
65
gcloud/network-connectivity/spokes/reject
Normal file
|
|
@ -0,0 +1,65 @@
|
|||
NAME
|
||||
gcloud network-connectivity spokes reject - reject a spoke
|
||||
|
||||
SYNOPSIS
|
||||
gcloud network-connectivity spokes reject SPOKE [--async]
|
||||
[--details=DETAILS] [--global] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Reject a VPC spoke. By rejecting a spoke, you prevent or remove
|
||||
connectivity between the associated VPC network and any other VPC networks
|
||||
that are attached to the same hub.
|
||||
|
||||
EXAMPLES
|
||||
To reject a spoke named myspoke with reason myreason, run:
|
||||
|
||||
$ gcloud network-connectivity spokes reject myspoke \
|
||||
--details="myreason" --global
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Spoke resource - Name of the spoke to reject. 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.
|
||||
|
||||
--details=DETAILS
|
||||
Additional details behind the rejection
|
||||
|
||||
--global
|
||||
Indicates that the spoke is global.
|
||||
|
||||
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