The networks available within Rancher that containers could be launched on.
Field | Type | Create | Update | Default | Notes |
---|---|---|---|---|---|
defaultPolicyAction | enum | Optional | Yes | allow | The options are allow , deny . |
description | string | Optional | Yes | - | |
dns | array[string] | Optional | - | - | |
dnsSearch | array[string] | Optional | - | - | |
hostPorts | boolean | Optional | - | - | |
metadata | map[json] | Optional | Yes | - | |
name | string | Optional | Yes | - | |
networkDriverId | networkDriver | Yes | - | - | |
policy | array[networkPolicyRule] | Optional | Yes | - | |
subnets | array[subnet] | Optional | - | - |
Field | Type | Notes |
---|---|---|
data | map[json] | |
id | int | The unique identifier for the network |
Please read more about the common resource fields. These fields are read only and applicable to almost every resource. We have segregated them from the list above.