NamespaceManagement_Networks_CreateSpec

NamespaceManagement_Networks_CreateSpec
NamespaceManagement_Networks_CreateSpec

The Networks.CreateSpec structure contains the specification required to create a vSphere Namespaces network object.

JSON Example
{
    "network": "string",
    "network_provider": "string",
    "vsphere_network": {
        "portgroup": "string",
        "ip_assignment_mode": "string",
        "address_ranges": [
            {
                "address": "string",
                "count": 0
            }
        ],
        "gateway": "string",
        "subnet_mask": "string"
    },
    "nsx_network": {
        "namespace_network_cidrs": [
            {
                "address": "string",
                "prefix": 0
            }
        ],
        "ingress_cidrs": [
            {
                "address": "string",
                "prefix": 0
            }
        ],
        "egress_cidrs": [
            {
                "address": "string",
                "prefix": 0
            }
        ],
        "nsx_tier0_gateway": "string",
        "subnet_prefix_length": 0,
        "routed_mode": false,
        "load_balancer_size": "string"
    }
}
string
network
Required

Identifier of the network. This has DNS_LABEL restrictions as specified in . This must be an alphanumeric (a-z and 0-9) string and with maximum length of 63 characters and with the '-' character allowed anywhere except the first or last character. This name must be unique within a cluster. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vcenter.namespace_management.Network.

network_provider
Required

Identifies the network plugin that cluster networking functionalities for this vSphere Namespaces Cluster.
NSXT_CONTAINER_PLUGIN : NSX-T Container Plugin.
VSPHERE_NETWORK : vSphere Networking.

vsphere_network
Optional

The Networks.VsphereDVPGNetworkCreateSpec structure describes the configuration specification of a vSphere DVPG-backed Namespaces Network object.

nsx_network
Optional

The Networks.NsxNetworkCreateSpec structure describes the configuration specification of a NSXT-backed Namespaces Network configuration.