Share via


AssessmentSettings Class

Definition

Configure SQL best practices Assessment for databases in your SQL virtual machine.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.AssessmentSettingsTypeConverter))]
public class AssessmentSettings : Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.IAssessmentSettings
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.AssessmentSettingsTypeConverter))>]
type AssessmentSettings = class
    interface IAssessmentSettings
    interface IJsonSerializable
Public Class AssessmentSettings
Implements IAssessmentSettings
Inheritance
AssessmentSettings
Attributes
Implements

Constructors

AssessmentSettings()

Creates an new AssessmentSettings instance.

Properties

Enable

Enable or disable SQL best practices Assessment feature on SQL virtual machine.

RunImmediately

Run SQL best practices Assessment immediately on SQL virtual machine.

ScheduleDayOfWeek

Day of the week to run assessment.

ScheduleEnable

Enable or disable assessment schedule on SQL virtual machine.

ScheduleMonthlyOccurrence

Occurrence of the DayOfWeek day within a month to schedule assessment. Takes values: 1,2,3,4 and -1. Use -1 for last DayOfWeek day of the month

ScheduleStartTime

Time of the day in HH:mm format. Eg. 17:30

ScheduleWeeklyInterval

Number of weeks to schedule between 2 assessment runs. Takes value from 1-6

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of AssessmentSettings.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of AssessmentSettings.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.SqlVirtualMachine.Models.Api20220801Preview.IAssessmentSettings.

FromJsonString(String)

Creates a new instance of AssessmentSettings, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of AssessmentSettings into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to