Class ConnectToTargetSqlMISyncTaskInput

java.lang.Object
com.azure.resourcemanager.datamigration.models.ConnectToTargetSqlMISyncTaskInput

public final class ConnectToTargetSqlMISyncTaskInput extends Object
Input for the task that validates connection to Azure SQL Database Managed Instance online scenario.
  • Constructor Details

    • ConnectToTargetSqlMISyncTaskInput

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

    • targetConnectionInfo

      public MiSqlConnectionInfo targetConnectionInfo()
      Get the targetConnectionInfo property: Connection information for Azure SQL Database Managed Instance.
      Returns:
      the targetConnectionInfo value.
    • withTargetConnectionInfo

      public ConnectToTargetSqlMISyncTaskInput withTargetConnectionInfo(MiSqlConnectionInfo targetConnectionInfo)
      Set the targetConnectionInfo property: Connection information for Azure SQL Database Managed Instance.
      Parameters:
      targetConnectionInfo - the targetConnectionInfo value to set.
      Returns:
      the ConnectToTargetSqlMISyncTaskInput object itself.
    • azureApp

      public AzureActiveDirectoryApp azureApp()
      Get the azureApp property: Azure Active Directory Application the DMS instance will use to connect to the target instance of Azure SQL Database Managed Instance and the Azure Storage Account.
      Returns:
      the azureApp value.
    • withAzureApp

      Set the azureApp property: Azure Active Directory Application the DMS instance will use to connect to the target instance of Azure SQL Database Managed Instance and the Azure Storage Account.
      Parameters:
      azureApp - the azureApp value to set.
      Returns:
      the ConnectToTargetSqlMISyncTaskInput object itself.
    • validate

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