vcenter namespace management hosts config: get
Returns support and licensing information about hosts under a VC.
Request:
HTTP request
GET https://{server}/api/vcenter/namespace-management/capability
Response:
HTTP Status Code: 200
Response Body Structure:
{
"namespaces_licensed" : true,
"namespaces_supported" : true
}
"namespaces_licensed" : true,
"namespaces_supported" : true
}
Headers:
NoneType:
Name | Type | Description |
---|---|---|
bold = required | ||
- | info | Compatibility structure containing information about vSphere Namespaces support and licensing. |
-.namespaces_supported | boolean | True if vSphere Namespace feature is supported in this VC. |
-.namespaces_licensed | boolean | True if vSphere Namespace feature is licensed on any hosts in this VC. |
Errors:
HTTP Status Code | Type | Description |
---|---|---|
500 | error | if the system reports an error while responding to the request. |
401 | unauthenticated | if the user can not be authenticated. |
403 | unauthorized | if the user does not have System.Read privilege. |