mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-20 21:20:07 +00:00
gcloud: Wed Dec 6 10:10:36 UTC 2023
This commit is contained in:
parent
d3074f94bb
commit
f36750d203
469 changed files with 9617 additions and 1400 deletions
|
|
@ -4,6 +4,7 @@ NAME
|
|||
|
||||
SYNOPSIS
|
||||
gcloud alpha compute network-endpoint-groups create NAME
|
||||
[--client-port-mapping-mode=CLIENT_PORT_MAPPING_MODE]
|
||||
[--default-port=DEFAULT_PORT] [--network=NETWORK]
|
||||
[--network-endpoint-type=NETWORK_ENDPOINT_TYPE;
|
||||
default="gce-vm-ip-port"] [--psc-target-service=PSC_TARGET_SERVICE]
|
||||
|
|
@ -35,6 +36,17 @@ POSITIONAL ARGUMENTS
|
|||
Name of the network endpoint group to operate on.
|
||||
|
||||
FLAGS
|
||||
--client-port-mapping-mode=CLIENT_PORT_MAPPING_MODE
|
||||
Determines the spec of client port maping mode of this group. Port
|
||||
Mapping is a use case in which NEG specifies routing by mapping client
|
||||
ports to destinations (e.g. ip and port).
|
||||
|
||||
port-mapping-disabled
|
||||
Group should not be used for mapping client port to destination.
|
||||
|
||||
client-port-per-endpoint
|
||||
For each endpoint there is exactly one client port.
|
||||
|
||||
--default-port=DEFAULT_PORT
|
||||
The default port to use if the port number is not specified in the
|
||||
network endpoint.
|
||||
|
|
@ -56,8 +68,8 @@ FLAGS
|
|||
network is used if unspecified.
|
||||
|
||||
This is only supported for NEGs with endpoint type gce-vm-ip-port,
|
||||
non-gcp-private-ip-port, gce-vm-primary-ip, gce-vm-ip,
|
||||
private-service-connect, internet-ip-port, or internet-fqdn-port.
|
||||
non-gcp-private-ip-port, gce-vm-ip, private-service-connect,
|
||||
internet-ip-port, or internet-fqdn-port.
|
||||
|
||||
For Private Service Connect NEGs, you can optionally specify --network
|
||||
and --subnet if --psc-target-service points to a published service. If
|
||||
|
|
@ -96,29 +108,25 @@ FLAGS
|
|||
must be specified or every network endpoint in the network endpoint
|
||||
group must have a port specified.
|
||||
|
||||
gce-vm-primary-ip
|
||||
Endpoint IP address must be the primary IP of a VM's primary
|
||||
network interface in Compute Engine.
|
||||
|
||||
serverless
|
||||
The network endpoint is handled by specified serverless
|
||||
infrastructure, such as Cloud Run, App Engine, or Cloud Function.
|
||||
Default port, network, and subnet are not effective for serverless
|
||||
endpoints.
|
||||
|
||||
private-service-connect
|
||||
The network endpoint corresponds to a service outside the VPC,
|
||||
accessed via Private Service Connect.
|
||||
|
||||
gce-vm-ip
|
||||
Endpoint must be the IP address of a VM's network interface in
|
||||
Compute Engine. Instance reference is required. The IP address is
|
||||
optional. If unspecified, the primary NIC address is used. A port
|
||||
must not be specified.
|
||||
|
||||
private-service-connect
|
||||
The network endpoint corresponds to a service outside the VPC,
|
||||
accessed via Private Service Connect.
|
||||
|
||||
NETWORK_ENDPOINT_TYPE must be one of: gce-vm-ip-port,
|
||||
internet-ip-port, internet-fqdn-port, non-gcp-private-ip-port,
|
||||
gce-vm-primary-ip, serverless, gce-vm-ip, private-service-connect.
|
||||
serverless, gce-vm-ip, private-service-connect.
|
||||
|
||||
--psc-target-service=PSC_TARGET_SERVICE
|
||||
PSC target service name to add to the private service connect network
|
||||
|
|
@ -131,9 +139,9 @@ FLAGS
|
|||
region where the network endpoint group is created.
|
||||
|
||||
This is only supported for NEGs with endpoint type gce-vm-ip-port,
|
||||
gce-vm-primary-ip, gce-vm-ip, or private-service-connect. For Private
|
||||
Service Connect NEGs, you can optionally specify --network and --subnet
|
||||
if --psc-target-service points to a published service. If
|
||||
gce-vm-ip, or private-service-connect. For Private Service Connect
|
||||
NEGs, you can optionally specify --network and --subnet if
|
||||
--psc-target-service points to a published service. If
|
||||
--psc-target-service points to the regional service endpoint of a
|
||||
Google API, do not specify --network or --subnet.
|
||||
|
||||
|
|
|
|||
|
|
@ -112,19 +112,6 @@ REQUIRED FLAGS
|
|||
*port* - Required port of the network endpoint to attach unless
|
||||
the NEG default port is set.
|
||||
|
||||
gce-vm-primary-ip
|
||||
|
||||
*instance* - Required instance name in same zone as the network
|
||||
endpoint group.
|
||||
|
||||
The VM instance must belong to the network / subnetwork
|
||||
associated with the network endpoint group. If the VM instance
|
||||
is deleted, then any network endpoint group that has a reference
|
||||
to it is updated.
|
||||
|
||||
*ip* - Required IP address of the network endpoint to attach. The
|
||||
IP address must be the primary IP of a VM's network interface.
|
||||
|
||||
gce-vm-ip
|
||||
|
||||
*instance* - Required instance name in same zone as the network
|
||||
|
|
@ -187,15 +174,6 @@ REQUIRED FLAGS
|
|||
*port* - Required port of the network endpoint to detach unless
|
||||
NEG default port is set.
|
||||
|
||||
gce-vm-primary-ip
|
||||
|
||||
*instance* - Required name of the instance with endpoints to
|
||||
detach. If the IP address is unset, all endpoints for the
|
||||
instance in the NEG are detached.
|
||||
|
||||
*ip* - Required IP address of the network endpoint to attach. The
|
||||
IP address must be the VM network interface's primary IP address.
|
||||
|
||||
gce-vm-ip
|
||||
|
||||
*instance* - Required name of instance with endpoints to
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue