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

SkuInformation Class

Storage SKU and its properties.

Constructor

SkuInformation(*args: Any, **kwargs: Any)

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", "Standard_RAGZRS", "StandardV2_LRS", "StandardV2_GRS", "StandardV2_ZRS", "StandardV2_GZRS", "PremiumV2_LRS", and "PremiumV2_ZRS".

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

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

Attributes

capabilities

The capability information in the specified SKU, including file encryption, network ACLs, change notification, etc.

capabilities: list['_models.SKUCapability'] | None

kind

"Storage", "StorageV2", "BlobStorage", "FileStorage", and "BlockBlobStorage".

kind: str | _models.Kind | None

location_info

location_info: list['_models.SkuInformationLocationInfoItem'] | None

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

locations: list[str] | None

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", "Standard_RAGZRS", "StandardV2_LRS", "StandardV2_GRS", "StandardV2_ZRS", "StandardV2_GZRS", "PremiumV2_LRS", and "PremiumV2_ZRS".

name: str | _models.SkuName

resource_type

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

resource_type: str | None

restrictions

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

restrictions: list['_models.Restriction'] | None

tier

"Standard" and "Premium".

tier: str | _models.SkuTier | None