次の方法で共有


App Service Environments - List Capacities

「App Service Environmentの使用済み、使用可能、および合計ワーカー容量を取得する」の説明。

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

URI パラメーター

名前 / 必須 説明
name
path True

string

App Service Environmentの名前。

resourceGroupName
path True

string

リソースが属しているリソース グループの名前。

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

subscriptionId
path True

string

Azure のサブスクリプション ID。 これは GUID 形式の文字列です (例: 000000000-0000-0000-0000-00000000000000)。

api-version
query True

string

API バージョン

応答

名前 説明
200 OK

StampCapacityCollection

OK

Other Status Codes

DefaultErrorResponse

エラー応答を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 the used, available, and total worker capacity 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/capacities/compute?api-version=2023-12-01

Sample Response

{
  "value": [
    {
      "name": null,
      "availableCapacity": 0,
      "totalCapacity": 1,
      "unit": null,
      "computeMode": "Dedicated",
      "workerSize": null,
      "workerSizeId": 0,
      "excludeFromCapacityAllocation": false,
      "isApplicableForAllComputeModes": false,
      "siteMode": null,
      "isLinux": false
    },
    {
      "name": null,
      "availableCapacity": 0,
      "totalCapacity": 1,
      "unit": null,
      "computeMode": "Dedicated",
      "workerSize": null,
      "workerSizeId": 1,
      "excludeFromCapacityAllocation": false,
      "isApplicableForAllComputeModes": false,
      "siteMode": null,
      "isLinux": false
    },
    {
      "name": null,
      "availableCapacity": 0,
      "totalCapacity": 1,
      "unit": null,
      "computeMode": "Dedicated",
      "workerSize": null,
      "workerSizeId": 2,
      "excludeFromCapacityAllocation": false,
      "isApplicableForAllComputeModes": false,
      "siteMode": null,
      "isLinux": false
    }
  ],
  "nextLink": null
}

定義

名前 説明
ComputeModeOptions

共有/専用ワーカー。

DefaultErrorResponse

エラー応答をApp Serviceします。

Details
Error

エラー モデル。

StampCapacity

スタンプ容量情報。

StampCapacityCollection

スタンプ容量のコレクション。

WorkerSizeOptions

マシンのサイズ。

ComputeModeOptions

共有/専用ワーカー。

名前 説明
Dedicated

string

Dynamic

string

Shared

string

DefaultErrorResponse

エラー応答をApp Serviceします。

名前 説明
error

Error

エラー モデル。

Details

名前 説明
code

string

プログラムによってエラーを識別するための標準化された文字列。

message

string

エラーの詳細な説明とデバッグ情報。

target

string

エラーの詳細な説明とデバッグ情報。

Error

エラー モデル。

名前 説明
code

string

プログラムによってエラーを識別するための標準化された文字列。

details

Details[]

詳細なエラー。

innererror

string

デバッグ エラーの詳細。

message

string

エラーの詳細な説明とデバッグ情報。

target

string

エラーの詳細な説明とデバッグ情報。

StampCapacity

スタンプ容量情報。

名前 説明
availableCapacity

integer

使用可能な容量 (マシンの数、ストレージのバイト数など)。

computeMode

ComputeModeOptions

共有/専用ワーカー。

excludeFromCapacityAllocation

boolean

の場合 trueは、基本的なアプリが含まれます。 Basic アプリは容量割り当てには使用されません。

isApplicableForAllComputeModes

boolean

true 容量がすべてのアプリに適用される場合。それ以外の場合は false

isLinux

boolean

これは Linux スタンプ容量か

name

string

スタンプの名前。

siteMode

string

共有または専用。

totalCapacity

integer

合計容量 (マシンの数、ストレージのバイト数など)。

unit

string

ユニットの名前。

workerSize

WorkerSizeOptions

マシンのサイズ。

workerSizeId

integer

マシンのサイズ ID: 0 - 小 1 - 中 2 - 大

StampCapacityCollection

スタンプ容量のコレクション。

名前 説明
nextLink

string

リソースの次のページへのリンク。

value

StampCapacity[]

リソースのコレクション。

WorkerSizeOptions

マシンのサイズ。

名前 説明
D1

string

D2

string

D3

string

Default

string

Large

string

LargeV3

string

Medium

string

MediumV3

string

NestedSmall

string

NestedSmallLinux

string

Small

string

SmallV3

string