Get Compute Resource by ID
GET {{cb_url}}/lcm/view/v2/orgs/{{cb_org_key}}/compute_resources/{{cb_resource_id}}?deployment_type={{cb_deployment_type}}
Get Compute Resource by ID
Get the compute resource by ID from your organization. Based on the deployment type either AWS or Workload permissions are needed.
RBAC Permissions Required
| Permission (.notation name) | Operation(s) |
|---|---|
| workloads.vcenter.vm | READ |
| public.cloud.inventory | READ |
Request Params
| Key | Datatype | Required | Description |
|---|---|---|---|
deployment_type | string |
RESPONSES
status: OK
{"deployment_type":"WORKLOAD","id":"1111111","name":"enwin2016ards","org_key":"ABCD1234","create_time":"2023-06-13T10:46:03.742Z","appliance_uuid":"2f91a74c-240a-4455-9b66-27064944e116","cluster_name":"cls","datacenter_name":"DC","esx_host_name":"10.186.16.142","esx_host_uuid":"42012506-fe63-1d3c-6b00-c55a11bdc911","vcenter_name":"VMware vCenter Server 7.0.1 build-16858589","vcenter_host_url":"sc2-10-186-31-103.eng.vmware.com","vcenter_uuid":"d91bff81-01ff-4e27-930f-663654839811","host_name":"enwin2016ards.enauto.com","created_at":"2023-06-13T10:46:03.742Z","ip_address":"1.1.1.1","eligibility":"NOT_ELIGIBLE","eligibility_code":["VMware Tools update required"],"installation_status":"NOT_INSTALLED","installation_status_code":null,"uuid":"503ae427-7d9b-0ab0-ebdd-cea50fb53f11","os_description":"Microsoft Windows Server 2016 or later (64-bit)","os_type":"WINDOWS","os_architecture":"64","vmwaretools_version":"10341"}