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

The network provider that will manage the vSphere Namespaces network object.


nsx_network Optional

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


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": "enum"
}
Parameter To

Create Networks

Feedback

Was this page helpful?