Smart Groups - Get By Id
Egy adott intelligens csoporttal kapcsolatos információk lekérése.
GET https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.AlertsManagement/smartGroups/{smartGroupId}?api-version=2019-05-05-preview
URI-paraméterek
Name | In | Kötelező | Típus | Description |
---|---|---|---|---|
smart
|
path | True |
string |
Intelligens csoport egyedi azonosítója. |
subscription
|
path | True |
string minLength: 1 |
A cél-előfizetés azonosítója. |
api-version
|
query | True |
ügyfél API-verziója |
Válaszok
Name | Típus | Description |
---|---|---|
200 OK |
OKÉ. A megadott intelligens csoportazonosítóval rendelkező csoportot adja vissza. Fejlécek x-ms-request-id: string |
|
Other Status Codes |
Hibaválasz, amely leírja, hogy miért nem sikerült a művelet. |
Példák
Get
Mintakérelem
Mintaválasz
{
"properties": {
"alertsCount": 1942,
"smartGroupState": "New",
"severity": "Sev3",
"startDateTime": "2018-06-06T12:35:09Z",
"lastModifiedDateTime": "2018-06-13T06:30:09Z",
"lastModifiedUserName": "System",
"resources": [
{
"name": "/subscriptions/dd91de05-d791-4ceb-b6dc-988682dc7d72/resourcegroups/alertscorrelationrg/providers/microsoft.insights/components/alertscorrelationworkerrole_int",
"count": 1942
}
],
"resourceTypes": [
{
"name": "components",
"count": 1942
}
],
"resourceGroups": [
{
"name": "alertscorrelationrg",
"count": 1942
}
],
"monitorServices": [
{
"name": "Application Insights",
"count": 1942
}
],
"monitorConditions": [
{
"name": "Fired",
"count": 1942
}
],
"alertStates": [
{
"name": "New",
"count": 1941
},
{
"name": "Acknowledged",
"count": 1
}
],
"alertSeverities": [
{
"name": "Sev3",
"count": 1942
}
]
},
"id": "/subscriptions/dd91de05-d791-4ceb-b6dc-988682dc7d72/providers/Microsoft.AlertsManagement/smartGroups/a808445e-bb38-4751-85c2-1b109ccc1059",
"type": "Microsoft.AlertsManagement/smartGroups",
"name": "cpu alert"
}
Definíciók
Name | Description |
---|---|
api-version |
ügyfél API-verziója |
error |
Hibaválasz a szolgáltatástól. |
error |
A hibaválasz részletei. |
Severity |
Az intelligens csoport súlyossága a csoport összes riasztásának legmagasabb (Sev0 >... > Sev4) súlyossága. |
smart |
Az AMS által intelligensen csoportosított kapcsolódó riasztások készlete. |
smart |
Az egyes típusok összesített tulajdonsága |
State |
Intelligens csoport állapota |
api-version
ügyfél API-verziója
Érték | Description |
---|---|
2019-05-05-preview |
errorResponse
Hibaválasz a szolgáltatástól.
Name | Típus | Description |
---|---|---|
error |
A hibaválasz részletei. |
errorResponseBody
A hibaválasz részletei.
Name | Típus | Description |
---|---|---|
code |
string |
Hibakód, amely programozott módon használható. |
details |
A hiba további részleteinek listája. |
|
message |
string |
A hiba leírása, amely a felhasználói felületen való megjelenítésre szolgál. |
target |
string |
Az adott hiba célja, például a tulajdonság neve. |
Severity
Az intelligens csoport súlyossága a csoport összes riasztásának legmagasabb (Sev0 >... > Sev4) súlyossága.
Érték | Description |
---|---|
Sev0 | |
Sev1 | |
Sev2 | |
Sev3 | |
Sev4 |
smartGroup
Az AMS által intelligensen csoportosított kapcsolódó riasztások készlete.
Name | Típus | Description |
---|---|---|
id |
string |
Azure-erőforrás azonosítója |
name |
string |
Azure-erőforrás neve |
properties.alertSeverities |
Az intelligens csoport riasztásainak összegzése |
|
properties.alertStates |
Az intelligens csoportban található alertStates összegzése |
|
properties.alertsCount |
integer (int64) |
Riasztások teljes száma az intelligens csoportban |
properties.lastModifiedDateTime |
string (date-time) |
Az intelligens csoport utolsó frissített időpontja. Date-Time ISO-8601 formátumban. |
properties.lastModifiedUserName |
string |
Legutóbb felhasználónévvel módosítva. |
properties.monitorConditions |
Az intelligens csoport monitorkondícióinak összegzése |
|
properties.monitorServices |
A monitorServices összegzése az intelligens csoportban |
|
properties.nextLink |
string |
A riasztások következő oldalának lekéréséhez tartozó URI. Hívja meg a ListNext() függvényt ezzel az URI-val a következő lapriasztások lekéréséhez. |
properties.resourceGroups |
Az intelligens csoport célerőforrás-csoportjainak összegzése |
|
properties.resourceTypes |
A célerőforrás-típusok összegzése az intelligens csoportban |
|
properties.resources |
Az intelligens csoport célerőforrásainak összegzése |
|
properties.severity |
Az intelligens csoport súlyossága a csoport összes riasztásának legmagasabb (Sev0 >... > Sev4) súlyossága. |
|
properties.smartGroupState |
Intelligens csoport állapota |
|
properties.startDateTime |
string (date-time) |
Az intelligens csoport létrehozásának ideje. Date-Time ISO-8601 formátumban. |
type |
string |
Azure-erőforrástípus |
smartGroupAggregatedProperty
Az egyes típusok összesített tulajdonsága
Name | Típus | Description |
---|---|---|
count |
integer (int64) |
A típuselemek teljes száma. |
name |
string |
A típus neve. |
State
Intelligens csoport állapota
Érték | Description |
---|---|
Acknowledged | |
Closed | |
New |