Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Generated from 91579252e6aa0e9aa0b00749c82755240e5f5282 (#7383)
Add aad domain name for windows login migration support
  • Loading branch information
AutorestCI authored and Zim Kalinowski committed Oct 24, 2019
commit 530740e8b9f4c0cae615ffc3ee0e07eb7fa1e7ea
Original file line number Diff line number Diff line change
Expand Up @@ -7535,6 +7535,10 @@ class MigrateSqlServerSqlMITaskInput(SqlMigrationTaskInput):
required to be provided in selectedDatabases. Possible values include:
'CreateBackup', 'ExistingBackup'
:type backup_mode: str or ~azure.mgmt.datamigration.models.BackupMode
:param aad_domain_name: Azure Active Directory domain name in the format
of 'contoso.com' for federated Azure AD or 'contoso.onmicrosoft.com' for
managed domain, required if and only if Windows logins are selected
:type aad_domain_name: str
"""

_validation = {
Expand All @@ -7553,6 +7557,7 @@ class MigrateSqlServerSqlMITaskInput(SqlMigrationTaskInput):
'backup_file_share': {'key': 'backupFileShare', 'type': 'FileShare'},
'backup_blob_share': {'key': 'backupBlobShare', 'type': 'BlobShare'},
'backup_mode': {'key': 'backupMode', 'type': 'str'},
'aad_domain_name': {'key': 'aadDomainName', 'type': 'str'},
}

def __init__(self, **kwargs):
Expand All @@ -7563,6 +7568,7 @@ def __init__(self, **kwargs):
self.backup_file_share = kwargs.get('backup_file_share', None)
self.backup_blob_share = kwargs.get('backup_blob_share', None)
self.backup_mode = kwargs.get('backup_mode', None)
self.aad_domain_name = kwargs.get('aad_domain_name', None)


class MigrateSqlServerSqlMITaskOutput(Model):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7535,6 +7535,10 @@ class MigrateSqlServerSqlMITaskInput(SqlMigrationTaskInput):
required to be provided in selectedDatabases. Possible values include:
'CreateBackup', 'ExistingBackup'
:type backup_mode: str or ~azure.mgmt.datamigration.models.BackupMode
:param aad_domain_name: Azure Active Directory domain name in the format
of 'contoso.com' for federated Azure AD or 'contoso.onmicrosoft.com' for
managed domain, required if and only if Windows logins are selected
:type aad_domain_name: str
"""

_validation = {
Expand All @@ -7553,16 +7557,18 @@ class MigrateSqlServerSqlMITaskInput(SqlMigrationTaskInput):
'backup_file_share': {'key': 'backupFileShare', 'type': 'FileShare'},
'backup_blob_share': {'key': 'backupBlobShare', 'type': 'BlobShare'},
'backup_mode': {'key': 'backupMode', 'type': 'str'},
'aad_domain_name': {'key': 'aadDomainName', 'type': 'str'},
}

def __init__(self, *, source_connection_info, target_connection_info, selected_databases, backup_blob_share, selected_logins=None, selected_agent_jobs=None, backup_file_share=None, backup_mode=None, **kwargs) -> None:
def __init__(self, *, source_connection_info, target_connection_info, selected_databases, backup_blob_share, selected_logins=None, selected_agent_jobs=None, backup_file_share=None, backup_mode=None, aad_domain_name: str=None, **kwargs) -> None:
super(MigrateSqlServerSqlMITaskInput, self).__init__(source_connection_info=source_connection_info, target_connection_info=target_connection_info, **kwargs)
self.selected_databases = selected_databases
self.selected_logins = selected_logins
self.selected_agent_jobs = selected_agent_jobs
self.backup_file_share = backup_file_share
self.backup_blob_share = backup_blob_share
self.backup_mode = backup_mode
self.aad_domain_name = aad_domain_name


class MigrateSqlServerSqlMITaskOutput(Model):
Expand Down