RecommendedAction Class

Definition

Database, Server or Elastic Pool Recommended Action.

[Microsoft.Rest.Serialization.JsonTransformation]
public class RecommendedAction : Microsoft.Azure.Management.Sql.Models.ProxyResource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type RecommendedAction = class
    inherit ProxyResource
Public Class RecommendedAction
Inherits ProxyResource
Inheritance
System.Object
RecommendedAction
Attributes

Constructors

RecommendedAction()

Initializes a new instance of the RecommendedAction class.

RecommendedAction(RecommendedActionStateInfo, String, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, Nullable<DateTime>, String, Nullable<DateTime>, String, Nullable<RecommendedActionInitiatedBy>, Nullable<DateTime>, Nullable<RecommendedActionInitiatedBy>, Nullable<DateTime>, Nullable<Int32>, RecommendedActionImplementationInfo, RecommendedActionErrorInfo, IList<RecommendedActionImpactRecord>, IList<RecommendedActionImpactRecord>, IList<RecommendedActionMetricInfo>, IList<String>, IDictionary<String, Object>)

Initializes a new instance of the RecommendedAction class.

Properties

Details

Gets additional details specific to this recommended action.

ErrorDetails

Gets the error details if and why this recommended action is put to error state.

EstimatedImpact

Gets the estimated impact info for this recommended action e.g., Estimated CPU gain, Estimated Disk Space change

ExecuteActionDuration

Gets the time taken for applying this recommended action on user resource. e.g., time taken for index creation

ExecuteActionInitiatedBy

Gets if approval for applying this recommended action was given by user/system. Possible values include: 'User', 'System'

ExecuteActionInitiatedTime

Gets the time when this recommended action was approved for execution.

ExecuteActionStartTime

Gets the time when system started applying this recommended action on the user resource. e.g., index creation start time

Id

Gets resource ID.

(Inherited from Resource)
ImplementationDetails

Gets the implementation details of this recommended action for user to apply it manually.

IsArchivedAction

Gets if this recommended action was suggested some time ago but user chose to ignore this and system added a new recommended action again.

IsExecutableAction

Gets if this recommended action is actionable by user

IsRevertableAction

Gets if changes applied by this recommended action can be reverted by user

Kind

Gets resource kind.

LastRefresh

Gets time when this recommended action was last refreshed.

LinkedObjects

Gets the linked objects, if any.

Location

Gets resource location.

Name

Gets resource name.

(Inherited from Resource)
ObservedImpact

Gets the observed/actual impact info for this recommended action e.g., Actual CPU gain, Actual Disk Space change

RecommendationReason

Gets the reason for recommending this action. e.g., DuplicateIndex

RevertActionDuration

Gets the time taken for reverting changes of this recommended action on user resource. e.g., time taken for dropping the created index.

RevertActionInitiatedBy

Gets if approval for reverting this recommended action was given by user/system. Possible values include: 'User', 'System'

RevertActionInitiatedTime

Gets the time when this recommended action was approved for revert.

RevertActionStartTime

Gets the time when system started reverting changes of this recommended action on user resource. e.g., time when index drop is executed.

Score

Gets the impact of this recommended action. Possible values are 1 - Low impact, 2 - Medium Impact and 3 - High Impact

State

Gets the info of the current state the recommended action is in.

TimeSeries

Gets the time series info of metrics for this recommended action e.g., CPU consumption time series

Type

Gets resource type.

(Inherited from Resource)
ValidSince

Gets the time since when this recommended action is valid.

Methods

Validate()

Validate the object.

Applies to