gcloud compute interconnects attachments partner create NAME --edge-availability-domain=AVAILABILITY_DOMAIN --router=ROUTER [--candidate-cloud-router-ip-address=CANDIDATE_CLOUD_ROUTER_IP_ADDRESS] [--candidate-cloud-router-ipv6-address=CANDIDATE_CLOUD_ROUTER_IPV6_ADDRESS] [--candidate-customer-router-ip-address=CANDIDATE_CUSTOMER_ROUTER_IP_ADDRESS] [--candidate-customer-router-ipv6-address=CANDIDATE_CUSTOMER_ROUTER_IPV6_ADDRESS] [--description=DESCRIPTION] [--enable-admin] [--encryption=ENCRYPTION] [--ipsec-internal-addresses=[ADDRESSES]] [--mtu=MTU] [--region=REGION] [--resource-manager-tags=[KEY=VALUE,…]] [--stack-type=STACK_TYPE] [GCLOUD_WIDE_FLAG …]
gcloud compute interconnects attachments partner create is used to
create partner interconnect attachments. A partner interconnect attachment binds
the underlying connectivity of a provider's Interconnect to a path into and out
of the customer's cloud network.
NAME--edge-availability-domain=AVAILABILITY_DOMAINavailability-domain-1, availability-domain-2,
any.
In each metro where the Partner can connect to Google, there are two sets of redundant hardware. These sets are described as edge availability domain 1 and 2. Within a metro, Google will only schedule maintenance in one availability domain at a time. This guarantee does not apply to availability domains outside the metro; Google may perform maintenance in (say) New York availability domain 1 at the same time as Chicago availability domain 1.
AVAILABILITY_DOMAIN must be one of:
anyavailability-domain-1availability-domain-2--router=ROUTER--candidate-cloud-router-ip-address=CANDIDATE_CLOUD_ROUTER_IP_ADDRESS--candidate-cloud-router-ipv6-address=CANDIDATE_CLOUD_ROUTER_IPV6_ADDRESS--candidate-customer-router-ip-address=CANDIDATE_CUSTOMER_ROUTER_IP_ADDRESS--candidate-customer-router-ipv6-address=CANDIDATE_CUSTOMER_ROUTER_IPV6_ADDRESS--description=DESCRIPTION--enable-admin--encryption=ENCRYPTIONPossible values are:
NONE - This is the default value, which means the interconnect
attachment carries unencrypted traffic. VMs can send traffic to or receive
traffic from such interconnect attachment.
IPSEC - The interconnect attachment carries only traffic that is
encrypted by an IPsec device; for example, an HA VPN gateway or third-party
IPsec VPN. VMs cannot directly send traffic to or receive traffic from such an
interconnect attachment. To use HA VPN over Cloud Interconnect, the interconnect
attachment must be created with this option.
ENCRYPTION must be one of: IPSEC,
NONE.
--ipsec-internal-addresses=[ADDRESSES]--mtu=MTU--region=REGION
To avoid prompting when this flag is omitted, you can set the
property:
compute/region
gcloud config set compute/region REGIONA list of regions can be fetched by running:
gcloud compute regions listTo unset the property, run:
gcloud config unset compute/regionCLOUDSDK_COMPUTE_REGION.
--resource-manager-tags=[KEY=VALUE,…]--stack-type=STACK_TYPESTACK_TYPE must be one of:
IPV4_IPV6IPV4_ONLY--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.
gcloud alpha compute interconnects attachments partner creategcloud beta compute interconnects attachments partner creategcloud preview compute interconnects attachments partner 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-05-27 UTC.