NamespaceManagement_Networks_SetSpec

NamespaceManagement_Networks_SetSpec
NamespaceManagement_Networks_SetSpec

The Networks.SetSpec structure contains the specification required to set a new configuration of a vSphere Namespaces network object. This structure is applied in entirety, replacing the current specification fully.

JSON Example
{
    "network_provider": "string",
    "vsphere_network": {
        "portgroup": "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
            }
        ]
    }
}
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.VsphereDVPGNetworkSetSpec structure contains new configuration to set on an existing a vSphere DVPG-backed Namespaces Network object.

nsx_network
Optional

The Networks.NsxNetworkSetSpec structure contains new configuration to set on an existing NSXT-backed Namespaces Network configuration.