Sku Class

The SKU of the storage account.

Variables are only populated by the server, and will be ignored when sending a request.

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

Inheritance
Sku

Constructor

Sku(*, name: Union[str, azure.mgmt.storage.v2017_10_01.models._storage_management_enums.SkuName], restrictions: Optional[List[azure.mgmt.storage.v2017_10_01.models._models_py3.Restriction]] = None, **kwargs)

Variables

name
str or SkuName

Required. Gets or sets the sku name. Required for account creation; optional for update. Note that in older versions, sku name was called accountType. Possible values include: "Standard_LRS", "Standard_GRS", "Standard_RAGRS", "Standard_ZRS", "Premium_LRS".

tier
str or SkuTier

Gets the sku tier. This is based on the SKU name. Possible values include: "Standard", "Premium".

resource_type
str

The type of the resource, usually it is 'storageAccounts'.

kind
str or Kind

Indicates the type of storage account. Possible values include: "Storage", "StorageV2", "BlobStorage".

locations
list[str]

The set of locations that the SKU is available. This will be supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.).

capabilities
list[SKUCapability]

The capability information in the specified sku, including file encryption, network acls, change notification, etc.

restrictions
list[Restriction]

The restrictions because of which SKU cannot be used. This is empty if there are no restrictions.