Skip to main content

environments_capacities

Creates, updates, deletes, gets or lists a environments_capacities resource.

Overview

Nameenvironments_capacities
TypeResource
Idazure.app_service.environments_capacities

Fields

NameDatatypeDescription
namestringName of the stamp.
availableCapacityintegerAvailable capacity (# of machines, bytes of storage etc...).
computeModestringShared/dedicated workers.
excludeFromCapacityAllocationbooleanIf true, it includes basic apps.
Basic apps are not used for capacity allocation.
isApplicableForAllComputeModesbooleantrue if capacity is applicable for all apps; otherwise, false.
isLinuxbooleanIs this a linux stamp capacity
siteModestringShared or Dedicated.
totalCapacityintegerTotal capacity (# of machines, bytes of storage etc...).
unitstringName of the unit.
workerSizestringSize of the machines.
workerSizeIdintegerSize ID of machines:

0 - Small 1 - Medium 2 - Large |

Methods

NameAccessible byRequired ParamsDescription
listSELECTname, resourceGroupName, subscriptionIdDescription 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 }}';