Share via


AutomaticTuningOptions Class

Definition

Automatic tuning properties for individual advisors.

public class AutomaticTuningOptions : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.Models.AutomaticTuningOptions>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.Models.AutomaticTuningOptions>
type AutomaticTuningOptions = class
    interface IJsonModel<AutomaticTuningOptions>
    interface IPersistableModel<AutomaticTuningOptions>
Public Class AutomaticTuningOptions
Implements IJsonModel(Of AutomaticTuningOptions), IPersistableModel(Of AutomaticTuningOptions)
Inheritance
AutomaticTuningOptions
Implements

Constructors

AutomaticTuningOptions()

Initializes a new instance of AutomaticTuningOptions.

Properties

ActualState

Automatic tuning option actual state.

DesiredState

Automatic tuning option desired state.

ReasonCode

Reason code if desired and actual state are different.

ReasonDesc

Reason description if desired and actual state are different.

Explicit Interface Implementations

IJsonModel<AutomaticTuningOptions>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AutomaticTuningOptions>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AutomaticTuningOptions>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AutomaticTuningOptions>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AutomaticTuningOptions>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to