AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Creates a private virtual interface. A virtual interface is the VLAN that transports Direct Connect traffic. A private virtual interface can be connected to either a Direct Connect gateway or a Virtual Private Gateway (VGW). Connecting the private virtual interface to a Direct Connect gateway enables the possibility for connecting to multiple VPCs, including VPCs in different Amazon Web Services Regions. Connecting the private virtual interface to a VGW only provides access to a single VPC within the same Region.

Setting the MTU of a virtual interface to 9001 (jumbo frames) can cause an update to the underlying physical connection if it wasn't updated to support jumbo frames. Updating the connection disrupts network connectivity for all virtual interfaces associated with the connection for up to 30 seconds. To check whether your connection supports jumbo frames, call DescribeConnections. To check whether your virtual interface supports jumbo frames, call DescribeVirtualInterfaces.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to CreatePrivateVirtualInterfaceAsync.

Namespace: Amazon.DirectConnect
Assembly: AWSSDK.DirectConnect.dll
Version: 3.x.y.z

Syntax

C#
public abstract CreatePrivateVirtualInterfaceResponse CreatePrivateVirtualInterface(
         CreatePrivateVirtualInterfaceRequest request
)

Parameters

request
Type: Amazon.DirectConnect.Model.CreatePrivateVirtualInterfaceRequest

Container for the necessary parameters to execute the CreatePrivateVirtualInterface service method.

Return Value


The response from the CreatePrivateVirtualInterface service method, as returned by DirectConnect.

Exceptions

ExceptionCondition
DirectConnectClientException One or more parameters are not valid.
DirectConnectServerException A server-side error occurred.
DuplicateTagKeysException A tag key was specified more than once.
TooManyTagsException You have reached the limit on the number of tags that can be assigned.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also