Class: Azure::DataMigration::Mgmt::V2018_04_19::Models::ProjectTaskProperties
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_04_19::Models::ProjectTaskProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb
Overview
Base class for all types of DMS task properties. If task is not supported by current client, this object is returned.
Direct Known Subclasses
ConnectToSourceMySqlTaskProperties, ConnectToSourcePostgreSqlSyncTaskProperties, ConnectToSourceSqlServerSyncTaskProperties, ConnectToSourceSqlServerTaskProperties, ConnectToTargetAzureDbForMySqlTaskProperties, ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties, ConnectToTargetSqlDbTaskProperties, ConnectToTargetSqlMISyncTaskProperties, ConnectToTargetSqlMITaskProperties, ConnectToTargetSqlSqlDbSyncTaskProperties, GetTdeCertificatesSqlTaskProperties, GetUserTablesSqlSyncTaskProperties, GetUserTablesSqlTaskProperties, MigrateMySqlAzureDbForMySqlSyncTaskProperties, MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties, MigrateSqlServerSqlDbSyncTaskProperties, MigrateSqlServerSqlDbTaskProperties, MigrateSqlServerSqlMISyncTaskProperties, MigrateSqlServerSqlMITaskProperties, ValidateMigrationInputSqlServerSqlDbSyncTaskProperties, ValidateMigrationInputSqlServerSqlMISyncTaskProperties, ValidateMigrationInputSqlServerSqlMITaskProperties
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#commands ⇒ Array<CommandProperties>
Array of command properties.
-
#errors ⇒ Array<ODataError>
submitted.
-
#state ⇒ TaskState
submitted.
-
#taskType ⇒ Object
Returns the value of attribute taskType.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ProjectTaskProperties class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ ProjectTaskProperties
constructor
A new instance of ProjectTaskProperties.
Constructor Details
#initialize ⇒ ProjectTaskProperties
Returns a new instance of ProjectTaskProperties.
40 41 42 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 40 def initialize @taskType = "ProjectTaskProperties" end |
Instance Attribute Details
#commands ⇒ Array<CommandProperties>
Returns Array of command properties.
56 57 58 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 56 def commands @commands end |
#errors ⇒ Array<ODataError>
submitted.
48 49 50 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 48 def errors @errors end |
#state ⇒ TaskState
submitted. Possible values include: ‘Unknown’, ‘Queued’, ‘Running’, ‘Canceled’, ‘Succeeded’, ‘Failed’, ‘FailedInputValidation’, ‘Faulted’
53 54 55 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 53 def state @state end |
#taskType ⇒ Object
Returns the value of attribute taskType.
44 45 46 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 44 def taskType @taskType end |
Class Method Details
.mapper ⇒ Object
Mapper for ProjectTaskProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2018-04-19/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 63 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ProjectTaskProperties', type: { name: 'Composite', polymorphic_discriminator: 'taskType', uber_parent: 'ProjectTaskProperties', class_name: 'ProjectTaskProperties', model_properties: { errors: { client_side_validation: true, required: false, read_only: true, serialized_name: 'errors', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'ODataErrorElementType', type: { name: 'Composite', class_name: 'ODataError' } } } }, state: { client_side_validation: true, required: false, read_only: true, serialized_name: 'state', type: { name: 'String' } }, commands: { client_side_validation: true, required: false, read_only: true, serialized_name: 'commands', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'CommandPropertiesElementType', type: { name: 'Composite', polymorphic_discriminator: 'commandType', uber_parent: 'CommandProperties', class_name: 'CommandProperties' } } } } } } } end |