Class ProjectTaskProperties

java.lang.Object
com.azure.resourcemanager.datamigration.models.ProjectTaskProperties
Direct Known Subclasses:
ConnectToSourceMySqlTaskProperties, ConnectToSourcePostgreSqlSyncTaskProperties, ConnectToSourceSqlServerSyncTaskProperties, ConnectToSourceSqlServerTaskProperties, ConnectToTargetAzureDbForMySqlTaskProperties, ConnectToTargetAzureDbForPostgreSqlSyncTaskProperties, ConnectToTargetSqlDbSyncTaskProperties, ConnectToTargetSqlDbTaskProperties, ConnectToTargetSqlMISyncTaskProperties, ConnectToTargetSqlMITaskProperties, GetTdeCertificatesSqlTaskProperties, GetUserTablesSqlSyncTaskProperties, GetUserTablesSqlTaskProperties, MigrateMySqlAzureDbForMySqlSyncTaskProperties, MigratePostgreSqlAzureDbForPostgreSqlSyncTaskProperties, MigrateSqlServerSqlDbSyncTaskProperties, MigrateSqlServerSqlDbTaskProperties, MigrateSqlServerSqlMISyncTaskProperties, MigrateSqlServerSqlMITaskProperties, ValidateMigrationInputSqlServerSqlDbSyncTaskProperties, ValidateMigrationInputSqlServerSqlMISyncTaskProperties, ValidateMigrationInputSqlServerSqlMITaskProperties

public class ProjectTaskProperties extends Object
Base class for all types of DMS task properties. If task is not supported by current client, this object is returned.
  • Constructor Details

    • ProjectTaskProperties

      public ProjectTaskProperties()
      Creates an instance of ProjectTaskProperties class.
  • Method Details

    • errors

      public List<com.azure.core.management.exception.ManagementError> errors()
      Get the errors property: Array of errors. This is ignored if submitted.
      Returns:
      the errors value.
    • state

      public TaskState state()
      Get the state property: The state of the task. This is ignored if submitted.
      Returns:
      the state value.
    • commands

      public List<CommandProperties> commands()
      Get the commands property: Array of command properties.
      Returns:
      the commands value.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.