Hyper V Sites - Get Site Health Summary
Site sistem durumu özetini alma yöntemi.
POST https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.OffAzure/HyperVSites/{siteName}/healthSummary?api-version=2020-01-01
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
resource
|
path | True |
string |
Kaynak grubunun adı. Ad büyük/küçük harfe duyarlı değildir. |
site
|
path | True |
string |
Site adı. |
subscription
|
path | True |
string |
Hedef aboneliğin kimliği. |
api-version
|
query | True |
string |
Bu işlem için kullanılacak API sürümü. |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
Tamam |
Örnekler
Get Hyper-V site health summary.
Sample Request
POST https://management.azure.com/subscriptions/8c3c936a-c09b-4de3-830b-3f5f244d72e9/resourceGroups/HMWalkthroughDay1-Scale/providers/Microsoft.OffAzure/HyperVSites/HyperV1acf8site/healthSummary?api-version=2020-01-01
Sample Response
{
"value": [
{
"applianceName": "HyperV1",
"errorMessage": "Server: 'WIN-BVO0984D4J6' The WinRM client cannot process the request because the server name cannot be resolved.",
"summaryMessage": "Unable to connect to host(s) or cluster as name cannot be resolved. WinRM error code: 0x803381B9.",
"errorId": 50004,
"errorCode": "NameResolutionFailed",
"affectedObjectsCount": 2,
"hitCount": 2,
"severity": "Error",
"remediationGuidance": "Update the hosts file on the appliance. Learn more (https://aka.ms/migrate/hyperv/nameresolution).",
"affectedResourceType": "Microsoft.OffAzure/HyperVSites/hosts",
"affectedResources": [
"win-bvo0984d4j6-c738a150-0ec3-598f-b872-833bfcea2818",
"win-pps0bm5lv04-db27b8f3-8214-573c-985f-8e3026a7d34c"
]
}
],
"nextLink": null
}
Tanımlar
Name | Description |
---|---|
Site |
Site sistem durumu özet modeli. |
Site |
SiteHealthSummary koleksiyonu. |
SiteHealthSummary
Site sistem durumu özet modeli.
Name | Tür | Description |
---|---|---|
affectedObjectsCount |
integer |
Etkilenen nesnelerin sayısı. |
affectedResourceType |
string |
Etkilenen kaynak türü. |
affectedResources |
string[] |
Etkilenen kaynaklar. |
applianceName |
string |
Alet adı. |
errorCode |
string |
Hata kodu. |
errorId |
integer |
Hata Kimliği. |
errorMessage |
string |
Hata iletisi. |
hitCount |
integer |
Hatanın isabet sayısı. |
remediationGuidance |
string |
Düzeltme kılavuzu. |
severity |
string |
Hatanın önem derecesi. |
summaryMessage |
string |
Özet ileti. |
SiteHealthSummaryCollection
SiteHealthSummary koleksiyonu.
Name | Tür | Description |
---|---|---|
nextLink |
string |
Sonraki bağlantının değeri. |
value |
SiteHealthSummary listesi. |