NetworkInterfaceSubInterfaceResponse constructor

const NetworkInterfaceSubInterfaceResponse({
  1. required Input<String> ipAddress,
  2. required Input<String> ipAllocationMode,
  3. required Input<String> subnetwork,
  4. required Input<int> vlan,
})

Creates a new NetworkInterfaceSubInterfaceResponse. ipAddress An IPv4 internal IP address to assign to the instance for this subinterface. If specified, ip_allocation_mode should be set to ALLOCATE_IP. ipAllocationMode Required. subnetwork 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 vlan VLAN tag. Should match the VLAN(s) supported by the subnetwork to which this subinterface is connecting.

Implementation

const NetworkInterfaceSubInterfaceResponse({
  required this.ipAddress,
  required this.ipAllocationMode,
  required this.subnetwork,
  required this.vlan,
});