1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 14:56:05 +00:00

gcloud: Sat Jun 14 05:31:37 UTC 2025

This commit is contained in:
Automated 2025-06-14 05:31:37 +00:00
parent 1799759190
commit fa40c10f6a
712 changed files with 17386 additions and 4918 deletions

View file

@ -6,10 +6,12 @@ SYNOPSIS
gcloud network-connectivity internal-ranges create
(INTERNAL_RANGE : --region=REGION) --network=NETWORK
(--ip-cidr-range=IP_CIDR_RANGE | [--prefix-length=PREFIX_LENGTH
: --exclude-cidr-ranges=[EXCLUDE_CIDR_RANGES,...]
--target-cidr-range=[TARGET_CIDR_RANGE,...]]) [--async]
[--description=DESCRIPTION] [--immutable] [--labels=[KEY=VALUE,...]]
[--overlaps=[OVERLAPS,...]] [--peering=PEERING; default="for-self"]
: --allocation_strategy=ALLOCATION_STRATEGY
--exclude-cidr-ranges=[EXCLUDE_CIDR_RANGES,...]
--first_available_ranges_lookup_size=FIRST_AVAILABLE_RANGES_LOOKUP_SIZE --target-cidr-range=[TARGET_CIDR_RANGE,
...]]) [--async] [--description=DESCRIPTION] [--immutable]
[--labels=[KEY=VALUE,...]] [--overlaps=[OVERLAPS,...]]
[--peering=PEERING; default="for-self"]
[--usage=USAGE; default="for-vpc"]
[--migration-source=MIGRATION_SOURCE
--migration-target=MIGRATION_TARGET] [GCLOUD_WIDE_FLAG ...]
@ -92,11 +94,44 @@ REQUIRED FLAGS
Additional options for the internal range's address auto-allocation
(allowed only when prefix-length is set):
--allocation_strategy=ALLOCATION_STRATEGY
Allocation strategy to be used when searching for a free range.
ALLOCATION_STRATEGY must be one of:
first-available
Pick the first available address range. This strategy is
deterministic and the result is easy to predict.
first-smallest-fitting
Pick the smallest but fitting available range. This
deterministic strategy minimizes fragmentation of the address
space.
random
Random strategy, the legacy algorithm, used for backwards
compatibility. This allocation strategy remains efficient in
the case of concurrent allocation requests in the same peered
network space and doesn't require providing the level of
concurrency in an explicit parameter, but it is prone to
fragmenting available address space.
random-first-n-available
Pick an arbitrary range out of the first N available ones. The
N will be set in the first_available_ranges_lookup_size flag.
This strategy should be used when concurrent allocation
requests are made in the same space of peered networks while
the fragmentation of the addrress space is reduced.
--exclude-cidr-ranges=[EXCLUDE_CIDR_RANGES,...]
A list of CIDR ranges to exclude from the search for a free range.
This can be used to exclude specific ranges that are already
intended to have some other use.
--first_available_ranges_lookup_size=FIRST_AVAILABLE_RANGES_LOOKUP_SIZE
The number of ranges to be considered when using the
RANDOM_FIRST_N_AVAILABLE allocation strategy. This is only allowed
when allocation_strategy is set to RANDOM_FIRST_N_AVAILABLE.
--target-cidr-range=[TARGET_CIDR_RANGE,...]
Can be set to narrow down or pick a different address space while
searching for a free range. If not set, defaults to the

View file

@ -88,7 +88,7 @@ OPTIONAL FLAGS
--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.
ipv4, ipv6, protocol-version-unspecified.
--source-range=SOURCE_RANGE
Source IP range of outgoing packets that this policy-based route