- INFORMATION
-
gcloud beta alloydb endpoints createis not available in universe domainuniverse. - NAME
-
- gcloud beta alloydb endpoints create - creates a new AlloyDB endpoint
- SYNOPSIS
-
-
gcloud beta alloydb endpoints createENDPOINT--endpoint-type=ENDPOINT_TYPE--region=REGION--target-instances=[TARGET_INSTANCES,…] [--async] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(BETA)Creates a new AlloyDB endpoint. - EXAMPLES
-
To create a new write endpoint for an instance, run:
gcloud beta alloydb endpoints create my-endpoint --region=us-central1 --endpoint-type=WRITE_ENDPOINT --target-instances=projects/my-project/locations/us-central1/clusters/my-cluster/instances/my-instance - POSITIONAL ARGUMENTS
-
ENDPOINT- AlloyDB endpoint ID
- REQUIRED FLAGS
-
--endpoint-type=ENDPOINT_TYPE-
Specifies endpoint type.
ENDPOINT_TYPEmust be (only one value is supported):WRITE_ENDPOINT- Provide a consistent connection point that always directs traffic to the instance. The write endpoint can serve both read and write traffic.
--region=REGION-
Regional location (e.g.
asia-east1,us-east1). See the full list of regions at https://cloud.google.com/sql/docs/instance-locations. --target-instances=[TARGET_INSTANCES,…]-
Comma-separated list of target instances that the endpoint will direct traffic
to.For example,
--target-instances=projects/my-project/locations/us-central1/clusters/my-cluster/instances/my-instance.For WRITE endpoint, only one target instance is allowed.
- OPTIONAL FLAGS
-
--async- Return immediately, without waiting for the operation in progress to complete.
- 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 helpfor details. - NOTES
-
This command is currently in beta and might change without notice. This variant
is also available:
gcloud alpha alloydb endpoints create
gcloud beta alloydb 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 2026-06-30 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-06-30 UTC."],[],[]]