Class ConnectToSourceSqlServerTaskOutputDatabaseLevel
java.lang.Object
com.azure.resourcemanager.datamigration.models.ConnectToSourceSqlServerTaskOutput
com.azure.resourcemanager.datamigration.models.ConnectToSourceSqlServerTaskOutputDatabaseLevel
public final class ConnectToSourceSqlServerTaskOutputDatabaseLevel
extends ConnectToSourceSqlServerTaskOutput
Database level output for the task that validates connection to SQL Server and also validates source server
requirements.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ConnectToSourceSqlServerTaskOutputDatabaseLevel class. -
Method Summary
Modifier and TypeMethodDescriptionGet the compatibilityLevel property: SQL Server compatibility level of database.Get the databaseFiles property: The list of database files.Get the databaseState property: State of the database.name()
Get the name property: Database name.sizeMB()
Get the sizeMB property: Size of the file in megabytes.void
validate()
Validates the instance.Methods inherited from class com.azure.resourcemanager.datamigration.models.ConnectToSourceSqlServerTaskOutput
id
-
Constructor Details
-
ConnectToSourceSqlServerTaskOutputDatabaseLevel
public ConnectToSourceSqlServerTaskOutputDatabaseLevel()Creates an instance of ConnectToSourceSqlServerTaskOutputDatabaseLevel class.
-
-
Method Details
-
name
Get the name property: Database name.- Returns:
- the name value.
-
sizeMB
Get the sizeMB property: Size of the file in megabytes.- Returns:
- the sizeMB value.
-
databaseFiles
Get the databaseFiles property: The list of database files.- Returns:
- the databaseFiles value.
-
compatibilityLevel
Get the compatibilityLevel property: SQL Server compatibility level of database.- Returns:
- the compatibilityLevel value.
-
databaseState
Get the databaseState property: State of the database.- Returns:
- the databaseState value.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classConnectToSourceSqlServerTaskOutput
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-