다음을 통해 공유


RecommendedAction Constructors

Definition

Overloads

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.

RecommendedAction()

Initializes a new instance of the RecommendedAction class.

public RecommendedAction ();
Public Sub New ()

Applies to

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.

public RecommendedAction (Microsoft.Azure.Management.Sql.Models.RecommendedActionStateInfo state, string id = default, string name = default, string type = default, string kind = default, string location = default, string recommendationReason = default, DateTime? validSince = default, DateTime? lastRefresh = default, bool? isExecutableAction = default, bool? isRevertableAction = default, bool? isArchivedAction = default, DateTime? executeActionStartTime = default, string executeActionDuration = default, DateTime? revertActionStartTime = default, string revertActionDuration = default, Microsoft.Azure.Management.Sql.Models.RecommendedActionInitiatedBy? executeActionInitiatedBy = default, DateTime? executeActionInitiatedTime = default, Microsoft.Azure.Management.Sql.Models.RecommendedActionInitiatedBy? revertActionInitiatedBy = default, DateTime? revertActionInitiatedTime = default, int? score = default, Microsoft.Azure.Management.Sql.Models.RecommendedActionImplementationInfo implementationDetails = default, Microsoft.Azure.Management.Sql.Models.RecommendedActionErrorInfo errorDetails = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.RecommendedActionImpactRecord> estimatedImpact = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.RecommendedActionImpactRecord> observedImpact = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.RecommendedActionMetricInfo> timeSeries = default, System.Collections.Generic.IList<string> linkedObjects = default, System.Collections.Generic.IDictionary<string,object> details = default);
new Microsoft.Azure.Management.Sql.Models.RecommendedAction : Microsoft.Azure.Management.Sql.Models.RecommendedActionStateInfo * string * string * string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<DateTime> * string * Nullable<DateTime> * string * Nullable<Microsoft.Azure.Management.Sql.Models.RecommendedActionInitiatedBy> * Nullable<DateTime> * Nullable<Microsoft.Azure.Management.Sql.Models.RecommendedActionInitiatedBy> * Nullable<DateTime> * Nullable<int> * Microsoft.Azure.Management.Sql.Models.RecommendedActionImplementationInfo * Microsoft.Azure.Management.Sql.Models.RecommendedActionErrorInfo * System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.RecommendedActionImpactRecord> * System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.RecommendedActionImpactRecord> * System.Collections.Generic.IList<Microsoft.Azure.Management.Sql.Models.RecommendedActionMetricInfo> * System.Collections.Generic.IList<string> * System.Collections.Generic.IDictionary<string, obj> -> Microsoft.Azure.Management.Sql.Models.RecommendedAction
Public Sub New (state As RecommendedActionStateInfo, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional kind As String = Nothing, Optional location As String = Nothing, Optional recommendationReason As String = Nothing, Optional validSince As Nullable(Of DateTime) = Nothing, Optional lastRefresh As Nullable(Of DateTime) = Nothing, Optional isExecutableAction As Nullable(Of Boolean) = Nothing, Optional isRevertableAction As Nullable(Of Boolean) = Nothing, Optional isArchivedAction As Nullable(Of Boolean) = Nothing, Optional executeActionStartTime As Nullable(Of DateTime) = Nothing, Optional executeActionDuration As String = Nothing, Optional revertActionStartTime As Nullable(Of DateTime) = Nothing, Optional revertActionDuration As String = Nothing, Optional executeActionInitiatedBy As Nullable(Of RecommendedActionInitiatedBy) = Nothing, Optional executeActionInitiatedTime As Nullable(Of DateTime) = Nothing, Optional revertActionInitiatedBy As Nullable(Of RecommendedActionInitiatedBy) = Nothing, Optional revertActionInitiatedTime As Nullable(Of DateTime) = Nothing, Optional score As Nullable(Of Integer) = Nothing, Optional implementationDetails As RecommendedActionImplementationInfo = Nothing, Optional errorDetails As RecommendedActionErrorInfo = Nothing, Optional estimatedImpact As IList(Of RecommendedActionImpactRecord) = Nothing, Optional observedImpact As IList(Of RecommendedActionImpactRecord) = Nothing, Optional timeSeries As IList(Of RecommendedActionMetricInfo) = Nothing, Optional linkedObjects As IList(Of String) = Nothing, Optional details As IDictionary(Of String, Object) = Nothing)

Parameters

state
RecommendedActionStateInfo

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

id
String

Resource ID.

name
String

Resource name.

type
String

Resource type.

kind
String

Resource kind.

location
String

Resource location.

recommendationReason
String

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

validSince
Nullable<DateTime>

Gets the time since when this recommended action is valid.

lastRefresh
Nullable<DateTime>

Gets time when this recommended action was last refreshed.

isExecutableAction
Nullable<Boolean>

Gets if this recommended action is actionable by user

isRevertableAction
Nullable<Boolean>

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

isArchivedAction
Nullable<Boolean>

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

executeActionStartTime
Nullable<DateTime>

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

executeActionDuration
String

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

revertActionStartTime
Nullable<DateTime>

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

revertActionDuration
String

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

executeActionInitiatedBy
Nullable<RecommendedActionInitiatedBy>

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

executeActionInitiatedTime
Nullable<DateTime>

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

revertActionInitiatedBy
Nullable<RecommendedActionInitiatedBy>

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

revertActionInitiatedTime
Nullable<DateTime>

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

score
Nullable<Int32>

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

implementationDetails
RecommendedActionImplementationInfo

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

errorDetails
RecommendedActionErrorInfo

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

estimatedImpact
IList<RecommendedActionImpactRecord>

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

observedImpact
IList<RecommendedActionImpactRecord>

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

timeSeries
IList<RecommendedActionMetricInfo>

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

linkedObjects
IList<String>

Gets the linked objects, if any.

details
IDictionary<String,Object>

Gets additional details specific to this recommended action.

Applies to