Returns a list of virtual private gateways owned by the AWS account.
You can create one or more AWS Direct Connect private virtual interfaces linking to a virtual private gateway. A virtual private gateway can be managed via Amazon Virtual Private Cloud (VPC) console or the EC2 CreateVpnGateway action.
 Declaration Syntax
 Declaration Syntax| C# | 
DescribeVirtualGatewaysResponse DescribeVirtualGateways()
 Return Value
 Return ValueThe response from the DescribeVirtualGateways service method, as returned by AmazonDirectConnect.
 Exceptions
 Exceptions| Exception | Condition | 
|---|---|
| DirectConnectServerException | |
| DirectConnectClientException |