NetworkArgs class

The set of arguments for Network. The set of arguments for Network.

Constructors

NetworkArgs({Input<bool?>? attachable, Input<String?>? driver, Input<bool?>? ingress, Input<bool?>? internal, Input<List<NetworkIpamConfig>?>? ipamConfigs, Input<String?>? ipamDriver, Input<Map<String, String>?>? ipamOptions, Input<bool?>? ipv6, Input<List<NetworkLabel>?>? labels, Input<String?>? name, Input<Map<String, String>?>? options})
Creates a new NetworkArgs. attachable Enable manual container attachment to the network. driver The driver of the Docker network. Possible values are bridge, host, overlay, macvlan. See network docs for more details. ingress Create swarm routing-mesh network. Defaults to false. internal Whether the network is internal. ipamConfigs The IPAM configuration options ipamDriver Driver used by the custom IP scheme of the network. Defaults to default ipamOptions Provide explicit options to the IPAM driver. Valid options vary with ipamDriver and refer to that driver's documentation for more details. ipv6 Enable IPv6 networking. Defaults to false. labels User-defined key/value metadata name The name of the Docker network. options Only available with bridge networks. See bridge options docs for more details.
const
NetworkArgs.fromMap(Map<String, dynamic> map)
factory

Properties

attachable → Input<bool?>?
Enable manual container attachment to the network.
final
driver → Input<String?>?
The driver of the Docker network. Possible values are bridge, host, overlay, macvlan. See network docs for more details.
final
hashCode → int
The hash code for this object.
no setterinherited
ingress → Input<bool?>?
Create swarm routing-mesh network. Defaults to false.
final
internal → Input<bool?>?
Whether the network is internal.
final
ipamConfigs → Input<List<NetworkIpamConfig>?>?
The IPAM configuration options
final
ipamDriver → Input<String?>?
Driver used by the custom IP scheme of the network. Defaults to default
final
ipamOptions → Input<Map<String, String>?>?
Provide explicit options to the IPAM driver. Valid options vary with ipamDriver and refer to that driver's documentation for more details.
final
ipv6 → Input<bool?>?
Enable IPv6 networking. Defaults to false.
final
labels → Input<List<NetworkLabel>?>?
User-defined key/value metadata
final
name → Input<String?>?
The name of the Docker network.
final
options → Input<Map<String, String>?>?
Only available with bridge networks. See bridge options docs for more details.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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