ArmSqlModelFactory.AutomaticTuningOptions 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 AutomaticTuningOptions.
public static Azure.ResourceManager.Sql.Models.AutomaticTuningOptions AutomaticTuningOptions (Azure.ResourceManager.Sql.Models.AutomaticTuningOptionModeDesired? desiredState = default, Azure.ResourceManager.Sql.Models.AutomaticTuningOptionModeActual? actualState = default, int? reasonCode = default, Azure.ResourceManager.Sql.Models.AutomaticTuningDisabledReason? reasonDesc = default);
static member AutomaticTuningOptions : Nullable<Azure.ResourceManager.Sql.Models.AutomaticTuningOptionModeDesired> * Nullable<Azure.ResourceManager.Sql.Models.AutomaticTuningOptionModeActual> * Nullable<int> * Nullable<Azure.ResourceManager.Sql.Models.AutomaticTuningDisabledReason> -> Azure.ResourceManager.Sql.Models.AutomaticTuningOptions
Public Shared Function AutomaticTuningOptions (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 AutomaticTuningDisabledReason) = Nothing) As AutomaticTuningOptions
Parameters
- desiredState
- Nullable<AutomaticTuningOptionModeDesired>
Automatic tuning option desired state.
- actualState
- Nullable<AutomaticTuningOptionModeActual>
Automatic tuning option actual state.
- reasonDesc
- Nullable<AutomaticTuningDisabledReason>
Reason description if desired and actual state are different.
Returns
A new AutomaticTuningOptions instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET