Source code for azure.mgmt.storage.v2017_06_01.models.storage_account_update_parameters_py3

# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------

from msrest.serialization import Model


[docs]class StorageAccountUpdateParameters(Model): """The parameters that can be provided when updating the storage account properties. :param 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. :type sku: ~azure.mgmt.storage.v2017_06_01.models.Sku :param 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. :type tags: dict[str, str] :param identity: The identity of the resource. :type identity: ~azure.mgmt.storage.v2017_06_01.models.Identity :param 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. :type custom_domain: ~azure.mgmt.storage.v2017_06_01.models.CustomDomain :param encryption: Provides the encryption settings on the account. The default setting is unencrypted. :type encryption: ~azure.mgmt.storage.v2017_06_01.models.Encryption :param access_tier: Required for storage accounts where kind = BlobStorage. The access tier used for billing. Possible values include: 'Hot', 'Cool' :type access_tier: str or ~azure.mgmt.storage.v2017_06_01.models.AccessTier :param enable_https_traffic_only: Allows https traffic only to storage service if sets to true. Default value: False . :type enable_https_traffic_only: bool :param network_rule_set: Network rule set :type network_rule_set: ~azure.mgmt.storage.v2017_06_01.models.NetworkRuleSet """ _attribute_map = { 'sku': {'key': 'sku', 'type': 'Sku'}, 'tags': {'key': 'tags', 'type': '{str}'}, 'identity': {'key': 'identity', 'type': 'Identity'}, 'custom_domain': {'key': 'properties.customDomain', 'type': 'CustomDomain'}, 'encryption': {'key': 'properties.encryption', 'type': 'Encryption'}, 'access_tier': {'key': 'properties.accessTier', 'type': 'AccessTier'}, 'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'}, 'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'}, } def __init__(self, *, sku=None, tags=None, identity=None, custom_domain=None, encryption=None, access_tier=None, enable_https_traffic_only: bool=False, network_rule_set=None, **kwargs) -> None: super(StorageAccountUpdateParameters, self).__init__(**kwargs) self.sku = sku self.tags = tags self.identity = identity self.custom_domain = custom_domain self.encryption = encryption self.access_tier = access_tier self.enable_https_traffic_only = enable_https_traffic_only self.network_rule_set = network_rule_set