你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ServerAutomaticTuning 构造函数

定义

重载

ServerAutomaticTuning()

初始化 ServerAutomaticTuning 类的新实例。

ServerAutomaticTuning(String, String, String, Nullable<AutomaticTuningServerMode>, Nullable<AutomaticTuningServerMode>, IDictionary<String,AutomaticTuningServerOptions>)

初始化 ServerAutomaticTuning 类的新实例。

ServerAutomaticTuning()

初始化 ServerAutomaticTuning 类的新实例。

public ServerAutomaticTuning ();
Public Sub New ()

适用于

ServerAutomaticTuning(String, String, String, Nullable<AutomaticTuningServerMode>, Nullable<AutomaticTuningServerMode>, IDictionary<String,AutomaticTuningServerOptions>)

初始化 ServerAutomaticTuning 类的新实例。

public ServerAutomaticTuning (string id = default, string name = default, string type = default, Microsoft.Azure.Management.Sql.Models.AutomaticTuningServerMode? desiredState = default, Microsoft.Azure.Management.Sql.Models.AutomaticTuningServerMode? actualState = default, System.Collections.Generic.IDictionary<string,Microsoft.Azure.Management.Sql.Models.AutomaticTuningServerOptions> options = default);
new Microsoft.Azure.Management.Sql.Models.ServerAutomaticTuning : string * string * string * Nullable<Microsoft.Azure.Management.Sql.Models.AutomaticTuningServerMode> * Nullable<Microsoft.Azure.Management.Sql.Models.AutomaticTuningServerMode> * System.Collections.Generic.IDictionary<string, Microsoft.Azure.Management.Sql.Models.AutomaticTuningServerOptions> -> Microsoft.Azure.Management.Sql.Models.ServerAutomaticTuning
Public Sub New (Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional desiredState As Nullable(Of AutomaticTuningServerMode) = Nothing, Optional actualState As Nullable(Of AutomaticTuningServerMode) = Nothing, Optional options As IDictionary(Of String, AutomaticTuningServerOptions) = Nothing)

参数

id
String

资源 ID。

name
String

资源名称。

type
String

资源类型。

desiredState
Nullable<AutomaticTuningServerMode>

自动优化所需状态。 可能的值包括:“Custom”、“Auto”、“Unspecified”

actualState
Nullable<AutomaticTuningServerMode>

自动优化实际状态。 可能的值包括:“Custom”、“Auto”、“Unspecified”

options
IDictionary<String,AutomaticTuningServerOptions>

自动优化选项定义。

适用于