다음을 통해 공유


Web Apps - Get Instance Info

앱의 모든 스케일 아웃 인스턴스 가져오기에 대한 설명입니다.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}?api-version=2023-12-01

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
instanceId
path True

string

name
path True

string

응용 프로그램의 이름입니다.

resourceGroupName
path True

string

리소스가 속한 리소스 그룹의 이름입니다.

regex 패턴: ^[-\w\._\(\)]+[^\.]$

subscriptionId
path True

string

Azure 구독 ID. GUID 형식 문자열입니다(예: 000000000-0000-0000-0000-0000-000000000000).

api-version
query True

string

API 버전

응답

Name 형식 Description
200 OK

WebSiteInstanceStatus

정상

Other Status Codes

DefaultErrorResponse

오류 응답을 App Service.

보안

azure_auth

Azure Active Directory OAuth2 Flow

형식: oauth2
Flow: implicit
권한 부여 URL: https://login.microsoftonline.com/common/oauth2/authorize

범위

Name Description
user_impersonation 사용자 계정 가장

예제

Get site instance info

샘플 요청

GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/tests346/instances/134987120?api-version=2023-12-01

샘플 응답

{
  "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"
      }
    }
  }
}

정의

Name Description
ContainerCpuStatistics
ContainerCpuUsage
ContainerInfo
ContainerMemoryStatistics
ContainerNetworkInterfaceStatistics
ContainerThrottlingData
DefaultErrorResponse

오류 응답을 App Service.

Details
Error

오류 모델.

SiteRuntimeState
WebSiteInstanceStatus

ContainerCpuStatistics

Name 형식 Description
cpuUsage

ContainerCpuUsage

onlineCpuCount

integer

systemCpuUsage

integer

throttlingData

ContainerThrottlingData

ContainerCpuUsage

Name 형식 Description
kernelModeUsage

integer

perCpuUsage

integer[]

totalUsage

integer

userModeUsage

integer

ContainerInfo

Name 형식 Description
currentCpuStats

ContainerCpuStatistics

currentTimeStamp

string

eth0

ContainerNetworkInterfaceStatistics

id

string

memoryStats

ContainerMemoryStatistics

name

string

previousCpuStats

ContainerCpuStatistics

previousTimeStamp

string

ContainerMemoryStatistics

Name 형식 Description
limit

integer

maxUsage

integer

usage

integer

ContainerNetworkInterfaceStatistics

Name 형식 Description
rxBytes

integer

rxDropped

integer

rxErrors

integer

rxPackets

integer

txBytes

integer

txDropped

integer

txErrors

integer

txPackets

integer

ContainerThrottlingData

Name 형식 Description
periods

integer

throttledPeriods

integer

throttledTime

integer

DefaultErrorResponse

오류 응답을 App Service.

Name 형식 Description
error

Error

오류 모델.

Details

Name 형식 Description
code

string

프로그래밍 방식으로 오류를 식별하는 표준화된 문자열입니다.

message

string

자세한 오류 설명 및 디버깅 정보입니다.

target

string

자세한 오류 설명 및 디버깅 정보입니다.

Error

오류 모델.

Name 형식 Description
code

string

프로그래밍 방식으로 오류를 식별하는 표준화된 문자열입니다.

details

Details[]

자세한 오류입니다.

innererror

string

디버그 오류에 대한 자세한 정보입니다.

message

string

자세한 오류 설명 및 디버깅 정보입니다.

target

string

자세한 오류 설명 및 디버깅 정보입니다.

SiteRuntimeState

Name 형식 Description
READY

string

STOPPED

string

UNKNOWN

string

WebSiteInstanceStatus

Name 형식 Description
id

string

리소스 ID입니다.

kind

string

리소스 종류입니다.

name

string

리소스 이름입니다.

properties.consoleUrl

string

웹앱에 콘솔에 연결 instance

properties.containers

<string,  ContainerInfo>

properties.detectorUrl

string

진단 및 해결 포털에 연결

properties.healthCheckUrl

string

웹앱에 콘솔에 연결 instance

properties.state

SiteRuntimeState

properties.statusUrl

string

Kudu의 GetStatusApi에 연결

type

string

리소스 종류.