Class ConnectToSourceSqlServerTaskOutputTaskLevel
java.lang.Object
com.azure.resourcemanager.datamigration.models.ConnectToSourceSqlServerTaskOutput
com.azure.resourcemanager.datamigration.models.ConnectToSourceSqlServerTaskOutputTaskLevel
public final class ConnectToSourceSqlServerTaskOutputTaskLevel
extends ConnectToSourceSqlServerTaskOutput
Task level output for the task that validates connection to SQL Server and also validates source server requirements.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ConnectToSourceSqlServerTaskOutputTaskLevel class. -
Method Summary
Modifier and TypeMethodDescriptionGet the agentJobs property: Source agent jobs as a map from agent job name to id.Get the databases property: Source databases as a map from database name to database id.logins()
Get the logins property: Source logins as a map from login name to login id.Get the sourceServerBrandVersion property: Source server brand version.Get the sourceServerVersion property: Source server version.void
validate()
Validates the instance.Get the validationErrors property: Validation errors.Methods inherited from class com.azure.resourcemanager.datamigration.models.ConnectToSourceSqlServerTaskOutput
id
-
Constructor Details
-
ConnectToSourceSqlServerTaskOutputTaskLevel
public ConnectToSourceSqlServerTaskOutputTaskLevel()Creates an instance of ConnectToSourceSqlServerTaskOutputTaskLevel class.
-
-
Method Details
-
databases
Get the databases property: Source databases as a map from database name to database id.- Returns:
- the databases value.
-
logins
Get the logins property: Source logins as a map from login name to login id.- Returns:
- the logins value.
-
agentJobs
Get the agentJobs property: Source agent jobs as a map from agent job name to id.- Returns:
- the agentJobs value.
-
sourceServerVersion
Get the sourceServerVersion property: Source server version.- Returns:
- the sourceServerVersion value.
-
sourceServerBrandVersion
Get the sourceServerBrandVersion property: Source server brand version.- Returns:
- the sourceServerBrandVersion value.
-
validationErrors
Get the validationErrors property: Validation errors.- Returns:
- the validationErrors value.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classConnectToSourceSqlServerTaskOutput
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-