NetworkArgs constructor

const NetworkArgs({
  1. Input<bool?>? attachable,
  2. Input<String?>? driver,
  3. Input<bool?>? ingress,
  4. Input<bool?>? internal,
  5. Input<List<NetworkIpamConfig>?>? ipamConfigs,
  6. Input<String?>? ipamDriver,
  7. Input<Map<String, String>?>? ipamOptions,
  8. Input<bool?>? ipv6,
  9. Input<List<NetworkLabel>?>? labels,
  10. Input<String?>? name,
  11. 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.

Implementation

const NetworkArgs({
  this.attachable,
  this.driver,
  this.ingress,
  this.internal,
  this.ipamConfigs,
  this.ipamDriver,
  this.ipamOptions,
  this.ipv6,
  this.labels,
  this.name,
  this.options,
});