Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::ConnectToTargetAzureDbForPostgreSqlSyncTaskInput

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_input.rb

Overview

Input for the task that validates connection to Azure Database for PostgreSQL and target server requirements

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#source_connection_infoPostgreSqlConnectionInfo

PostgreSQL server

Returns:



18
19
20
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_input.rb', line 18

def source_connection_info
  @source_connection_info
end

#target_connection_infoPostgreSqlConnectionInfo

Azure Database for PostgreSQL server

Returns:



22
23
24
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_input.rb', line 22

def target_connection_info
  @target_connection_info
end

Class Method Details

.mapperObject

Mapper for ConnectToTargetAzureDbForPostgreSqlSyncTaskInput class as Ruby Hash. This will be used for serialization/deserialization.



30
31
32
33
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
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/connect_to_target_azure_db_for_postgre_sql_sync_task_input.rb', line 30

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'ConnectToTargetAzureDbForPostgreSqlSyncTaskInput',
    type: {
      name: 'Composite',
      class_name: 'ConnectToTargetAzureDbForPostgreSqlSyncTaskInput',
      model_properties: {
        source_connection_info: {
          client_side_validation: true,
          required: true,
          serialized_name: 'sourceConnectionInfo',
          type: {
            name: 'Composite',
            class_name: 'PostgreSqlConnectionInfo'
          }
        },
        target_connection_info: {
          client_side_validation: true,
          required: true,
          serialized_name: 'targetConnectionInfo',
          type: {
            name: 'Composite',
            class_name: 'PostgreSqlConnectionInfo'
          }
        }
      }
    }
  }
end