- INFORMATION
-
gcloud alpha alloydb endpoints createis not available in universe domainuniverse. - NAME
-
- gcloud alpha alloydb endpoints create - creates a new AlloyDB endpoint
- SYNOPSIS
-
-
gcloud alpha alloydb endpoints createENDPOINT--endpoint-type=ENDPOINT_TYPE--region=REGION--target-instances=[TARGET_INSTANCES,…] [--async] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
-
(ALPHA)Creates a new AlloyDB endpoint. - EXAMPLES
-
To create a new write endpoint for an instance, run:
gcloud alpha 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 alpha and might change without notice. If this
command fails with API permission errors despite specifying the correct project,
you might be trying to access an API with an invitation-only early access
allowlist. This variant is also available:
gcloud beta alloydb endpoints create
gcloud alpha 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."],[],[]]