Search AWS Compute Resources

POST {{cb_url}}/lcm/view/v2/orgs/{{cb_org_key}}/compute_resources/_search

Search AWS Compute Resources

Search AWS compute resources in your organization.

RBAC Permissions Required

Permission (.notation name)Operation(s)
public.cloud.inventoryREAD

Request Schema

{
  "start": <integer>,
  "rows": <integer>,
  "query": "<string>",
  "criteria": {
    "deployment_type": ["<string>"],
    "auto_scaling_group_name": ["<string>"],
    "availability_zone": ["<string>"],
    "cloud_provider_account_id": ["<string>"],
    "cloud_provider_resource_id": ["<string>"],
    "cloud_provider_tags": ["<string>"],
    "id": ["<string>"],
    "installation_status": ["<string>"],
    "name": ["<string>"],
    "platform": ["<string>"],
    "platform_details": ["<string>"],
    "region": ["<string>"],
    "subnet_id": ["<string>"],
    "virtual_private_cloud_id": ["<string>"],
  },
  "exclusions": {
    "deployment_type": ["<string>"],
    "auto_scaling_group_name": ["<string>"],
    "availability_zone": ["<string>"],
    "cloud_provider_account_id": ["<string>"],
    "cloud_provider_resource_id": ["<string>"],
    "cloud_provider_tags": ["<string>"],
    "id": ["<string>"],
    "installation_status": ["<string>"],
    "name": ["<string>"],
    "platform": ["<string>"],
    "platform_details": ["<string>"],
    "region": ["<string>"],
    "subnet_id": ["<string>"],
    "virtual_private_cloud_id": ["<string>"],
  },
  "sort": [
    {
      "field": "<string>",
      "order": "<string>"
    }
  ]
}

See Documentation

Request Body

{"start"=>0, "rows"=>1, "criteria"=>{"deployment_type"=>["AWS"], "auto_scaling_group_name"=>["AutoScalingGroup"], "availability_zone"=>["us-west-1c"], "cloud_provider_account_id"=>["1234567890"], "virtual_private_cloud_id"=>["vpc-id"]}, "sort"=>[{"field"=>"name", "order"=>"ASC"}]}

RESPONSES

status: OK

{&quot;num_found&quot;:278,&quot;results&quot;:[{&quot;deployment_type&quot;:&quot;WORKLOAD&quot;,&quot;id&quot;:&quot;111111&quot;,&quot;name&quot;:&quot;enwin2016ards&quot;,&quot;org_key&quot;:&quot;ABCD1234&quot;,&quot;create_time&quot;:&quot;2023-06-13T10:46:03.742Z&quot;,&quot;appliance_uuid&quot;:&quot;2f91a74c-240a-4455-9b66-27064944e11&quot;,&quot;cluster_name&quot;:&quot;cls&quot;,&quot;datacenter_name&quot;:&quot;DC&quot;,&quot;esx_host_name&quot;:&quot;1.1.1.1&quot;,&quot;esx_host_uuid&quot;:&quot;42012506-fe63-1d3c-6b00-c55a11bdc97b&quot;,&quot;vcenter_name&quot;:&quot;VMware vCenter Server 7.0.1 build-16858589&quot;,&quot;vcenter_host_url&quot;:&quot;sc2-10-186-31-103.eng.vmware.com&quot;,&quot;vcenter_uuid&quot;:&quot;d91bff81-01ff-4e27-930f-663654839869&quot;,&quot;host_name&quot;:&quot;enwin2016ards.enauto.com&quot;,&quot;created_at&quot;:&quot;2023-06-13T10:46:03.742Z&quot;,&quot;ip_address&quot;:&quot;10.186.26.198&quot;,&quot;eligibility&quot;:&quot;NOT_ELIGIBLE&quot;,&quot;eligibility_code&quot;:[&quot;VMware Tools update required&quot;],&quot;installation_status&quot;:&quot;NOT_INSTALLED&quot;,&quot;installation_status_code&quot;:null,&quot;uuid&quot;:&quot;503ae427-7d9b-0ab0-ebdd-cea50fb53fc4&quot;,&quot;os_description&quot;:&quot;Microsoft Windows Server 2016 or later (64-bit)&quot;,&quot;os_type&quot;:&quot;WINDOWS&quot;,&quot;os_architecture&quot;:&quot;64&quot;,&quot;vmwaretools_version&quot;:&quot;10341&quot;}]}