Class AutomaticTuningOptions
Automatic tuning properties for individual advisors.
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Sql.dll
Syntax
public class AutomaticTuningOptions
Constructors
AutomaticTuningOptions()
Initializes a new instance of the AutomaticTuningOptions class.
Declaration
public AutomaticTuningOptions ();
AutomaticTuningOptions(Nullable<AutomaticTuningOptionModeDesired>, Nullable<AutomaticTuningOptionModeActual>, Nullable<Int32>, Nullable<AutomaticTuningDisabledReason>)
Initializes a new instance of the AutomaticTuningOptions class.
Declaration
public AutomaticTuningOptions (Nullable<Microsoft.Azure.Management.Sql.Models.AutomaticTuningOptionModeDesired> desiredState = null, Nullable<Microsoft.Azure.Management.Sql.Models.AutomaticTuningOptionModeActual> actualState = null, Nullable<int> reasonCode = null, Nullable<Microsoft.Azure.Management.Sql.Models.AutomaticTuningDisabledReason> reasonDesc = null);
Parameters
Nullable<AutomaticTuningOptionModeDesired>
desiredState
Automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default' |
Nullable<AutomaticTuningOptionModeActual>
actualState
Automatic tuning option actual state. Possible values include: 'Off', 'On' |
Nullable<Int32>
reasonCode
Reason code if desired and actual state are different. |
Nullable<AutomaticTuningDisabledReason>
reasonDesc
Reason description if desired and actual state are different. Possible values include: 'Default', 'Disabled', 'AutoConfigured', 'InheritedFromServer', 'QueryStoreOff', 'QueryStoreReadOnly', 'NotSupported' |
Properties
ActualState
Gets automatic tuning option actual state. Possible values include: 'Off', 'On'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="actualState")]
public Nullable<Microsoft.Azure.Management.Sql.Models.AutomaticTuningOptionModeActual> ActualState { get; }
Property Value
Nullable<AutomaticTuningOptionModeActual>
|
DesiredState
Gets or sets automatic tuning option desired state. Possible values include: 'Off', 'On', 'Default'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="desiredState")]
public Nullable<Microsoft.Azure.Management.Sql.Models.AutomaticTuningOptionModeDesired> DesiredState { get; set; }
Property Value
Nullable<AutomaticTuningOptionModeDesired>
|
ReasonCode
Gets reason code if desired and actual state are different.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="reasonCode")]
public Nullable<int> ReasonCode { get; }
Property Value
Nullable<Int32>
|
ReasonDesc
Gets reason description if desired and actual state are different. Possible values include: 'Default', 'Disabled', 'AutoConfigured', 'InheritedFromServer', 'QueryStoreOff', 'QueryStoreReadOnly', 'NotSupported'
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="reasonDesc")]
public Nullable<Microsoft.Azure.Management.Sql.Models.AutomaticTuningDisabledReason> ReasonDesc { get; }
Property Value
Nullable<AutomaticTuningDisabledReason>
|