VirtualInterface class

Information about a virtual interface.

  • @_s.JsonSerializable(includeIfNull: false, explicitToJson: true, createFactory: true, createToJson: false)


VirtualInterface({AddressFamily addressFamily, String amazonAddress, int amazonSideAsn, int asn, String authKey, String awsDeviceV2, List<BGPPeer> bgpPeers, String connectionId, String customerAddress, String customerRouterConfig, String directConnectGatewayId, bool jumboFrameCapable, String location, int mtu, String ownerAccount, String region, List<RouteFilterPrefix> routeFilterPrefixes, List<Tag> tags, String virtualGatewayId, String virtualInterfaceId, String virtualInterfaceName, VirtualInterfaceState virtualInterfaceState, String virtualInterfaceType, int vlan})
VirtualInterface.fromJson(Map<String, dynamic> json)


addressFamily AddressFamily
The address family for the BGP peer.
@_s.JsonKey(name: 'addressFamily'), final
amazonAddress String
The IP address assigned to the Amazon interface.
@_s.JsonKey(name: 'amazonAddress'), final
amazonSideAsn int
The autonomous system number (ASN) for the Amazon side of the connection.
@_s.JsonKey(name: 'amazonSideAsn'), final
asn int
The autonomous system (AS) number for Border Gateway Protocol (BGP) configuration. [...]
@_s.JsonKey(name: 'asn'), final
authKey String
The authentication key for BGP configuration. This string has a minimum length of 6 characters and and a maximun lenth of 80 characters.
@_s.JsonKey(name: 'authKey'), final
awsDeviceV2 String
The Direct Connect endpoint on which the virtual interface terminates.
@_s.JsonKey(name: 'awsDeviceV2'), final
bgpPeers List<BGPPeer>
The BGP peers configured on this virtual interface.
@_s.JsonKey(name: 'bgpPeers'), final
connectionId String
The ID of the connection.
@_s.JsonKey(name: 'connectionId'), final
customerAddress String
The IP address assigned to the customer interface.
@_s.JsonKey(name: 'customerAddress'), final
customerRouterConfig String
The customer router configuration.
@_s.JsonKey(name: 'customerRouterConfig'), final
directConnectGatewayId String
The ID of the Direct Connect gateway.
@_s.JsonKey(name: 'directConnectGatewayId'), final
hashCode int
The hash code for this object. [...]
read-only, inherited
jumboFrameCapable bool
Indicates whether jumbo frames (9001 MTU) are supported.
@_s.JsonKey(name: 'jumboFrameCapable'), final
location String
The location of the connection.
@_s.JsonKey(name: 'location'), final
mtu int
The maximum transmission unit (MTU), in bytes. The supported values are 1500 and 9001. The default value is 1500.
@_s.JsonKey(name: 'mtu'), final
ownerAccount String
The ID of the AWS account that owns the virtual interface.
@_s.JsonKey(name: 'ownerAccount'), final
region String
The AWS Region where the virtual interface is located.
@_s.JsonKey(name: 'region'), final
routeFilterPrefixes List<RouteFilterPrefix>
The routes to be advertised to the AWS network in this Region. Applies to public virtual interfaces.
@_s.JsonKey(name: 'routeFilterPrefixes'), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
tags List<Tag>
The tags associated with the virtual interface.
@_s.JsonKey(name: 'tags'), final
virtualGatewayId String
The ID of the virtual private gateway. Applies only to private virtual interfaces.
@_s.JsonKey(name: 'virtualGatewayId'), final
virtualInterfaceId String
The ID of the virtual interface.
@_s.JsonKey(name: 'virtualInterfaceId'), final
virtualInterfaceName String
The name of the virtual interface assigned by the customer network.
@_s.JsonKey(name: 'virtualInterfaceName'), final
virtualInterfaceState VirtualInterfaceState
The state of the virtual interface. The following are the possible values: [...]
@_s.JsonKey(name: 'virtualInterfaceState'), final
virtualInterfaceType String
The type of virtual interface. The possible values are private and public.
@_s.JsonKey(name: 'virtualInterfaceType'), final
vlan int
The ID of the VLAN.
@_s.JsonKey(name: 'vlan'), final


noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
toString() String
Returns a string representation of this object.


operator ==(Object other) bool
The equality operator. [...]