Delen via


Web Apps - List Instance Identifiers 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?api-version=2023-12-01

URI-parameters

Name In Vereist Type Description
name
path True

string

Naam van de app.

resourceGroupName
path True

string

Naam van de resourcegroep waartoe de resource behoort.

Regex-patroon: ^[-\w\._\(\)]+[^\.]$

slot
path True

string

Naam van de implementatiesite. Als er geen site is opgegeven, haalt de API de productiesite-exemplaren op.

subscriptionId
path True

string

Uw Azure-abonnements-id. Dit is een tekenreeks met GUID-indeling (bijvoorbeeld 000000000-0000-0000-0000-000000000000).

api-version
query True

string

API-versie

Antwoorden

Name Type Description
200 OK

WebAppInstanceStatusCollection

OK

Other Status Codes

DefaultErrorResponse

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

Definities

Name Description
ContainerCpuStatistics
ContainerCpuUsage
ContainerInfo
ContainerMemoryStatistics
ContainerNetworkInterfaceStatistics
ContainerThrottlingData
DefaultErrorResponse

App Service foutreactie.

Details
Error

Foutmodel.

SiteRuntimeState
WebAppInstanceStatusCollection

Verzameling van app-exemplaren.

WebSiteInstanceStatus

ContainerCpuStatistics

Name Type Description
cpuUsage

ContainerCpuUsage

onlineCpuCount

integer

systemCpuUsage

integer

throttlingData

ContainerThrottlingData

ContainerCpuUsage

Name Type Description
kernelModeUsage

integer

perCpuUsage

integer[]

totalUsage

integer

userModeUsage

integer

ContainerInfo

Name Type Description
currentCpuStats

ContainerCpuStatistics

currentTimeStamp

string

eth0

ContainerNetworkInterfaceStatistics

id

string

memoryStats

ContainerMemoryStatistics

name

string

previousCpuStats

ContainerCpuStatistics

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

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

WebAppInstanceStatusCollection

Verzameling van app-exemplaren.

Name Type Description
nextLink

string

Koppeling naar de volgende pagina met resources.

value

WebSiteInstanceStatus[]

Verzameling resources.

WebSiteInstanceStatus

Name Type Description
id

string

Resource-id.

kind

string

Soort resource.

name

string

Resourcenaam.

properties.consoleUrl

string

Koppelen aan de console naar een web-app-exemplaar

properties.containers

<string,  ContainerInfo>

properties.detectorUrl

string

Koppeling naar de portal Diagnose en oplossen

properties.healthCheckUrl

string

Koppelen aan de console naar een web-app-exemplaar

properties.state

SiteRuntimeState

properties.statusUrl

string

Koppeling naar de GetStatusApi in Kudu

type

string

Resourcetype.