ArmSqlModelFactory.AutomaticTuningServerOptions 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 AutomaticTuningServerOptions.
public static Azure.ResourceManager.Sql.Models.AutomaticTuningServerOptions AutomaticTuningServerOptions (Azure.ResourceManager.Sql.Models.AutomaticTuningOptionModeDesired? desiredState = default, Azure.ResourceManager.Sql.Models.AutomaticTuningOptionModeActual? actualState = default, int? reasonCode = default, Azure.ResourceManager.Sql.Models.AutomaticTuningServerReason? reasonDesc = default);
static member AutomaticTuningServerOptions : Nullable<Azure.ResourceManager.Sql.Models.AutomaticTuningOptionModeDesired> * Nullable<Azure.ResourceManager.Sql.Models.AutomaticTuningOptionModeActual> * Nullable<int> * Nullable<Azure.ResourceManager.Sql.Models.AutomaticTuningServerReason> -> Azure.ResourceManager.Sql.Models.AutomaticTuningServerOptions
Public Shared Function AutomaticTuningServerOptions (Optional desiredState As Nullable(Of AutomaticTuningOptionModeDesired) = Nothing, Optional actualState As Nullable(Of AutomaticTuningOptionModeActual) = Nothing, Optional reasonCode As Nullable(Of Integer) = Nothing, Optional reasonDesc As Nullable(Of AutomaticTuningServerReason) = Nothing) As AutomaticTuningServerOptions
Parameters
- desiredState
- Nullable<AutomaticTuningOptionModeDesired>
Automatic tuning option desired state.
- actualState
- Nullable<AutomaticTuningOptionModeActual>
Automatic tuning option actual state.
- reasonDesc
- Nullable<AutomaticTuningServerReason>
Reason description if desired and actual state are different.
Returns
A new AutomaticTuningServerOptions instance for mocking.
Applies to
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.
Azure SDK for .NET