dsdk / v1.47 / NetworkCreateData
Type Alias: NetworkCreateData ​
NetworkCreateData:
object
Type declaration ​
Name | Type | Description |
---|---|---|
body | object | Network configuration |
body.Attachable ? | boolean | Globally scoped network is manually attachable by regular containers from workers in swarm mode. |
body.ConfigFrom ? | ConfigReference | Specifies the source which will provide the configuration for this network. The specified network must be an existing config-only network; see ConfigOnly. |
body.ConfigOnly ? | boolean | Creates a config-only network. Config-only networks are placeholder networks for network configurations to be used by other networks. Config-only networks cannot be used directly to run containers or services. |
body.Driver ? | string | Name of the network driver plugin to use. |
body.EnableIPv4 ? | boolean | Enable IPv4 on the network. To disable IPv4, the daemon must be started with experimental features enabled. |
body.EnableIPv6 ? | boolean | Enable IPv6 on the network. |
body.Ingress ? | boolean | Ingress network is the network which provides the routing-mesh in swarm mode. |
body.Internal ? | boolean | Restrict external access to the network. |
body.IPAM ? | IPAM | Optional custom IP scheme for the network. |
body.Labels ? | object | User-defined key/value metadata. |
body.Name | string | The network's name. |
body.Options ? | object | Network specific options to be used by the drivers. |
body.Scope ? | string | The level at which the network exists (e.g. swarm for cluster-wide or local for machine level). |