Class: Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::ConnectToSourceMySqlTaskInput
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::ConnectToSourceMySqlTaskInput
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_input.rb
Overview
Input for the task that validates MySQL database connection
Instance Attribute Summary collapse
-
#check_permissions_group ⇒ ServerLevelPermissionsGroup
Possible values include: ‘Default’, ‘MigrationFromSqlServerToAzureDB’, ‘MigrationFromSqlServerToAzureMI’, ‘MigrationFromMySQLToAzureDBForMySQL’.
-
#source_connection_info ⇒ MySqlConnectionInfo
source.
-
#target_platform ⇒ MySqlTargetPlatformType
Possible values include: ‘SqlServer’, ‘AzureDbForMySQL’.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ConnectToSourceMySqlTaskInput class as Ruby Hash.
Instance Attribute Details
#check_permissions_group ⇒ ServerLevelPermissionsGroup
Possible values include: ‘Default’, ‘MigrationFromSqlServerToAzureDB’, ‘MigrationFromSqlServerToAzureMI’, ‘MigrationFromMySQLToAzureDBForMySQL’
27 28 29 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_input.rb', line 27 def @check_permissions_group end |
#source_connection_info ⇒ MySqlConnectionInfo
source
17 18 19 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_input.rb', line 17 def source_connection_info @source_connection_info end |
#target_platform ⇒ MySqlTargetPlatformType
Possible values include: ‘SqlServer’, ‘AzureDbForMySQL’
21 22 23 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_input.rb', line 21 def target_platform @target_platform end |
Class Method Details
.mapper ⇒ Object
Mapper for ConnectToSourceMySqlTaskInput class as Ruby Hash. This will be used for serialization/deserialization.
34 35 36 37 38 39 40 41 42 43 44 45 46 47 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 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/connect_to_source_my_sql_task_input.rb', line 34 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ConnectToSourceMySqlTaskInput', type: { name: 'Composite', class_name: 'ConnectToSourceMySqlTaskInput', model_properties: { source_connection_info: { client_side_validation: true, required: true, serialized_name: 'sourceConnectionInfo', type: { name: 'Composite', class_name: 'MySqlConnectionInfo' } }, target_platform: { client_side_validation: true, required: false, serialized_name: 'targetPlatform', type: { name: 'String' } }, check_permissions_group: { client_side_validation: true, required: false, serialized_name: 'checkPermissionsGroup', type: { name: 'Enum', module: 'ServerLevelPermissionsGroup' } } } } } end |