DockerSdk
the .NET SDK for Docker
|
Provides detailed information about a Docker network. More...
Properties | |
IReadOnlyList< IContainer > | AttachedContainers [get] |
Gets the containers that are attached to the network. More... | |
DateTimeOffset | CreationTime [get] |
Gets the date and time at which the network was created. More... | |
IReadOnlyList< INetworkEndpoint > | Endpoints [get] |
Gets the endpoints that exist for the network. An endpoint defines an attachment point between a network and a container. More... | |
IReadOnlyDictionary< ContainerName, INetworkEndpoint > | EndpointsByContainerName [get] |
Gets a mapping from container names to endpoints. An endpoint defines an attachment point between a network and a container. More... | |
string | IpamDriverName [get] |
Gets the type of Docker IPAM driver that the network uses. More... | |
IReadOnlyDictionary< string, string > | IpamDriverOptions [get] |
Gets a list of the options provided to the network's IPAM driver. More... | |
bool | IsAttachable [get] |
Gets a value indicating whether the network can be attached to a container. More... | |
bool | IsIngress [get] |
Gets a value indicating whether the network is a swarm routing-mesh network. More... | |
bool | IsInternalOnly [get] |
Gets a value indicating whether the network is "internal". More... | |
bool | IsIPv6Enabled [get] |
Gets a value indicating whether IPv6 networking is enabled. More... | |
IReadOnlyDictionary< string, string > | Labels [get] |
Gets the labels and their values that have been applied to the network. More... | |
NetworkName | Name [get] |
Gets the network's name. More... | |
string | NetworkDriverName [get] |
Gets the string identifier for the network driver that operates this network. More... | |
IReadOnlyDictionary< string, string > | NetworkDriverOptions [get] |
Gets a list of the options provided to the network driver. More... | |
IReadOnlyList< NetworkPool > | Pools [get] |
Gets the address pools that the IPAM driver can use when assigning IP addresses. More... | |
NetworkScope | Scope [get] |
Gets the network's scope. More... | |
![]() | |
NetworkFullId | Id [get] |
Gets the networks's full ID. More... | |
Additional Inherited Members | |
![]() | |
Task | AttachAsync (ContainerReference container, CancellationToken ct=default) |
Attaches the network to a Docker container. More... | |
Task | AttachAsync (ContainerReference container, AttachNetworkOptions options, CancellationToken ct=default) |
Attaches the network to a Docker container. More... | |
Task | AttachAsync (string container, CancellationToken ct=default) |
Attaches the network to a Docker container. More... | |
Task | AttachAsync (string container, AttachNetworkOptions options, CancellationToken ct=default) |
Attaches the network to a Docker container. More... | |
Task< INetworkInfo > | GetDetailsAsync (CancellationToken ct=default) |
Loads detailed information about the Docker network. More... | |
Provides detailed information about a Docker network.
This class holds a snapshot in time. Its information is immutable once created.
|
get |
Gets the containers that are attached to the network.
|
get |
Gets the date and time at which the network was created.
|
get |
Gets the endpoints that exist for the network. An endpoint defines an attachment point between a network and a container.
|
get |
Gets a mapping from container names to endpoints. An endpoint defines an attachment point between a network and a container.
|
get |
Gets the type of Docker IPAM driver that the network uses.
|
get |
Gets a list of the options provided to the network's IPAM driver.
|
get |
Gets a value indicating whether the network can be attached to a container.
|
get |
Gets a value indicating whether the network is a swarm routing-mesh network.
There can only be one ingress network at a time. Ingress networks can only be swarm-scoped, and cannot be attachable.
|
get |
Gets a value indicating whether the network is "internal".
By default, when you connect a container to a network, Docker also connects it to the Internet. Creating the network as internal prevents that.
|
get |
Gets a value indicating whether IPv6 networking is enabled.
|
get |
Gets the labels and their values that have been applied to the network.
|
get |
Gets the network's name.
|
get |
Gets the string identifier for the network driver that operates this network.
Built-in network drivers include "bridge", "overlay", "macvlan", and "none". Docker plugins may provide additional network drivers.
|
get |
Gets a list of the options provided to the network driver.
|
get |
Gets the address pools that the IPAM driver can use when assigning IP addresses.
|
get |
Gets the network's scope.