GetInstanceNetworkInterface class

Constructors

GetInstanceNetworkInterface({required Input<List<GetInstanceNetworkInterfaceAccessConfig>> accessConfigs, required Input<List<GetInstanceNetworkInterfaceAliasIpRange>> aliasIpRanges, required Input<List<GetInstanceNetworkInterfaceAliasIpv6Range>> aliasIpv6Ranges, required Input<String> igmpQuery, required Input<int> internalIpv6PrefixLength, required Input<List<GetInstanceNetworkInterfaceIpv6AccessConfig>> ipv6AccessConfigs, required Input<String> ipv6AccessType, required Input<String> ipv6Address, required Input<String> macAddress, required Input<String> name, required Input<String> network, required Input<String> networkAttachment, required Input<String> networkIp, required Input<String> nicType, required Input<String> parentNicName, required Input<int> queueCount, required Input<String> securityPolicy, required Input<String> stackType, required Input<String> subnetwork, required Input<String> subnetworkProject, required Input<int> vlan})
Creates a new GetInstanceNetworkInterface. accessConfigs Access configurations, i.e. IPs via which this aliasIpRanges An array of alias IP ranges for this network interface. Structure documented below. aliasIpv6Ranges An array of IPv6 alias IP ranges for this network interface. igmpQuery Indicates whether igmp query is enabled on the network interface or not. If enabled, also indicates the version of IGMP supported. internalIpv6PrefixLength The prefix length of the primary internal IPv6 range. ipv6AccessConfigs An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access. ipv6AccessType One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. ipv6Address An IPv6 internal network address for this network interface. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork. macAddress MAC address assigned to this network interface. name The name of the instance. One of name or selfLink must be provided. network The name or selfLink of the network attached to this interface. networkAttachment The URL of the network attachment to this interface. networkIp The internal ip address of the instance, either manually or dynamically assigned. nicType The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, IRDMA and IDPF parentNicName Name of the parent network interface of a dynamic network interface. queueCount The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified. securityPolicy A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy. stackType The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. subnetwork The name or selfLink of the subnetwork attached to this interface. subnetworkProject The project in which the subnetwork belongs. vlan VLAN tag of a dynamic network interface, must be an integer in the range from 2 to 255 inclusively.
const
GetInstanceNetworkInterface.fromMap(Map<String, dynamic> map)
factory

Properties

accessConfigs → Input<List<GetInstanceNetworkInterfaceAccessConfig>>
Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Structure documented below.
final
aliasIpRanges → Input<List<GetInstanceNetworkInterfaceAliasIpRange>>
An array of alias IP ranges for this network interface. Structure documented below.
final
aliasIpv6Ranges → Input<List<GetInstanceNetworkInterfaceAliasIpv6Range>>
An array of IPv6 alias IP ranges for this network interface.
final
hashCode → int
The hash code for this object.
no setterinherited
igmpQuery → Input<String>
Indicates whether igmp query is enabled on the network interface or not. If enabled, also indicates the version of IGMP supported.
final
internalIpv6PrefixLength → Input<int>
The prefix length of the primary internal IPv6 range.
final
ipv6AccessConfigs → Input<List<GetInstanceNetworkInterfaceIpv6AccessConfig>>
An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access.
final
ipv6AccessType → Input<String>
One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.
final
ipv6Address → Input<String>
An IPv6 internal network address for this network interface. If not specified, Google Cloud will automatically assign an internal IPv6 address from the instance's subnetwork.
final
macAddress → Input<String>
MAC address assigned to this network interface.
final
name → Input<String>
The name of the instance. One of name or selfLink must be provided.
final
network → Input<String>
The name or selfLink of the network attached to this interface.
final
networkAttachment → Input<String>
The URL of the network attachment to this interface.
final
networkIp → Input<String>
The internal ip address of the instance, either manually or dynamically assigned.
final
nicType → Input<String>
The type of vNIC to be used on this interface. Possible values:GVNIC, VIRTIO_NET, IDPF, MRDMA, IRDMA and IDPF
final
parentNicName → Input<String>
Name of the parent network interface of a dynamic network interface.
final
queueCount → Input<int>
The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It will be empty if not specified.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
securityPolicy → Input<String>
A full or partial URL to a security policy to add to this instance. If this field is set to an empty string it will remove the associated security policy.
final
stackType → Input<String>
The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used.
final
subnetwork → Input<String>
The name or selfLink of the subnetwork attached to this interface.
final
subnetworkProject → Input<String>
The project in which the subnetwork belongs.
final
vlan → Input<int>
VLAN tag of a dynamic network interface, must be an integer in the range from 2 to 255 inclusively.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited