Help Page Home

# GET ComputeResources({id})

Get a compute resource by ID.

## Request Information

### Parameters

Name | Description | Additional information
--- | --- | ---
id | ID of the compute resource. | Type: String

## Response Information

The compute resource.

### Response type

ComputeResourceModel

### Response body formats

#### application/json, text/json

Sample:

    {
      "Href": "[api:ComputeResources(ab32f043-4682-4953-8dea-a0489b839f80)]",
      "Id": "ab32f043-4682-4953-8dea-a0489b839f80",
      "ChangeId": "4",
      "Name": "SCVMM",
      "ShortName": "SCVMM",
      "Description": "My SCVMM cluster",
      "DeleteState": "NotDeleted",
      "ComputeResourceAllocationState": "Allocated",
      "ComputeResourceType": "HyperV",
      "Address": "https://10.1.1.10",
      "UserNameOrApiKey": "DOMAIN\\scvmm",
      "Cluster": {
        "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
          }
        ]
      },
      "UseLocalStorage": true,
      "PersonalVDiskStorage": [
        "PVD Storage"
      ],
      "Tenant": {
        "Href": "[api:Tenants(91ade655-feb5-47d3-9585-a5827ad50132)]",
        "Name": "Tenant 1",
        "Id": "91ade655-feb5-47d3-9585-a5827ad50132"
      },
      "DataCenter": {
        "Href": "[api:DataCenters(af1fc9c4-dee5-4b0d-836c-9e1c5b57a88a)]",
        "Name": "datacenter1",
        "Id": "af1fc9c4-dee5-4b0d-836c-9e1c5b57a88a"
      },
      "MaxVirtualMachinesToProvision": 100,
      "NumVirtualMachinesProvisioned": 5,
      "IsEnabled": true,
      "IsVMLimitHitMax": false,
      "Tags": [
        "tag"
      ],
      "CustomProperties": [
        {
          "Name": "myProperty",
          "Value": "myValue"
        }
      ]
    }