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

  • resourceIdstringrequired

    Resource uuid of the managed resource

  • clientIdstringrequired

    Describes the clientId of the tenant

Query Parameters

  • startTimestring

    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

  • endTimestring

    endTime indicates the to date. For example, if 17 Dec 2018 12:00 PM is the end time, then epoch timestamp is 1545048000

Responses

  • currentStatestring

  • totalTimeinteger

  • upTimeinteger

  • downTimeinteger

  • unknownTimeinteger

  • undefinedTimeinteger

  • unplannedDownTimeinteger

  • upPercentageinteger

  • downPercentagenumber

  • unknownPercentagenumber

  • undefinedPercentageinteger

  • totalLogListarray

  • upTimeListarray

  • downTimeListarray

  • unknownTimeListarray

  • undefinedTimeListarray

  • tzOffsetinteger

Loading Examples...