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 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.

Note:

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

Syntax

C#
public abstract CreatePublicVirtualInterfaceResponse CreatePublicVirtualInterface(
         CreatePublicVirtualInterfaceRequest request
)

Parameters

request
Type: Amazon.DirectConnect.Model.CreatePublicVirtualInterfaceRequest

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

Return Value


The response from the CreatePublicVirtualInterface 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 and newer, 3.5

See Also