mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 23:08:48 +00:00
gcloud: Tue Mar 1 21:43:54 UTC 2022
This commit is contained in:
parent
c1c3b75313
commit
21878eea72
1018 changed files with 4838 additions and 3409 deletions
|
|
@ -20,20 +20,18 @@ EXAMPLES
|
|||
https://www.googleapis.com/compute/v1/projects/my-project/locations/global/networks/my-network
|
||||
and region global:
|
||||
|
||||
$ gcloud alpha network-connectivity internal-ranges create my-range
|
||||
--ip-cidr-range="192.168.0.0/25"
|
||||
--network="https://www.googleapis.com/compute/v1/projects/my-project/locations/global/networks/my-network"
|
||||
--project=my-project
|
||||
--region=global
|
||||
$ gcloud alpha network-connectivity internal-ranges create \
|
||||
my-range --ip-cidr-range="192.168.0.0/25" \
|
||||
--network="https://www.googleapis.com/compute/v1/projects/my-pro\
|
||||
ject/locations/global/networks/my-network" --project=my-project \
|
||||
--region=global
|
||||
|
||||
Create an internal range with name my-range and auto-allocated /25 block
|
||||
(prefix-length 25) in network my-network and region global:
|
||||
|
||||
$ gcloud alpha network-connectivity internal-ranges create my-range
|
||||
--prefix-length=25
|
||||
--network="my-network"
|
||||
--project=my-project
|
||||
--region=global
|
||||
$ gcloud alpha network-connectivity internal-ranges create \
|
||||
my-range --prefix-length=25 --network="my-network" \
|
||||
--project=my-project --region=global
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Internal range resource - Name of the internal range to be created. The
|
||||
|
|
|
|||
|
|
@ -15,18 +15,15 @@ EXAMPLES
|
|||
Update ip-cidr-range of an internal range named my-range in project
|
||||
my-project and region global:
|
||||
|
||||
$ gcloud alpha network-connectivity internal-ranges update my-range
|
||||
--ip-cidr-range="192.168.0.0/24"
|
||||
--project=my-project
|
||||
--region=global
|
||||
$ gcloud alpha network-connectivity internal-ranges update \
|
||||
my-range --ip-cidr-range="192.168.0.0/24" --project=my-project \
|
||||
--region=global
|
||||
|
||||
Extend an internal range named my-range in project my-project and region
|
||||
global to an address block of /24:
|
||||
|
||||
$ gcloud alpha network-connectivity internal-ranges update my-range
|
||||
--prefix-length=24
|
||||
--project=my-project
|
||||
--region=global
|
||||
$ gcloud alpha network-connectivity internal-ranges update \
|
||||
my-range --prefix-length=24 --project=my-project --region=global
|
||||
|
||||
POSITIONAL ARGUMENTS
|
||||
Internal range resource - Name of the internal range to be created. The
|
||||
|
|
|
|||
|
|
@ -22,8 +22,8 @@ EXAMPLES
|
|||
in default network to a ilb with vip 10.0.0.1, run:
|
||||
|
||||
$ gcloud alpha network-connectivity policy-based-routes create \
|
||||
my-pbr --network="projects/my-project/global/networks/default"
|
||||
--next-hop-ilb-ip=10.0.0.1
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue