StampCapacity Class

Stamp capacity information.

Inheritance
StampCapacity

Constructor

StampCapacity(*, name: typing.Union[str, NoneType] = None, available_capacity: typing.Union[int, NoneType] = None, total_capacity: typing.Union[int, NoneType] = None, unit: typing.Union[str, NoneType] = None, compute_mode: typing.Union[str, _ForwardRef('ComputeModeOptions'), NoneType] = None, worker_size: typing.Union[str, _ForwardRef('WorkerSizeOptions'), NoneType] = None, worker_size_id: typing.Union[int, NoneType] = None, exclude_from_capacity_allocation: typing.Union[bool, NoneType] = None, is_applicable_for_all_compute_modes: typing.Union[bool, NoneType] = None, site_mode: typing.Union[str, NoneType] = None, is_linux: typing.Union[bool, NoneType] = 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", "NestedSmall", "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.