共用方式為


ArmSqlModelFactory.SqlServerAutomaticTuningData Method

Definition

Initializes a new instance of SqlServerAutomaticTuningData.

public static Azure.ResourceManager.Sql.SqlServerAutomaticTuningData SqlServerAutomaticTuningData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Sql.Models.AutomaticTuningServerMode? desiredState = default, Azure.ResourceManager.Sql.Models.AutomaticTuningServerMode? actualState = default, System.Collections.Generic.IDictionary<string,Azure.ResourceManager.Sql.Models.AutomaticTuningServerOptions> options = default);
static member SqlServerAutomaticTuningData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Sql.Models.AutomaticTuningServerMode> * Nullable<Azure.ResourceManager.Sql.Models.AutomaticTuningServerMode> * System.Collections.Generic.IDictionary<string, Azure.ResourceManager.Sql.Models.AutomaticTuningServerOptions> -> Azure.ResourceManager.Sql.SqlServerAutomaticTuningData
Public Shared Function SqlServerAutomaticTuningData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional desiredState As Nullable(Of AutomaticTuningServerMode) = Nothing, Optional actualState As Nullable(Of AutomaticTuningServerMode) = Nothing, Optional options As IDictionary(Of String, AutomaticTuningServerOptions) = Nothing) As SqlServerAutomaticTuningData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

desiredState
Nullable<AutomaticTuningServerMode>

Automatic tuning desired state.

actualState
Nullable<AutomaticTuningServerMode>

Automatic tuning actual state.

options
IDictionary<String,AutomaticTuningServerOptions>

Automatic tuning options definition.

Returns

A new SqlServerAutomaticTuningData instance for mocking.

Applies to