NamespaceManagement_Clusters_NetworkSpec

NamespaceManagement_Clusters_NetworkSpec
NamespaceManagement_Clusters_NetworkSpec

The Clusters.NetworkSpec contains information related to network configuration for one or more interfaces.

JSON Example
{
    "floating_IP": "string",
    "network": "string",
    "mode": "string",
    "address_range": {
        "starting_address": "string",
        "address_count": 0,
        "subnet_mask": "string",
        "gateway": "string"
    }
}
string
floating_IP
Optional

Optionally specify the Floating IP used by the HA master cluster in the DHCP case. This field is optional and it is only relevant when the value of Clusters.NetworkSpec.mode is DHCP.

string
network
Required

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.

mode
Required

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.

address_range
Optional

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.