你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ArmSqlModelFactory.SqlServerAutomaticTuningData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.
Automatic tuning options definition.
Returns
A new SqlServerAutomaticTuningData instance for mocking.