NamespaceManagementNetworksCreateSpec

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


Properties

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.

Possible values are: NSXT_CONTAINER_PLUGINVSPHERE_NETWORK


vsphere_network Optional

The create spec for a DVPG-backed Namespaces network object, supported by VSPHERE_NETWORK network provider. This field is optional and it is only relevant when the value of Networks.CreateSpec.network-provider is VSPHERE_NETWORK.

JSON Example

{
	"network": "string",
	"network_provider": "NSXT_CONTAINER_PLUGIN"
}

Feedback

Was this page helpful?