Megosztás a következőn keresztül:


Data - Retrieve Classes

Lekéri az osztályok listáját és tulajdonságaikat.

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

Kérelem törzse

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

Name Típus Description
criteria

string

A keresendő feltételek megadása

Válaszok

Name Típus Description
200 OK

ScopeDataResponse

OKÉ. Sikeresen lekérte az osztályok listáját és tulajdonságaikat.

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

Példák

RetrieveClasses

Mintakérelem

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

[
  "DisplayName LIKE '%.net windows%'"
]

Mintaválasz

{
  "scopeDatas": [
    {
      "id": "c9dff298-d539-ee41-fc32-f7ba1b42f95e",
      "displayName": ".NET Windows Service",
      "className": "Microsoft.SystemCenter.ApplicationMonitoring.Library!Microsoft.SystemCenter.ApplicationMonitoring.Net.NTServiceComponent",
      "path": null,
      "fullName": null
    }
  ]
}

Definíciók

Name Description
ScopeData
ScopeDataResponse

ScopeData

Name Típus Description
className

string

Osztály neve

displayName

string

Megjelenítendő név

fullName

string

Teljes név

id

string

ID (Azonosító)

path

string

Útvonal

ScopeDataResponse

Name Típus Description
scopeDatas

ScopeData[]

Hatóköri adatok