ComputeInstanceNetworkInterface class

One entry inside network_interface. At least one is required by GCP.

Annotations
  • @immutable

Constructors

ComputeInstanceNetworkInterface({TfArg<String>? network, TfArg<String>? subnetwork, TfArg<String>? subnetworkProject, TfArg<String>? networkIp, TfArg<String>? name, NicType? nicType, List<ComputeInstanceAccessConfig>? accessConfig, List<ComputeInstanceIpv6AccessConfig>? ipv6AccessConfig, List<ComputeInstanceAliasIpRange>? aliasIpRange})
const

Properties

accessConfig List<ComputeInstanceAccessConfig>?
Up to one access_config block enables an external IPv4 address.
final
aliasIpRange List<ComputeInstanceAliasIpRange>?
Alias IP ranges (typically GKE pod / service ranges).
final
hashCode int
The hash code for this object.
no setterinherited
ipv6AccessConfig List<ComputeInstanceIpv6AccessConfig>?
Up to one ipv6_access_config block enables an external IPv6 range.
final
name → TfArg<String>?
Interface name as observed inside the guest (nic0, nic1, ...).
final
network → TfArg<String>?
Network name or self-link. Mutually exclusive with subnetwork in auto-mode networks.
final
networkIp → TfArg<String>?
Internal IP within the subnet. When null, GCP assigns one.
final
nicType NicType?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
subnetwork → TfArg<String>?
Subnetwork name or self-link. Required for custom-mode networks.
final
subnetworkProject → TfArg<String>?
Host project of the subnetwork (Shared VPC).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toArgMap() Map<String, Object?>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited