NamespacesNamespaceTemplatesInfo

The NamespaceTemplates.Info structure contains detailed information about the namespace template.


Properties

string
cluster Required

Identifier for the cluster associated with namespace template. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: ClusterComputeResource. When operations return a value of this structure as a result, the field will be an identifier for the resource type: ClusterComputeResource.


storage_specs Required

Storage that this template defines and will be associated with a namespace after namespace realization.


string
template Required

Name of the namespace template. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.namespaces.NamespaceTemplate. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vcenter.namespaces.NamespaceTemplate.


array of string
networks Optional

vSphere Networks that this template captures and are associated with the namespace after namespace realization. This field is unset if the cluster hosting this namespace uses NSXT_CONTAINER_PLUGIN as its network provider. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: ClusterComputeResource. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: ClusterComputeResource.


permissions Optional

Permissions associated with namespace template. If unset, only users with the Administrator role can use this template; for example, this template is applied to the namespace created by self-service-users with the Administrator role.


object
resource_spec Optional

Resource quotas that this template defines. Quotas on the namespace resources. Refer to com.vmware.vcenter.namespace_management.NamespaceResourceOptions#get for the type of the value for this field. If unset, no resource constraints are defined in the namespace template.

JSON Example

{
	"cluster": "string",
	"storage_specs": [
		{
			"policy": "string"
		}
	],
	"template": "string"
}

Feedback

Was this page helpful?