Skip to content
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
12 changes: 12 additions & 0 deletions azure-mgmt-storage/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,18 @@
Release History
===============

2.0.0rc4 (2018-06-26)
+++++++++++++++++++++

**Features (2018-02-01/2018-03-01-preview)**

Support HDFS feature and web endpoint in Account properties

- Model StorageAccountCreateParameters has a new parameter is_hns_enabled
- Model Endpoints has a new parameter web
- Model Endpoints has a new parameter dfs
- Model StorageAccount has a new parameter is_hns_enabled

2.0.0rc3 (2018-05-30)
+++++++++++++++++++++

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@


class Endpoints(Model):
"""The URIs that are used to perform a retrieval of a public blob, queue, or
table object.
"""The URIs that are used to perform a retrieval of a public blob, queue,
table, web or dfs object.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -27,20 +27,28 @@ class Endpoints(Model):
:vartype table: str
:ivar file: Gets the file endpoint.
:vartype file: str
:ivar web: Gets the web endpoint.
:vartype web: str
:ivar dfs: Gets the dfs endpoint.
:vartype dfs: str
"""

_validation = {
'blob': {'readonly': True},
'queue': {'readonly': True},
'table': {'readonly': True},
'file': {'readonly': True},
'web': {'readonly': True},
'dfs': {'readonly': True},
}

_attribute_map = {
'blob': {'key': 'blob', 'type': 'str'},
'queue': {'key': 'queue', 'type': 'str'},
'table': {'key': 'table', 'type': 'str'},
'file': {'key': 'file', 'type': 'str'},
'web': {'key': 'web', 'type': 'str'},
'dfs': {'key': 'dfs', 'type': 'str'},
}

def __init__(self, **kwargs):
Expand All @@ -49,3 +57,5 @@ def __init__(self, **kwargs):
self.queue = None
self.table = None
self.file = None
self.web = None
self.dfs = None
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@


class Endpoints(Model):
"""The URIs that are used to perform a retrieval of a public blob, queue, or
table object.
"""The URIs that are used to perform a retrieval of a public blob, queue,
table, web or dfs object.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -27,20 +27,28 @@ class Endpoints(Model):
:vartype table: str
:ivar file: Gets the file endpoint.
:vartype file: str
:ivar web: Gets the web endpoint.
:vartype web: str
:ivar dfs: Gets the dfs endpoint.
:vartype dfs: str
"""

_validation = {
'blob': {'readonly': True},
'queue': {'readonly': True},
'table': {'readonly': True},
'file': {'readonly': True},
'web': {'readonly': True},
'dfs': {'readonly': True},
}

_attribute_map = {
'blob': {'key': 'blob', 'type': 'str'},
'queue': {'key': 'queue', 'type': 'str'},
'table': {'key': 'table', 'type': 'str'},
'file': {'key': 'file', 'type': 'str'},
'web': {'key': 'web', 'type': 'str'},
'dfs': {'key': 'dfs', 'type': 'str'},
}

def __init__(self, **kwargs) -> None:
Expand All @@ -49,3 +57,5 @@ def __init__(self, **kwargs) -> None:
self.queue = None
self.table = None
self.file = None
self.web = None
self.dfs = None
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ class StorageAccount(TrackedResource):
:ivar network_rule_set: Network rule set
:vartype network_rule_set:
~azure.mgmt.storage.v2018_02_01.models.NetworkRuleSet
:param is_hns_enabled: Account HierarchicalNamespace enabled if sets to
true. Default value: False .
:type is_hns_enabled: bool
"""

_validation = {
Expand Down Expand Up @@ -146,6 +149,7 @@ class StorageAccount(TrackedResource):
'access_tier': {'key': 'properties.accessTier', 'type': 'AccessTier'},
'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'},
'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'},
'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'},
}

def __init__(self, **kwargs):
Expand All @@ -167,3 +171,4 @@ def __init__(self, **kwargs):
self.access_tier = None
self.enable_https_traffic_only = kwargs.get('enable_https_traffic_only', False)
self.network_rule_set = None
self.is_hns_enabled = kwargs.get('is_hns_enabled', False)
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ class StorageAccountCreateParameters(Model):
: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 is_hns_enabled: Account HierarchicalNamespace enabled if sets to
true. Default value: False .
:type is_hns_enabled: bool
"""

_validation = {
Expand All @@ -75,6 +78,7 @@ class StorageAccountCreateParameters(Model):
'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'},
'access_tier': {'key': 'properties.accessTier', 'type': 'AccessTier'},
'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'},
'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'},
}

def __init__(self, **kwargs):
Expand All @@ -89,3 +93,4 @@ def __init__(self, **kwargs):
self.network_rule_set = kwargs.get('network_rule_set', None)
self.access_tier = kwargs.get('access_tier', None)
self.enable_https_traffic_only = kwargs.get('enable_https_traffic_only', False)
self.is_hns_enabled = kwargs.get('is_hns_enabled', False)
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ class StorageAccountCreateParameters(Model):
: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 is_hns_enabled: Account HierarchicalNamespace enabled if sets to
true. Default value: False .
:type is_hns_enabled: bool
"""

_validation = {
Expand All @@ -75,9 +78,10 @@ class StorageAccountCreateParameters(Model):
'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'},
'access_tier': {'key': 'properties.accessTier', 'type': 'AccessTier'},
'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'},
'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'},
}

def __init__(self, *, sku, kind, location: str, tags=None, identity=None, custom_domain=None, encryption=None, network_rule_set=None, access_tier=None, enable_https_traffic_only: bool=False, **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, enable_https_traffic_only: bool=False, is_hns_enabled: bool=False, **kwargs) -> None:
super(StorageAccountCreateParameters, self).__init__(**kwargs)
self.sku = sku
self.kind = kind
Expand All @@ -89,3 +93,4 @@ def __init__(self, *, sku, kind, location: str, tags=None, identity=None, custom
self.network_rule_set = network_rule_set
self.access_tier = access_tier
self.enable_https_traffic_only = enable_https_traffic_only
self.is_hns_enabled = is_hns_enabled
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ class StorageAccount(TrackedResource):
:ivar network_rule_set: Network rule set
:vartype network_rule_set:
~azure.mgmt.storage.v2018_02_01.models.NetworkRuleSet
:param is_hns_enabled: Account HierarchicalNamespace enabled if sets to
true. Default value: False .
:type is_hns_enabled: bool
"""

_validation = {
Expand Down Expand Up @@ -146,9 +149,10 @@ class StorageAccount(TrackedResource):
'access_tier': {'key': 'properties.accessTier', 'type': 'AccessTier'},
'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'},
'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'},
'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'},
}

def __init__(self, *, location: str, tags=None, identity=None, enable_https_traffic_only: bool=False, **kwargs) -> None:
def __init__(self, *, location: str, tags=None, identity=None, enable_https_traffic_only: bool=False, is_hns_enabled: bool=False, **kwargs) -> None:
super(StorageAccount, self).__init__(tags=tags, location=location, **kwargs)
self.sku = None
self.kind = None
Expand All @@ -167,3 +171,4 @@ def __init__(self, *, location: str, tags=None, identity=None, enable_https_traf
self.access_tier = None
self.enable_https_traffic_only = enable_https_traffic_only
self.network_rule_set = None
self.is_hns_enabled = is_hns_enabled
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@


class Endpoints(Model):
"""The URIs that are used to perform a retrieval of a public blob, queue, or
table object.
"""The URIs that are used to perform a retrieval of a public blob, queue,
table, web or dfs object.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -27,20 +27,28 @@ class Endpoints(Model):
:vartype table: str
:ivar file: Gets the file endpoint.
:vartype file: str
:ivar web: Gets the web endpoint.
:vartype web: str
:ivar dfs: Gets the dfs endpoint.
:vartype dfs: str
"""

_validation = {
'blob': {'readonly': True},
'queue': {'readonly': True},
'table': {'readonly': True},
'file': {'readonly': True},
'web': {'readonly': True},
'dfs': {'readonly': True},
}

_attribute_map = {
'blob': {'key': 'blob', 'type': 'str'},
'queue': {'key': 'queue', 'type': 'str'},
'table': {'key': 'table', 'type': 'str'},
'file': {'key': 'file', 'type': 'str'},
'web': {'key': 'web', 'type': 'str'},
'dfs': {'key': 'dfs', 'type': 'str'},
}

def __init__(self, **kwargs):
Expand All @@ -49,3 +57,5 @@ def __init__(self, **kwargs):
self.queue = None
self.table = None
self.file = None
self.web = None
self.dfs = None
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@


class Endpoints(Model):
"""The URIs that are used to perform a retrieval of a public blob, queue, or
table object.
"""The URIs that are used to perform a retrieval of a public blob, queue,
table, web or dfs object.

Variables are only populated by the server, and will be ignored when
sending a request.
Expand All @@ -27,20 +27,28 @@ class Endpoints(Model):
:vartype table: str
:ivar file: Gets the file endpoint.
:vartype file: str
:ivar web: Gets the web endpoint.
:vartype web: str
:ivar dfs: Gets the dfs endpoint.
:vartype dfs: str
"""

_validation = {
'blob': {'readonly': True},
'queue': {'readonly': True},
'table': {'readonly': True},
'file': {'readonly': True},
'web': {'readonly': True},
'dfs': {'readonly': True},
}

_attribute_map = {
'blob': {'key': 'blob', 'type': 'str'},
'queue': {'key': 'queue', 'type': 'str'},
'table': {'key': 'table', 'type': 'str'},
'file': {'key': 'file', 'type': 'str'},
'web': {'key': 'web', 'type': 'str'},
'dfs': {'key': 'dfs', 'type': 'str'},
}

def __init__(self, **kwargs) -> None:
Expand All @@ -49,3 +57,5 @@ def __init__(self, **kwargs) -> None:
self.queue = None
self.table = None
self.file = None
self.web = None
self.dfs = None
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@ class StorageAccount(TrackedResource):
:ivar network_rule_set: Network rule set
:vartype network_rule_set:
~azure.mgmt.storage.v2018_03_01_preview.models.NetworkRuleSet
:param is_hns_enabled: Account HierarchicalNamespace enabled if sets to
true. Default value: False .
:type is_hns_enabled: bool
"""

_validation = {
Expand Down Expand Up @@ -147,6 +150,7 @@ class StorageAccount(TrackedResource):
'access_tier': {'key': 'properties.accessTier', 'type': 'AccessTier'},
'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'},
'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'},
'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'},
}

def __init__(self, **kwargs):
Expand All @@ -168,3 +172,4 @@ def __init__(self, **kwargs):
self.access_tier = None
self.enable_https_traffic_only = kwargs.get('enable_https_traffic_only', False)
self.network_rule_set = None
self.is_hns_enabled = kwargs.get('is_hns_enabled', False)
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ class StorageAccountCreateParameters(Model):
: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 is_hns_enabled: Account HierarchicalNamespace enabled if sets to
true. Default value: False .
:type is_hns_enabled: bool
"""

_validation = {
Expand All @@ -77,6 +80,7 @@ class StorageAccountCreateParameters(Model):
'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'},
'access_tier': {'key': 'properties.accessTier', 'type': 'AccessTier'},
'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'},
'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'},
}

def __init__(self, **kwargs):
Expand All @@ -91,3 +95,4 @@ def __init__(self, **kwargs):
self.network_rule_set = kwargs.get('network_rule_set', None)
self.access_tier = kwargs.get('access_tier', None)
self.enable_https_traffic_only = kwargs.get('enable_https_traffic_only', False)
self.is_hns_enabled = kwargs.get('is_hns_enabled', False)
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ class StorageAccountCreateParameters(Model):
: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 is_hns_enabled: Account HierarchicalNamespace enabled if sets to
true. Default value: False .
:type is_hns_enabled: bool
"""

_validation = {
Expand All @@ -77,9 +80,10 @@ class StorageAccountCreateParameters(Model):
'network_rule_set': {'key': 'properties.networkAcls', 'type': 'NetworkRuleSet'},
'access_tier': {'key': 'properties.accessTier', 'type': 'AccessTier'},
'enable_https_traffic_only': {'key': 'properties.supportsHttpsTrafficOnly', 'type': 'bool'},
'is_hns_enabled': {'key': 'properties.isHnsEnabled', 'type': 'bool'},
}

def __init__(self, *, sku, kind, location: str, tags=None, identity=None, custom_domain=None, encryption=None, network_rule_set=None, access_tier=None, enable_https_traffic_only: bool=False, **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, enable_https_traffic_only: bool=False, is_hns_enabled: bool=False, **kwargs) -> None:
super(StorageAccountCreateParameters, self).__init__(**kwargs)
self.sku = sku
self.kind = kind
Expand All @@ -91,3 +95,4 @@ def __init__(self, *, sku, kind, location: str, tags=None, identity=None, custom
self.network_rule_set = network_rule_set
self.access_tier = access_tier
self.enable_https_traffic_only = enable_https_traffic_only
self.is_hns_enabled = is_hns_enabled
Loading