Skip to content
Closed
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
5 changes: 5 additions & 0 deletions src/datamigration/HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
++++++
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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__(
Expand All @@ -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):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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__(
Expand All @@ -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):
Expand Down
2 changes: 1 addition & 1 deletion src/datamigration/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading