Endpoint
/api/v2/tenants/{tenantId}/resources/{resourceId}

Deletes a resource using the resource ID.

Path Parameters
tenantId
string

resourceId
string

Responses

OK

Endpoint
/api/v2/tenants/{tenantId}/resources/{resourceId}

Gets information and optional device details for a specific resource.

Path Parameters
tenantId
string

resourceId
string

Responses

OK

agentInstalled
boolean

aliasName
string

appRoles
array

appRoles.name
assetManagedTime
string

attributes
object

attributes.ami
attributes.instanceId
attributes.instanceState
attributes.instanceType
attributes.launchDate
attributes.monitoringState
attributes.network
attributes.owner
attributes.privateDns
attributes.privateIp
attributes.provider
attributes.publicIp
attributes.zone
bios
object

bios.biosName
bios.biosVersion
bios.smBiosMajorVersion
bios.smBiosMinorVersion
bios.smBiosPresent
bios.smBiosVersion
bios.systemManufacturer
bios.systemModel
bios.systemSerial
classCode
string

client
object

client.id
client.name
client.uniqueId
clientId
integer

clientUniqueId
string

components
array

consoles
array

cpus
array

cpus.dataWidth
cpus.family
cpus.l2CacheSize
cpus.manufacturer
cpus.maxClockSpeed
cpus.numberOfCores
cpus.powerManagementSupported
cpus.processor
cpus.processorName
cpus.processorVersion
createdDate
string

deleted
boolean

description
string

devicePath
string

deviceType
string

dns
string

extResourceId
string

firstAssetManagedTime
string

gatewayProfileId
string

generalInfo
object

generalInfo.agentDeploytime
generalInfo.aliasName
generalInfo.assetManagedTime
generalInfo.createdTime
generalInfo.description
generalInfo.dns
generalInfo.encodingType
generalInfo.firstAssetManagedTime
generalInfo.hostName
generalInfo.keyboardType
generalInfo.make
generalInfo.name
generalInfo.osName
generalInfo.physicalMemory
generalInfo.resourceName
generalInfo.resourceType
generalInfo.updatedTime
history
object

history.decommissionReason
hostName
string

id
string

installedApp
object

installedApp.displayName
installedApp.id
installedApp.integration
ipAddress
string

location
object

location.city
location.clientId
location.id
location.mspId
location.name
locationOffset
integer

logicalDisks
array

logicalDisks.description
logicalDisks.fileSystem
logicalDisks.free
logicalDisks.freeDiskCriticalThreshold
logicalDisks.freeDiskWarningThreshold
logicalDisks.monitor
logicalDisks.name
logicalDisks.total
logicalDisks.utilizationCriticalThreshold
logicalDisks.utilizationWarningThreshold
macAddress
string

make
string

managementProfile
object

managementProfile.id
managementProfile.name
managementProfile.type
metricTypes
array

metricTypes.availabilityMetric
metricTypes.displayName
metricTypes.metricName
metricTypes.thresholdType
metricTypes.unit
model
string

name
string

networkCards
array

networkCards.dhcpEnabled
networkCards.id
networkCards.ipAddress
networkCards.linkMode
networkCards.macAddress
networkCards.networkName
osArchitecture
string

osName
string

physicalDisks
array

physicalDisks.interfaceType
physicalDisks.manufacturer
physicalDisks.mediaType
physicalDisks.model
physicalDisks.name
physicalDisks.partitions
properties
object

properties.ami
properties.instanceId
properties.instanceState
properties.instanceType
properties.launchDate
properties.monitoringState
properties.owner
properties.privateDns
properties.privateIp
properties.provider
properties.publicIp
properties.zone
resourceName
string

resourceType
string

serialNumber
string

source
string

state
string

status
string

systemUID
string

tags
array

tags.name
tags.value
totalLocations
integer

ts
integer

type
string

updatedDate
string

videoCards
array

videoCards.bitsPerPixel
videoCards.name
videoCards.ram
videoCards.resolution
videoCards.version
wsusSettings
string

{
  "clientUniqueId": "client_16",
  "consoles": [],
  "createdDate": "2018-05-03T06:29:38+0000",
  "id": "4f7f63a0-c7a3-4f2a-89de-74ff5eecb805",
  "location": {
    "id": 0,
    "name": "East US"
  },
  "resourceName": "SJ-Host",
  "source": "MANUAL",
  "state": "active",
  "status": "UP",
  "type": "EBS",
  "updatedDate": "2018-05-04T10:20:30+0000"
}
{
  "agentInstalled": false,
  "appRoles": [
    {
      "name": "cassandra"
    },
    {
      "name": "hbase"
    },
    {
      "name": "hdfs-namenode"
    }
  ],
  "bios": {
    "systemModel": "c1.medium",
    "systemSerial": ""
  },
  "clientUniqueId": "client_10",
  "components": [
    "disks"
  ],
  "consoles": [],
  "cpus": [],
  "extResourceId": "67034",
  "generalInfo": {
    "agentDeploytime": "2016-06-30T15:24:40+0000",
    "aliasName": "",
    "assetManagedTime": "",
    "createdTime": "2016-06-30T15:24:40+0000",
    "description": "",
    "dns": "",
    "encodingType": "UTF8",
    "firstAssetManagedTime": "",
    "hostName": "Test Device1",
    "keyboardType": "US104",
    "make": "",
    "name": "Test Device1",
    "osName": "",
    "physicalMemory": "0.0",
    "resourceName": "",
    "resourceType": "Linux",
    "updatedTime": "2016-06-30T15:25:00+0000"
  },
  "id": "46646d0b-976f-46ed-b47b-40178f5b0508",
  "installedApp": {
    "displayName": "AWS_INTG",
    "id": "INTG-0d249a09-32a5-4703-b5c9-1475456f2011",
    "integration": {
      "id": "AWS",
      "name": "AWS"
    }
  },
  "ipAddress": "172.31.20.84",
  "location": {
    "city": "N.Virginia",
    "clientId": 10,
    "id": 516,
    "mspId": 3,
    "name": "us-east-1a"
  },
  "metricTypes": [
    {
      "availabilityMetric": false,
      "displayName": "Availability",
      "metricName": "resource.availability",
      "thresholdType": "STATIC",
      "unit": "COUNTER"
    }
  ],
  "networkCardDetails": [
    {
      "aliasIps": "172.24.133.100, 172.24.133.101",
      "dhcpEnabled": false,
      "id": 1,
      "ipAddress": "172.24.133.91",
      "linkMode": "MGNT_MODE_LINK",
      "macAddress": "f8:94:c2:0c:10:f2",
      "networkName": "wlp2s0",
      "status": "Up"
    }
  ],
  "properties": {
    "ami": "ami-021800badbd6a2e64",
    "instanceId": "i-0eff82b84a8037c2d",
    "instanceState": "running",
    "instanceType": "c1.medium",
    "launchDate": "2018-12-12T05:37:09+0000",
    "monitoringState": "disabled",
    "owner": "371067416711",
    "privateDns": "ip-172-31-20-84.ec2.internal",
    "privateIp": "172.31.20.84",
    "provider": "AWS",
    "publicIp": "34.202.160.29",
    "zone": "us-east-1a"
  },
  "source": "MANUAL",
  "state": "active",
  "status": "UP",
  "tags": [
    {
      "name": "test",
      "tagSource": "OPSRAMP",
      "value": "testValue"
    }
  ],
  "wsusSettings": "disabled"
}
{
  "checkType": "HTTP",
  "clientId": 5,
  "consoles": [],
  "credential": {
    "autoEnableMode": false,
    "id": 0,
    "oauthAccessTokenUrl": "auth/oauth/token",
    "oauthClientKey": "kHSageRP9CTeCFP7Wfrzzc45pFJZ99N4",
    "oauthClientSecret": "5w6rKEAgYpsYDdd8vm5PnUMsQWqTnh423FArQYxGW6V3zqDcTG2z7UvjV3YBMq9Y",
    "oauthGrantType": "client_credentials",
    "port": 0,
    "secure": false,
    "securityLevel": "oAuth2",
    "snmpVersion": "V2",
    "spPort": 0,
    "spSecure": false,
    "timeoutMs": 0,
    "universal": true
  },
  "deleted": false,
  "host": "www.google.com",
  "id": "ed74701d-7f41-4fd1-861e-513647051734",
  "locationOffset": 0,
  "locationUuids": [
    "7b77f37f-5eb0-4ec2-bd19-15cc6853e3ca"
  ],
  "name": "Google Monitor",
  "resourceType": "SYNTHETIC",
  "totalLocations": 0,
  "ts": 1551175570000,
  "url": "www.google.com"
}
Endpoint
/api/v2/tenants/{tenantId}/resources/{resourceId}

Updates the details of a resource.

Path Parameters
tenantId
string

resourceId
string

SslCertKeyPath
string

(Optional) Path of the SSL certificate key.

aliasName
string

Another name of a resource.

alternateIP
string

Gateway uses alternate IP to discover a resource when populated.

checkType
string

Category type for Synthetics. Example: http, https, ftp, and so on.

credential
object

(Optional) Credentials for Synthetics.

credential.oauthAccessTokenUrl
auth or oauth token.
credential.oauthClientKey
Generated client key.
credential.oauthClientSecret
Generated secret key.
credential.oauthGrantType
Credentials of the client.
credential.securityLevel
Security level. For example, oauth2.
description
string

Description for the resource.

downloadFilePath
string

(Optional) Path where you want to download the file.

extResourceId
string

Attach third-party integration ID.

logicalDiskDrives
array

logicalDiskDrives.freeDiskCriticalThreshold
Define a critical threshold value for free disk space. A critical alert is triggered when the free disk space exceeds the threshold value. Example: 80. The free disk threshold value is represented in MB.
logicalDiskDrives.freeDiskWarningThreshold
Define a warning threshold value for free disk space. A warning alert is triggered when the free disk space exceeds the threshold value. Example: 40
logicalDiskDrives.name
Name of the disk drive.
logicalDiskDrives.utilizationCriticalThreshold
Define a critical threshold value for disk utilization. A critical alert is triggered when the utilization exceeds the threshold value. The utilization threshold value is represented as a percentage.
logicalDiskDrives.utilizationWarningThreshold
Define a warning threshold value for disk utilization. A warning alert is triggered when the utilization exceeds the threshold value. Example: 60
managementProfile
string

Name of management profile of a resource that is managed.

oobInterfaceCards
array

OOB interface card details.

oobInterfaceCards.accessInfo
oobInterfaceCards.accessInfoIpV4
oobInterfaceCards.description
oobInterfaceCards.macAddress
oobInterfaceCards.make
oobInterfaceCards.model
oobInterfaceCards.name
oobInterfaceCards.oobVersion
oobInterfaceCards.port
oobInterfaceCards.remoteAccessType
oobInterfaceCards.url
providerType
string

Type of provider.

providerUID
string

Unique ID of provider.

resourceNetworkInterface
array

Details of network interface.

resourceNetworkInterface.default
resourceNetworkInterface.ipAddress
resourceNetworkInterface.ipAddressType
resourceNetworkInterface.macAddress
resourceType
string

Type of resource. Example: server, SYNTHETICS

script
string

serialNumber
string

Serial number of resource.

sslCertPath
string

(Optional) Path of the SSL Certificate

systemUID
string

Unique ID of system.

{
  "aliasName": "aliasServerName",
  "alternateIP": "4.2.2.2",
  "extResourceId": "67035",
  "logicalDiskDrives": [
    {
      "freeDiskCriticalThreshold": 0,
      "freeDiskWarningThreshold": 0,
      "name": "/",
      "utilizationCriticalThreshold": 90,
      "utilizationWarningThreshold": 85
    },
    {
      "freeDiskCriticalThreshold": 0,
      "freeDiskWarningThreshold": 0,
      "name": "/boot/efi",
      "utilizationCriticalThreshold": 90,
      "utilizationWarningThreshold": 85
    }
  ],
  "managementProfile": "Gateway Profile",
  "oobInterfaceCards": [
    {
      "accessInfo": "source-ip location",
      "accessInfoIpV4": "121.32.21.112",
      "description": "Server controller details",
      "macAddress": "hj:12:hb:32:vg:sa",
      "make": "Cisco Routers",
      "model": "Cisco 890 Series",
      "name": "Controller 1",
      "oobVersion": "7.5",
      "port": 443,
      "remoteAccessType": "SSH",
      "url": "https://www.myorganization.com/"
    }
  ],
  "resourceNetworkInterface": [
    {
      "default": 1,
      "ipAddress": "121.156.43.12",
      "ipAddressType": "STATIC",
      "macAddress": "5G:7H:HN:12:8H:D7"
    },
    {
      "default": 0,
      "ipAddress": "161.32.556.56",
      "ipAddressType": "STATIC",
      "macAddress": "00:0C:23:C5:D6:H7"
    },
    {
      "default": 0,
      "ipAddress": "161.11.132.21",
      "ipAddressType": "DHCP",
      "macAddress": "00:0C:32:B7:D8:54"
    }
  ]
}
{
  "checkType": "HTTP",
  "credential": {
    "oauthAccessTokenUrl": "auth/oauth/token",
    "oauthClientKey": "kHSageRP9CTeCFP7Wfrzzc45pFJZ99N4",
    "oauthClientSecret": "5w6rKEAgYpsYDdd8vm5PnUMsQWqTnh423FArQYxGW6V3zqDcTG2z7UvjV3YBMq9Y",
    "oauthGrantType": "client_credentials",
    "securityLevel": "oauth2"
  },
  "locationUuids": [
    "7b77f37f-5eb0-4ec2-bd19-15cc6853e3ca"
  ],
  "resourceName": "Indians",
  "resourceType": "SYNTHETIC",
  "url": "www.oriental.com"
}

Responses

OK