pyaz/storage/account/__init__.py
def update(name, access_tier=None, add=None, allow_blob_public_access=None, allow_cross_tenant_replication=None, allow_protected_append_writes=None, allow_shared_key_access=None, assign_identity=None, azure_storage_sid=None, bypass=None, custom_domain=None, default_action=None, default_share_permission=None, domain_guid=None, domain_name=None, domain_sid=None, enable_files_aadds=None, enable_files_adds=None, enable_large_file_share=None, encryption_key_name=None, encryption_key_source=None, encryption_key_vault=None, encryption_key_version=None, encryption_services=None, force_string=None, forest_name=None, https_only=None, identity_type=None, immutability_period_in_days=None, immutability_state=None, key_expiration_period_in_days=None, key_vault_user_identity_id=None, min_tls_version=None, net_bios_domain_name=None, public_network_access=None, publish_internet_endpoints=None, publish_microsoft_endpoints=None, remove=None, resource_group=None, routing_choice=None, sas_expiration_period=None, set=None, sku=None, tags=None, use_subdomain=None, user_identity_id=None):
    '''
    Update the properties of a storage account.

    Required Parameters:
    - name -- The storage account name.

    Optional Parameters:
    - access_tier -- The access tier used for billing StandardBlob accounts. Cannot be set for StandardLRS, StandardGRS, StandardRAGRS, or PremiumLRS account types. It is required for StandardBlob accounts during creation
    - add -- Add an object to a list of objects by specifying a path and key value pairs.  Example: --add property.listProperty <key=value, string or JSON string>
    - allow_blob_public_access -- Allow or disallow public access to all blobs or containers in the storage account. The default value for this property is null, which is equivalent to true. When true, containers in the account may be configured for public access. Note that setting this property to true does not enable anonymous access to any data in the account. The additional step of configuring the public access setting for a container is required to enable anonymous access.
    - allow_cross_tenant_replication -- Allow or disallow cross AAD tenant object replication. The default interpretation is true for this property.
    - allow_protected_append_writes -- This property can only be changed for disabled and unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.
    - allow_shared_key_access -- Indicate 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.
    - assign_identity -- Generate and assign a new Storage Account Identity for this storage account for use with key management services like Azure KeyVault.
    - azure_storage_sid -- Specify the security identifier (SID) for Azure Storage. Required when --enable-files-adds is set to True
    - bypass -- Bypass traffic for space-separated uses.
    - custom_domain -- User domain assigned to the storage account. Name is the CNAME source. Use "" to clear existing value.
    - default_action -- Default action to apply when no rule matches.
    - default_share_permission -- Default share permission for users using Kerberos authentication if RBAC role is not assigned.
    - domain_guid -- Specify the domain GUID. Required when --enable-files-adds is set to True
    - domain_name -- Specify the primary domain that the AD DNS server is authoritative for. Required when --enable-files-adds is set to True
    - domain_sid -- Specify the security identifier (SID). Required when --enable-files-adds is set to True
    - enable_files_aadds -- Enable Azure Active Directory Domain Services authentication for Azure Files
    - enable_files_adds -- Enable Azure Files Active Directory Domain Service Authentication for storage account. When --enable-files-adds is set to true, Azure Active Directory Properties arguments must be provided.
    - enable_large_file_share -- Enable the capability to support large file shares with more than 5 TiB capacity for storage account.Once the property is enabled, the feature cannot be disabled. Currently only supported for LRS and ZRS replication types, hence account conversions to geo-redundant accounts would not be possible. For more information, please refer to https://go.microsoft.com/fwlink/?linkid=2086047.
    - encryption_key_name -- The name of the KeyVault key.
    - encryption_key_source -- The default encryption key source
    - encryption_key_vault -- The Uri of the KeyVault.
    - encryption_key_version -- The version of the KeyVault key to use, which will opt out of implicit key rotation. Please use "" to opt in key auto-rotation again.
    - encryption_services -- Specifies which service(s) to encrypt.
    - force_string -- When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
    - forest_name -- Specify the Active Directory forest to get. Required when --enable-files-adds is set to True
    - https_only -- Allows https traffic only to storage service.
    - identity_type -- The identity type.
    - immutability_period_in_days -- The immutability period for the blobs in the container since the policy creation, in days.
    - immutability_state -- Defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allow-protected-append-write property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted.
    - key_expiration_period_in_days -- Expiration period in days of the Key Policy assigned to the storage account
    - key_vault_user_identity_id -- Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account.
    - min_tls_version -- The minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property
    - net_bios_domain_name -- Specify the NetBIOS domain name. Required when --enable-files-adds is set to True
    - public_network_access -- Enable or disable public network access to the storage account. Possible values include: `Enabled` or `Disabled`.
    - publish_internet_endpoints -- A boolean flag which indicates whether internet routing storage endpoints are to be published.
    - publish_microsoft_endpoints -- A boolean flag which indicates whether microsoft routing storage endpoints are to be published.
    - remove -- Remove a property or an element from a list.  Example: --remove property.list <indexToRemove> OR --remove propertyToRemove
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - routing_choice -- Routing Choice defines the kind of network routing opted by the user.
    - sas_expiration_period -- Expiration period of the SAS Policy assigned to the storage account, DD.HH:MM:SS.
    - set -- Update an object by specifying a property path and value to set.  Example: --set property1.property2=<value>
    - sku -- 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
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    - use_subdomain -- Specify whether to use indirect CNAME validation.
    - user_identity_id -- The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here.
    '''
    return _call_az("az storage account update", locals())

    Update the properties of a storage account.

    Required Parameters:
    - name -- The storage account name.

    Optional Parameters:
    - access_tier -- The access tier used for billing StandardBlob accounts. Cannot be set for StandardLRS, StandardGRS, StandardRAGRS, or PremiumLRS account types. It is required for StandardBlob accounts during creation
    - add -- Add an object to a list of objects by specifying a path and key value pairs.  Example: --add property.listProperty <key=value, string or JSON string>
    - allow_blob_public_access -- Allow or disallow public access to all blobs or containers in the storage account. The default value for this property is null, which is equivalent to true. When true, containers in the account may be configured for public access. Note that setting this property to true does not enable anonymous access to any data in the account. The additional step of configuring the public access setting for a container is required to enable anonymous access.
    - allow_cross_tenant_replication -- Allow or disallow cross AAD tenant object replication. The default interpretation is true for this property.
    - allow_protected_append_writes -- This property can only be changed for disabled and unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.
    - allow_shared_key_access -- Indicate 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.
    - assign_identity -- Generate and assign a new Storage Account Identity for this storage account for use with key management services like Azure KeyVault.
    - azure_storage_sid -- Specify the security identifier (SID) for Azure Storage. Required when --enable-files-adds is set to True
    - bypass -- Bypass traffic for space-separated uses.
    - custom_domain -- User domain assigned to the storage account. Name is the CNAME source. Use "" to clear existing value.
    - default_action -- Default action to apply when no rule matches.
    - default_share_permission -- Default share permission for users using Kerberos authentication if RBAC role is not assigned.
    - domain_guid -- Specify the domain GUID. Required when --enable-files-adds is set to True
    - domain_name -- Specify the primary domain that the AD DNS server is authoritative for. Required when --enable-files-adds is set to True
    - domain_sid -- Specify the security identifier (SID). Required when --enable-files-adds is set to True
    - enable_files_aadds -- Enable Azure Active Directory Domain Services authentication for Azure Files
    - enable_files_adds -- Enable Azure Files Active Directory Domain Service Authentication for storage account. When --enable-files-adds is set to true, Azure Active Directory Properties arguments must be provided.
    - enable_large_file_share -- Enable the capability to support large file shares with more than 5 TiB capacity for storage account.Once the property is enabled, the feature cannot be disabled. Currently only supported for LRS and ZRS replication types, hence account conversions to geo-redundant accounts would not be possible. For more information, please refer to https://go.microsoft.com/fwlink/?linkid=2086047.
    - encryption_key_name -- The name of the KeyVault key.
    - encryption_key_source -- The default encryption key source
    - encryption_key_vault -- The Uri of the KeyVault.
    - encryption_key_version -- The version of the KeyVault key to use, which will opt out of implicit key rotation. Please use "" to opt in key auto-rotation again.
    - encryption_services -- Specifies which service(s) to encrypt.
    - force_string -- When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
    - forest_name -- Specify the Active Directory forest to get. Required when --enable-files-adds is set to True
    - https_only -- Allows https traffic only to storage service.
    - identity_type -- The identity type.
    - immutability_period_in_days -- The immutability period for the blobs in the container since the policy creation, in days.
    - immutability_state -- Defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allow-protected-append-write property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted.
    - key_expiration_period_in_days -- Expiration period in days of the Key Policy assigned to the storage account
    - key_vault_user_identity_id -- Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account.
    - min_tls_version -- The minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property
    - net_bios_domain_name -- Specify the NetBIOS domain name. Required when --enable-files-adds is set to True
    - public_network_access -- Enable or disable public network access to the storage account. Possible values include: `Enabled` or `Disabled`.
    - publish_internet_endpoints -- A boolean flag which indicates whether internet routing storage endpoints are to be published.
    - publish_microsoft_endpoints -- A boolean flag which indicates whether microsoft routing storage endpoints are to be published.
    - remove -- Remove a property or an element from a list.  Example: --remove property.list <indexToRemove> OR --remove propertyToRemove
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - routing_choice -- Routing Choice defines the kind of network routing opted by the user.
    - sas_expiration_period -- Expiration period of the SAS Policy assigned to the storage account, DD.HH:MM:SS.
    - set -- Update an object by specifying a property path and value to set.  Example: --set property1.property2=<value>
    - sku -- 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
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    - use_subdomain -- Specify whether to use indirect CNAME validation.
    - user_identity_id -- The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here.
    
Update the properties of a storage account.
Required Parameters:
name -- The storage account name.

Optional Parameters:
access_tier -- The access tier used for billing StandardBlob accounts.
Update the properties of a storage account . Required Parameters : name -- The storage account name . Optional Parameters : access_tier -- The access tier used for billing StandardBlob accounts .
def update(name, access_tier=None, add=None, allow_blob_public_access=None, allow_cross_tenant_replication=None, allow_protected_append_writes=None, allow_shared_key_access=None, assign_identity=None, azure_storage_sid=None, bypass=None, custom_domain=None, default_action=None, default_share_permission=None, domain_guid=None, domain_name=None, domain_sid=None, enable_files_aadds=None, enable_files_adds=None, enable_large_file_share=None, encryption_key_name=None, encryption_key_source=None, encryption_key_vault=None, encryption_key_version=None, encryption_services=None, force_string=None, forest_name=None, https_only=None, identity_type=None, immutability_period_in_days=None, immutability_state=None, key_expiration_period_in_days=None, key_vault_user_identity_id=None, min_tls_version=None, net_bios_domain_name=None, public_network_access=None, publish_internet_endpoints=None, publish_microsoft_endpoints=None, remove=None, resource_group=None, routing_choice=None, sas_expiration_period=None, set=None, sku=None, tags=None, use_subdomain=None, user_identity_id=None):
    return _call_az("az storage account update", locals())
def update ( name , access_tier = None , add = None , allow_blob_public_access = None , allow_cross_tenant_replication = None , allow_protected_append_writes = None , allow_shared_key_access = None , assign_identity = None , azure_storage_sid = None , bypass = None , custom_domain = None , default_action = None , default_share_permission = None , domain_guid = None , domain_name = None , domain_sid = None , enable_files_aadds = None , enable_files_adds = None , enable_large_file_share = None , encryption_key_name = None , encryption_key_source = None , encryption_key_vault = None , encryption_key_version = None , encryption_services = None , force_string = None , forest_name = None , https_only = None , identity_type = None , immutability_period_in_days = None , immutability_state = None , key_expiration_period_in_days = None , key_vault_user_identity_id = None , min_tls_version = None , net_bios_domain_name = None , public_network_access = None , publish_internet_endpoints = None , publish_microsoft_endpoints = None , remove = None , resource_group = None , routing_choice = None , sas_expiration_period = None , set = None , sku = None , tags = None , use_subdomain = None , user_identity_id = None ) : return _call_az ( "az storage account update" , locals ( ) )
Update the properties of a storage account.
Update the properties of a storage account .
'''
    Update the properties of a storage account.

    Required Parameters:
    - name -- The storage account name.

    Optional Parameters:
    - access_tier -- The access tier used for billing StandardBlob accounts. Cannot be set for StandardLRS, StandardGRS, StandardRAGRS, or PremiumLRS account types. It is required for StandardBlob accounts during creation
    - add -- Add an object to a list of objects by specifying a path and key value pairs.  Example: --add property.listProperty <key=value, string or JSON string>
    - allow_blob_public_access -- Allow or disallow public access to all blobs or containers in the storage account. The default value for this property is null, which is equivalent to true. When true, containers in the account may be configured for public access. Note that setting this property to true does not enable anonymous access to any data in the account. The additional step of configuring the public access setting for a container is required to enable anonymous access.
    - allow_cross_tenant_replication -- Allow or disallow cross AAD tenant object replication. The default interpretation is true for this property.
    - allow_protected_append_writes -- This property can only be changed for disabled and unlocked time-based retention policies. When enabled, new blocks can be written to an append blob while maintaining immutability protection and compliance. Only new blocks can be added and any existing blocks cannot be modified or deleted.
    - allow_shared_key_access -- Indicate 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.
    - assign_identity -- Generate and assign a new Storage Account Identity for this storage account for use with key management services like Azure KeyVault.
    - azure_storage_sid -- Specify the security identifier (SID) for Azure Storage. Required when --enable-files-adds is set to True
    - bypass -- Bypass traffic for space-separated uses.
    - custom_domain -- User domain assigned to the storage account. Name is the CNAME source. Use "" to clear existing value.
    - default_action -- Default action to apply when no rule matches.
    - default_share_permission -- Default share permission for users using Kerberos authentication if RBAC role is not assigned.
    - domain_guid -- Specify the domain GUID. Required when --enable-files-adds is set to True
    - domain_name -- Specify the primary domain that the AD DNS server is authoritative for. Required when --enable-files-adds is set to True
    - domain_sid -- Specify the security identifier (SID). Required when --enable-files-adds is set to True
    - enable_files_aadds -- Enable Azure Active Directory Domain Services authentication for Azure Files
    - enable_files_adds -- Enable Azure Files Active Directory Domain Service Authentication for storage account. When --enable-files-adds is set to true, Azure Active Directory Properties arguments must be provided.
    - enable_large_file_share -- Enable the capability to support large file shares with more than 5 TiB capacity for storage account.Once the property is enabled, the feature cannot be disabled. Currently only supported for LRS and ZRS replication types, hence account conversions to geo-redundant accounts would not be possible. For more information, please refer to https://go.microsoft.com/fwlink/?linkid=2086047.
    - encryption_key_name -- The name of the KeyVault key.
    - encryption_key_source -- The default encryption key source
    - encryption_key_vault -- The Uri of the KeyVault.
    - encryption_key_version -- The version of the KeyVault key to use, which will opt out of implicit key rotation. Please use "" to opt in key auto-rotation again.
    - encryption_services -- Specifies which service(s) to encrypt.
    - force_string -- When using 'set' or 'add', preserve string literals instead of attempting to convert to JSON.
    - forest_name -- Specify the Active Directory forest to get. Required when --enable-files-adds is set to True
    - https_only -- Allows https traffic only to storage service.
    - identity_type -- The identity type.
    - immutability_period_in_days -- The immutability period for the blobs in the container since the policy creation, in days.
    - immutability_state -- Defines the mode of the policy. Disabled state disables the policy, Unlocked state allows increase and decrease of immutability retention time and also allows toggling allow-protected-append-write property, Locked state only allows the increase of the immutability retention time. A policy can only be created in a Disabled or Unlocked state and can be toggled between the two states. Only a policy in an Unlocked state can transition to a Locked state which cannot be reverted.
    - key_expiration_period_in_days -- Expiration period in days of the Key Policy assigned to the storage account
    - key_vault_user_identity_id -- Resource identifier of the UserAssigned identity to be associated with server-side encryption on the storage account.
    - min_tls_version -- The minimum TLS version to be permitted on requests to storage. The default interpretation is TLS 1.0 for this property
    - net_bios_domain_name -- Specify the NetBIOS domain name. Required when --enable-files-adds is set to True
    - public_network_access -- Enable or disable public network access to the storage account. Possible values include: `Enabled` or `Disabled`.
    - publish_internet_endpoints -- A boolean flag which indicates whether internet routing storage endpoints are to be published.
    - publish_microsoft_endpoints -- A boolean flag which indicates whether microsoft routing storage endpoints are to be published.
    - remove -- Remove a property or an element from a list.  Example: --remove property.list <indexToRemove> OR --remove propertyToRemove
    - resource_group -- Name of resource group. You can configure the default group using `az configure --defaults group=<name>`
    - routing_choice -- Routing Choice defines the kind of network routing opted by the user.
    - sas_expiration_period -- Expiration period of the SAS Policy assigned to the storage account, DD.HH:MM:SS.
    - set -- Update an object by specifying a property path and value to set.  Example: --set property1.property2=<value>
    - sku -- 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
    - tags -- space-separated tags: key[=value] [key[=value] ...]. Use '' to clear existing tags.
    - use_subdomain -- Specify whether to use indirect CNAME validation.
    - user_identity_id -- The key is the ARM resource identifier of the identity. Only 1 User Assigned identity is permitted here.
    '''
name
access_tier
add
allow_blob_public_access
allow_cross_tenant_replication
allow_protected_append_writes
allow_shared_key_access
assign_identity
azure_storage_sid
bypass
custom_domain
default_action
default_share_permission
domain_guid
domain_name
domain_sid
enable_files_aadds
enable_files_adds
enable_large_file_share
encryption_key_name
encryption_key_source
encryption_key_vault
encryption_key_version
encryption_services
force_string
forest_name
https_only
identity_type
immutability_period_in_days
immutability_state
key_expiration_period_in_days
key_vault_user_identity_id
min_tls_version
net_bios_domain_name
public_network_access
publish_internet_endpoints
publish_microsoft_endpoints
remove
resource_group
routing_choice
sas_expiration_period
set
sku
tags
use_subdomain
user_identity_id