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

SkuInformation 类

定义

存储 SKU 及其属性

public class SkuInformation
type SkuInformation = class
Public Class SkuInformation
继承
SkuInformation

构造函数

SkuInformation()

初始化 SkuInformation 类的新实例。

SkuInformation(String, Nullable<SkuTier>, String, String, IList<String>, IList<SKUCapability>, IList<Restriction>)

初始化 SkuInformation 类的新实例。

属性

Capabilities

获取指定 SKU 中的功能信息,包括文件加密、网络 ACL、更改通知等。

Kind

获取 指示存储帐户的类型。 可能的值包括:“Storage”、“StorageV2”、“BlobStorage”、“FileStorage”、“BlockBlobStorage”

Locations

获取 SKU 可用的位置集。 azure 地理区域 ((例如美国西部、美国东部、东南亚等) )将受到支持和注册。

Name

获取或设置可能的值包括:“Standard_LRS”、“Standard_GRS”、“Standard_RAGRS”、“Standard_ZRS”、“Premium_LRS”、“Premium_ZRS”、“Standard_GZRS”、“Standard_RAGZRS”

ResourceType

获取资源的类型,通常为“storageAccounts”。

Restrictions

获取或设置限制,因为不能使用 SKU。 如果没有限制,则为空。

Tier

获取或设置可能的值,包括:“Standard”、“Premium”

方法

Validate()

验证 对象。

适用于