diff --git a/src/datamigration/HISTORY.rst b/src/datamigration/HISTORY.rst index 0fb89deae95..c4cbb59776c 100644 --- a/src/datamigration/HISTORY.rst +++ b/src/datamigration/HISTORY.rst @@ -3,6 +3,11 @@ Release History =============== +======= +1.0.1b1 +++++++ +* [PARAMETER UPDATE] `az datamigration sql-managed-instance create`: `--source-location` now supports Managed Identity for Azure Blob. + ======= 1.0.0b4 ++++++ diff --git a/src/datamigration/azext_datamigration/vendored_sdks/datamigration/models/_models.py b/src/datamigration/azext_datamigration/vendored_sdks/datamigration/models/_models.py index d148f966e60..ea363672700 100644 --- a/src/datamigration/azext_datamigration/vendored_sdks/datamigration/models/_models.py +++ b/src/datamigration/azext_datamigration/vendored_sdks/datamigration/models/_models.py @@ -193,12 +193,18 @@ class AzureBlob(msrest.serialization.Model): :type account_key: str :param blob_container_name: Blob container name where backups are stored. :type blob_container_name: str + :param auth_type: Authentication type for accessing Azure Blob. + :type auth_type: str + :param identity: Identity details for authentication. + :type identity: object """ _attribute_map = { 'storage_account_resource_id': {'key': 'storageAccountResourceId', 'type': 'str'}, 'account_key': {'key': 'accountKey', 'type': 'str'}, 'blob_container_name': {'key': 'blobContainerName', 'type': 'str'}, + 'auth_type': {'key': 'authType', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'object'}, } def __init__( @@ -209,6 +215,8 @@ def __init__( self.storage_account_resource_id = kwargs.get('storage_account_resource_id', None) self.account_key = kwargs.get('account_key', None) self.blob_container_name = kwargs.get('blob_container_name', None) + self.auth_type = kwargs.get('auth_type', None) + self.identity = kwargs.get('identity', None) class BackupConfiguration(msrest.serialization.Model): diff --git a/src/datamigration/azext_datamigration/vendored_sdks/datamigration/models/_models_py3.py b/src/datamigration/azext_datamigration/vendored_sdks/datamigration/models/_models_py3.py index 34352e3da03..275f3197451 100644 --- a/src/datamigration/azext_datamigration/vendored_sdks/datamigration/models/_models_py3.py +++ b/src/datamigration/azext_datamigration/vendored_sdks/datamigration/models/_models_py3.py @@ -222,12 +222,18 @@ class AzureBlob(msrest.serialization.Model): :type account_key: str :param blob_container_name: Blob container name where backups are stored. :type blob_container_name: str + :param auth_type: Authentication type for accessing Azure Blob. + :type auth_type: str + :param identity: Identity details for authentication. + :type identity: object """ _attribute_map = { 'storage_account_resource_id': {'key': 'storageAccountResourceId', 'type': 'str'}, 'account_key': {'key': 'accountKey', 'type': 'str'}, 'blob_container_name': {'key': 'blobContainerName', 'type': 'str'}, + 'auth_type': {'key': 'authType', 'type': 'str'}, + 'identity': {'key': 'identity', 'type': 'object'}, } def __init__( @@ -236,12 +242,16 @@ def __init__( storage_account_resource_id: Optional[str] = None, account_key: Optional[str] = None, blob_container_name: Optional[str] = None, + auth_type: Optional[str] = None, + identity: Optional[Dict[str, Dict[str, dict]]] = None, **kwargs ): super(AzureBlob, self).__init__(**kwargs) self.storage_account_resource_id = storage_account_resource_id self.account_key = account_key self.blob_container_name = blob_container_name + self.auth_type = auth_type + self.identity = identity class BackupConfiguration(msrest.serialization.Model): diff --git a/src/datamigration/setup.py b/src/datamigration/setup.py index 77a38395f78..8f910807b16 100644 --- a/src/datamigration/setup.py +++ b/src/datamigration/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages # HISTORY.rst entry. -VERSION = '1.0.0b4' +VERSION = '1.0.1b1' # The full list of classifiers is available at # https://pypi.python.org/pypi?%3Aaction=list_classifiers