Udostępnij za pośrednictwem


ProjectTaskProperties Class

Definition

Base class for all types of DMS task properties. If task is not supported by current client, this object is returned. Please note ProjectTaskProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include ConnectToMongoDBTaskProperties, ConnectToSourceMySqlTaskProperties, ConnectToSourceOracleSyncTaskProperties, ConnectToSourcePostgreSqlSyncTaskProperties, ConnectToSourceSqlServerTaskProperties, ConnectToSourceSqlServerSyncTaskProperties, ConnectToTargetAzureDBForMySqlTaskProperties, ConnectToTargetAzureDBForPostgreSqlSyncTaskProperties, ConnectToTargetSqlMITaskProperties, ConnectToTargetSqlMISyncTaskProperties, ConnectToTargetOracleAzureDBForPostgreSqlSyncTaskProperties, ConnectToTargetSqlDBTaskProperties, ConnectToTargetSqlDBSyncTaskProperties, GetTdeCertificatesSqlTaskProperties, GetUserTablesSqlSyncTaskProperties, GetUserTablesSqlTaskProperties, GetUserTablesMySqlTaskProperties, GetUserTablesOracleTaskProperties, GetUserTablesPostgreSqlTaskProperties, MigrateMongoDBTaskProperties, MigrateMySqlAzureDBForMySqlOfflineTaskProperties, MigrateMySqlAzureDBForMySqlSyncTaskProperties, MigrateOracleAzureDBForPostgreSqlSyncTaskProperties, MigratePostgreSqlAzureDBForPostgreSqlSyncTaskProperties, MigrateSqlServerSqlDBSyncTaskProperties, MigrateSqlServerSqlMITaskProperties, MigrateSqlServerSqlMISyncTaskProperties, MigrateSqlServerSqlDBTaskProperties, MigrateSsisTaskProperties, MigrateSchemaSqlServerSqlDBTaskProperties, CheckOciDriverTaskProperties, InstallOciDriverTaskProperties, UploadOciDriverTaskProperties, ValidateMongoDBTaskProperties, ValidateOracleAzureDBForPostgreSqlSyncTaskProperties, ValidateMigrationInputSqlServerSqlMITaskProperties, ValidateMigrationInputSqlServerSqlMISyncTaskProperties and ValidateMigrationInputSqlServerSqlDBSyncTaskProperties.

[System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataMigration.Models.UnknownProjectTaskProperties))]
public abstract class ProjectTaskProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DataMigration.Models.ProjectTaskProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DataMigration.Models.ProjectTaskProperties>
[<System.ClientModel.Primitives.PersistableModelProxy(typeof(Azure.ResourceManager.DataMigration.Models.UnknownProjectTaskProperties))>]
type ProjectTaskProperties = class
    interface IJsonModel<ProjectTaskProperties>
    interface IPersistableModel<ProjectTaskProperties>
Public MustInherit Class ProjectTaskProperties
Implements IJsonModel(Of ProjectTaskProperties), IPersistableModel(Of ProjectTaskProperties)
Inheritance
ProjectTaskProperties
Derived
Attributes
Implements

Constructors

ProjectTaskProperties()

Initializes a new instance of ProjectTaskProperties.

Properties

ClientData

Key value pairs of client data to attach meta data information to task.

Commands

Array of command properties. Please note CommandProperties is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include MongoDBCancelCommand, MongoDBFinishCommand, MigrateMISyncCompleteCommandProperties, MigrateSyncCompleteCommandProperties and MongoDBRestartCommand.

Errors

Array of errors. This is ignored if submitted.

State

The state of the task. This is ignored if submitted.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ProjectTaskProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ProjectTaskProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ProjectTaskProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ProjectTaskProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ProjectTaskProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to