Web Apps - Get Instance Info
Bir uygulamanın tüm ölçek genişletme örneklerini alır için açıklama.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}?api-version=2023-12-01
URI Parametreleri
Name | İçinde | Gerekli | Tür | Description |
---|---|---|---|---|
instance
|
path | True |
string |
|
name
|
path | True |
string |
Uygulamanın adı. |
resource
|
path | True |
string |
Kaynağın ait olduğu kaynak grubunun adı. Regex pattern: |
subscription
|
path | True |
string |
Azure abonelik kimliğiniz. Bu GUID biçimli bir dizedir (örneğin, 000000000-0000-0000-0000-00000000000000). |
api-version
|
query | True |
string |
API Sürümü |
Yanıtlar
Name | Tür | Description |
---|---|---|
200 OK |
Tamam |
|
Other Status Codes |
hata yanıtı App Service. |
Güvenlik
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | kullanıcı hesabınızın kimliğine bürünme |
Örnekler
Get site instance info
Sample Request
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
Sample Response
{
"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"
}
}
}
}
Tanımlar
Name | Description |
---|---|
Container |
|
Container |
|
Container |
|
Container |
|
Container |
|
Container |
|
Default |
hata yanıtı App Service. |
Details | |
Error |
Hata modeli. |
Site |
|
Web |
ContainerCpuStatistics
Name | Tür | Description |
---|---|---|
cpuUsage | ||
onlineCpuCount |
integer |
|
systemCpuUsage |
integer |
|
throttlingData |
ContainerCpuUsage
Name | Tür | Description |
---|---|---|
kernelModeUsage |
integer |
|
perCpuUsage |
integer[] |
|
totalUsage |
integer |
|
userModeUsage |
integer |
ContainerInfo
Name | Tür | Description |
---|---|---|
currentCpuStats | ||
currentTimeStamp |
string |
|
eth0 | ||
id |
string |
|
memoryStats | ||
name |
string |
|
previousCpuStats | ||
previousTimeStamp |
string |
ContainerMemoryStatistics
Name | Tür | Description |
---|---|---|
limit |
integer |
|
maxUsage |
integer |
|
usage |
integer |
ContainerNetworkInterfaceStatistics
Name | Tür | Description |
---|---|---|
rxBytes |
integer |
|
rxDropped |
integer |
|
rxErrors |
integer |
|
rxPackets |
integer |
|
txBytes |
integer |
|
txDropped |
integer |
|
txErrors |
integer |
|
txPackets |
integer |
ContainerThrottlingData
Name | Tür | Description |
---|---|---|
periods |
integer |
|
throttledPeriods |
integer |
|
throttledTime |
integer |
DefaultErrorResponse
hata yanıtı App Service.
Name | Tür | Description |
---|---|---|
error |
Hata modeli. |
Details
Name | Tür | Description |
---|---|---|
code |
string |
Hatayı program aracılığıyla tanımlamak için standartlaştırılmış dize. |
message |
string |
Ayrıntılı hata açıklaması ve hata ayıklama bilgileri. |
target |
string |
Ayrıntılı hata açıklaması ve hata ayıklama bilgileri. |
Error
Hata modeli.
Name | Tür | Description |
---|---|---|
code |
string |
Hatayı program aracılığıyla tanımlamak için standartlaştırılmış dize. |
details |
Details[] |
Ayrıntılı hatalar. |
innererror |
string |
Hata ayıklamak için daha fazla bilgi. |
message |
string |
Ayrıntılı hata açıklaması ve hata ayıklama bilgileri. |
target |
string |
Ayrıntılı hata açıklaması ve hata ayıklama bilgileri. |
SiteRuntimeState
Name | Tür | Description |
---|---|---|
READY |
string |
|
STOPPED |
string |
|
UNKNOWN |
string |
WebSiteInstanceStatus
Name | Tür | Description |
---|---|---|
id |
string |
Kaynak Kimliği. |
kind |
string |
Bir tür kaynak. |
name |
string |
Kaynak Adı. |
properties.consoleUrl |
string |
Konsolu web uygulaması örneğine bağlama |
properties.containers |
<string,
Container |
|
properties.detectorUrl |
string |
Tanılama ve Çözme Portalı bağlantısı |
properties.healthCheckUrl |
string |
Konsolu web uygulaması örneğine bağlama |
properties.state | ||
properties.statusUrl |
string |
Kudu'da GetStatusApi bağlantısı |
type |
string |
Kaynak türü. |