Class ConnectToTargetSqlMISyncTaskInput
java.lang.Object
com.azure.resourcemanager.datamigration.models.ConnectToTargetSqlMISyncTaskInput
Input for the task that validates connection to Azure SQL Database Managed Instance online scenario.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ConnectToTargetSqlMISyncTaskInput class. -
Method Summary
Modifier and TypeMethodDescriptionazureApp()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.Get the targetConnectionInfo property: Connection information for Azure SQL Database Managed Instance.voidvalidate()Validates the instance.withAzureApp(AzureActiveDirectoryApp azureApp) 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.withTargetConnectionInfo(MiSqlConnectionInfo targetConnectionInfo) Set the targetConnectionInfo property: Connection information for Azure SQL Database Managed Instance.
-
Constructor Details
-
ConnectToTargetSqlMISyncTaskInput
public ConnectToTargetSqlMISyncTaskInput()Creates an instance of ConnectToTargetSqlMISyncTaskInput class.
-
-
Method Details
-
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
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.
-