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

StorageAccountUpdateParameters Class

The parameters that can be provided when updating the storage account properties.

Constructor

StorageAccountUpdateParameters(*, sku: _models.Sku | None = None, tags: Dict[str, str] | None = None, identity: _models.Identity | None = None, kind: str | _models.Kind | None = None, custom_domain: _models.CustomDomain | None = None, encryption: _models.Encryption | None = None, access_tier: str | _models.AccessTier | None = None, enable_https_traffic_only: bool = False, network_rule_set: _models.NetworkRuleSet | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
sku
Sku

Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS or Premium_LRS, nor can accounts of those sku names be updated to any other value.

Default value: None
tags

Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.

Default value: None
identity

The identity of the resource.

Default value: None
kind
str or Kind

Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. Known values are: "Storage", "StorageV2", and "BlobStorage".

Default value: None
custom_domain

Custom domain assigned to the storage account by the user. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property.

Default value: None
encryption

Provides the encryption settings on the account. The default setting is unencrypted.

Default value: None
access_tier

Required for storage accounts where kind = BlobStorage. The access tier used for billing. Known values are: "Hot" and "Cool".

Default value: None
enable_https_traffic_only

Allows https traffic only to storage service if sets to true.

Default value: False
network_rule_set

Network rule set.

Default value: None

Variables

Name Description
sku
Sku

Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS or Premium_LRS, nor can accounts of those sku names be updated to any other value.

tags

Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater in length than 128 characters and a value no greater in length than 256 characters.

identity

The identity of the resource.

kind
str or Kind

Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. Known values are: "Storage", "StorageV2", and "BlobStorage".

custom_domain

Custom domain assigned to the storage account by the user. Name is the CNAME source. Only one custom domain is supported per storage account at this time. To clear the existing custom domain, use an empty string for the custom domain name property.

encryption

Provides the encryption settings on the account. The default setting is unencrypted.

access_tier

Required for storage accounts where kind = BlobStorage. The access tier used for billing. Known values are: "Hot" and "Cool".

enable_https_traffic_only

Allows https traffic only to storage service if sets to true.

network_rule_set

Network rule set.