[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-09-05 (世界標準時間)。"],[],[],null,["# Delete VLAN attachments\n\nTo remove a connection between a Google Virtual Private Cloud (VPC) network and a\nDedicated Interconnect connection, you delete the related VLAN\nattachment (also known as an `interconnectAttachment`). After you delete the\nattachment, no traffic can travel between the VPC network and\nyour on-premises network through the connection, and BGP sessions that use the\nattachment go down.\n\nBilling for the VLAN attachment stops when you delete it; however, you're still\nbilled for the Dedicated Interconnect connection, even if no\ntraffic is passing through it.\n\n#### Permissions required for this task\n\nTo perform this task, you must have been granted the following permissions\n*or* the following Identity and Access Management (IAM) roles.\n\n**Permissions**\n\n- `compute.interconnectAttachments.delete`\n\n**Roles**\n\n- `roles/owner`\n- `roles/editor`\n- `roles/compute.networkAdmin` \n\n### Console\n\n1. In the Google Cloud console, go to the Cloud Interconnect **VLAN\n attachments** tab.\n\n [Go to VLAN attachments](https://console.cloud.google.com/hybrid/interconnects/list)\n2. Select the VLAN attachment to delete.\n\n3. On the **VLAN attachment details** page, click **Delete**.\n\n4. Click **Delete** to confirm.\n\n### gcloud\n\nDelete attachments by providing the name of the attachment to delete: \n\n```\ngcloud compute interconnects attachments delete NAME\n```\n\nWhat's next\n-----------\n\n- To delete a Dedicated Interconnect connection, see [Delete\n connections](/network-connectivity/docs/interconnect/how-to/dedicated/deleting-interconnects).\n\n- To create a Dedicated Interconnect, see the\n [Dedicated Interconnect provisioning\n overview](/network-connectivity/docs/interconnect/how-to/dedicated/provisioning-overview).\n\n- To learn more about Cloud Interconnect options, see the\n [Cloud Interconnect overview](/network-connectivity/docs/interconnect/concepts/overview).\n\n- To help you solve common issues that you might encounter when using\n Cloud Interconnect, see\n [Troubleshooting](/network-connectivity/docs/interconnect/support/troubleshooting)."]]