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", "Premium_LRS", "Premium_ZRS", "Standard_GZRS", and "Standard_RAGZRS".

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", "Premium_LRS", "Premium_ZRS", "Standard_GZRS", and "Standard_RAGZRS".

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", "StorageV2", "BlobStorage", "FileStorage", and "BlockBlobStorage".

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.