Web Apps - Get Instance Info
アプリのすべてのスケールアウト インスタンスを取得するための説明。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/instances/{instanceId}?api-version=2025-03-01
URI パラメーター
| 名前 | / | 必須 | 型 | 説明 |
|---|---|---|---|---|
|
instance
|
path | True |
string |
|
|
name
|
path | True |
string |
アプリの名前。 |
|
resource
|
path | True |
string minLength: 1maxLength: 90 |
リソース グループの名前。 名前は大文字と小文字が区別されます。 |
|
subscription
|
path | True |
string (uuid) |
ターゲット サブスクリプションの ID。 値は UUID である必要があります。 |
|
api-version
|
query | True |
string minLength: 1 |
この操作に使用する API バージョン。 |
応答
| 名前 | 型 | 説明 |
|---|---|---|
| 200 OK |
Azure 操作は正常に完了しました。 |
|
| Other Status Codes |
予期しないエラー応答。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー。
型:
oauth2
フロー:
implicit
Authorization URL (承認 URL):
https://login.microsoftonline.com/common/oauth2/authorize
スコープ
| 名前 | 説明 |
|---|---|
| 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=2025-03-01
応答のサンプル
{
"name": "134987120",
"type": "Microsoft.Web/sites/instances",
"id": "/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/testrg123/providers/Microsoft.Web/sites/tests346/slot/staging/instances/134987120",
"properties": {
"containers": {
"c1": {
"currentTimeStamp": "2013-10-21T13:28:06.419Z"
}
},
"detectorUrl": "testsec579",
"state": "READY",
"statusUrl": "https://sampleurl"
}
}
定義
| 名前 | 説明 |
|---|---|
|
Container |
|
|
Container |
|
|
Container |
|
|
Container |
|
|
Container |
|
|
Container |
|
|
created |
リソースを作成した ID の種類。 |
|
Default |
App Service エラー応答。 |
|
Default |
エラー モデル。 |
|
Default |
詳細なエラー。 |
|
Site |
|
|
system |
リソースの作成と最後の変更に関連するメタデータ。 |
|
Web |
具体的なプロキシ リソースの種類は、特定のプロパティ型を使用してこの型にエイリアスを設定することで作成できます。 |
ContainerCpuStatistics
| 名前 | 型 | 説明 |
|---|---|---|
| cpuUsage | ||
| onlineCpuCount |
integer (int32) |
|
| systemCpuUsage |
integer (int64) |
|
| throttlingData |
ContainerCpuUsage
| 名前 | 型 | 説明 |
|---|---|---|
| kernelModeUsage |
integer (int64) |
|
| perCpuUsage |
integer[] (int64) |
|
| totalUsage |
integer (int64) |
|
| userModeUsage |
integer (int64) |
ContainerInfo
| 名前 | 型 | 説明 |
|---|---|---|
| currentCpuStats | ||
| currentTimeStamp |
string (date-time) |
|
| eth0 | ||
| id |
string |
|
| memoryStats | ||
| name |
string |
|
| previousCpuStats | ||
| previousTimeStamp |
string (date-time) |
ContainerMemoryStatistics
| 名前 | 型 | 説明 |
|---|---|---|
| limit |
integer (int64) |
|
| maxUsage |
integer (int64) |
|
| usage |
integer (int64) |
ContainerNetworkInterfaceStatistics
| 名前 | 型 | 説明 |
|---|---|---|
| rxBytes |
integer (int64) |
|
| rxDropped |
integer (int64) |
|
| rxErrors |
integer (int64) |
|
| rxPackets |
integer (int64) |
|
| txBytes |
integer (int64) |
|
| txDropped |
integer (int64) |
|
| txErrors |
integer (int64) |
|
| txPackets |
integer (int64) |
ContainerThrottlingData
| 名前 | 型 | 説明 |
|---|---|---|
| periods |
integer (int32) |
|
| throttledPeriods |
integer (int32) |
|
| throttledTime |
integer (int32) |
createdByType
リソースを作成した ID の種類。
| 値 | 説明 |
|---|---|
| User | |
| Application | |
| ManagedIdentity | |
| Key |
DefaultErrorResponse
App Service エラー応答。
| 名前 | 型 | 説明 |
|---|---|---|
| error |
エラー モデル。 |
DefaultErrorResponseError
エラー モデル。
| 名前 | 型 | 説明 |
|---|---|---|
| code |
string |
プログラムでエラーを識別するための標準化された文字列。 |
| details |
詳細なエラー。 |
|
| innererror |
string |
エラーのデバッグに関する詳細情報。 |
| message |
string |
詳細なエラーの説明とデバッグ情報。 |
| target |
string |
詳細なエラーの説明とデバッグ情報。 |
DefaultErrorResponseErrorDetailsItem
詳細なエラー。
| 名前 | 型 | 説明 |
|---|---|---|
| code |
string |
プログラムでエラーを識別するための標準化された文字列。 |
| message |
string |
詳細なエラーの説明とデバッグ情報。 |
| target |
string |
詳細なエラーの説明とデバッグ情報。 |
SiteRuntimeState
| 値 | 説明 |
|---|---|
| READY | |
| STOPPED | |
| UNKNOWN |
systemData
リソースの作成と最後の変更に関連するメタデータ。
| 名前 | 型 | 説明 |
|---|---|---|
| createdAt |
string (date-time) |
リソース作成のタイムスタンプ (UTC)。 |
| createdBy |
string |
リソースを作成した ID。 |
| createdByType |
リソースを作成した ID の種類。 |
|
| lastModifiedAt |
string (date-time) |
リソースの最終変更のタイムスタンプ (UTC) |
| lastModifiedBy |
string |
リソースを最後に変更した ID。 |
| lastModifiedByType |
リソースを最後に変更した ID の種類。 |
WebSiteInstanceStatus
具体的なプロキシ リソースの種類は、特定のプロパティ型を使用してこの型にエイリアスを設定することで作成できます。
| 名前 | 型 | 説明 |
|---|---|---|
| id |
string (arm-id) |
リソースの完全修飾リソース ID。 例: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}" |
| kind |
string |
リソースの種類。 |
| name |
string |
リソースの名前 |
| properties.consoleUrl |
string |
コンソールから Web アプリ インスタンスへのリンク |
| properties.containers |
<string,
Container |
<コンテナインフォの辞典> |
| properties.detectorUrl |
string |
診断と解決ポータルへのリンク |
| properties.healthCheckUrl |
string |
コンソールから Web アプリ インスタンスへのリンク |
| properties.physicalZone |
string |
インスタンスが属する物理ゾーン |
| properties.state | ||
| properties.statusUrl |
string |
KuduのGetStatusApiへのリンク |
| systemData |
createdBy および modifiedBy 情報を含む Azure Resource Manager メタデータ。 |
|
| type |
string |
リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts" |