List V2 Instances
Returns the information about all namespaces in this vCenter Server. The information is tied to a Supervisor.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Authentication
Response
Response BodyResponse Body
array
of
NamespacesInstancesSummaryV2
of type application/json
Information about all namespaces in this vCenter server.
[
{
"config_status": "CONFIGURING",
"description": "string",
"namespace": "string",
"self_service_namespace": false,
"stats": {
"cpu_used": 0,
"memory_used": 0,
"storage_used": 0
},
"supervisor": "string"
}
]
The Instances.ConfigStatus enumerated type describes the status of reaching the desired state configuration for the namespace.
CONFIGURING : The configuration is being applied to the namespace.
REMOVING : The configuration is being removed and namespace is being deleted.
RUNNING : The namespace is configured correctly.
ERROR : Failed to apply the configuration to the namespace, user intervention needed.
Possible values are: CONFIGURING , REMOVING , RUNNING , ERROR
Description of the namespace.
Identifier of the namespace. 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.Instance. 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.Instance.
Identifier for the Supervisor hosting the namespace. 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.supervisor.Supervisor. 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.supervisor.Supervisor.
Flag to indicate the self service namespace. If unset, the namespace is not marked as self service namespace.
Errors
com.vmware.vapi.std.errors.unauthorized : if the user does not have System.Read privilege.
com.vmware.vapi.std.errors.error : if the system reports an error while responding to the request.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
cURL Command
Vendor Extensions
x-vmw-doc-operation: list_v2