你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SkuInformation Class

Storage SKU and its properties.

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
SkuInformation

Constructor

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

Keyword-Only Parameters

Name Description
name

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

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

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.