Class: Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::ProjectTaskProperties
- Inherits:
-
Object
- Object
- Azure::DataMigration::Mgmt::V2018_07_15_preview::Models::ProjectTaskProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-15-preview/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
CheckOCIDriverTaskProperties, ConnectToMongoDbTaskProperties, ConnectToSourceMySqlTaskProperties, ConnectToSourceOracleSyncTaskProperties, ConnectToSourcePostgreSqlSyncTaskProperties, ConnectToSourceSqlServerSyncTaskProperties, ConnectToSourceSqlServerTaskProperties, ConnectToTargetAzureDbForMySqlTaskProperties, ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties, ConnectToTargetOracleAzureDbForPostgreSqlSyncTaskProperties, ConnectToTargetSqlDbTaskProperties, ConnectToTargetSqlMISyncTaskProperties, ConnectToTargetSqlMITaskProperties, ConnectToTargetSqlSqlDbSyncTaskProperties, GetTdeCertificatesSqlTaskProperties, GetUserTablesOracleTaskProperties, GetUserTablesPostgreSqlTaskProperties, GetUserTablesSqlSyncTaskProperties, GetUserTablesSqlTaskProperties, InstallOCIDriverTaskProperties, MigrateMongoDbTaskProperties, MigrateMySqlAzureDbForMySqlSyncTaskProperties, MigrateOracleAzureDbForPostgreSqlSyncTaskProperties, MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties, MigrateSchemaSqlServerSqlDbTaskProperties, MigrateSqlServerSqlDbSyncTaskProperties, MigrateSqlServerSqlDbTaskProperties, MigrateSqlServerSqlMISyncTaskProperties, MigrateSqlServerSqlMITaskProperties, MigrateSsisTaskProperties, UploadOCIDriverTaskProperties, ValidateMigrationInputSqlServerSqlDbSyncTaskProperties, ValidateMigrationInputSqlServerSqlMISyncTaskProperties, ValidateMigrationInputSqlServerSqlMITaskProperties, ValidateMongoDbTaskProperties, ValidateOracleAzureDbForPostgreSqlSyncTaskProperties
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#client_data ⇒ Hash{String => String}
attach meta data information to task.
-
#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.
54 55 56 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 54 def initialize @taskType = "ProjectTaskProperties" end |
Instance Attribute Details
#client_data ⇒ Hash{String => String}
attach meta data information to task
74 75 76 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 74 def client_data @client_data end |
#commands ⇒ Array<CommandProperties>
Returns Array of command properties.
70 71 72 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 70 def commands @commands end |
#errors ⇒ Array<ODataError>
submitted.
62 63 64 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 62 def errors @errors end |
#state ⇒ TaskState
submitted. Possible values include: ‘Unknown’, ‘Queued’, ‘Running’, ‘Canceled’, ‘Succeeded’, ‘Failed’, ‘FailedInputValidation’, ‘Faulted’
67 68 69 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 67 def state @state end |
#taskType ⇒ Object
Returns the value of attribute taskType.
58 59 60 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 58 def taskType @taskType end |
Class Method Details
.mapper ⇒ Object
Mapper for ProjectTaskProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 |
# File 'lib/2018-07-15-preview/generated/azure_mgmt_data_migration/models/project_task_properties.rb', line 81 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' } } } }, client_data: { client_side_validation: true, required: false, serialized_name: 'clientData', type: { name: 'Dictionary', value: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |