InstanceTemplateNetworkInterfaceArgs

data class InstanceTemplateNetworkInterfaceArgs(val accessConfigs: Output<List<InstanceTemplateNetworkInterfaceAccessConfigArgs>>? = null, val aliasIpRanges: Output<List<InstanceTemplateNetworkInterfaceAliasIpRangeArgs>>? = null, val internalIpv6PrefixLength: Output<Int>? = null, val ipv6AccessConfigs: Output<List<InstanceTemplateNetworkInterfaceIpv6AccessConfigArgs>>? = null, val ipv6AccessType: Output<String>? = null, val ipv6Address: Output<String>? = null, val name: Output<String>? = null, val network: Output<String>? = null, val networkAttachment: Output<String>? = null, val networkIp: Output<String>? = null, val nicType: Output<String>? = null, val queueCount: Output<Int>? = null, val stackType: Output<String>? = null, val subnetwork: Output<String>? = null, val subnetworkProject: Output<String>? = null) : ConvertibleToJava<InstanceTemplateNetworkInterfaceArgs>

Constructors

Link copied to clipboard
constructor(accessConfigs: Output<List<InstanceTemplateNetworkInterfaceAccessConfigArgs>>? = null, aliasIpRanges: Output<List<InstanceTemplateNetworkInterfaceAliasIpRangeArgs>>? = null, internalIpv6PrefixLength: Output<Int>? = null, ipv6AccessConfigs: Output<List<InstanceTemplateNetworkInterfaceIpv6AccessConfigArgs>>? = null, ipv6AccessType: Output<String>? = null, ipv6Address: Output<String>? = null, name: Output<String>? = null, network: Output<String>? = null, networkAttachment: Output<String>? = null, networkIp: Output<String>? = null, nicType: Output<String>? = null, queueCount: Output<Int>? = null, stackType: Output<String>? = null, subnetwork: Output<String>? = null, subnetworkProject: Output<String>? = null)

Properties

Link copied to clipboard

Access configurations, i.e. IPs via which this instance can be accessed via the Internet. Omit to ensure that the instance is not accessible from the Internet (this means that ssh provisioners will not work unless you can send traffic to the instance's network (e.g. via tunnel or because it is running on another cloud instance on that network). This block can be specified once per network_interface. Structure documented below.

Link copied to clipboard

An array of alias IP ranges for this network interface. Can only be specified for network interfaces on subnet-mode networks. Structure documented below.

Link copied to clipboard
val internalIpv6PrefixLength: Output<Int>? = null

The prefix length of the primary internal IPv6 range.

Link copied to clipboard

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. Structure documented below.

Link copied to clipboard
val ipv6AccessType: Output<String>? = null

One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork.

Link copied to clipboard
val ipv6Address: Output<String>? = null

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.

Link copied to clipboard
val name: Output<String>? = null

The name of the instance template. If you leave this blank, the provider will auto-generate a unique name.

Link copied to clipboard
val network: Output<String>? = null

The name or self_link of the network to attach this interface to. Use network attribute for Legacy or Auto subnetted networks and subnetwork for custom subnetted networks.

Link copied to clipboard
val networkAttachment: Output<String>? = null

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}.

Link copied to clipboard
val networkIp: Output<String>? = null

The private IP address to assign to the instance. If empty, the address will be automatically assigned.

Link copied to clipboard
val nicType: Output<String>? = null

The type of vNIC to be used on this interface. Possible values: GVNIC, VIRTIO_NET, MRDMA, IRDMA.

Link copied to clipboard
val queueCount: Output<Int>? = null

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.

Link copied to clipboard
val stackType: Output<String>? = null

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.

Link copied to clipboard
val subnetwork: Output<String>? = null

the name of the subnetwork to attach this interface to. The subnetwork must exist in the same region this instance will be created in. Either network or subnetwork must be provided.

Link copied to clipboard
val subnetworkProject: Output<String>? = null

The ID of the project in which the subnetwork belongs. If it is not provided, the provider project is used.

Functions

Link copied to clipboard
open override fun toJava(): InstanceTemplateNetworkInterfaceArgs