Monitoring - Retrieve Widgets For Entity
Lekéri az irányítópult és az entitás vezérlőit. MEGJEGYZÉS: Ez csak a teljesítmény-irányítópult widgetjeinek lekérését támogatja.
GET http://<Servername>/OperationsManager/monitoring/dashboard/{dashboardId}/entity/{entityId}
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
dashboard
|
path | True |
string |
Az irányítópult azonosítójának megadása |
entity
|
path | True |
string |
Adja meg az entitásazonosítót |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
OKÉ. Sikeresen lekérte az irányítópult és az entitás widgetjeit. Media Types: "application/json", "text/json", "application/xml", "text/xml" |
Példák
RetrieveWidgets
Mintakérelem
GET http://<Servername>/OperationsManager/monitoring/dashboard/925b3d43-d716-d56d-84ba-55a2467a6e7d/entity/b39822ed-0efd-b8e0-9ac4-968b5de725ab
Mintaválasz
[
{
"id": "b39822ed-0efd-b8e0-9ac4-968b5de725ab",
"name": "performance windows",
"description": null,
"mpId": "dcfdedc4-68bd-42b4-1e9a-ba94b1577732",
"componentType": "HtmlPerformanceWidget",
"config": "{\"widgetDisplay\":{\"col\":1,\"row\":1,\"sizex\":6,\"sizey\":4,\"selectedLegends\":[\"Target\",\"Path\",\"LastValue\"],\"visualizeObjectsByPerformance\":false},\"widgetParameters\":{\"scope\":{\"scopeSelection\":[{\"id\":\"6f7e3306-beeb-2996-3795-7c1eafb925b8\",\"displayName\":\"All Windows Computers\",\"className\":\"All Windows Computers\",\"path\":null,\"fullName\":\"Microsoft.SystemCenter.AllComputersGroup\",\"objectType\":-1}]},\"criteria\":{\"timeRange\":{\"timeValue\":24,\"timeUnit\":\"Hours\"},\"performanceCounters\":[]}},\"widgetRefreshInterval\":5}"
}
]
Definíciók
ComponentResponse
Name | Típus | Description |
---|---|---|
componentType |
string |
Alkatrésztípus |
config |
string |
konfiguráció |
description |
string |
Alkatrész leírása |
id |
string |
ID (Azonosító) |
mpId |
string |
Komponens MP azonosító |
name |
string |
Összetevő neve |