Class NetworkInfo
- Namespace
- Bielu.Microservices.Orchestrator.Models
- Assembly
- Bielu.Microservices.Orchestrator.dll
Represents information about a container network.
Mirrors the data exposed by the underlying runtime (e.g. Docker's NetworkResponse)
so callers have access to the full set of network attributes.
public class NetworkInfo
- Inheritance
-
NetworkInfo
- Inherited Members
Properties
Attachable
Whether a global / swarm scope network is manually attachable by regular containers from workers in swarm mode.
public bool Attachable { get; set; }
Property Value
ConfigOnly
Whether the network is a config-only network. Config-only networks are placeholder networks for network configurations to be used by other networks.
public bool ConfigOnly { get; set; }
Property Value
Containers
Endpoints currently attached to the network, keyed by container id.
Mirrors NetworkResponse.Containers and is used to determine which
IP addresses are already in use when allocating the next free IP.
public IDictionary<string, NetworkEndpointInfo> Containers { get; set; }
Property Value
Created
Date and time at which the network was created.
public DateTime? Created { get; set; }
Property Value
Driver
The driver used by the network (e.g., bridge, overlay).
public string Driver { get; set; }
Property Value
EnableIPv4
Whether the network was created with IPv4 enabled.
public bool EnableIPv4 { get; set; }
Property Value
EnableIPv6
Whether the network was created with IPv6 enabled.
public bool EnableIPv6 { get; set; }
Property Value
Id
The unique identifier of the network.
public string Id { get; set; }
Property Value
Ingress
Whether the network is providing the routing-mesh for the swarm cluster.
public bool Ingress { get; set; }
Property Value
Internal
Whether the network is created to only allow internal networking connectivity.
public bool Internal { get; set; }
Property Value
Ipam
IP Address Management configuration for the network.
public NetworkIpamInfo? Ipam { get; set; }
Property Value
Labels
Labels associated with the network.
public IDictionary<string, string> Labels { get; set; }
Property Value
Name
The name of the network.
public string Name { get; set; }
Property Value
Options
Network-specific options used when creating the network.
public IDictionary<string, string> Options { get; set; }
Property Value
Scope
The level at which the network exists (e.g. swarm for cluster-wide,
or local for machine level).
public string Scope { get; set; }