網頁

2023/2/13

GCP gcloud CLI 建立GCP Partner Interconnect connection VLAN Attachment

GCP gcloud cli建立Partner Interconnect connection的VLAN attachment。


範例環境:

  • Google Cloud SDK 417.0.1

在命令列輸入gcloud compute interconnects attachments partner create命令來建立Partner Interconnect connection的VLAN attachment如下。

% gcloud compute interconnects attachments partner create demo-vlan-a-002 \
    --region asia-east1 \
    --router demo-cloudrouter-002 \
    --edge-availability-domain availability-domain-1
Created [https://www.googleapis.com/compute/v1/projects/project-id-1/regions/asia-east1/interconnectAttachments/demo-vlan-a-002].
      Please use the pairing key to provision the attachment with your partner:
      10586a79-8cbc-4de3-b4e1-c6c4a4030015/asia-east1/1

在GCP console檢視建立的VLAN attachment。




沒有留言:

張貼留言