GetNetworkResult constructor

const GetNetworkResult({
  1. List<GetNetworkContainer>? containers,
  2. String? driver,
  3. String? id,
  4. bool? internal,
  5. List<GetNetworkIpamConfig>? ipamConfigs,
  6. String? name,
  7. Map<String, String>? options,
  8. String? scope,
})

Creates a new GetNetworkResult. containers Containers attached to the network. driver The driver of the Docker network. Possible values are bridge, host, overlay, macvlan. See network docs for more details. id The ID of this resource. internal If true, the network is internal. ipamConfigs The IPAM configuration options name The name of the Docker network. options Only available with bridge networks. See bridge options docs for more details. scope Scope of the network. One of swarm, global, or local.

Implementation

const GetNetworkResult({
  this.containers,
  this.driver,
  this.id,
  this.internal,
  this.ipamConfigs,
  this.name,
  this.options,
  this.scope,
});