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

Describes the client ID of the tenant

{
  "checkType": "DNS",
  "locationUuids": [
    "223087d3-ef45-4efd-9587-0b20ad8ca355",
    "ac346708-cb6a-4221-adc2-6b15c0d6e5af"
  ],
  "resourceName": "dnsResource",
  "resourceType": "SYNTHETIC",
  "url": "www.dns-monioring.com"
}
{
  "aliasName": "CustomName",
  "description": "test description",
  "dnsName": "testdevice-api.com",
  "extResourceId": "67034",
  "hostName": "testdevice-api",
  "make": "Ubuntu make",
  "managementProfile": "Sample Gateway",
  "model": "Ubuntu model",
  "oobInterfaceCards": {
    "accessInfo": "source-ip location",
    "accessInfoIpV4": "122.28.20.123",
    "description": "Demo Description",
    "macAddress": "hj:23:gb:67:vb:sd",
    "make": "Cisco Routers",
    "model": "Cisco 890 Series",
    "oobVersion": "7.5",
    "port": 443,
    "remoteAccessType": "SSH",
    "resourceName": "Controller 1",
    "url": "https://www.acmeit.com/"
  },
  "os": "Ubuntu 12.04.5 LTS",
  "providerType": "AWS",
  "providerUID": "PVDR10",
  "resourceName": "CloudProviderName",
  "resourceNetworkInterface": [
    {
      "default": 1,
      "ipAddress": "192.168.56.86",
      "ipAddressType": "STATIC",
      "macAddress": "2E:8B:EB:32:7A:F9"
    },
    {
      "default": 0,
      "ipAddress": "172.22.221.90",
      "ipAddressType": "STATIC",
      "macAddress": "00:0C:29:B8:C8:8F"
    },
    {
      "default": 0,
      "ipAddress": "172.22.100.86",
      "ipAddressType": "DHCP",
      "macAddress": "00:0C:29:B8:C8:95"
    }
  ],
  "resourceType": "server",
  "serialNumber": "564D35B8-3FF8-D31F-935D-558A15B81234",
  "systemUID": "LINUX100"
}
{
  "managementProfile": "TestPro",
  "resourceName": "minimalistic-Generic-Device",
  "resourceType": "Linux"
}
{
  "checkType": "HTTP",
  "credential": {
    "password": "s1234",
    "securityLevel": "basic",
    "userName": "s1234"
  },
  "credentials": [
    {
      "credentialType": "HTTP_PROXY",
      "password": "s1234",
      "securityLevel": "basic",
      "userName": "opsramp"
    },
    {
      "credentialType": "POP3",
      "password": "s1234",
      "userName": "s1234"
    },
    {
      "credentialType": "FTP",
      "password": "FTPPassword",
      "userName": "FTP_creds"
    }
  ],
  "locationUuids": [
    "9ede8f37-531c-463e-97d5-846d67d4ff58"
  ],
  "resourceName": "HTTPWithMultCreds",
  "resourceType": "SYNTHETIC",
  "url": "www.oriental.com"
}
{
  "checkType": "HTTP",
  "credential": {
    "oauthAccessTokenUrl": "auth/oauth/token",
    "oauthClientKey": "kHSageRP9CTeCFP7Wfrzzc45pFJZ99N4",
    "oauthClientSecret": "5w6rKEAgYpsYDdd8vm5PnUMsQWqTnh423FArQYxGW6V3zqDcTG2z7UvjV3YBMq9Y",
    "oauthGrantType": "client_credentials",
    "securityLevel": "oauth2"
  },
  "locationUuids": [
    "7b77f37f-5eb0-4ec2-bd19-15cc6853e3ca"
  ],
  "resourceName": "http-auth2",
  "resourceType": "SYNTHETIC",
  "url": "www.oriental.com"
}
{
  "checkType": "HTTP",
  "credential": {
    "password": "s1234",
    "securityLevel": "basic",
    "userName": "s1234"
  },
  "locationUuids": [
    "7b77f37f-5eb0-4ec2-bd19-15cc6853e3ca"
  ],
  "resourceName": "sythentic-basic-auth",
  "resourceType": "SYNTHETIC",
  "url": "www.oriental.com"
}

Responses

OK

resourceUUID
string

tenantID
string

{
  "resourceUUID": "612acfb0-6890-4d52-950b-1c4ec17a7248",
  "tenantID": "client_12"
}
{
  "resourceUUID": "9ba781b3-ea6c-457d-9dfc-d353f9883548",
  "tenantID": "client_13598"
}
{
  "resourceUUID": "612acfb0-6890-4d52-950b-1c4ec17a7248",
  "tenantID": "client_12"
}