Vcenter Namespaces NamespaceTemplates InfoV2

Vcenter Namespaces NamespaceTemplates InfoV2
Vcenter Namespaces NamespaceTemplates InfoV2

The Vcenter Namespaces NamespaceTemplates InfoV2 schema contains the detailed information about the namespace template on a Supervisor.

This schema was added in vSphere API 8.0.0.1.

JSON Example
{
    "supervisor": "string",
    "template": "string",
    "resource_spec": {},
    "storage_specs": [
        {
            "policy": "string",
            "limit": 0
        }
    ],
    "networks": [
        "string"
    ],
    "permissions": [
        {
            "subject_type": "string",
            "subject": "string",
            "domain": "string"
        }
    ],
    "vm_service_spec": {
        "content_libraries": [
            "string"
        ],
        "vm_classes": [
            "string"
        ]
    },
    "content_libraries": [
        {
            "content_library": "string",
            "writable": false,
            "allow_import": false,
            "resource_naming_strategy": "string"
        }
    ]
}
string
supervisor
Required

Identifier for the Supervisor associated with namespace template.

This property was added in vSphere API 8.0.0.1.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.vcenter.namespace_management.supervisor.Supervisor.

string
template
Required

Name of the namespace template.

This property was added in vSphere API 7.0.2.00100.

When clients pass a value of this schema as a parameter, the property must be an identifier for the resource type: com.vmware.vcenter.namespaces.NamespaceTemplate. When operations return a value of this schema as a response, the property will be an identifier for the resource type: com.vmware.vcenter.namespaces.NamespaceTemplate.

object
resource_spec
Optional

Resource quotas that this template defines. Quotas on the namespace resources. Refer to GET /vcenter/namespace-management/clusters/{cluster}/workload-resource-options for the type of the value for this field.

This property was added in vSphere API 7.0.2.00100.

If missing or null, no resource constraints are defined in the namespace template.

storage_specs
Required

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

This property was added in vSphere API 7.0.2.00100.

array of string
networks
Optional

vSphere Networks that this template captures and are associated with the namespace after namespace realization.

This property was added in vSphere API 7.0.2.00100.

This field is missing or null if the cluster hosting this namespace uses NSXT_CONTAINER_PLUGIN or NSX_VPC as its network provider.

When clients pass a value of this schema as a parameter, the property must contain identifiers for the resource type: com.vmware.vcenter.namespace_management.Network. When operations return a value of this schema as a response, the property will contain identifiers for the resource type: com.vmware.vcenter.namespace_management.Network.

permissions
Optional

Permissions associated with namespace template.

This property was added in vSphere API 7.0.2.00100.

If missing or null, 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.

vm_service_spec
Optional

Current set of virtual machine classes and Content Libraries associated with the template.

This property was added in vSphere API 7.0.3.2.

This property is optional because it was added in a newer version than its parent node.

content_libraries
Optional

Current set of Content Library specifications associated with the template.

This property was added in vSphere API 8.0.2.0.

This property is optional because it was added in a newer version than its parent node.