Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::ValidateMigrationInputSqlServerSqlMITaskInput
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_04_19::Models::ValidateMigrationInputSqlServerSqlMITaskInput
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_input.rb
Overview
Input for task that validates migration input for SQL to Azure SQL Managed Instance
Instance Attribute Summary collapse
-
#backup_blob_share ⇒ BlobShare
used for storing backup files.
-
#backup_file_share ⇒ FileShare
databases.
-
#backup_mode ⇒ BackupMode
backup or create new backup.
-
#selected_databases ⇒ Array<MigrateSqlServerSqlMIDatabaseInput>
migrate.
-
#selected_logins ⇒ Array<String>
Logins to migrate.
-
#source_connection_info ⇒ SqlConnectionInfo
Information for connecting to source.
-
#target_connection_info ⇒ SqlConnectionInfo
Information for connecting to target.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ValidateMigrationInputSqlServerSqlMITaskInput class as Ruby Hash.
Instance Attribute Details
#backup_blob_share ⇒ BlobShare
used for storing backup files.
35 36 37 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_input.rb', line 35 def backup_blob_share @backup_blob_share end |
#backup_file_share ⇒ FileShare
databases.
31 32 33 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_input.rb', line 31 def backup_file_share @backup_file_share end |
#backup_mode ⇒ BackupMode
backup or create new backup. Possible values include: ‘CreateBackup’, ‘ExistingBackup’
40 41 42 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_input.rb', line 40 def backup_mode @backup_mode end |
#selected_databases ⇒ Array<MigrateSqlServerSqlMIDatabaseInput>
migrate
24 25 26 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_input.rb', line 24 def selected_databases @selected_databases end |
#selected_logins ⇒ Array<String>
Returns Logins to migrate.
27 28 29 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_input.rb', line 27 def selected_logins @selected_logins end |
#source_connection_info ⇒ SqlConnectionInfo
Returns Information for connecting to source.
17 18 19 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_input.rb', line 17 def source_connection_info @source_connection_info end |
#target_connection_info ⇒ SqlConnectionInfo
Returns Information for connecting to target.
20 21 22 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_input.rb', line 20 def target_connection_info @target_connection_info end |
Class Method Details
.mapper ⇒ Object
Mapper for ValidateMigrationInputSqlServerSqlMITaskInput class as Ruby Hash. This will be used for serialization/deserialization.
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/validate_migration_input_sql_server_sql_mitask_input.rb', line 48 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ValidateMigrationInputSqlServerSqlMITaskInput', type: { name: 'Composite', class_name: 'ValidateMigrationInputSqlServerSqlMITaskInput', model_properties: { source_connection_info: { client_side_validation: true, required: true, serialized_name: 'sourceConnectionInfo', type: { name: 'Composite', class_name: 'SqlConnectionInfo' } }, target_connection_info: { client_side_validation: true, required: true, serialized_name: 'targetConnectionInfo', type: { name: 'Composite', class_name: 'SqlConnectionInfo' } }, selected_databases: { client_side_validation: true, required: true, serialized_name: 'selectedDatabases', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'MigrateSqlServerSqlMIDatabaseInputElementType', type: { name: 'Composite', class_name: 'MigrateSqlServerSqlMIDatabaseInput' } } } }, selected_logins: { client_side_validation: true, required: false, serialized_name: 'selectedLogins', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, backup_file_share: { client_side_validation: true, required: false, serialized_name: 'backupFileShare', type: { name: 'Composite', class_name: 'FileShare' } }, backup_blob_share: { client_side_validation: true, required: true, serialized_name: 'backupBlobShare', type: { name: 'Composite', class_name: 'BlobShare' } }, backup_mode: { client_side_validation: true, required: false, serialized_name: 'backupMode', type: { name: 'String' } } } } } end |