Dela via


Data - Retrieve SLO Data

Hämtar SLO-data för den angivna SLO-begäran

POST http://<Servername>/OperationsManager/data/slo

Begärandetext

Media Types: "application/json", "text/json", "application/xml", "text/xml", "application/x-www-form-urlencoded"

Name Obligatorisk Typ Description
duration True

string

Varaktighet

slaId True

string

SLA-ID

slaManagedEntityRowId True

integer

Rad-ID för SLA Managed Entity

sloId True

string

SLO-ID

value True

integer

Värde

Svar

Name Typ Description
200 OK

SLODataResponse

Okej. SLO-data har hämtats.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Exempel

RetrieveSLOData

Sample Request

POST http://<Servername>/OperationsManager/data/slo

{
  "sloId": "c67b6541-9a21-3745-bef3-b6542dd380a7",
  "slaId": "e9163d5b-cb1f-7b06-ea4b-a984d0420f8d",
  "value": 0,
  "duration": "10",
  "slaManagedEntityRowId": 141
}

Sample Response

{
  "id": null,
  "goal": 0,
  "desiredObjective": null,
  "actualValue": 0
}

Definitioner

Name Description
SLODataRequest
SLODataResponse

SLODataRequest

Name Typ Description
duration

string

Varaktighet

slaId

string

SLA-ID

slaManagedEntityRowId

integer

Rad-ID för SLA Managed Entity

sloId

string

SLO-ID

value

integer

Värde

SLODataResponse

Name Typ Description
actualValue

number

Verkligt värde

desiredObjective

string

Önskat mål

goal

number

SLO-mål

id

string

SLO-ID