InstanceNetworkInterface constructor

const InstanceNetworkInterface({
  1. Input<List<InstanceNetworkInterfaceAccessConfig>?>? accessConfigs,
  2. Input<List<InstanceNetworkInterfaceAliasIpRange>?>? aliasIpRanges,
  3. Input<List<InstanceNetworkInterfaceAliasIpv6Range>?>? aliasIpv6Ranges,
  4. Input<String?>? igmpQuery,
  5. Input<int?>? internalIpv6PrefixLength,
  6. Input<List<InstanceNetworkInterfaceIpv6AccessConfig>?>? ipv6AccessConfigs,
  7. Input<String?>? ipv6AccessType,
  8. Input<String?>? ipv6Address,
  9. Input<String?>? macAddress,
  10. Input<String?>? name,
  11. Input<String?>? network,
  12. Input<String?>? networkAttachment,
  13. Input<String?>? networkIp,
  14. Input<String?>? nicType,
  15. Input<String?>? parentNicName,
  16. Input<int?>? queueCount,
  17. Input<String?>? securityPolicy,
  18. Input<String?>? stackType,
  19. Input<String?>? subnetwork,
  20. Input<String?>? subnetworkProject,
  21. Input<int?>? vlan,
})

Creates a new InstanceNetworkInterface. accessConfigs Access configurations, i.e. IPs via which this aliasIpRanges An aliasIpv6Ranges Beta An 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. ipv6AccessType One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. 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 Beta MAC address assigned to this network interface name A unique name for the resource, required by GCE. network The name or selfLink of the network to attach this interface to. networkAttachment The URL of the network attachment that this interface should connect to in the following format: projects/{projectNumber}/regions/{region_name}/networkAttachments/{network_attachment_name}. networkIp The private IP address to assign to the instance. If nicType The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, IDPF, MRDMA, IRDMA, 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 Beta 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. Values are IPV4_IPV6, IPV6_ONLY or IPV4_ONLY. If not specified, IPV4_ONLY will be used. subnetwork The name or selfLink of the subnetwork to attach this 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.

Implementation

const InstanceNetworkInterface({
  this.accessConfigs,
  this.aliasIpRanges,
  this.aliasIpv6Ranges,
  this.igmpQuery,
  this.internalIpv6PrefixLength,
  this.ipv6AccessConfigs,
  this.ipv6AccessType,
  this.ipv6Address,
  this.macAddress,
  this.name,
  this.network,
  this.networkAttachment,
  this.networkIp,
  this.nicType,
  this.parentNicName,
  this.queueCount,
  this.securityPolicy,
  this.stackType,
  this.subnetwork,
  this.subnetworkProject,
  this.vlan,
});