NetworkInterfaceSubInterfaceArgs

data class NetworkInterfaceSubInterfaceArgs(val ipAddress: Output<String>? = null, val ipAllocationMode: Output<NetworkInterfaceSubInterfaceIpAllocationMode>? = null, val subnetwork: Output<String>? = null, val vlan: Output<Int>? = null) : ConvertibleToJava<NetworkInterfaceSubInterfaceArgs>

Constructors

Link copied to clipboard
fun NetworkInterfaceSubInterfaceArgs(ipAddress: Output<String>? = null, ipAllocationMode: Output<NetworkInterfaceSubInterfaceIpAllocationMode>? = null, subnetwork: Output<String>? = null, vlan: Output<Int>? = null)

Functions

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

Properties

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

An IPv4 internal IP address to assign to the instance for this subinterface. If specified, ip_allocation_mode should be set to ALLOCATE_IP.

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

If specified, this subnetwork must belong to the same network as that of the network interface. If not specified the subnet of network interface will be used. If you specify this property, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - https://www.googleapis.com/compute/v1/projects/project/regions/region /subnetworks/subnetwork - regions/region/subnetworks/subnetwork

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

VLAN tag. Should match the VLAN(s) supported by the subnetwork to which this subinterface is connecting.