NamespaceManagement_Clusters_NetworkSpec
The Clusters.NetworkSpec contains information related to network configuration for one or more interfaces.
{
"floating_IP": "string",
"network": "string",
"network_segment": {
"networks": [
"string"
]
},
"mode": "string",
"address_range": {
"starting_address": "string",
"address_count": 0,
"subnet_mask": "string",
"gateway": "string"
}
}
Optionally specify the Floating IP used by the cluster control plane in case of DHCP. If unset, the existing effective management network floating IP will be used.
Identifier for the network. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: Network. When operations return a value of this structure as a result, the field will be an identifier for the resource type: Network.
NetworkSegment structure represents a layer 2 broadcast domain.
The Clusters.NetworkSpec.Ipv4Mode enumerated type defines various IPv4 address assignment modes.
DHCP : The address is automatically assigned by a DHCP server.
STATICRANGE : The address is static.
The Clusters.Ipv4Range contains specification to configure multiple interfaces in IPv4. The range of IPv4 addresses is derived by incrementing the startingAddress to the specified addressCount. To use the object for a single IPv4 address specification, set addressCount to 1.