GetNetworkResult

data class GetNetworkResult(val driver: String, val id: String, val internal: Boolean, val ipamConfigs: List<GetNetworkIpamConfig>, val name: String, val options: Map<String, Any>, val scope: String)

A collection of values returned by getNetwork.

Constructors

Link copied to clipboard
constructor(driver: String, id: String, internal: Boolean, ipamConfigs: List<GetNetworkIpamConfig>, name: String, options: Map<String, Any>, scope: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The driver of the Docker network. Possible values are bridge, host, overlay, macvlan. See network docs for more details.

Link copied to clipboard
val id: String

The ID of this resource.

Link copied to clipboard

If true, the network is internal.

Link copied to clipboard

The IPAM configuration options

Link copied to clipboard

The name of the Docker network.

Link copied to clipboard

Only available with bridge networks. See bridge options docs for more details.

Link copied to clipboard

Scope of the network. One of swarm, global, or local.