GetInstanceTemplateNetworkInterface constructor
- required Input<
List< accessConfigs,GetInstanceTemplateNetworkInterfaceAccessConfig> > - required Input<
List< aliasIpRanges,GetInstanceTemplateNetworkInterfaceAliasIpRange> > - required Input<
List< aliasIpv6Ranges,GetInstanceTemplateNetworkInterfaceAliasIpv6Range> > - required Input<
String> igmpQuery, - required Input<
int> internalIpv6PrefixLength, - required Input<
List< ipv6AccessConfigs,GetInstanceTemplateNetworkInterfaceIpv6AccessConfig> > - required Input<
String> ipv6AccessType, - required Input<
String> ipv6Address, - 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> stackType, - required Input<
String> subnetwork, - required Input<
String> subnetworkProject, - required Input<
int> vlan,
Creates a new GetInstanceTemplateNetworkInterface.
accessConfigs Access configurations, i.e. IPs via which this
aliasIpRanges An
aliasIpv6Ranges An array of alias IPv6 ranges for this network interface. Can only be specified for network interfaces on subnet-mode networks.
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.
name The name of the instance template. One of name, filter or selfLinkUnique must be provided.
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, 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.
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 of the subnetwork to attach this interface
subnetworkProject The ID of 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 GetInstanceTemplateNetworkInterface({
required this.accessConfigs,
required this.aliasIpRanges,
required this.aliasIpv6Ranges,
required this.igmpQuery,
required this.internalIpv6PrefixLength,
required this.ipv6AccessConfigs,
required this.ipv6AccessType,
required this.ipv6Address,
required this.name,
required this.network,
required this.networkAttachment,
required this.networkIp,
required this.nicType,
required this.parentNicName,
required this.queueCount,
required this.stackType,
required this.subnetwork,
required this.subnetworkProject,
required this.vlan,
});