InstanceFromMachineImageNetworkInterface

data class InstanceFromMachineImageNetworkInterface(val accessConfigs: List<InstanceFromMachineImageNetworkInterfaceAccessConfig>? = null, val aliasIpRanges: List<InstanceFromMachineImageNetworkInterfaceAliasIpRange>? = null, val internalIpv6PrefixLength: Int? = null, val ipv6AccessConfigs: List<InstanceFromMachineImageNetworkInterfaceIpv6AccessConfig>? = null, val ipv6AccessType: String? = null, val ipv6Address: String? = null, val name: String? = null, val network: String? = null, val networkAttachment: String? = null, val networkIp: String? = null, val nicType: String? = null, val queueCount: Int? = null, val securityPolicy: String? = null, val stackType: String? = null, val subnetwork: String? = null, val subnetworkProject: String? = null)

Constructors

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

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Access configurations, i.e. IPs via which this instance can be accessed via the Internet.

Link copied to clipboard

An array of alias IP ranges for this network interface.

Link copied to clipboard

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.

Link copied to clipboard
val ipv6AccessType: 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: 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: String? = null

A unique name for the resource, required by GCE. Changing this forces a new resource to be created.

Link copied to clipboard
val network: String? = null

The name or self_link of the network attached to this interface.

Link copied to clipboard

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: String? = null

The private IP address assigned to the instance.

Link copied to clipboard
val nicType: String? = null

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

Link copied to clipboard
val queueCount: 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 securityPolicy: String? = null

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.

Link copied to clipboard
val stackType: String? = null

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.

Link copied to clipboard
val subnetwork: String? = null

The name or self_link of the subnetwork attached to this interface.

Link copied to clipboard

The project in which the subnetwork belongs.