StampCapacity Class

Stamp capacity information.

Inheritance
StampCapacity

Constructor

StampCapacity(*, name: Optional[str] = None, available_capacity: Optional[int] = None, total_capacity: Optional[int] = None, unit: Optional[str] = None, compute_mode: Optional[Union[str, azure.mgmt.web.v2021_02_01.models._web_site_management_client_enums.ComputeModeOptions]] = None, worker_size: Optional[Union[str, azure.mgmt.web.v2021_02_01.models._web_site_management_client_enums.WorkerSizeOptions]] = None, worker_size_id: Optional[int] = None, exclude_from_capacity_allocation: Optional[bool] = None, is_applicable_for_all_compute_modes: Optional[bool] = None, site_mode: Optional[str] = None, is_linux: Optional[bool] = None, **kwargs)

Parameters

name
str
Required

Name of the stamp.

available_capacity
<xref:long>
Required

Available capacity (# of machines, bytes of storage etc...).

total_capacity
<xref:long>
Required

Total capacity (# of machines, bytes of storage etc...).

unit
str
Required

Name of the unit.

compute_mode
str or ComputeModeOptions
Required

Shared/dedicated workers. Possible values include: "Shared", "Dedicated", "Dynamic".

worker_size
str or WorkerSizeOptions
Required

Size of the machines. Possible values include: "Small", "Medium", "Large", "D1", "D2", "D3", "SmallV3", "MediumV3", "LargeV3", "NestedSmall", "NestedSmallLinux", "Default".

worker_size_id
int
Required

Size ID of machines: 0 - Small 1 - Medium 2 - Large.

exclude_from_capacity_allocation
bool
Required

If <code>true</code>, it includes basic apps. Basic apps are not used for capacity allocation.

is_applicable_for_all_compute_modes
bool
Required

<code>true</code> if capacity is applicable for all apps; otherwise, <code>false</code>.

site_mode
str
Required

Shared or Dedicated.

is_linux
bool
Required

Is this a linux stamp capacity.