Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release for mgmt storage #12228

Merged
merged 5 commits into from
Jun 28, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions sdk/storage/azure-mgmt-storage/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Release History

## 11.1.0 (2020-6-22)

**Features**

- Model StorageAccount has a new parameter allow_blob_public_access
- Model StorageAccount has a new parameter minimum_tls_version
- Model StorageAccountCreateParameters has a new parameter allow_blob_public_access
- Model StorageAccountCreateParameters has a new parameter minimum_tls_version
- Model StorageAccountUpdateParameters has a new parameter allow_blob_public_access
- Model StorageAccountUpdateParameters has a new parameter minimum_tls_version

## 11.0.0 (2020-05-30)

**Features**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@
DirectoryServiceOptions,
AccessTier,
LargeFileSharesState,
MinimumTlsVersion,
GeoReplicationStatus,
ProvisioningState,
AccountStatus,
Expand Down Expand Up @@ -277,6 +278,7 @@
'DirectoryServiceOptions',
'AccessTier',
'LargeFileSharesState',
'MinimumTlsVersion',
'GeoReplicationStatus',
'ProvisioningState',
'AccountStatus',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2386,6 +2386,15 @@ class StorageAccount(TrackedResource):
include: 'Disabled', 'Enabled'
:type large_file_shares_state: str or
~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState
:param allow_blob_public_access: Allow or disallow public access to all
blobs or containers in the storage account. The default interpretation is
true for this property.
:type allow_blob_public_access: bool
:param minimum_tls_version: 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'
:type minimum_tls_version: str or
~azure.mgmt.storage.v2019_04_01.models.MinimumTlsVersion
"""

_validation = {
Expand Down Expand Up @@ -2440,6 +2449,8 @@ class StorageAccount(TrackedResource):
'geo_replication_stats': {'key': 'properties.geoReplicationStats', 'type': 'GeoReplicationStats'},
'failover_in_progress': {'key': 'properties.failoverInProgress', 'type': 'bool'},
'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'},
'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'},
'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'},
}

def __init__(self, **kwargs):
Expand All @@ -2466,6 +2477,8 @@ def __init__(self, **kwargs):
self.geo_replication_stats = None
self.failover_in_progress = None
self.large_file_shares_state = kwargs.get('large_file_shares_state', None)
self.allow_blob_public_access = kwargs.get('allow_blob_public_access', None)
self.minimum_tls_version = kwargs.get('minimum_tls_version', None)


class StorageAccountCheckNameAvailabilityParameters(Model):
Expand Down Expand Up @@ -2558,6 +2571,15 @@ class StorageAccountCreateParameters(Model):
include: 'Disabled', 'Enabled'
:type large_file_shares_state: str or
~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState
:param allow_blob_public_access: Allow or disallow public access to all
blobs or containers in the storage account. The default interpretation is
true for this property.
:type allow_blob_public_access: bool
:param minimum_tls_version: 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'
:type minimum_tls_version: str or
~azure.mgmt.storage.v2019_04_01.models.MinimumTlsVersion
"""

_validation = {
Expand All @@ -2580,6 +2602,8 @@ class StorageAccountCreateParameters(Model):
'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'},
'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'},
'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'},
'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'},
'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'},
}

def __init__(self, **kwargs):
Expand All @@ -2597,6 +2621,8 @@ def __init__(self, **kwargs):
self.enable_https_traffic_only = kwargs.get('enable_https_traffic_only', None)
self.is_hns_enabled = kwargs.get('is_hns_enabled', None)
self.large_file_shares_state = kwargs.get('large_file_shares_state', None)
self.allow_blob_public_access = kwargs.get('allow_blob_public_access', None)
self.minimum_tls_version = kwargs.get('minimum_tls_version', None)


class StorageAccountKey(Model):
Expand Down Expand Up @@ -2726,6 +2752,15 @@ class StorageAccountUpdateParameters(Model):
include: 'Disabled', 'Enabled'
:type large_file_shares_state: str or
~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState
:param allow_blob_public_access: Allow or disallow public access to all
blobs or containers in the storage account. The default interpretation is
true for this property.
:type allow_blob_public_access: bool
:param minimum_tls_version: 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'
:type minimum_tls_version: str or
~azure.mgmt.storage.v2019_04_01.models.MinimumTlsVersion
:param kind: Optional. Indicates the type of storage account. Currently
only StorageV2 value supported by server. Possible values include:
'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'
Expand All @@ -2743,6 +2778,8 @@ class StorageAccountUpdateParameters(Model):
'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'},
'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'},
'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'},
'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'},
'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
}

Expand All @@ -2758,6 +2795,8 @@ def __init__(self, **kwargs):
self.enable_https_traffic_only = kwargs.get('enable_https_traffic_only', None)
self.network_rule_set = kwargs.get('network_rule_set', None)
self.large_file_shares_state = kwargs.get('large_file_shares_state', None)
self.allow_blob_public_access = kwargs.get('allow_blob_public_access', None)
self.minimum_tls_version = kwargs.get('minimum_tls_version', None)
self.kind = kwargs.get('kind', None)


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2386,6 +2386,15 @@ class StorageAccount(TrackedResource):
include: 'Disabled', 'Enabled'
:type large_file_shares_state: str or
~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState
:param allow_blob_public_access: Allow or disallow public access to all
blobs or containers in the storage account. The default interpretation is
true for this property.
:type allow_blob_public_access: bool
:param minimum_tls_version: 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'
:type minimum_tls_version: str or
~azure.mgmt.storage.v2019_04_01.models.MinimumTlsVersion
"""

_validation = {
Expand Down Expand Up @@ -2440,9 +2449,11 @@ class StorageAccount(TrackedResource):
'geo_replication_stats': {'key': 'properties.geoReplicationStats', 'type': 'GeoReplicationStats'},
'failover_in_progress': {'key': 'properties.failoverInProgress', 'type': 'bool'},
'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'},
'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'},
'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'},
}

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:
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:
super(StorageAccount, self).__init__(tags=tags, location=location, **kwargs)
self.sku = None
self.kind = None
Expand All @@ -2466,6 +2477,8 @@ def __init__(self, *, location: str, tags=None, identity=None, azure_files_ident
self.geo_replication_stats = None
self.failover_in_progress = None
self.large_file_shares_state = large_file_shares_state
self.allow_blob_public_access = allow_blob_public_access
self.minimum_tls_version = minimum_tls_version


class StorageAccountCheckNameAvailabilityParameters(Model):
Expand Down Expand Up @@ -2558,6 +2571,15 @@ class StorageAccountCreateParameters(Model):
include: 'Disabled', 'Enabled'
:type large_file_shares_state: str or
~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState
:param allow_blob_public_access: Allow or disallow public access to all
blobs or containers in the storage account. The default interpretation is
true for this property.
:type allow_blob_public_access: bool
:param minimum_tls_version: 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'
:type minimum_tls_version: str or
~azure.mgmt.storage.v2019_04_01.models.MinimumTlsVersion
"""

_validation = {
Expand All @@ -2580,9 +2602,11 @@ class StorageAccountCreateParameters(Model):
'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'},
'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'},
'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'},
'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'},
'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'},
}

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:
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:
super(StorageAccountCreateParameters, self).__init__(**kwargs)
self.sku = sku
self.kind = kind
Expand All @@ -2597,6 +2621,8 @@ def __init__(self, *, sku, kind, location: str, tags=None, identity=None, custom
self.enable_https_traffic_only = enable_https_traffic_only
self.is_hns_enabled = is_hns_enabled
self.large_file_shares_state = large_file_shares_state
self.allow_blob_public_access = allow_blob_public_access
self.minimum_tls_version = minimum_tls_version


class StorageAccountKey(Model):
Expand Down Expand Up @@ -2726,6 +2752,15 @@ class StorageAccountUpdateParameters(Model):
include: 'Disabled', 'Enabled'
:type large_file_shares_state: str or
~azure.mgmt.storage.v2019_04_01.models.LargeFileSharesState
:param allow_blob_public_access: Allow or disallow public access to all
blobs or containers in the storage account. The default interpretation is
true for this property.
:type allow_blob_public_access: bool
:param minimum_tls_version: 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'
:type minimum_tls_version: str or
~azure.mgmt.storage.v2019_04_01.models.MinimumTlsVersion
:param kind: Optional. Indicates the type of storage account. Currently
only StorageV2 value supported by server. Possible values include:
'Storage', 'StorageV2', 'BlobStorage', 'FileStorage', 'BlockBlobStorage'
Expand All @@ -2743,10 +2778,12 @@ class StorageAccountUpdateParameters(Model):
'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'},
'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'},
'large_file_shares_state': {'key': 'properties.largeFileSharesState', 'type': 'str'},
'allow_blob_public_access': {'key': 'properties.allowBlobPublicAccess', 'type': 'bool'},
'minimum_tls_version': {'key': 'properties.minimumTlsVersion', 'type': 'str'},
'kind': {'key': 'kind', 'type': 'str'},
}

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:
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:
super(StorageAccountUpdateParameters, self).__init__(**kwargs)
self.sku = sku
self.tags = tags
Expand All @@ -2758,6 +2795,8 @@ def __init__(self, *, sku=None, tags=None, identity=None, custom_domain=None, en
self.enable_https_traffic_only = enable_https_traffic_only
self.network_rule_set = network_rule_set
self.large_file_shares_state = large_file_shares_state
self.allow_blob_public_access = allow_blob_public_access
self.minimum_tls_version = minimum_tls_version
self.kind = kind


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,13 @@ class LargeFileSharesState(str, Enum):
enabled = "Enabled"


class MinimumTlsVersion(str, Enum):

tls1_0 = "TLS1_0"
tls1_1 = "TLS1_1"
tls1_2 = "TLS1_2"


class GeoReplicationStatus(str, Enum):

live = "Live"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,7 @@
AccessTier,
LargeFileSharesState,
RoutingChoice,
MinimumTlsVersion,
GeoReplicationStatus,
BlobRestoreProgressStatus,
ProvisioningState,
Expand Down Expand Up @@ -386,6 +387,7 @@
'AccessTier',
'LargeFileSharesState',
'RoutingChoice',
'MinimumTlsVersion',
'GeoReplicationStatus',
'BlobRestoreProgressStatus',
'ProvisioningState',
Expand Down
Loading