Get Resource Availability
Gets the availability details of a resource within a specific time frame. To view availability of a resource within a given time frame, provide the start time and end time.
Notes
- State 0 indicates the status of resource is down.
- State 4 indicates the status of resource is unknown.
Path Parameters
- resourceId
Resource uuid of the managed resource
- clientId
Describes the clientId of the tenant
Query Parameters
- startTime
startTime indicates the from date. (Convert the time frame to Epoch timestamp.) For example, if 12 Dec 2018 10:00 AM is the start time, then epoch timestamp is 1544608800
- endTime
endTime indicates the to date. For example, if 17 Dec 2018 12:00 PM is the end time, then epoch timestamp is 1545048000
Responses
- currentState
- totalTime
- upTime
- downTime
- unknownTime
- undefinedTime
- unplannedDownTime
- upPercentage
- downPercentage
- unknownPercentage
- undefinedPercentage
- totalLogList
- upTimeList
- downTimeList
- unknownTimeList
- undefinedTimeList
- tzOffset
Loading Examples...