environments_capacities
Creates, updates, deletes, gets or lists an environments_capacities
resource.
Overview
Name | environments_capacities |
Type | Resource |
Id | azure.app_service.environments_capacities |
Fields
The following fields are returned by SELECT
queries:
- list
Name | Datatype | Description |
---|---|---|
name | string | Name of the stamp. |
availableCapacity | integer (int64) | Available capacity (# of machines, bytes of storage etc...). |
computeMode | string | Shared/dedicated workers. |
excludeFromCapacityAllocation | boolean | If true , it includes basic apps. Basic apps are not used for capacity allocation. |
isApplicableForAllComputeModes | boolean | true if capacity is applicable for all apps; otherwise, false . |
isLinux | boolean | Is this a linux stamp capacity |
siteMode | string | Shared or Dedicated. |
totalCapacity | integer (int64) | Total capacity (# of machines, bytes of storage etc...). |
unit | string | Name of the unit. |
workerSize | string | Size of the machines. |
workerSizeId | integer (int32) | Size ID of machines: 0 - Small 1 - Medium 2 - Large |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list | select | resourceGroupName , name , subscriptionId | Description for Get the used, available, and total worker capacity an App Service Environment. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
name | string | Name of the App Service Environment. |
resourceGroupName | string | Name of the resource group to which the resource belongs. |
subscriptionId | string | Your Azure subscription ID. This is a GUID-formatted string (e.g. 00000000-0000-0000-0000-000000000000). |
SELECT
examples
- list
Description for Get the used, available, and total worker capacity an App Service Environment.
SELECT
name,
availableCapacity,
computeMode,
excludeFromCapacityAllocation,
isApplicableForAllComputeModes,
isLinux,
siteMode,
totalCapacity,
unit,
workerSize,
workerSizeId
FROM azure.app_service.environments_capacities
WHERE resourceGroupName = '{{ resourceGroupName }}' -- required
AND name = '{{ name }}' -- required
AND subscriptionId = '{{ subscriptionId }}' -- required
;