Creates Resource

Creates a resource. Different fields are mandatory for different resource types, use Get minimal resource type to know more.

Resource Types Supported (case in-sensitive values)

  • LAPTOP/laptop
  • LINUX/linux
  • SYNTHETIC/synthetic
  • Windows/windows
  • Other

Path Parameters

  • clientIdstringrequired

    Describes the clientId of the tenant

Request Body

application/json

This endpoint accepts oneOf the following:

object

  • hostNamestring

    The resource hostname

  • resourceNamestringrequired

    The Resource Nam

  • resourceTypestringrequired

    Resources based on a resource type. Use Get Device Types API to get a list of supported resource types supported by OpsRamp

  • extResourceIdstring

  • dnsNamestring

    Resource Domain service name

  • aliasNamestring

    Other name of resource

  • osstring

  • serialNumberstring

  • makestring

  • modelstring

  • managementProfilestring

    Agent/Gateway profile ID

  • systemUIDstring

  • providerUIDstring

  • providerTypestring

    Resource provider i..e ( Resource discovered from eg GOOGLE,VMWARE,AZURE,AWS )

    Enum:
    GOOGLEVMWAREAZUREAWS
  • resourceNetworkInterfacearray

    Network interfaces of the resource

  • descriptionstring

  • oobInterfaceCardsarray

    OOB interface details

object

  • checkTypestringrequired

    Enum:
    HTTPHTTPSDNSIMAPPINGRTTPOP3SCRIPTSMTPSSLTCPUDPFTPSIP
  • locationUuidsarray of stringsrequired

  • namestring

  • extResourceIdstring

  • hostNamestring

  • resourceTypestringrequired

  • metaDataobject

  • resourceNamestringrequired

  • urlstringrequired

  • sslCertKeyPathstring

  • uploadStreamstring

  • downloadFilePathstring

  • credentialobject

  • sslCertPathstring

  • scriptstring

  • credentialsarray

Loading Examples...

Responses

  • resourceUUIDstring

  • tenantIDstring

Loading Examples...