Endpoint
/api/v2/tenants/{tenantId}/resources/{resourceId}/templates/search
Path Parameters
tenantId
string

resourceId
string

Query Parameters
pageNo
integer

pageSize
integer

isDescendingOrder
boolean

sortName
string

Responses

OK

descendingOrder
boolean

nextPage
boolean

nextPageNo
integer

orderBy
string

pageNo
integer

pageSize
integer

previousPageNo
integer

results
array

results.assignedInterfaces
results.collectorType
results.configParameters
results.createdDate
results.description
results.generation
results.id
results.monitors
results.name
results.status
results.tags
results.templateType
results.uniqueId
results.updatedDate
totalPages
integer

totalResults
integer

{
  "descendingOrder": true,
  "nextPage": true,
  "nextPageNo": 3,
  "orderBy": "t.id",
  "pageNo": 2,
  "pageSize": 3,
  "previousPageNo": 1,
  "results": [
    {
      "assignedInterfaces": [
        {
          "adminStatus": "UP",
          "confLinkSpeed": "10 Mbps",
          "id": 243935,
          "ifAlias": "VL31",
          "ifDescription": "VLAN31",
          "ifName": "VL31",
          "ifTxType": "IFTXTYPE_AUTO",
          "ifType": "ETHERNETCSMACD",
          "macAddress": "00:05:33:92:63:E4",
          "networkName": "VLAN31",
          "operationalStatus": "UP",
          "speed": "10 Mbps",
          "status": "UP"
        },
        {
          "adminStatus": "DOWN",
          "confLinkSpeed": "1000 Mbps",
          "id": 243751,
          "ifDescription": "eth1",
          "ifName": "eth1",
          "networkName": "eth1",
          "operationalStatus": "DOWN",
          "speed": "1000 Mbps",
          "status": "DOWN"
        }
      ],
      "collectorType": "Gateway",
      "createdDate": "2012-02-24T07:29:59+0000",
      "description": "*Do not use* This can be applied on all interfaces having the 64 bit counter OIDS and in the Full Duplex Transmission mode",
      "generation": 1,
      "id": 971,
      "monitors": [
        {
          "availability": false,
          "criticalThreshHold": "80,80",
          "frequency": 5,
          "name": "interface health",
          "raiseAlert": true,
          "repeatCount": 1,
          "repeatFrequency": 1,
          "warningThreshHold": "70,70"
        }
      ],
      "name": "*Do not use* Standard Interface - IFMIB - Full Duplex",
      "resourceType": "DEVICE",
      "status": "ACTIVE",
      "tags": "Monitors Status, Errors and Discards",
      "templateType": "INTERFACE",
      "uniqueId": "7EJFJGNXPPG6EIC00JX2EXE9",
      "updatedDate": "2012-09-10T11:22:52+0000"
    },
    {
      "collectorType": "Agent",
      "createdDate": "2013-11-08T12:50:53+0000",
      "description": "asdfsdaf",
      "generation": 1,
      "id": 6650,
      "monitors": [
        {
          "availability": false,
          "criticalThreshHold": "90",
          "frequency": 5,
          "name": "TotalDirectories",
          "raiseAlert": false,
          "repeatCount": 1,
          "repeatFrequency": 1,
          "warningThreshHold": "80"
        }
      ],
      "name": "agent test template",
      "resourceType": "DEVICE",
      "status": "ACTIVE",
      "tags": "oid",
      "uniqueId": "7VTJ7AWNILGJ0QXFCE21XJY6",
      "updatedDate": "2014-01-27T09:08:56+0000"
    },
    {
      "collectorType": "Agent",
      "createdDate": "2013-02-27T07:02:52+0000",
      "description": "Monitor basic performance monitors",
      "generation": 1,
      "id": 6632,
      "monitors": [
        {
          "availability": false,
          "criticalThreshHold": "90",
          "frequency": 5,
          "name": "CPU",
          "raiseAlert": true,
          "repeatCount": 1,
          "repeatFrequency": 1,
          "warningThreshHold": "60"
        },
        {
          "availability": false,
          "criticalThreshHold": "90",
          "frequency": 5,
          "name": "DISK",
          "raiseAlert": true,
          "repeatCount": 1,
          "repeatFrequency": 1,
          "warningThreshHold": "60"
        },
        {
          "availability": false,
          "criticalThreshHold": "90",
          "frequency": 5,
          "name": "MEMORY",
          "raiseAlert": true,
          "repeatCount": 1,
          "repeatFrequency": 1,
          "warningThreshHold": "60"
        },
        {
          "availability": false,
          "criticalThreshHold": "90",
          "frequency": 5,
          "name": "NETWORK",
          "raiseAlert": true,
          "repeatCount": 1,
          "repeatFrequency": 1,
          "warningThreshHold": "60"
        },
        {
          "availability": false,
          "criticalThreshHold": "20",
          "frequency": 5,
          "name": "FREEDISK",
          "raiseAlert": true,
          "repeatCount": 1,
          "repeatFrequency": 1,
          "warningThreshHold": "70"
        },
        {
          "availability": false,
          "criticalThreshHold": "90",
          "frequency": 5,
          "name": "MessagesReceived",
          "raiseAlert": false,
          "repeatCount": 1,
          "repeatFrequency": 1,
          "warningThreshHold": "80"
        }
      ],
      "name": "Agent_Basic_NCI_template",
      "resourceType": "DEVICE",
      "status": "ACTIVE",
      "uniqueId": "LBU9LAOHEIDCKSB00IVQ6GW3",
      "updatedDate": "2013-03-13T11:14:10+0000"
    }
  ],
  "totalPages": 3,
  "totalResults": 9
}