App Service Environments - List Web Worker Usages
「App Service Environmentのワーカー プールの使用状況メトリックを取得する」の説明。
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{name}/workerPools/{workerPoolName}/usages?api-version=2023-12-01
URI パラメーター
名前 | / | 必須 | 型 | 説明 |
---|---|---|---|---|
name
|
path | True |
string |
App Service Environmentの名前。 |
resource
|
path | True |
string |
リソースが属しているリソース グループの名前。 Regex pattern: |
subscription
|
path | True |
string |
Azure のサブスクリプション ID。 これは GUID 形式の文字列です (例: 000000000-0000-0000-0000-00000000000000)。 |
worker
|
path | True |
string |
ワーカー プールの名前。 |
api-version
|
query | True |
string |
API バージョン |
応答
名前 | 型 | 説明 |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
エラー応答をApp Serviceします。 |
セキュリティ
azure_auth
Azure Active Directory OAuth2 フロー
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
名前 | 説明 |
---|---|
user_impersonation | ユーザー アカウントの借用 |
例
Get usage metrics for a worker pool of an App Service Environment.
Sample Request
GET https://management.azure.com/subscriptions/34adfa4f-cedf-4dc0-ba29-b6d1a69ab345/resourceGroups/test-rg/providers/Microsoft.Web/hostingEnvironments/test-ase/workerPools/0/usages?api-version=2023-12-01
Sample Response
{
"value": [],
"nextLink": null
}
定義
名前 | 説明 |
---|---|
Compute |
共有/専用ワーカー。 |
Default |
エラー応答をApp Serviceします。 |
Details | |
Error |
エラー モデル。 |
Usage |
クォータ リソースの使用。 |
Usage |
使用状況のコレクション。 |
ComputeModeOptions
共有/専用ワーカー。
名前 | 型 | 説明 |
---|---|---|
Dedicated |
string |
|
Dynamic |
string |
|
Shared |
string |
DefaultErrorResponse
エラー応答をApp Serviceします。
名前 | 型 | 説明 |
---|---|---|
error |
エラー モデル。 |
Details
名前 | 型 | 説明 |
---|---|---|
code |
string |
プログラムによってエラーを識別するための標準化された文字列。 |
message |
string |
エラーの詳細な説明とデバッグ情報。 |
target |
string |
エラーの詳細な説明とデバッグ情報。 |
Error
エラー モデル。
名前 | 型 | 説明 |
---|---|---|
code |
string |
プログラムによってエラーを識別するための標準化された文字列。 |
details |
Details[] |
詳細なエラー。 |
innererror |
string |
デバッグ エラーの詳細。 |
message |
string |
エラーの詳細な説明とデバッグ情報。 |
target |
string |
エラーの詳細な説明とデバッグ情報。 |
Usage
クォータ リソースの使用。
名前 | 型 | 説明 |
---|---|---|
id |
string |
リソース ID。 |
kind |
string |
リソースの種類。 |
name |
string |
リソース名。 |
properties.computeMode |
この使用に使用されるコンピューティング モード。 |
|
properties.currentValue |
integer |
リソース カウンターの現在の値。 |
properties.displayName |
string |
UI に表示されるフレンドリ名。 |
properties.limit |
integer |
リソースの制限。 |
properties.nextResetTime |
string |
リソース カウンターの次のリセット時刻。 |
properties.resourceName |
string |
クォータ リソースの名前。 |
properties.siteMode |
string |
この使用に使用されるサイト モード。 |
properties.unit |
string |
クォータ リソースの測定単位。 |
type |
string |
リソースの種類。 |
UsageCollection
使用状況のコレクション。
名前 | 型 | 説明 |
---|---|---|
nextLink |
string |
リソースの次のページへのリンク。 |
value |
Usage[] |
リソースのコレクション。 |