Namespaces_NamespaceTemplates_Info

Namespaces_NamespaceTemplates_Info
Namespaces_NamespaceTemplates_Info

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

JSON Example
{
    "cluster": "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
        }
    ]
}
string
cluster
Required

Identifier for the vSphere 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.

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.

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.

storage_specs
Required

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

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 or NSXT_VPC as its network provider. When clients pass a value of this structure as a parameter, the field must contain identifiers for the resource type: com.vmware.vcenter.namespace_management.Network. When operations return a value of this structure as a result, the field will contain identifiers for the resource type: com.vmware.vcenter.namespace_management.Network.

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.

vm_service_spec
Optional

The Instances.VMServiceSpec structure contains the specification required to configure the VM Service specification associated with a namespace.

content_libraries
Optional

Current set of Content Library specifications associated with the template. This field is optional because it was added in a newer version than its parent node.