get_servers_type
Get servers by type.
Path:
/lib/get_servers_type.js
Parameters:
None.
Example Request:
POST /redrock/query
{
"Script":"@/lib/get_servers_type.js"
}
Example Response:
{
"success": true,
"Result": {
"IsAggregate": false,
"Count": 6,
"Columns": [
{
"Name": "platform",
"IsHidden": false,
"DDName": null,
"Title": "platform",
"DDTitle": null,
"Description": null,
"Type": 16,
"Format": null,
"Width": 0,
"TableKey": null,
"ForeignKey": null,
"TableName": ""
},
{
"Name": "count",
"IsHidden": false,
"DDName": null,
"Title": "count",
"DDTitle": null,
"Description": null,
"Type": 16,
"Format": null,
"Width": 0,
"TableKey": null,
"ForeignKey": null,
"TableName": ""
}
],
"FullCount": 6,
"Results": [
{
"Entities": [],
"Row": {
"count": 1,
"platform": "HP NonStop"
}
},
{
"Entities": [],
"Row": {
"count": 2,
"platform": "IBM i"
}
},
{
"Entities": [],
"Row": {
"count": 354,
"platform": "Unix"
}
},
{
"Entities": [],
"Row": {
"count": 268,
"platform": "Windows"
}
}
],
"ReturnID": ""
},
"Message": null,
...
}
Updated about 5 years ago