Web Apps - Get Instance Info Slot
Beschrijving voor Haalt alle uitschaalexemplaren van een app op.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/slots/{slot}/instances/{instanceId}?api-version=2023-12-01
URI-parameters
Name | In | Vereist | Type | Description |
---|---|---|---|---|
instance
|
path | True |
string |
|
name
|
path | True |
string |
Naam van de app. |
resource
|
path | True |
string |
Naam van de resourcegroep waartoe de resource behoort. Regex-patroon: |
slot
|
path | True |
string |
Naam van de implementatiesite. Als er geen site is opgegeven, haalt de API de exemplaren van de productiesite op. |
subscription
|
path | True |
string |
Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 00000000-0000-0000-0000-000000000000). |
api-version
|
query | True |
string |
API-versie |
Antwoorden
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
App Service foutreactie. |
Beveiliging
azure_auth
Azure Active Directory OAuth2-stroom
Type:
oauth2
Stroom:
implicit
Autorisatie-URL:
https://login.microsoftonline.com/common/oauth2/authorize
Bereiken
Name | Description |
---|---|
user_impersonation | uw gebruikersaccount imiteren |
Voorbeelden
Get site instance info
Voorbeeldaanvraag
Voorbeeldrespons
{
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/tests346/slot/staging/instances/134987120",
"name": "134987120",
"type": "Microsoft.Web/sites/instances",
"properties": {
"state": "READY",
"statusUrl": "https://sampleurl",
"detectorUrl": "testsec579",
"containers": {
"c1": {
"currentTimeStamp": "2013-10-21T13:28:06.419Z"
}
}
}
}
Definities
Name | Description |
---|---|
Container |
|
Container |
|
Container |
|
Container |
|
Container |
|
Container |
|
Default |
App Service foutreactie. |
Details | |
Error |
Foutmodel. |
Site |
|
Web |
ContainerCpuStatistics
Name | Type | Description |
---|---|---|
cpuUsage | ||
onlineCpuCount |
integer |
|
systemCpuUsage |
integer |
|
throttlingData |
ContainerCpuUsage
Name | Type | Description |
---|---|---|
kernelModeUsage |
integer |
|
perCpuUsage |
integer[] |
|
totalUsage |
integer |
|
userModeUsage |
integer |
ContainerInfo
Name | Type | Description |
---|---|---|
currentCpuStats | ||
currentTimeStamp |
string |
|
eth0 | ||
id |
string |
|
memoryStats | ||
name |
string |
|
previousCpuStats | ||
previousTimeStamp |
string |
ContainerMemoryStatistics
Name | Type | Description |
---|---|---|
limit |
integer |
|
maxUsage |
integer |
|
usage |
integer |
ContainerNetworkInterfaceStatistics
Name | Type | Description |
---|---|---|
rxBytes |
integer |
|
rxDropped |
integer |
|
rxErrors |
integer |
|
rxPackets |
integer |
|
txBytes |
integer |
|
txDropped |
integer |
|
txErrors |
integer |
|
txPackets |
integer |
ContainerThrottlingData
Name | Type | Description |
---|---|---|
periods |
integer |
|
throttledPeriods |
integer |
|
throttledTime |
integer |
DefaultErrorResponse
App Service foutreactie.
Name | Type | Description |
---|---|---|
error |
Foutmodel. |
Details
Name | Type | Description |
---|---|---|
code |
string |
Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren. |
message |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
Error
Foutmodel.
Name | Type | Description |
---|---|---|
code |
string |
Gestandaardiseerde tekenreeks om de fout programmatisch te identificeren. |
details |
Details[] |
Gedetailleerde fouten. |
innererror |
string |
Meer informatie over foutopsporing. |
message |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
target |
string |
Gedetailleerde foutbeschrijving en foutopsporingsinformatie. |
SiteRuntimeState
Name | Type | Description |
---|---|---|
READY |
string |
|
STOPPED |
string |
|
UNKNOWN |
string |
WebSiteInstanceStatus
Name | Type | Description |
---|---|---|
id |
string |
Resource-id. |
kind |
string |
Soort resource. |
name |
string |
Resourcenaam. |
properties.consoleUrl |
string |
Koppeling naar de console naar web-app-exemplaar |
properties.containers |
<string,
Container |
|
properties.detectorUrl |
string |
Koppeling naar de portal Diagnose en oplossen |
properties.healthCheckUrl |
string |
Koppeling naar de console naar web-app-exemplaar |
properties.state | ||
properties.statusUrl |
string |
Koppeling naar de GetStatusApi in Kudu |
type |
string |
Resourcetype. |