Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_04_19::Models::MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output.rb
Overview
Output for the task that migrates PostgreSQL databases to Azure Database for PostgreSQL for online migrations
Direct Known Subclasses
MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseError, MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputDatabaseLevel, MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputError, MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputMigrationLevel, MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutputTableLevel
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#id ⇒ String
Result identifier.
-
#resultType ⇒ Object
Returns the value of attribute resultType.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput
constructor
A new instance of MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.
Constructor Details
#initialize ⇒ MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput
Returns a new instance of MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput.
23 24 25 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output.rb', line 23 def initialize @resultType = "MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput" end |
Instance Attribute Details
#id ⇒ String
Returns Result identifier.
30 31 32 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output.rb', line 30 def id @id end |
#resultType ⇒ Object
Returns the value of attribute resultType.
27 28 29 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output.rb', line 27 def resultType @resultType end |
Class Method Details
.mapper ⇒ Object
Mapper for MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput class as Ruby Hash. This will be used for serialization/deserialization.
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/migrate_postgre_sql_azure_db_for_postgre_sql_sync_task_output.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput', type: { name: 'Composite', polymorphic_discriminator: 'resultType', uber_parent: 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput', class_name: 'MigratePostgreSqlAzureDbForPostgreSqlSyncTaskOutput', model_properties: { id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'id', type: { name: 'String' } } } } } end |