environments_capacities
Creates, updates, deletes, gets or lists a environments_capacities
resource.
Overview
Name | environments_capacities |
Type | Resource |
Id | azure.app_service.environments_capacities |
Fields
Name | Datatype | Description |
---|---|---|
name | string | Name of the stamp. |
availableCapacity | integer | 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 | Total capacity (# of machines, bytes of storage etc...). |
unit | string | Name of the unit. |
workerSize | string | Size of the machines. |
workerSizeId | integer | Size ID of machines: |
0 - Small 1 - Medium 2 - Large |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list | SELECT | name, resourceGroupName, subscriptionId | Description for Get the used, available, and total worker capacity an App Service Environment. |
SELECT
examples
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 name = '{{ name }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';