AWS SDK for .NET Documentation
VirtualInterface Class
AmazonAmazon.DirectConnect.ModelVirtualInterface Did this page help you?   Yes   No    Tell us about it...

A virtual interface (VLAN) transmits the traffic between the Direct Connect location and the customer.

Declaration Syntax
public class VirtualInterface
All MembersConstructorsMethodsProperties

Initializes a new instance of the VirtualInterface class

IP address assigned to the Amazon interface. Example:

Autonomous system (AS) number for Border Gateway Protocol (BGP) configuration Example: 65000

Authentication key for BGP configuration Example: asdf34example

ID of the connection. Example: dxcon-fg5678gh Default: None

IP address assigned to the customer interface. Example:

Information for generating the customer router configuration.

Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Serves as a hash function for a particular type.
(Inherited from Object.)
Gets the type of the current instance.
(Inherited from Object.)
Where the connection is located. Example: EqSV5 Default: None

A list of routes to be advertised to the AWS network in this region (public virtual interface) or your VPC (private virtual interface).

Returns a string that represents the current object.
(Inherited from Object.)
The ID of the virtual private gateway to a VPC. Only applies to private virtual interfaces. Example: vgw-123er56

ID of the virtual interface. Example: dxvif-123dfg56 Default: None

The name of the virtual interface assigned by the customer Example: "My VPC"

State of the virtual interface.
  • Confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.
  • Verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created.
  • Pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic.
  • Available: A virtual interface that is able to forward traffic.
  • Deleting: A virtual interface is in this state immediately after calling DeleteVirtualInterface until it can no longer forward traffic.
  • Deleted: A virtual interface that cannot forward traffic.
  • Rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in the 'Confirming' state is deleted by the virtual interface owner, the virtual interface will enter the 'Rejected' state.


Allowed Values
confirming, verifying, pending, available, deleting, deleted, rejected

The type of virtual interface Example: private (Amazon VPC) or public (Amazon S3, Amazon DynamoDB, etc.)

VLAN ID Example: 101

WithAmazonAddress(String) Obsolete.
Sets the AmazonAddress property

WithAsn(Int32) Obsolete.
Sets the Asn property

WithAuthKey(String) Obsolete.
Sets the AuthKey property

WithConnectionId(String) Obsolete.
Sets the ConnectionId property

WithCustomerAddress(String) Obsolete.
Sets the CustomerAddress property

WithCustomerRouterConfig(String) Obsolete.
Sets the CustomerRouterConfig property

WithLocation(String) Obsolete.
Sets the Location property

WithOwnerAccount(String) Obsolete.
Sets the OwnerAccount property

WithRouteFilterPrefixes(array<RouteFilterPrefix>[]()[][]) Obsolete.
Adds elements to the RouteFilterPrefixes collection

WithRouteFilterPrefixes(IEnumerable<(Of <<'(RouteFilterPrefix>)>>)) Obsolete.
Adds elements to the RouteFilterPrefixes collection

WithVirtualGatewayId(String) Obsolete.
Sets the VirtualGatewayId property

WithVirtualInterfaceId(String) Obsolete.
Sets the VirtualInterfaceId property

WithVirtualInterfaceName(String) Obsolete.
Sets the VirtualInterfaceName property

WithVirtualInterfaceState(String) Obsolete.
Sets the VirtualInterfaceState property

WithVirtualInterfaceType(String) Obsolete.
Sets the VirtualInterfaceType property

WithVlan(Int32) Obsolete.
Sets the Vlan property

Inheritance Hierarchy

Assembly: AWSSDK (Module: AWSSDK) Version: (