Network class

Extra network settings. Only applicable in the App Engine flexible environment.

Constructors

Network({Input<List<String>>? forwardedPorts, Input<NetworkInstanceIpMode>? instanceIpMode, Input<String>? instanceTag, Input<String>? name, Input<bool>? sessionAffinity, Input<String>? subnetworkName})
Creates a new Network. forwardedPorts List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment. instanceIpMode The IP mode for instances. Only applicable in the App Engine flexible environment. instanceTag Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment. name Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default. sessionAffinity Enable session affinity. Only applicable in the App Engine flexible environment. subnetworkName Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path.If a subnetwork name is specified, a network name will also be required unless it is for the default network. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be specified and the IP address is created from the IPCidrRange of the subnetwork.If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
const
Network.fromMap(Map<String, dynamic> map)
factory

Properties

forwardedPorts → Input<List<String>>?
List of ports, or port pairs, to forward from the virtual machine to the application container. Only applicable in the App Engine flexible environment.
final
hashCode → int
The hash code for this object.
no setterinherited
instanceIpMode → Input<NetworkInstanceIpMode>?
The IP mode for instances. Only applicable in the App Engine flexible environment.
final
instanceTag → Input<String>?
Tag to apply to the instance during creation. Only applicable in the App Engine flexible environment.
final
name → Input<String>?
Google Compute Engine network where the virtual machines are created. Specify the short name, not the resource path.Defaults to default.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionAffinity → Input<bool>?
Enable session affinity. Only applicable in the App Engine flexible environment.
final
subnetworkName → Input<String>?
Google Cloud Platform sub-network where the virtual machines are created. Specify the short name, not the resource path.If a subnetwork name is specified, a network name will also be required unless it is for the default network. If the network that the instance is being created in is a Legacy network, then the IP address is allocated from the IPv4Range. If the network that the instance is being created in is an auto Subnet Mode Network, then only network name should be specified (not the subnetwork_name) and the IP address is created from the IPCidrRange of the subnetwork that exists in that zone for that network. If the network that the instance is being created in is a custom Subnet Mode Network, then the subnetwork_name must be specified and the IP address is created from the IPCidrRange of the subnetwork.If specified, the subnetwork must exist in the same region as the App Engine flexible environment application.
final

Methods

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

Operators

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