你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
SkuInformation 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
SkuInformation() |
初始化 SkuInformation 类的新实例。 |
SkuInformation(String, Nullable<SkuTier>, String, String, IList<String>, IList<SKUCapability>, IList<Restriction>) |
初始化 SkuInformation 类的新实例。 |
SkuInformation()
初始化 SkuInformation 类的新实例。
public SkuInformation ();
Public Sub New ()
适用于
SkuInformation(String, Nullable<SkuTier>, String, String, IList<String>, IList<SKUCapability>, IList<Restriction>)
初始化 SkuInformation 类的新实例。
public SkuInformation (string name, Microsoft.Azure.Management.Storage.Models.SkuTier? tier = default, string resourceType = default, string kind = default, System.Collections.Generic.IList<string> locations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Models.SKUCapability> capabilities = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Models.Restriction> restrictions = default);
new Microsoft.Azure.Management.Storage.Models.SkuInformation : string * Nullable<Microsoft.Azure.Management.Storage.Models.SkuTier> * string * string * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Models.SKUCapability> * System.Collections.Generic.IList<Microsoft.Azure.Management.Storage.Models.Restriction> -> Microsoft.Azure.Management.Storage.Models.SkuInformation
Public Sub New (name As String, Optional tier As Nullable(Of SkuTier) = Nothing, Optional resourceType As String = Nothing, Optional kind As String = Nothing, Optional locations As IList(Of String) = Nothing, Optional capabilities As IList(Of SKUCapability) = Nothing, Optional restrictions As IList(Of Restriction) = Nothing)
参数
- name
- String
可能的值包括:“Standard_LRS”、“Standard_GRS”、“Standard_RAGRS”、“Standard_ZRS”、“Premium_LRS”、“Premium_ZRS”、“Standard_GZRS”、“Standard_RAGZRS”
- resourceType
- String
资源的类型,通常为“storageAccounts”。
- kind
- String
指示存储帐户的类型。 可能的值包括:“Storage”、“StorageV2”、“BlobStorage”、“FileStorage”、“BlockBlobStorage”
- capabilities
- IList<SKUCapability>
指定 SKU 中的功能信息,包括文件加密、网络 ACL、更改通知等。
- restrictions
- IList<Restriction>
由于 SKU 无法使用的限制。 如果没有限制,则为空。