Create Resource Monitors
Creates resource monitors. If you export the monitor JSON from the Monitors page, the monitorScope will be by default 0, and if you want to create the same monitor using the API, update the fields as follows:
- Partner user API login: Set monitorScope = 18 for partner scope.
- Partner user login (client scope): Set monitorScope = 52 and add clientId (UUID).
- Client user login: Set monitorScope = 52 for client scope.
Path Parameters
- tenantId
Describes the client unique identifier of the tenant
Request Body
application/json
- name
- script
- monitorScope
- clientId
- mspId
- serviceProviderId
- resourceMonAdditionalParams
- instanceType
- instanceIds
- uuid
- desc
- mulInst
- disc_freq_min
- disc_metric
- disc_type
- disc_lookup_Oid
- create_ts
- update_ts
- discoveryFilters
- staticMetrics
- dynamicMetrics
Loading Examples...
Responses
- failedCount
- failedList
- updatedCount
- createdCount
Loading Examples...