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
- clientId
Describes the clientId of the tenant
Request Body
application/json
This endpoint accepts oneOf the following:
object
- hostName
The resource hostname
- resourceName
The Resource Nam
- resourceType
Resources based on a resource type. Use Get Device Types API to get a list of supported resource types supported by OpsRamp
- extResourceId
- dnsName
Resource Domain service name
- aliasName
Other name of resource
- os
- serialNumber
- make
- model
- managementProfile
Agent/Gateway profile ID
- systemUID
- providerUID
- providerType
Resource provider i..e ( Resource discovered from eg GOOGLE,VMWARE,AZURE,AWS )
- Enum:
- GOOGLEVMWAREAZUREAWS
- resourceNetworkInterface
Network interfaces of the resource
- description
- oobInterfaceCards
OOB interface details
object
- checkType
- Enum:
- HTTPHTTPSDNSIMAPPINGRTTPOP3SCRIPTSMTPSSLTCPUDPFTPSIP
- locationUuids
- name
- extResourceId
- hostName
- resourceType
- metaData
- resourceName
- url
- sslCertKeyPath
- uploadStream
- downloadFilePath
- credential
- sslCertPath
- script
- credentials
Loading Examples...
Responses
- resourceUUID
- tenantID
Loading Examples...