DescribeDirectConnectGatewayAttachments#

Description#

Returns the list of the virtual interface attachments to the Direct Connect gateways.

Request Parameters#

  • directConnectGatewayId — The ID of the Direct Connect gateway.

    • Type: String

    • Required: No

  • virtualInterfaceId — The ID of the virtual interface.

    • Type: String

    • Required: No

Response Elements#

  • directConnectGatewayAttachments — The list of the virtual interface attachments to the Direct Connect gateways.

Examples#

Request

https://directconnect.k2.cloud/?Action=DescribeDirectConnectGatewayAttachments
&directConnectGatewayId=dxgw-A1BF7297
&virtualInterfaceId=dxvif-BCD785E0

Response

{
    "directConnectGatewayAttachments": [
        {
            "directConnectGatewayId": "dxgw-A1BF7297",
            "virtualInterfaceId": "dxvif-BCD785E0",
            "virtualInterfaceOwnerAccount": "user-1@c2dev",
            "attachmentState": "attached",
            "attachmentType": "transitVirtualInterface"
        }
    ]
}
c2-dc DescribeDirectConnectGatewayAttachments directConnectGatewayId dxgw-A1BF7297

c2-dc DescribeDirectConnectGatewayAttachments virtualInterfaceId dxvif-BCD785E0

c2-dc DescribeDirectConnectGatewayAttachments directConnectGatewayId dxgw-A1BF7297 virtualInterfaceId dxvif-BCD785E0