1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-16 20:36:39 +00:00

gcloud: Thu May 23 09:22:11 UTC 2024

This commit is contained in:
Automated 2024-05-23 09:22:11 +00:00
parent 3b84182be4
commit e617a432f4
175 changed files with 2973 additions and 461 deletions

View file

@ -28,7 +28,7 @@ GROUPS
Manage Network Connectivity Center operations.
policy-based-routes
Manage Policy Based Routes.
Manage Policy-based Routes.
regional-endpoints
Manage Network Connectivity RegionalEndpoints.

View file

@ -1,13 +1,13 @@
NAME
gcloud network-connectivity policy-based-routes create - create a new
policy based route
policy-based route
SYNOPSIS
gcloud network-connectivity policy-based-routes create POLICY_BASED_ROUTE
--network=NETWORK [--async] [--description=DESCRIPTION]
[--destination-range=DESTINATION_RANGE] [--ip-protocol=IP_PROTOCOL]
[--labels=[KEY=VALUE,...]] [--priority=PRIORITY]
[--protocol-version=PROTOCOL_VERSION; default="IPv4"]
[--protocol-version=PROTOCOL_VERSION; default="IPV4"]
[--source-range=SOURCE_RANGE]
[--interconnect-attachment-region=INTERCONNECT_ATTACHMENT_REGION
| --tags=[TAGS,...]]
@ -16,18 +16,18 @@ SYNOPSIS
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Create a new policy based route with the given name.
Create a new policy-based route with the given name.
EXAMPLES
To create a policy based route with the name my-pbr to route all l4 traffic
in default network to a ilb with vip 10.0.0.1, run:
To create a policy-based route with the name my-pbr to route all traffic in
default network to an internal load balancer with IP 10.0.0.1, run:
$ gcloud network-connectivity policy-based-routes create my-pbr \
--network="projects/my-project/global/networks/default" \
--next-hop-ilb-ip=10.0.0.1
POSITIONAL ARGUMENTS
Policy based route resource - Name of the policy based route to be
Policy based route resource - Name of the policy-based route to be
created. This represents a Cloud resource. (NOTE) Some attributes are not
given arguments in this group but can be set in other ways.
@ -61,11 +61,11 @@ OPTIONAL FLAGS
create the resource.
--destination-range=DESTINATION_RANGE
Destination IP range of outgoing packets that this policy based route
Destination IP range of outgoing packets that this policy-based route
applies to.
--ip-protocol=IP_PROTOCOL
IP protocol that this policy based route applies to. Valid values are
IP protocol that this policy-based route applies to. Valid values are
TCP, UDP, and ALL. Default is ALL.
--labels=[KEY=VALUE,...]
@ -77,38 +77,38 @@ OPTIONAL FLAGS
numbers.
--priority=PRIORITY
Priority of this policy based route. Priority is used to break ties in
cases where there are more than one matching policy based routes found.
In cases where multiple policy based routes are matched, the one with
Priority of this policy-based route. Priority is used to break ties in
cases where there are more than one matching policy-based routes found.
In cases where multiple policy-based routes are matched, the one with
the lowest-numbered priority value wins. The default value is 1000. The
priority value must be from 1 to 65535, inclusive. Note the priority of
policy based route is always higher than other types of route (e.g.
policy-based route is always higher than other types of route (e.g.
static routes/advanced routes)
--protocol-version=PROTOCOL_VERSION; default="IPv4"
Internet protocol versions this policy based route applies to. For this
version, only IPV4 is supported. PROTOCOL_VERSION must be one of: ipv4,
protocol-version-unspecified.
--protocol-version=PROTOCOL_VERSION; default="IPV4"
Internet protocol versions that this policy-based route applies to. For
this version, only IPV4 is supported. PROTOCOL_VERSION must be one of:
ipv4, protocol-version-unspecified.
--source-range=SOURCE_RANGE
Source IP range of outgoing packets that this policy based route
Source IP range of outgoing packets that this policy-based route
applies to.
At most one of these can be specified:
--interconnect-attachment-region=INTERCONNECT_ATTACHMENT_REGION
Cloud region to install this policy based route on interconnect
Cloud region to install this policy-based route on interconnect
attachment. Use all to install it on all interconnect attachments.
Note if both --tags and --interconnect-attachment-region are not set,
then the policy based route will be installed in all network
then the policy-based route will be installed in all network
endpoints, including VMs, VPNs, and Interconnect attachements, in the
network.
--tags=[TAGS,...]
List of VM instance tags to which this route applies to. VM instances
that have ANY of tags specified here will install this route. Note if
List of VM instance tags that this route applies to. VM instances
that have ANY of tags specified here installs this route. Note if
both --tags and --interconnect-attachment-region are not set, then
the policy based route will be installed in all endpoints, including
the policy-based route will be installed in all endpoints, including
VMs, VPNs, and Interconnect attachements, in the network.
At most one of these can be specified:
@ -118,9 +118,9 @@ OPTIONAL FLAGS
handle packets.
--next-hop-other-routes=NEXT_HOP_OTHER_ROUTES
Next hop should be other routes that handle packets. This will
effectively exclude matching packets being applied on other PBRs with
a lower priority. NEXT_HOP_OTHER_ROUTES must be one of:
Next hop should be other routes that handle packets. This effectively
excludes matching packets being applied on other policy-based routes
with a lower priority. NEXT_HOP_OTHER_ROUTES must be one of:
default-routing, other-routes-unspecified.
GCLOUD WIDE FLAGS
@ -137,7 +137,9 @@ API REFERENCE
https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
NOTES
This variant is also available:
These variants are also available:
$ gcloud alpha network-connectivity policy-based-routes create
$ gcloud beta network-connectivity policy-based-routes create

View file

@ -1,21 +1,21 @@
NAME
gcloud network-connectivity policy-based-routes delete - delete a policy
based route
gcloud network-connectivity policy-based-routes delete - delete a
policy-based route
SYNOPSIS
gcloud network-connectivity policy-based-routes delete POLICY_BASED_ROUTE
[--async] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Delete the specified policy based route.
Delete the specified policy-based route.
EXAMPLES
To delete a policy based route named my-pbr, run:
To delete a policy-based route named my-pbr, run:
$ gcloud network-connectivity policy-based-routes delete my-pbr
POSITIONAL ARGUMENTS
Policy based route resource - Name of the policy based route to be
Policy based route resource - Name of the policy-based route to be
deleted. This represents a Cloud resource. (NOTE) Some attributes are not
given arguments in this group but can be set in other ways.
@ -53,7 +53,9 @@ API REFERENCE
https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
NOTES
This variant is also available:
These variants are also available:
$ gcloud alpha network-connectivity policy-based-routes delete
$ gcloud beta network-connectivity policy-based-routes delete

View file

@ -1,21 +1,21 @@
NAME
gcloud network-connectivity policy-based-routes describe - describe a
policy based route
policy-based route
SYNOPSIS
gcloud network-connectivity policy-based-routes describe POLICY_BASED_ROUTE
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Retrieve and display details about a policy based route.
Retrieve and display details about a policy-based route.
EXAMPLES
To display details about a policy based route named my-pbr, run:
To display details about a policy-based route named my-pbr, run:
$ gcloud network-connectivity policy-based-routes describe my-pbr
POSITIONAL ARGUMENTS
Policy based route resource - Name of the policy based route to be
Policy based route resource - Name of the policy-based route to be
described. This represents a Cloud resource. (NOTE) Some attributes are
not given arguments in this group but can be set in other ways.
@ -48,7 +48,9 @@ API REFERENCE
https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
NOTES
This variant is also available:
These variants are also available:
$ gcloud alpha network-connectivity policy-based-routes describe
$ gcloud beta network-connectivity policy-based-routes describe

View file

@ -1,5 +1,5 @@
NAME
gcloud network-connectivity policy-based-routes - manage Policy Based
gcloud network-connectivity policy-based-routes - manage Policy-based
Routes
SYNOPSIS
@ -7,7 +7,7 @@ SYNOPSIS
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Manage Policy Based Routes.
Manage Policy-based Routes.
GCLOUD WIDE FLAGS
These flags are available to all commands: --help.
@ -18,19 +18,21 @@ COMMANDS
COMMAND is one of the following:
create
Create a new policy based route.
Create a new policy-based route.
delete
Delete a policy based route.
Delete a policy-based route.
describe
Describe a policy based route.
Describe a policy-based route.
list
List policy based routes.
List policy-based routes.
NOTES
This variant is also available:
These variants are also available:
$ gcloud alpha network-connectivity policy-based-routes
$ gcloud beta network-connectivity policy-based-routes

View file

@ -1,5 +1,5 @@
NAME
gcloud network-connectivity policy-based-routes list - list policy based
gcloud network-connectivity policy-based-routes list - list policy-based
routes
SYNOPSIS
@ -8,11 +8,11 @@ SYNOPSIS
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Retrieve and display a list of all policy based routes in the specified
Retrieve and display a list of all policy-based routes in the specified
project.
EXAMPLES
To display details about a policy based route named my-pbr, run:
To display details about a policy-based route named my-pbr, run:
$ gcloud network-connectivity policy-based-routes list my-pbr
@ -56,7 +56,9 @@ API REFERENCE
https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest
NOTES
This variant is also available:
These variants are also available:
$ gcloud alpha network-connectivity policy-based-routes list
$ gcloud beta network-connectivity policy-based-routes list