GET ComputeResources({id})/ClusterTree
Get the tree of available clusters on a compute resource.
Note: This API only works for Hyper-V and VSphere compute resources.
Request Information
Parameters
| Name | Description | Additional information |
|---|---|---|
| id | ID of the compute resource. |
Type: String |
Response Information
The tree of available clusters in the compute resource.
Response type
Response body formats
application/json, text/json
Sample:
{
"Href": "[api:ComputeResources(ab32f043-4682-4953-8dea-a0489b839f80)/ClusterTree",
"Name": "ClusterRoot",
"FullPath": "/ClusterRoot",
"CanBeProvisioningTarget": true,
"Children": [
{
"Name": "Cluster1",
"FullPath": "/ClusterRoot/Cluster1",
"CanBeProvisioningTarget": true
},
{
"Name": "Cluster2",
"FullPath": "/ClusterRoot/Cluster2",
"CanBeProvisioningTarget": true
}
]
}