你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StorageAccountUpdateParameters 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
StorageAccountUpdateParameters()
初始化 StorageAccountUpdateParameters 类的新实例。
public StorageAccountUpdateParameters();
Public Sub New ()
适用于
StorageAccountUpdateParameters(Sku, IDictionary<String,String>, Identity, CustomDomain, Encryption, SasPolicy, KeyPolicy, Nullable<AccessTier>, AzureFilesIdentityBasedAuthentication, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, NetworkRuleSet, String, RoutingPreference, Nullable<Boolean>, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, String, ImmutableStorageAccount, String, String, String)
初始化 StorageAccountUpdateParameters 类的新实例。
public StorageAccountUpdateParameters(Microsoft.Azure.Management.Storage.Models.Sku sku = default, System.Collections.Generic.IDictionary<string,string> tags = default, Microsoft.Azure.Management.Storage.Models.Identity identity = default, Microsoft.Azure.Management.Storage.Models.CustomDomain customDomain = default, Microsoft.Azure.Management.Storage.Models.Encryption encryption = default, Microsoft.Azure.Management.Storage.Models.SasPolicy sasPolicy = default, Microsoft.Azure.Management.Storage.Models.KeyPolicy keyPolicy = default, Microsoft.Azure.Management.Storage.Models.AccessTier? accessTier = default, Microsoft.Azure.Management.Storage.Models.AzureFilesIdentityBasedAuthentication azureFilesIdentityBasedAuthentication = default, bool? enableHttpsTrafficOnly = default, bool? isSftpEnabled = default, bool? isLocalUserEnabled = default, Microsoft.Azure.Management.Storage.Models.NetworkRuleSet networkRuleSet = default, string largeFileSharesState = default, Microsoft.Azure.Management.Storage.Models.RoutingPreference routingPreference = default, bool? allowBlobPublicAccess = default, string minimumTlsVersion = default, bool? allowSharedKeyAccess = default, bool? allowCrossTenantReplication = default, bool? defaultToOAuthAuthentication = default, string publicNetworkAccess = default, Microsoft.Azure.Management.Storage.Models.ImmutableStorageAccount immutableStorageWithVersioning = default, string allowedCopyScope = default, string dnsEndpointType = default, string kind = default);
new Microsoft.Azure.Management.Storage.Models.StorageAccountUpdateParameters : Microsoft.Azure.Management.Storage.Models.Sku * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.Storage.Models.Identity * Microsoft.Azure.Management.Storage.Models.CustomDomain * Microsoft.Azure.Management.Storage.Models.Encryption * Microsoft.Azure.Management.Storage.Models.SasPolicy * Microsoft.Azure.Management.Storage.Models.KeyPolicy * Nullable<Microsoft.Azure.Management.Storage.Models.AccessTier> * Microsoft.Azure.Management.Storage.Models.AzureFilesIdentityBasedAuthentication * Nullable<bool> * Nullable<bool> * Nullable<bool> * Microsoft.Azure.Management.Storage.Models.NetworkRuleSet * string * Microsoft.Azure.Management.Storage.Models.RoutingPreference * Nullable<bool> * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * string * Microsoft.Azure.Management.Storage.Models.ImmutableStorageAccount * string * string * string -> Microsoft.Azure.Management.Storage.Models.StorageAccountUpdateParameters
Public Sub New (Optional sku As Sku = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional identity As Identity = Nothing, Optional customDomain As CustomDomain = Nothing, Optional encryption As Encryption = Nothing, Optional sasPolicy As SasPolicy = Nothing, Optional keyPolicy As KeyPolicy = Nothing, Optional accessTier As Nullable(Of AccessTier) = Nothing, Optional azureFilesIdentityBasedAuthentication As AzureFilesIdentityBasedAuthentication = Nothing, Optional enableHttpsTrafficOnly As Nullable(Of Boolean) = Nothing, Optional isSftpEnabled As Nullable(Of Boolean) = Nothing, Optional isLocalUserEnabled As Nullable(Of Boolean) = Nothing, Optional networkRuleSet As NetworkRuleSet = Nothing, Optional largeFileSharesState As String = Nothing, Optional routingPreference As RoutingPreference = Nothing, Optional allowBlobPublicAccess As Nullable(Of Boolean) = Nothing, Optional minimumTlsVersion As String = Nothing, Optional allowSharedKeyAccess As Nullable(Of Boolean) = Nothing, Optional allowCrossTenantReplication As Nullable(Of Boolean) = Nothing, Optional defaultToOAuthAuthentication As Nullable(Of Boolean) = Nothing, Optional publicNetworkAccess As String = Nothing, Optional immutableStorageWithVersioning As ImmutableStorageAccount = Nothing, Optional allowedCopyScope As String = Nothing, Optional dnsEndpointType As String = Nothing, Optional kind As String = Nothing)
参数
- sku
- Sku
获取或设置 SKU 名称。 请注意,SKU 名称不能更新为Standard_ZRS、Premium_LRS或Premium_ZRS,也不能将这些 SKU 名称的帐户更新为任何其他值。
- tags
- IDictionary<String,String>
获取或设置描述资源的键值对的列表。 在查看此资源和为此资源分组(跨资源组)时,可以使用这些标记。 最多可以为资源提供 15 个标记。 每个标记必须具有长度不超过 128 个字符的键和长度不超过 256 个字符的值。
- identity
- Identity
资源的标识。
- customDomain
- CustomDomain
用户分配给存储帐户的自定义域。 名称是 CNAME 源。 目前,每个存储帐户仅支持一个自定义域。 若要清除现有的自定义域,请对自定义域名属性使用空字符串。
- encryption
- Encryption
不适用。 默认情况下,所有存储帐户都启用了 Azure 存储静态加密,无法禁用。
- sasPolicy
- SasPolicy
分配给存储帐户的 SasPolicy。
- keyPolicy
- KeyPolicy
分配给存储帐户的 KeyPolicy。
- accessTier
- Nullable<AccessTier>
对于类型 = BlobStorage 的存储帐户是必需的。 访问层用于计费。 “高级”访问层是高级块 Blob 存储帐户类型的默认值,不能更改高级块 Blob 存储帐户类型的默认值。 可能的值包括:“Hot”、“Cool”、“Premium”
- azureFilesIdentityBasedAuthentication
- AzureFilesIdentityBasedAuthentication
为Azure 文件存储提供基于标识的身份验证设置。
- networkRuleSet
- NetworkRuleSet
网络规则集
- largeFileSharesState
- String
如果设置为“已启用”,则允许大型文件共享。 启用后,无法禁用它。 可能的值包括:“Disabled”、“Enabled”
- routingPreference
- RoutingPreference
维护用户为数据传输选择的网络路由选择的相关信息
- minimumTlsVersion
- String
设置请求存储时允许的最低 TLS 版本。 此属性的默认解释为 TLS 1.0。 可能的值包括:“TLS1_0”、“TLS1_1”、“TLS1_2”
指示存储帐户是否允许通过共享密钥使用帐户访问密钥对请求进行授权。 如果为 false,则必须使用 Azure Active Directory (Azure AD) 授权所有请求(包括共享访问签名)。 默认值为 null,等效于 true。
- publicNetworkAccess
- String
允许或禁止公用网络访问存储帐户。 值是可选的,但如果传入,则必须为“Enabled”或“Disabled”。 可能的值包括:“Enabled”、“Disabled”
- immutableStorageWithVersioning
- ImmutableStorageAccount
属性是不可变的,只能在创建帐户时设置为 true。 设置为 true 时,它默认为帐户中的所有容器启用对象级不可变性。
- allowedCopyScope
- String
限制向/从 AAD 租户中的存储帐户复制,或使用专用链接复制到同一 VNet。 可能的值包括:“PrivateLink”、“AAD”
- dnsEndpointType
- String
允许指定终结点的类型。 将此设置为 AzureDNSZone,在单个订阅中创建大量帐户,这会在 Azure DNS 区域中创建帐户,终结点 URL 将具有字母数字 DNS 区域标识符。 可能的值包括:“Standard”、“AzureDnsZone”
- kind
- String
可选。 指示存储帐户的类型。 目前只有服务器支持的 StorageV2 值。 可能的值包括:“Storage”、“StorageV2”、“BlobStorage”、“FileStorage”、“BlockBlobStorage”