@@ -2386,6 +2386,15 @@ class StorageAccount(TrackedResource):
2386
2386
include: 'Disabled', 'Enabled'
2387
2387
:type large_file_shares_state: str or
2388
2388
~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
2389
2398
"""
2390
2399
2391
2400
_validation = {
@@ -2440,9 +2449,11 @@ class StorageAccount(TrackedResource):
2440
2449
'geo_replication_stats' : {'key' : 'properties.geoReplicationStats' , 'type' : 'GeoReplicationStats' },
2441
2450
'failover_in_progress' : {'key' : 'properties.failoverInProgress' , 'type' : 'bool' },
2442
2451
'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' },
2443
2454
}
2444
2455
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 :
2446
2457
super (StorageAccount , self ).__init__ (tags = tags , location = location , ** kwargs )
2447
2458
self .sku = None
2448
2459
self .kind = None
@@ -2466,6 +2477,8 @@ def __init__(self, *, location: str, tags=None, identity=None, azure_files_ident
2466
2477
self .geo_replication_stats = None
2467
2478
self .failover_in_progress = None
2468
2479
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
2469
2482
2470
2483
2471
2484
class StorageAccountCheckNameAvailabilityParameters (Model ):
@@ -2558,6 +2571,15 @@ class StorageAccountCreateParameters(Model):
2558
2571
include: 'Disabled', 'Enabled'
2559
2572
:type large_file_shares_state: str or
2560
2573
~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
2561
2583
"""
2562
2584
2563
2585
_validation = {
@@ -2580,9 +2602,11 @@ class StorageAccountCreateParameters(Model):
2580
2602
'enable_https_traffic_only' : {'key' : 'properties.supportsHttpsTrafficOnly' , 'type' : 'bool' },
2581
2603
'is_hns_enabled' : {'key' : 'properties.isHnsEnabled' , 'type' : 'bool' },
2582
2604
'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' },
2583
2607
}
2584
2608
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 :
2586
2610
super (StorageAccountCreateParameters , self ).__init__ (** kwargs )
2587
2611
self .sku = sku
2588
2612
self .kind = kind
@@ -2597,6 +2621,8 @@ def __init__(self, *, sku, kind, location: str, tags=None, identity=None, custom
2597
2621
self .enable_https_traffic_only = enable_https_traffic_only
2598
2622
self .is_hns_enabled = is_hns_enabled
2599
2623
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
2600
2626
2601
2627
2602
2628
class StorageAccountKey (Model ):
@@ -2726,6 +2752,15 @@ class StorageAccountUpdateParameters(Model):
2726
2752
include: 'Disabled', 'Enabled'
2727
2753
:type large_file_shares_state: str or
2728
2754
~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
2729
2764
:param kind: Optional. Indicates the type of storage account. Currently
2730
2765
only StorageV2 value supported by server. Possible values include:
2731
2766
'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'
@@ -2743,10 +2778,12 @@ class StorageAccountUpdateParameters(Model):
2743
2778
'enable_https_traffic_only' : {'key' : 'properties.supportsHttpsTrafficOnly' , 'type' : 'bool' },
2744
2779
'network_rule_set' : {'key' : 'properties.networkAcls' , 'type' : 'NetworkRuleSet' },
2745
2780
'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' },
2746
2783
'kind' : {'key' : 'kind' , 'type' : 'str' },
2747
2784
}
2748
2785
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 :
2750
2787
super (StorageAccountUpdateParameters , self ).__init__ (** kwargs )
2751
2788
self .sku = sku
2752
2789
self .tags = tags
@@ -2758,6 +2795,8 @@ def __init__(self, *, sku=None, tags=None, identity=None, custom_domain=None, en
2758
2795
self .enable_https_traffic_only = enable_https_traffic_only
2759
2796
self .network_rule_set = network_rule_set
2760
2797
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
2761
2800
self .kind = kind
2762
2801
2763
2802
0 commit comments