Class AssessmentSettings
java.lang.Object
com.azure.resourcemanager.sqlvirtualmachine.models.AssessmentSettings
Configure assessment for databases in your SQL virtual machine.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionenable()
Get the enable property: Enable or disable assessment feature on SQL virtual machine.Get the runImmediately property: Run assessment immediately on SQL virtual machine.schedule()
Get the schedule property: Schedule for Assessment.void
validate()
Validates the instance.withEnable
(Boolean enable) Set the enable property: Enable or disable assessment feature on SQL virtual machine.withRunImmediately
(Boolean runImmediately) Set the runImmediately property: Run assessment immediately on SQL virtual machine.withSchedule
(Schedule schedule) Set the schedule property: Schedule for Assessment.
-
Constructor Details
-
AssessmentSettings
public AssessmentSettings()
-
-
Method Details
-
enable
Get the enable property: Enable or disable assessment feature on SQL virtual machine.- Returns:
- the enable value.
-
withEnable
Set the enable property: Enable or disable assessment feature on SQL virtual machine.- Parameters:
enable
- the enable value to set.- Returns:
- the AssessmentSettings object itself.
-
runImmediately
Get the runImmediately property: Run assessment immediately on SQL virtual machine.- Returns:
- the runImmediately value.
-
withRunImmediately
Set the runImmediately property: Run assessment immediately on SQL virtual machine.- Parameters:
runImmediately
- the runImmediately value to set.- Returns:
- the AssessmentSettings object itself.
-
schedule
Get the schedule property: Schedule for Assessment.- Returns:
- the schedule value.
-
withSchedule
Set the schedule property: Schedule for Assessment.- Parameters:
schedule
- the schedule value to set.- Returns:
- the AssessmentSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-