Class ConnectToSourceSqlServerTaskOutputLoginLevel

java.lang.Object
com.azure.resourcemanager.datamigration.models.ConnectToSourceSqlServerTaskOutput
com.azure.resourcemanager.datamigration.models.ConnectToSourceSqlServerTaskOutputLoginLevel

public final class ConnectToSourceSqlServerTaskOutputLoginLevel extends ConnectToSourceSqlServerTaskOutput
Login level output for the task that validates connection to SQL Server and also validates source server requirements.
  • Constructor Details

    • ConnectToSourceSqlServerTaskOutputLoginLevel

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

    • name

      public String name()
      Get the name property: Login name.
      Returns:
      the name value.
    • loginType

      public LoginType loginType()
      Get the loginType property: The type of login.
      Returns:
      the loginType value.
    • defaultDatabase

      public String defaultDatabase()
      Get the defaultDatabase property: The default database for the login.
      Returns:
      the defaultDatabase value.
    • isEnabled

      public Boolean isEnabled()
      Get the isEnabled property: The state of the login.
      Returns:
      the isEnabled value.
    • migrationEligibility

      public MigrationEligibilityInfo migrationEligibility()
      Get the migrationEligibility property: Information about eligibility of login for migration.
      Returns:
      the migrationEligibility value.
    • validate

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