다음을 통해 공유


AutomaticTuningOptions Constructors

Definition

Overloads

AutomaticTuningOptions()

Initializes a new instance of the AutomaticTuningOptions class.

AutomaticTuningOptions(Nullable<AutomaticTuningOptionModeDesired>, Nullable<AutomaticTuningOptionModeActual>, Nullable<Int32>, Nullable<AutomaticTuningDisabledReason>)

Initializes a new instance of the AutomaticTuningOptions class.

AutomaticTuningOptions()

Initializes a new instance of the AutomaticTuningOptions class.

public AutomaticTuningOptions ();
Public Sub New ()

Applies to

AutomaticTuningOptions(Nullable<AutomaticTuningOptionModeDesired>, Nullable<AutomaticTuningOptionModeActual>, Nullable<Int32>, Nullable<AutomaticTuningDisabledReason>)

Initializes a new instance of the AutomaticTuningOptions class.

public AutomaticTuningOptions (Microsoft.Azure.Management.Sql.Fluent.Models.AutomaticTuningOptionModeDesired? desiredState = default, Microsoft.Azure.Management.Sql.Fluent.Models.AutomaticTuningOptionModeActual? actualState = default, int? reasonCode = default, Microsoft.Azure.Management.Sql.Fluent.Models.AutomaticTuningDisabledReason? reasonDesc = default);
new Microsoft.Azure.Management.Sql.Fluent.Models.AutomaticTuningOptions : Nullable<Microsoft.Azure.Management.Sql.Fluent.Models.AutomaticTuningOptionModeDesired> * Nullable<Microsoft.Azure.Management.Sql.Fluent.Models.AutomaticTuningOptionModeActual> * Nullable<int> * Nullable<Microsoft.Azure.Management.Sql.Fluent.Models.AutomaticTuningDisabledReason> -> Microsoft.Azure.Management.Sql.Fluent.Models.AutomaticTuningOptions
Public Sub New (Optional desiredState As Nullable(Of AutomaticTuningOptionModeDesired) = Nothing, Optional actualState As Nullable(Of AutomaticTuningOptionModeActual) = Nothing, Optional reasonCode As Nullable(Of Integer) = Nothing, Optional reasonDesc As Nullable(Of AutomaticTuningDisabledReason) = Nothing)

Parameters

desiredState
Nullable<AutomaticTuningOptionModeDesired>

Automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default'

actualState
Nullable<AutomaticTuningOptionModeActual>

Automatic tuning option actual state. Possible values include: 'Off', 'On'

reasonCode
Nullable<Int32>

Reason code if desired and actual state are different.

reasonDesc
Nullable<AutomaticTuningDisabledReason>

Reason description if desired and actual state are different. Possible values include: 'Default', 'Disabled', 'AutoConfigured', 'InheritedFromServer', 'QueryStoreOff', 'QueryStoreReadOnly', 'NotSupported'

Applies to