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 public virtual interface. A virtual interface is the VLAN that transports Direct Connect traffic. A public virtual interface supports sending traffic to public services of Amazon Web Services such as Amazon S3.
When creating an IPv6 public virtual interface (addressFamily
is ipv6
),
leave the customer
and amazon
address fields blank to use auto-assigned
IPv6 space. Custom IPv6 addresses are not supported.
For .NET Core this operation is only available in asynchronous form. Please refer to CreatePublicVirtualInterfaceAsync.
Namespace: Amazon.DirectConnect
Assembly: AWSSDK.DirectConnect.dll
Version: 3.x.y.z
public abstract CreatePublicVirtualInterfaceResponse CreatePublicVirtualInterface( CreatePublicVirtualInterfaceRequest request )
Container for the necessary parameters to execute the CreatePublicVirtualInterface service method.
Exception | Condition |
---|---|
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. |
.NET Framework:
Supported in: 4.5 and newer, 3.5