mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-16 20:36:39 +00:00
gcloud: Wed Mar 19 10:42:21 UTC 2025
This commit is contained in:
parent
a459a88a5f
commit
e555fef0aa
170 changed files with 6428 additions and 659 deletions
70
gcloud/network-connectivity/hubs/accept-spoke-update
Normal file
70
gcloud/network-connectivity/hubs/accept-spoke-update
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
NAME
|
||||
gcloud network-connectivity hubs accept-spoke-update - accept a proposal to
|
||||
update a spoke in a hub
|
||||
|
||||
SYNOPSIS
|
||||
gcloud network-connectivity hubs accept-spoke-update HUB --spoke=SPOKE
|
||||
--spoke-etag=SPOKE_ETAG [--async] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Accept a proposed or previously rejected VPC spoke update. By accepting a
|
||||
spoke update, you permit updating connectivity between the associated VPC
|
||||
network and other VPC networks that are attached to the same hub.
|
||||
|
||||
EXAMPLES
|
||||
To accept updating a spoke named my-spoke with etag in a hub named my-hub,
|
||||
run:
|
||||
|
||||
$ gcloud network-connectivity hubs accept-spoke-update my-hub \
|
||||
--spoke="projects/spoke-project/locations/global/hubs/my-spoke" \
|
||||
--spoke-etag=etag
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Hub resource - Name of the hub to accept the spoke 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 hub on the command line with a fully specified
|
||||
name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
HUB
|
||||
ID of the hub or fully qualified identifier for the hub.
|
||||
|
||||
To set the hub attribute:
|
||||
▸ provide the argument hub on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--spoke=SPOKE
|
||||
URI of the spoke to accept update
|
||||
|
||||
--spoke-etag=SPOKE_ETAG
|
||||
Etag of the spoke to accept update
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
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
|
||||
|
||||
NOTES
|
||||
This variant is also available:
|
||||
|
||||
$ gcloud beta network-connectivity hubs accept-spoke-update
|
||||
|
||||
|
|
@ -27,6 +27,9 @@ COMMANDS
|
|||
accept-spoke
|
||||
Accept a spoke into a hub.
|
||||
|
||||
accept-spoke-update
|
||||
Accept a proposal to update a spoke in a hub.
|
||||
|
||||
add-iam-policy-binding
|
||||
Add an IAM policy binding to the IAM policy of a hub resource.
|
||||
|
||||
|
|
@ -54,6 +57,9 @@ COMMANDS
|
|||
reject-spoke
|
||||
Reject a spoke from a hub.
|
||||
|
||||
reject-spoke-update
|
||||
Reject a proposal to update a spoke in a hub.
|
||||
|
||||
remove-iam-policy-binding
|
||||
Remove an IAM policy binding from the IAM policy of a hub resource.
|
||||
|
||||
|
|
|
|||
74
gcloud/network-connectivity/hubs/reject-spoke-update
Normal file
74
gcloud/network-connectivity/hubs/reject-spoke-update
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
NAME
|
||||
gcloud network-connectivity hubs reject-spoke-update - reject a proposal to
|
||||
update a spoke in a hub
|
||||
|
||||
SYNOPSIS
|
||||
gcloud network-connectivity hubs reject-spoke-update HUB --spoke=SPOKE
|
||||
--spoke-etag=SPOKE_ETAG [--async] [--details=DETAILS]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
Reject a VPC spoke update proposal. By rejecting a spoke update, you
|
||||
prevent updating the connectivity between the associated VPC network and
|
||||
any other VPC networks that are attached to the same hub.
|
||||
|
||||
EXAMPLES
|
||||
To reject updating a spoke named my-spoke with etag in a hub named my-hub
|
||||
with reason my-reason, run:
|
||||
|
||||
$ gcloud network-connectivity hubs reject-spoke-update my-hub \
|
||||
--spoke="projects/spoke-project/locations/global/hubs/my-spoke" \
|
||||
--spoke-etag=etag --details=my-reason
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Hub resource - Name of the hub to reject the spoke 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 hub on the command line with a fully specified
|
||||
name;
|
||||
◆ provide the argument --project on the command line;
|
||||
◆ set the property core/project.
|
||||
|
||||
This must be specified.
|
||||
|
||||
HUB
|
||||
ID of the hub or fully qualified identifier for the hub.
|
||||
|
||||
To set the hub attribute:
|
||||
▸ provide the argument hub on the command line.
|
||||
|
||||
REQUIRED FLAGS
|
||||
--spoke=SPOKE
|
||||
URI of the spoke to reject update
|
||||
|
||||
--spoke-etag=SPOKE_ETAG
|
||||
Etag of the spoke to reject update
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--async
|
||||
Return immediately, without waiting for the operation in progress to
|
||||
complete.
|
||||
|
||||
--details=DETAILS
|
||||
Additional details behind the rejection
|
||||
|
||||
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
|
||||
|
||||
NOTES
|
||||
This variant is also available:
|
||||
|
||||
$ gcloud beta network-connectivity hubs reject-spoke-update
|
||||
|
||||
|
|
@ -5,8 +5,11 @@ NAME
|
|||
SYNOPSIS
|
||||
gcloud network-connectivity service-connection-policies update
|
||||
SERVICE_CONNECTION_POLICY
|
||||
(--subnets=[SUBNETS,...] : --psc-connection-limit=PSC_CONNECTION_LIMIT)
|
||||
[--async] [--description=DESCRIPTION] [--labels=[KEY=VALUE,...]]
|
||||
(--subnets=[SUBNETS,...]
|
||||
: --allowed-google-producers-resource-hierarchy-level=[ALLOWED_GOOGLE_PRODUCERS_RESOURCE_HIERARCHY_LEVEL,
|
||||
...] --producer-instance-location=PRODUCER_INSTANCE_LOCATION
|
||||
--psc-connection-limit=PSC_CONNECTION_LIMIT) [--async]
|
||||
[--description=DESCRIPTION] [--labels=[KEY=VALUE,...]]
|
||||
[--region=REGION] [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -18,7 +21,10 @@ EXAMPLES
|
|||
|
||||
$ gcloud network-connectivity service-connection-policies update \
|
||||
my-service-conn-policy --region=us-central1 \
|
||||
--psc-connection-limit=5 --subnets=my-subnet
|
||||
--psc-connection-limit=5 --subnets=my-subnet \
|
||||
--producer-instance-location=custom-resource-hierarchy-levels \
|
||||
--allowed-google-producers-resource-hierarchy-level=projects/\
|
||||
my-project
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Service connection policy resource - Name of the Service Connection Policy
|
||||
|
|
@ -73,6 +79,24 @@ REQUIRED FLAGS
|
|||
To set the subnetwork attribute:
|
||||
▫ provide the argument --subnets on the command line.
|
||||
|
||||
--allowed-google-producers-resource-hierarchy-level=[ALLOWED_GOOGLE_PRODUCERS_RESOURCE_HIERARCHY_LEVEL,...]
|
||||
List of projects, folders, or orgs where the producer instance can be
|
||||
located in the form "projects/123456789", folders/123456789", or
|
||||
"organizations/123456789".
|
||||
|
||||
--producer-instance-location=PRODUCER_INSTANCE_LOCATION
|
||||
Option that determines where the producer instances can be located
|
||||
for which connections can be created in the network controlled by
|
||||
this policy. PRODUCER_INSTANCE_LOCATION must be one of:
|
||||
|
||||
custom-resource-hierarchy-levels
|
||||
The producer instance must be located in one of the values
|
||||
provided in the allowed-google-producers-resource-hierarchy-level
|
||||
flag.
|
||||
none
|
||||
The producer instance must be within the same project as this
|
||||
connection policy.
|
||||
|
||||
--psc-connection-limit=PSC_CONNECTION_LIMIT
|
||||
Max number of PSC connections for this policy.
|
||||
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud network-connectivity spokes linked-producer-vpc-network update SPOKE
|
||||
[--async] [--description=DESCRIPTION] [--global]
|
||||
[--async] [--description=DESCRIPTION]
|
||||
[--exclude-export-ranges=[CIDR_RANGE,...]] [--global]
|
||||
[--include-export-ranges=[CIDR_RANGE,...]]
|
||||
[--update-labels=[KEY=VALUE,...]]
|
||||
[--clear-labels | --remove-labels=[KEY,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
|
@ -50,12 +51,14 @@ FLAGS
|
|||
--description=DESCRIPTION
|
||||
New description of the spoke.
|
||||
|
||||
--exclude-export-ranges=[CIDR_RANGE,...]
|
||||
New exclude export ranges of the spoke.
|
||||
|
||||
--global
|
||||
Indicates that the spoke is global.
|
||||
|
||||
--include-export-ranges=[CIDR_RANGE,...]
|
||||
Only allows adding ALL_IPV6_RANGES to include export ranges or removing
|
||||
ALL_IPV6_RANGES from include export ranges.
|
||||
New include export ranges of the spoke.
|
||||
|
||||
--update-labels=[KEY=VALUE,...]
|
||||
List of label KEY=VALUE pairs to update. If a label exists, its value
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud network-connectivity spokes linked-vpc-network update SPOKE
|
||||
[--async] [--description=DESCRIPTION] [--global]
|
||||
[--async] [--description=DESCRIPTION]
|
||||
[--exclude-export-ranges=[CIDR_RANGE,...]] [--global]
|
||||
[--include-export-ranges=[CIDR_RANGE,...]]
|
||||
[--update-labels=[KEY=VALUE,...]]
|
||||
[--clear-labels | --remove-labels=[KEY,...]] [GCLOUD_WIDE_FLAG ...]
|
||||
|
|
@ -50,12 +51,14 @@ FLAGS
|
|||
--description=DESCRIPTION
|
||||
New description of the spoke.
|
||||
|
||||
--exclude-export-ranges=[CIDR_RANGE,...]
|
||||
New exclude export ranges of the spoke.
|
||||
|
||||
--global
|
||||
Indicates that the spoke is global.
|
||||
|
||||
--include-export-ranges=[CIDR_RANGE,...]
|
||||
Only allows adding ALL_IPV6_RANGES to include export ranges or removing
|
||||
ALL_IPV6_RANGES from include export ranges.
|
||||
New include export ranges of the spoke.
|
||||
|
||||
--update-labels=[KEY=VALUE,...]
|
||||
List of label KEY=VALUE pairs to update. If a label exists, its value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue