Network

The networks available within Rancher that containers could be launched on.

Resource Fields

Writeable Fields

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 - -  

Read Only Fields

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.

Edit this page