Search Decommissioned Resources

Gets the list of decommissioned resources.

Query Variables Description
id Resource ID.Example: d7bce6fe-d19f-4ad7-8c50-2f639f2dd778
state Resource state.Supported value: DECOMMISSIONED
hostName Resource host name.Example: SJKT1212
ipAddress Resource IP Address.Example: 10.23.89.226
instanceId Cloud instance ID.
tags Additional information of a resource, preferably, a custom attribute name.
startDate Search for resources decommissioned within a specific duration. startDate indicates the from date. For example, to fetch list resources decommissioned between 14th Aug 2018 to 18th Aug 2018, provide startDate as 2018-08-14T10:20:20 0000 and endDate as 2018-08-18T12:10:20 0000Note: Date format: yyyy-MM-ddTHH:mm:ssZ (GMT).
endDate Search for resources decommissioned within a specific duration. endDate indicates the to date.Note: Date format: yyyy-MM-ddTHH:mm:ssZ (GMT).
type Resource type.Example: DEVICE
accountNumber Instance account number. This varies for each provider:- AWS: Account number- Azure: Subscription ID- Google: Project ID
provider Cloud provider name.Example: AWS
owner Owner ID.Example: 23422135901
instanceType Cloud instance type.
instanceState Cloud instance state.Supported Value: DECOMMISSIONED
zone Zone name in which instance is located.Example: virgina-east
region Geographical location in which instance is located.Example: US-EAST
ami Amazon Machine image.
hostedServiceName Domain role.
startLaunchDate Search for decommissioned cloud instances launched within a specific duration.Provide from date.Example: 2018-07-11T10:05:20 0000
endLaunchDate Search for decommissioned cloud instances launched within a specific duration.Provide to date.Example: 2018-08-20T11:10:20 0000

Notes

There are special characters that can be used in a query string:

  • (+) represents the next field and must be URL-encoded.
  • (:) represents equals. An example is key : value.
  • Space characters must be URL-encoded.
  • Date format must be yyyy-MM-ddTHH:mm:ssZ (GMT).
get
/api/v2/tenants/{tenantId}/history/resources

Path Parameters

  • tenantIdstringrequired

    Describes the client ID of the tenant

Query Parameters

  • pageNointeger

    Default: 1

  • pageSizeinteger

    Default: 100

  • queryStringstring