StorageAccountUpdateParameters Class
The parameters that can be provided when updating the storage account properties.
- Inheritance
-
StorageAccountUpdateParameters
Constructor
StorageAccountUpdateParameters(*, sku: Optional[azure.mgmt.storage.v2021_02_01.models._models_py3.Sku] = None, tags: Optional[Dict[str, str]] = None, identity: Optional[azure.mgmt.storage.v2021_02_01.models._models_py3.Identity] = None, kind: Optional[Union[str, azure.mgmt.storage.v2021_02_01.models._storage_management_client_enums.Kind]] = None, custom_domain: Optional[azure.mgmt.storage.v2021_02_01.models._models_py3.CustomDomain] = None, encryption: Optional[azure.mgmt.storage.v2021_02_01.models._models_py3.Encryption] = None, sas_policy: Optional[azure.mgmt.storage.v2021_02_01.models._models_py3.SasPolicy] = None, key_policy: Optional[azure.mgmt.storage.v2021_02_01.models._models_py3.KeyPolicy] = None, access_tier: Optional[Union[str, azure.mgmt.storage.v2021_02_01.models._storage_management_client_enums.AccessTier]] = None, azure_files_identity_based_authentication: Optional[azure.mgmt.storage.v2021_02_01.models._models_py3.AzureFilesIdentityBasedAuthentication] = None, enable_https_traffic_only: Optional[bool] = None, network_rule_set: Optional[azure.mgmt.storage.v2021_02_01.models._models_py3.NetworkRuleSet] = None, large_file_shares_state: Optional[Union[str, azure.mgmt.storage.v2021_02_01.models._storage_management_client_enums.LargeFileSharesState]] = None, routing_preference: Optional[azure.mgmt.storage.v2021_02_01.models._models_py3.RoutingPreference] = None, allow_blob_public_access: Optional[bool] = None, minimum_tls_version: Optional[Union[str, azure.mgmt.storage.v2021_02_01.models._storage_management_client_enums.MinimumTlsVersion]] = None, allow_shared_key_access: Optional[bool] = None, **kwargs)
Variables
- sku
- Sku
Gets or sets the SKU name. Note that the SKU name cannot be updated to Standard_ZRS, Premium_LRS or Premium_ZRS, nor can accounts of those SKU names be updated to any other value.
A set of 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
- Identity
The identity of the resource.
Optional. Indicates the type of storage account. Currently only StorageV2 value supported by server. Possible values include: "Storage", "StorageV2", "BlobStorage", "FileStorage", "BlockBlobStorage".
- custom_domain
- CustomDomain
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
- Encryption
Provides the encryption settings on the account. The default setting is unencrypted.
- sas_policy
- SasPolicy
SasPolicy assigned to the storage account.
- key_policy
- KeyPolicy
KeyPolicy assigned to the storage account.
- access_tier
- str or AccessTier
Required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: "Hot", "Cool".
- azure_files_identity_based_authentication
- AzureFilesIdentityBasedAuthentication
Provides the identity based authentication settings for Azure Files.
- enable_https_traffic_only
- <xref:enable_https_traffic_only>)<xref: >(bool
Allows https traffic only to storage service if sets to true.
- network_rule_set
- NetworkRuleSet
Network rule set.
- large_file_shares_state
- str or LargeFileSharesState
Allow large file shares if sets to Enabled. It cannot be disabled once it is enabled. Possible values include: "Disabled", "Enabled".
- routing_preference
- RoutingPreference
Maintains information about the network routing choice opted by the user for data transfer.
- allow_blob_public_access
- bool
Allow or disallow public access to all blobs or containers in the storage account. The default interpretation is true for this property.
- minimum_tls_version
- str or MinimumTlsVersion
Set the minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property. Possible values include: "TLS1_0", "TLS1_1", "TLS1_2".
- allow_shared_key_access
- bool
Indicates whether the storage account permits requests to be authorized with the account access key via Shared Key. If false, then all requests, including shared access signatures, must be authorized with Azure Active Directory (Azure AD). The default value is null, which is equivalent to true.
Feedback
Submit and view feedback for