CommonSku Class

The resource model definition representing SKU for ARM resources.

All required parameters must be populated in order to send to Azure.

Inheritance
CommonSku

Constructor

CommonSku(*, name: str, dev: Optional[bool] = True, size: Optional[str] = None, family: Optional[str] = None, capacity: Optional[int] = None, **kwargs)

Parameters

name
str
Required

Required. The name of the SKU. It is typically a letter+number code.

dev
bool
Required

Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose.

size
str
Required

The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.

family
str
Required

If the service has different generations of hardware, for the same SKU, then that can be captured here.

capacity
int
Required

If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.