diff --git a/azure-mgmt-hdinsight/HISTORY.rst b/azure-mgmt-hdinsight/HISTORY.rst index fadd54d6fbc2..4f54437a9a7a 100644 --- a/azure-mgmt-hdinsight/HISTORY.rst +++ b/azure-mgmt-hdinsight/HISTORY.rst @@ -3,6 +3,13 @@ Release History =============== +0.2.1 (2019-01-28) +++++++++++++++++++ + +**Features** + +- Add MSI support + 0.2.0 (2018-12-11) ++++++++++++++++++ diff --git a/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/storage_account.py b/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/storage_account.py index c65f5dc49529..64f8f109a799 100644 --- a/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/storage_account.py +++ b/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/storage_account.py @@ -28,6 +28,13 @@ class StorageAccount(Model): :type file_system: str :param key: The storage account access key. :type key: str + :param resource_id: The resource ID of storage account, only to be + specified for Azure Data Lake Storage Gen 2. + :type resource_id: str + :param msi_resource_id: The managed identity (MSI) that is allowed to + access the storage account, only to be specified for Azure Data Lake + Storage Gen 2. + :type msi_resource_id: str """ _attribute_map = { @@ -36,6 +43,8 @@ class StorageAccount(Model): 'container': {'key': 'container', 'type': 'str'}, 'file_system': {'key': 'fileSystem', 'type': 'str'}, 'key': {'key': 'key', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'msi_resource_id': {'key': 'msiResourceId', 'type': 'str'}, } def __init__(self, **kwargs): @@ -45,3 +54,5 @@ def __init__(self, **kwargs): self.container = kwargs.get('container', None) self.file_system = kwargs.get('file_system', None) self.key = kwargs.get('key', None) + self.resource_id = kwargs.get('resource_id', None) + self.msi_resource_id = kwargs.get('msi_resource_id', None) diff --git a/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/storage_account_py3.py b/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/storage_account_py3.py index 41f9ea602657..7ab3ef535a69 100644 --- a/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/storage_account_py3.py +++ b/azure-mgmt-hdinsight/azure/mgmt/hdinsight/models/storage_account_py3.py @@ -28,6 +28,13 @@ class StorageAccount(Model): :type file_system: str :param key: The storage account access key. :type key: str + :param resource_id: The resource ID of storage account, only to be + specified for Azure Data Lake Storage Gen 2. + :type resource_id: str + :param msi_resource_id: The managed identity (MSI) that is allowed to + access the storage account, only to be specified for Azure Data Lake + Storage Gen 2. + :type msi_resource_id: str """ _attribute_map = { @@ -36,12 +43,16 @@ class StorageAccount(Model): 'container': {'key': 'container', 'type': 'str'}, 'file_system': {'key': 'fileSystem', 'type': 'str'}, 'key': {'key': 'key', 'type': 'str'}, + 'resource_id': {'key': 'resourceId', 'type': 'str'}, + 'msi_resource_id': {'key': 'msiResourceId', 'type': 'str'}, } - def __init__(self, *, name: str=None, is_default: bool=None, container: str=None, file_system: str=None, key: str=None, **kwargs) -> None: + def __init__(self, *, name: str=None, is_default: bool=None, container: str=None, file_system: str=None, key: str=None, resource_id: str=None, msi_resource_id: str=None, **kwargs) -> None: super(StorageAccount, self).__init__(**kwargs) self.name = name self.is_default = is_default self.container = container self.file_system = file_system self.key = key + self.resource_id = resource_id + self.msi_resource_id = msi_resource_id diff --git a/azure-mgmt-hdinsight/azure/mgmt/hdinsight/version.py b/azure-mgmt-hdinsight/azure/mgmt/hdinsight/version.py index 9bd1dfac7ecb..3da0f49f071f 100644 --- a/azure-mgmt-hdinsight/azure/mgmt/hdinsight/version.py +++ b/azure-mgmt-hdinsight/azure/mgmt/hdinsight/version.py @@ -9,5 +9,5 @@ # regenerated. # -------------------------------------------------------------------------- -VERSION = "0.2.0" +VERSION = "0.2.1"