Query Latest Properties Of Resources
Get current (latest) values of requested properties for the specified resources
Request
URI
POST
https://{api_host}/suite-api/api/resources/properties/latest/query
COPY
Request Body
The query spec
properties-query
of type(s)
application/json
Required
Show optional properties
{
"resourceIds": [
{}
],
"propertyKeys": [
{}
]
}
"{\n \"resourceIds\" : [ \"adf33414-9fe2-4a8c-bad6-4a574145269b\", \"b394ba9c-e1c7-43e9-ba46-89b5784f6396\" ],\n \"propertyKeys\" : [ \"prop|key1\", \"prop|key2\" ],\n \"instanced\" : false\n}"
array of
string
resourceIds
Required
Array of resource ids to fetch the properties for
array of
string
propertyKeys
Required
Array of property keys to fetch the latest values for
boolean
instanced
Optional
Indicates whether specified property keys of query should be forcibly treated as instanced properties
Responses
200
The mapping from requested resources to current (latest) values of specified properties
Returns
resources-property-contents
of type(s)
application/json
"{\n \"values\" : [ {\n \"resourceId\" : \"1b0325d5-66e8-4be5-b710-723451b2366e\",\n \"property-contents\" : {\n \"property-content\" : [ {\n \"statKey\" : \"system|availability\",\n \"timestamps\" : [ 1119844280663 ],\n \"values\" : [ \"UP\" ]\n }, {\n \"statKey\" : \"config|num|processes\",\n \"timestamps\" : [ 1119844280663 ],\n \"data\" : [ 93.0 ]\n } ]\n }\n }, {\n \"resourceId\" : \"fed119a7-d139-4ae4-ae5f-1cd43d610f0b\",\n \"property-contents\" : {\n \"property-content\" : [ {\n \"statKey\" : \"system|availability\",\n \"timestamps\" : [ 1119844280663 ],\n \"values\" : [ \"UP\" ]\n }, {\n \"statKey\" : \"config|num|processes\",\n \"timestamps\" : [ 1119844280663 ],\n \"data\" : [ 93.0 ]\n } ]\n }\n } ]\n}"
array of
object
values
Optional
Collection of resource property contents
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"propertyKeys":["string"],"resourceIds":["string"]}' https://{api_host}/suite-api/api/resources/properties/latest/query
Resources Operations
GET
Get Resources
PUT
Update Resource
GET
Get Custom Profiles
PUT
Modify Custom Profile
POST
Create Custom Profile
PUT
Stop Monitoring Resources
Deprecated
PUT
Start Monitoring Resources
Deprecated
PUT
Mark Resources As Being Maintained
DELETE
Unmark Resources As Being Maintained
GET
Get Custom Groups
PUT
Modify Custom Group
POST
Create Custom Group
GET
Get Custom Datacenters
PUT
Update Custom Datacenter
POST
Create Custom Datacenter
DELETE
Delete Custom Datacenters
GET
Get Stats Of Resources
POST
Add Stats For Resources
POST
Get Stats For Resources
POST
Query Latest Stats Of Resources
POST
Get Stats And DT For Resources
POST
Add Stats For Resources Using Push Adapter Kind
POST
Get Matching Resources
GET
Get Resource Properties List
POST
Add Resources Properties
POST
Query Latest Properties Of Resources
POST
Add Resources Properties Using Adapter Kind
GET
Get Group Types
POST
Add Group Type
POST
Get Resources Relationships
POST
Create Resource Using Adapter Instance
POST
Create Resource Using Adapter Kind
GET
Get Top N Stats Of Resources
GET
Get Latest Stats Of Resources
GET
Get Stat Keys Of Resources
GET
Get Custom Profile
DELETE
Delete Custom Profile
GET
Get Custom Group
DELETE
Delete Custom Group
GET
Get Custom Group Members
GET
Get Custom Datacenter
DELETE
Delete Group Type
DELETE
Delete Resources