@@ -2386,6 +2386,15 @@ class StorageAccount(TrackedResource):
23862386 include: 'Disabled', 'Enabled'
23872387 :type large_file_shares_state: str or
23882388 ~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState
2389+ :param allow_blob_public_access: Allow or disallow public access to all
2390+ blobs or containers in the storage account. The default interpretation is
2391+ true for this property.
2392+ :type allow_blob_public_access: bool
2393+ :param minimum_tls_version: Set the minimum TLS version to be permitted on
2394+ requests to storage. The default interpretation is TLS 1.0 for this
2395+ property. Possible values include: 'TLS1_0', 'TLS1_1', 'TLS1_2'
2396+ :type minimum_tls_version: str or
2397+ ~azure.mgmt.storage.v2019_04_01.models.MinimumTlsVersion
23892398 """
23902399
23912400 _validation = {
@@ -2440,9 +2449,11 @@ class StorageAccount(TrackedResource):
24402449 'geo_replication_stats' : {'key' : 'properties.geoReplicationStats' , 'type' : 'GeoReplicationStats' },
24412450 'failover_in_progress' : {'key' : 'properties.failoverInProgress' , 'type' : 'bool' },
24422451 'large_file_shares_state' : {'key' : 'properties.largeFileSharesState' , 'type' : 'str' },
2452+ 'allow_blob_public_access' : {'key' : 'properties.allowBlobPublicAccess' , 'type' : 'bool' },
2453+ 'minimum_tls_version' : {'key' : 'properties.minimumTlsVersion' , 'type' : 'str' },
24432454 }
24442455
2445- def __init__ (self , * , location : str , tags = None , identity = None , azure_files_identity_based_authentication = None , enable_https_traffic_only : bool = None , is_hns_enabled : bool = None , large_file_shares_state = None , ** kwargs ) -> None :
2456+ def __init__ (self , * , location : str , tags = None , identity = None , azure_files_identity_based_authentication = None , enable_https_traffic_only : bool = None , is_hns_enabled : bool = None , large_file_shares_state = None , allow_blob_public_access : bool = None , minimum_tls_version = None , ** kwargs ) -> None :
24462457 super (StorageAccount , self ).__init__ (tags = tags , location = location , ** kwargs )
24472458 self .sku = None
24482459 self .kind = None
@@ -2466,6 +2477,8 @@ def __init__(self, *, location: str, tags=None, identity=None, azure_files_ident
24662477 self .geo_replication_stats = None
24672478 self .failover_in_progress = None
24682479 self .large_file_shares_state = large_file_shares_state
2480+ self .allow_blob_public_access = allow_blob_public_access
2481+ self .minimum_tls_version = minimum_tls_version
24692482
24702483
24712484class StorageAccountCheckNameAvailabilityParameters (Model ):
@@ -2558,6 +2571,15 @@ class StorageAccountCreateParameters(Model):
25582571 include: 'Disabled', 'Enabled'
25592572 :type large_file_shares_state: str or
25602573 ~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState
2574+ :param allow_blob_public_access: Allow or disallow public access to all
2575+ blobs or containers in the storage account. The default interpretation is
2576+ true for this property.
2577+ :type allow_blob_public_access: bool
2578+ :param minimum_tls_version: Set the minimum TLS version to be permitted on
2579+ requests to storage. The default interpretation is TLS 1.0 for this
2580+ property. Possible values include: 'TLS1_0', 'TLS1_1', 'TLS1_2'
2581+ :type minimum_tls_version: str or
2582+ ~azure.mgmt.storage.v2019_04_01.models.MinimumTlsVersion
25612583 """
25622584
25632585 _validation = {
@@ -2580,9 +2602,11 @@ class StorageAccountCreateParameters(Model):
25802602 'enable_https_traffic_only' : {'key' : 'properties.supportsHttpsTrafficOnly' , 'type' : 'bool' },
25812603 'is_hns_enabled' : {'key' : 'properties.isHnsEnabled' , 'type' : 'bool' },
25822604 'large_file_shares_state' : {'key' : 'properties.largeFileSharesState' , 'type' : 'str' },
2605+ 'allow_blob_public_access' : {'key' : 'properties.allowBlobPublicAccess' , 'type' : 'bool' },
2606+ 'minimum_tls_version' : {'key' : 'properties.minimumTlsVersion' , 'type' : 'str' },
25832607 }
25842608
2585- def __init__ (self , * , sku , kind , location : str , tags = None , identity = None , custom_domain = None , encryption = None , network_rule_set = None , access_tier = None , azure_files_identity_based_authentication = None , enable_https_traffic_only : bool = None , is_hns_enabled : bool = None , large_file_shares_state = None , ** kwargs ) -> None :
2609+ def __init__ (self , * , sku , kind , location : str , tags = None , identity = None , custom_domain = None , encryption = None , network_rule_set = None , access_tier = None , azure_files_identity_based_authentication = None , enable_https_traffic_only : bool = None , is_hns_enabled : bool = None , large_file_shares_state = None , allow_blob_public_access : bool = None , minimum_tls_version = None , ** kwargs ) -> None :
25862610 super (StorageAccountCreateParameters , self ).__init__ (** kwargs )
25872611 self .sku = sku
25882612 self .kind = kind
@@ -2597,6 +2621,8 @@ def __init__(self, *, sku, kind, location: str, tags=None, identity=None, custom
25972621 self .enable_https_traffic_only = enable_https_traffic_only
25982622 self .is_hns_enabled = is_hns_enabled
25992623 self .large_file_shares_state = large_file_shares_state
2624+ self .allow_blob_public_access = allow_blob_public_access
2625+ self .minimum_tls_version = minimum_tls_version
26002626
26012627
26022628class StorageAccountKey (Model ):
@@ -2726,6 +2752,15 @@ class StorageAccountUpdateParameters(Model):
27262752 include: 'Disabled', 'Enabled'
27272753 :type large_file_shares_state: str or
27282754 ~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState
2755+ :param allow_blob_public_access: Allow or disallow public access to all
2756+ blobs or containers in the storage account. The default interpretation is
2757+ true for this property.
2758+ :type allow_blob_public_access: bool
2759+ :param minimum_tls_version: Set the minimum TLS version to be permitted on
2760+ requests to storage. The default interpretation is TLS 1.0 for this
2761+ property. Possible values include: 'TLS1_0', 'TLS1_1', 'TLS1_2'
2762+ :type minimum_tls_version: str or
2763+ ~azure.mgmt.storage.v2019_04_01.models.MinimumTlsVersion
27292764 :param kind: Optional. Indicates the type of storage account. Currently
27302765 only StorageV2 value supported by server. Possible values include:
27312766 'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'
@@ -2743,10 +2778,12 @@ class StorageAccountUpdateParameters(Model):
27432778 'enable_https_traffic_only' : {'key' : 'properties.supportsHttpsTrafficOnly' , 'type' : 'bool' },
27442779 'network_rule_set' : {'key' : 'properties.networkAcls' , 'type' : 'NetworkRuleSet' },
27452780 'large_file_shares_state' : {'key' : 'properties.largeFileSharesState' , 'type' : 'str' },
2781+ 'allow_blob_public_access' : {'key' : 'properties.allowBlobPublicAccess' , 'type' : 'bool' },
2782+ 'minimum_tls_version' : {'key' : 'properties.minimumTlsVersion' , 'type' : 'str' },
27462783 'kind' : {'key' : 'kind' , 'type' : 'str' },
27472784 }
27482785
2749- def __init__ (self , * , sku = None , tags = None , identity = None , custom_domain = None , encryption = None , access_tier = None , azure_files_identity_based_authentication = None , enable_https_traffic_only : bool = None , network_rule_set = None , large_file_shares_state = None , kind = None , ** kwargs ) -> None :
2786+ def __init__ (self , * , sku = None , tags = None , identity = None , custom_domain = None , encryption = None , access_tier = None , azure_files_identity_based_authentication = None , enable_https_traffic_only : bool = None , network_rule_set = None , large_file_shares_state = None , allow_blob_public_access : bool = None , minimum_tls_version = None , kind = None , ** kwargs ) -> None :
27502787 super (StorageAccountUpdateParameters , self ).__init__ (** kwargs )
27512788 self .sku = sku
27522789 self .tags = tags
@@ -2758,6 +2795,8 @@ def __init__(self, *, sku=None, tags=None, identity=None, custom_domain=None, en
27582795 self .enable_https_traffic_only = enable_https_traffic_only
27592796 self .network_rule_set = network_rule_set
27602797 self .large_file_shares_state = large_file_shares_state
2798+ self .allow_blob_public_access = allow_blob_public_access
2799+ self .minimum_tls_version = minimum_tls_version
27612800 self .kind = kind
27622801
27632802
0 commit comments