Share via


ArmDataMigrationModelFactory.ProjectTaskData Method

Definition

Initializes a new instance of ProjectTaskData.

public static Azure.ResourceManager.DataMigration.ProjectTaskData ProjectTaskData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ETag? etag = default, Azure.ResourceManager.DataMigration.Models.ProjectTaskProperties properties = default);
static member ProjectTaskData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ETag> * Azure.ResourceManager.DataMigration.Models.ProjectTaskProperties -> Azure.ResourceManager.DataMigration.ProjectTaskData
Public Shared Function ProjectTaskData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional properties As ProjectTaskProperties = Nothing) As ProjectTaskData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

etag
Nullable<ETag>

HTTP strong entity tag value. This is ignored if submitted.

properties
ProjectTaskProperties

Custom task properties 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.

Returns

A new ProjectTaskData instance for mocking.

Applies to