Class ConnectToSourceSqlServerTaskOutputAgentJobLevel
java.lang.Object
com.azure.resourcemanager.datamigration.models.ConnectToSourceSqlServerTaskOutput
com.azure.resourcemanager.datamigration.models.ConnectToSourceSqlServerTaskOutputAgentJobLevel
public final class ConnectToSourceSqlServerTaskOutputAgentJobLevel
extends ConnectToSourceSqlServerTaskOutput
AgentJob level output for the task that validates connection to SQL Server and also validates source server
requirements.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ConnectToSourceSqlServerTaskOutputAgentJobLevel class. -
Method Summary
Modifier and TypeMethodDescriptionGet the isEnabled property: The state of the original AgentJob.Get the jobCategory property: The type of AgentJob.jobOwner()
Get the jobOwner property: The owner of the AgentJob.Get the lastExecutedOn property: UTC Date and time when the AgentJob was last executed.Get the migrationEligibility property: Information about eligibility of agent job for migration.name()
Get the name property: AgentJob name.void
validate()
Validates the instance.Methods inherited from class com.azure.resourcemanager.datamigration.models.ConnectToSourceSqlServerTaskOutput
id
-
Constructor Details
-
ConnectToSourceSqlServerTaskOutputAgentJobLevel
public ConnectToSourceSqlServerTaskOutputAgentJobLevel()Creates an instance of ConnectToSourceSqlServerTaskOutputAgentJobLevel class.
-
-
Method Details
-
name
Get the name property: AgentJob name.- Returns:
- the name value.
-
jobCategory
Get the jobCategory property: The type of AgentJob.- Returns:
- the jobCategory value.
-
isEnabled
Get the isEnabled property: The state of the original AgentJob.- Returns:
- the isEnabled value.
-
jobOwner
Get the jobOwner property: The owner of the AgentJob.- Returns:
- the jobOwner value.
-
lastExecutedOn
Get the lastExecutedOn property: UTC Date and time when the AgentJob was last executed.- Returns:
- the lastExecutedOn value.
-
migrationEligibility
Get the migrationEligibility property: Information about eligibility of agent job for migration.- Returns:
- the migrationEligibility value.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classConnectToSourceSqlServerTaskOutput
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-