- NAME
-
- gcloud beta network-connectivity regional-endpoints create - create a new regional endpoint
- SYNOPSIS
-
-
gcloud beta network-connectivity regional-endpoints create
(REGIONAL_ENDPOINT
:--region
=REGION
)--target-google-api
=TARGET_GOOGLE_API
[--address
=ADDRESS
] [--async
] [--description
=DESCRIPTION
] [--enable-global-access
] [--labels
=[KEY
=VALUE
,…]] [--network
=NETWORK
] [--subnetwork
=SUBNETWORK
] [GCLOUD_WIDE_FLAG …
]
-
- DESCRIPTION
-
(BETA)
Create a new regional endpoint with the given name. - EXAMPLES
-
To create a regional endpoint with the name 'my-regional-endpoint' in
us-central1 targeting my-target-endpoint, run:
gcloud beta network-connectivity regional-endpoints create my-regional-endpoint --region=us-central1 [--network=my-network] [--subnetwork=my-subnet] --target-google-api=my-target-endpoint [--enable-global-access]
- POSITIONAL ARGUMENTS
-
-
RegionalEndpoint resource - Name of the regional endpoint to be created. The
arguments in this group can be used to specify the attributes of this resource.
(NOTE) Some attributes are not given arguments in this group but can be set in
other ways.
To set the
project
attribute:-
provide the argument
regional_endpoint
on the command line with a fully specified name; -
provide the argument
--project
on the command line; -
set the property
core/project
.
This must be specified.
REGIONAL_ENDPOINT
-
ID of the regionalEndpoint or fully qualified identifier for the
regionalEndpoint.
To set the
regional_endpoint
attribute:-
provide the argument
regional_endpoint
on the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--region
=REGION
-
The location Id.
To set the
region
attribute:-
provide the argument
regional_endpoint
on the command line with a fully specified name; -
provide the argument
--region
on the command line.
-
provide the argument
-
provide the argument
-
RegionalEndpoint resource - Name of the regional endpoint to be created. The
arguments in this group can be used to specify the attributes of this resource.
(NOTE) Some attributes are not given arguments in this group but can be set in
other ways.
- REQUIRED FLAGS
-
--target-google-api
=TARGET_GOOGLE_API
- The service endpoint the regional endpoint will connect to.
- OPTIONAL FLAGS
-
--address
=ADDRESS
-
The IP Address of the Regional Endpoint. When no address is provided, an IP from
the subnetwork is allocated. Use one of the following formats:\ * IPv4 address
as in
10.0.0.1
* Address resource URI as inprojects/{project}/regions/{region}/addresses/{address_name}
for an IPv4 or IPv6 address. --async
- Return immediately, without waiting for the operation in progress to complete.
--description
=DESCRIPTION
- Description of the regional endpoint.
--enable-global-access
- Whether the REGIONAL or GLOBAL access is enabled.
--labels
=[KEY
=VALUE
,…]-
List of label KEY=VALUE pairs to add.
Keys must start with a lowercase character and contain only hyphens (
-
), underscores (_
), lowercase characters, and numbers. Values must contain only hyphens (-
), underscores (_
), lowercase characters, and numbers. --network
=NETWORK
- Consumer's VPC network that this regional endpoint belongs to.
--subnetwork
=SUBNETWORK
- The name of the subnetwork from which the IP address will be allocated.
- GCLOUD WIDE FLAGS
-
These flags are available to all commands:
--access-token-file
,--account
,--billing-project
,--configuration
,--flags-file
,--flatten
,--format
,--help
,--impersonate-service-account
,--log-http
,--project
,--quiet
,--trace-token
,--user-output-enabled
,--verbosity
.Run
$ gcloud help
for details. - API REFERENCE
-
This command uses the
networkconnectivity/v1beta
API. The full documentation for this API can be found at: https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest - NOTES
-
This command is currently in beta and might change without notice. This variant
is also available:
gcloud network-connectivity regional-endpoints create
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.