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 server.

Inheritance
azure.mgmt.storage._serialization.Model
Sku

Constructor

Sku(*, name: str | _models.SkuName, restrictions: List[_models.Restriction] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name

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

restrictions

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

Variables

Name Description
name

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

tier

Gets the sku tier. This is based on the SKU name. Known values are: "Standard" and "Premium".

resource_type
str

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

kind
str or Kind

Indicates the type of storage account. Known values are: "Storage" and "BlobStorage".

locations

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

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

restrictions

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