mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-18 14:56:05 +00:00
gcloud: Wed Apr 13 08:33:42 UTC 2022
This commit is contained in:
parent
f88a614da8
commit
9dcb91c709
143 changed files with 4432 additions and 242 deletions
|
|
@ -4,7 +4,7 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute networks subnets create NAME --network=NETWORK
|
||||
--range=RANGE [--aggregation-interval=AGGREGATION_INTERVAL]
|
||||
[--aggregation-interval=AGGREGATION_INTERVAL]
|
||||
[--description=DESCRIPTION] [--enable-flow-logs]
|
||||
[--enable-private-ip-google-access] [--flow-sampling=FLOW_SAMPLING]
|
||||
[--ipv6-access-type=IPV6_ACCESS_TYPE]
|
||||
|
|
@ -14,9 +14,12 @@ SYNOPSIS
|
|||
[--logging-metadata=LOGGING_METADATA]
|
||||
[--logging-metadata-fields=[METADATA_FIELD,...]] [--metadata=METADATA]
|
||||
[--private-ipv6-google-access-type=PRIVATE_IPV6_GOOGLE_ACCESS_TYPE]
|
||||
[--purpose=PURPOSE] [--region=REGION] [--role=ROLE]
|
||||
[--secondary-range=PROPERTY=VALUE,[...]] [--stack-type=STACK_TYPE]
|
||||
[--enable-l2 : --vlan=VLAN] [GCLOUD_WIDE_FLAG ...]
|
||||
[--purpose=PURPOSE] [--range=RANGE] [--region=REGION]
|
||||
[--reserved-internal-range=RESERVED_INTERNAL_RANGE] [--role=ROLE]
|
||||
[--secondary-range=PROPERTY=VALUE,[...]]
|
||||
[--secondary-range-with-reserved-internal-range=RANGE_NAME=INTERNAL_RANGE_URL,
|
||||
[...]] [--stack-type=STACK_TYPE] [--enable-l2 : --vlan=VLAN]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
(ALPHA) gcloud alpha compute networks subnets create define a subnetwork
|
||||
|
|
@ -38,9 +41,6 @@ REQUIRED FLAGS
|
|||
--network=NETWORK
|
||||
The network to which the subnetwork belongs.
|
||||
|
||||
--range=RANGE
|
||||
The IP space allocated to this subnetwork in CIDR format.
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--aggregation-interval=AGGREGATION_INTERVAL
|
||||
Can only be specified if VPC Flow Logs for this subnetwork is enabled.
|
||||
|
|
@ -142,6 +142,9 @@ OPTIONAL FLAGS
|
|||
REGIONAL_MANAGED_PROXY
|
||||
Reserved for Regional HTTP(S) Load Balancing.
|
||||
|
||||
--range=RANGE
|
||||
The IP space allocated to this subnetwork in CIDR format.
|
||||
|
||||
--region=REGION
|
||||
Region of the subnetwork to create. If not specified, you might be
|
||||
prompted to select a region (interactive mode only).
|
||||
|
|
@ -162,6 +165,23 @@ OPTIONAL FLAGS
|
|||
Alternatively, the region can be stored in the environment variable
|
||||
CLOUDSDK_COMPUTE_REGION.
|
||||
|
||||
--reserved-internal-range=RESERVED_INTERNAL_RANGE
|
||||
If set, the primary IP range of the subnetwork will be associated with
|
||||
the given InternalRange resource.
|
||||
|
||||
If --range is set, the subnetwork will only use the given IP range. It
|
||||
has to be contained by the IP range defined by the InternalRange
|
||||
resource.
|
||||
|
||||
For example, --range=10.0.0.0/24 --reserved-internal-range
|
||||
//networkconnectivity.googleapis.com/projects/PROJECT/locations/global/internalRanges/RANGE
|
||||
|
||||
If --range is not set, the subnetwork will use the entire IP range
|
||||
defined by the InternalRange resource.
|
||||
|
||||
For example, --reserved-internal-range
|
||||
//networkconnectivity.googleapis.com/projects/PROJECT/locations/global/internalRanges/RANGE
|
||||
|
||||
--role=ROLE
|
||||
The role of subnetwork. This field is required when the purpose is set
|
||||
to GLOBAL_MANAGED_PROXY, REGIONAL_MANAGED_PROXY or
|
||||
|
|
@ -181,6 +201,17 @@ OPTIONAL FLAGS
|
|||
◆ RANGE_NAME - Name of the secondary range.
|
||||
◆ RANGE - IP range in CIDR format.
|
||||
|
||||
--secondary-range-with-reserved-internal-range=RANGE_NAME=INTERNAL_RANGE_URL,[...]
|
||||
Adds secondary IP ranges that are associated with InternalRange
|
||||
resources.
|
||||
|
||||
For example, --secondary-range-with-reserved-internal-range
|
||||
range1=//networkconnectivity.googleapis.com/projects/PROJECT/locations/global/internalRanges/RANGE
|
||||
adds a secondary range with the reserved internal range resource.
|
||||
|
||||
◆ RANGE_NAME - Name of the secondary range.
|
||||
◆ INTERNAL_RANGE_URL - URL of an InternalRange resource.
|
||||
|
||||
--stack-type=STACK_TYPE
|
||||
The stack type for this subnet. Determines if IPv6 is enabled on the
|
||||
subnet. If not specified IPV4_ONLY will be used. STACK_TYPE must be one
|
||||
|
|
|
|||
|
|
@ -4,7 +4,8 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute networks subnets update NAME
|
||||
[--aggregation-interval=AGGREGATION_INTERVAL]
|
||||
[--add-secondary-ranges-with-reserved-internal-range=RANGE_NAME=INTERNAL_RANGE_URL,
|
||||
[...]] [--aggregation-interval=AGGREGATION_INTERVAL]
|
||||
[--drain-timeout=DRAIN_TIMEOUT; default="0s"]
|
||||
[--flow-sampling=FLOW_SAMPLING] [--ipv6-access-type=IPV6_ACCESS_TYPE]
|
||||
[--logging-aggregation-interval=LOGGING_AGGREGATION_INTERVAL]
|
||||
|
|
@ -36,6 +37,17 @@ POSITIONAL ARGUMENTS
|
|||
Name of the subnetwork to update.
|
||||
|
||||
FLAGS
|
||||
--add-secondary-ranges-with-reserved-internal-range=RANGE_NAME=INTERNAL_RANGE_URL,[...]
|
||||
Adds secondary IP ranges that are associated with InternalRange
|
||||
resources.
|
||||
|
||||
For example, --add-secondary-ranges-with-reserved-internal-range
|
||||
range1=//networkconnectivity.googleapis.com/projects/PROJECT/locations/global/internalRanges/RANGE
|
||||
adds a secondary range with the reserved internal range resource.
|
||||
|
||||
◆ RANGE_NAME - Name of the secondary range.
|
||||
◆ INTERNAL_RANGE_URL - URL of an InternalRange resource.
|
||||
|
||||
--aggregation-interval=AGGREGATION_INTERVAL
|
||||
Can only be specified if VPC Flow Logs for this subnetwork is enabled.
|
||||
Toggles the aggregation interval for collecting flow logs. Increasing
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue