共用方式為


RecommendedActionStateInfo Constructors

Definition

Overloads

RecommendedActionStateInfo()

Initializes a new instance of the RecommendedActionStateInfo class.

RecommendedActionStateInfo(String, Nullable<RecommendedActionInitiatedBy>, Nullable<DateTime>)

Initializes a new instance of the RecommendedActionStateInfo class.

RecommendedActionStateInfo()

Initializes a new instance of the RecommendedActionStateInfo class.

public RecommendedActionStateInfo ();
Public Sub New ()

Applies to

RecommendedActionStateInfo(String, Nullable<RecommendedActionInitiatedBy>, Nullable<DateTime>)

Initializes a new instance of the RecommendedActionStateInfo class.

public RecommendedActionStateInfo (string currentValue, Microsoft.Azure.Management.Sql.Models.RecommendedActionInitiatedBy? actionInitiatedBy = default, DateTime? lastModified = default);
new Microsoft.Azure.Management.Sql.Models.RecommendedActionStateInfo : string * Nullable<Microsoft.Azure.Management.Sql.Models.RecommendedActionInitiatedBy> * Nullable<DateTime> -> Microsoft.Azure.Management.Sql.Models.RecommendedActionStateInfo
Public Sub New (currentValue As String, Optional actionInitiatedBy As Nullable(Of RecommendedActionInitiatedBy) = Nothing, Optional lastModified As Nullable(Of DateTime) = Nothing)

Parameters

currentValue
String

Current state the recommended action is in. Some commonly used states are: Active -> recommended action is active and no action has been taken yet. Pending -> recommended action is approved for and is awaiting execution. Executing -> recommended action is being applied on the user database. Verifying -> recommended action was applied and is being verified of its usefulness by the system. Success -> recommended action was applied and improvement found during verification. Pending Revert -> verification found little or no improvement so recommended action is queued for revert or user has manually reverted. Reverting -> changes made while applying recommended action are being reverted on the user database. Reverted -> successfully reverted the changes made by recommended action on user database. Ignored -> user explicitly ignored/discarded the recommended action. Possible values include: 'Active', 'Pending', 'Executing', 'Verifying', 'PendingRevert', 'RevertCancelled', 'Reverting', 'Reverted', 'Ignored', 'Expired', 'Monitoring', 'Resolved', 'Success', 'Error'

actionInitiatedBy
Nullable<RecommendedActionInitiatedBy>

Gets who initiated the execution of this recommended action. Possible Value are: User -> When user explicity notified system to apply the recommended action. System -> When auto-execute status of this advisor was set to 'Enabled', in which case the system applied it. Possible values include: 'User', 'System'

lastModified
Nullable<DateTime>

Gets the time when the state was last modified

Applies to