RecommendedActionResponse

data class RecommendedActionResponse(val details: Map<String, Any>, val errorDetails: RecommendedActionErrorInfoResponse, val estimatedImpact: List<RecommendedActionImpactRecordResponse>, val executeActionDuration: String, val executeActionInitiatedBy: String, val executeActionInitiatedTime: String, val executeActionStartTime: String, val id: String, val implementationDetails: RecommendedActionImplementationInfoResponse, val isArchivedAction: Boolean, val isExecutableAction: Boolean, val isRevertableAction: Boolean, val kind: String, val lastRefresh: String, val linkedObjects: List<String>, val location: String, val name: String, val observedImpact: List<RecommendedActionImpactRecordResponse>, val recommendationReason: String, val revertActionDuration: String, val revertActionInitiatedBy: String, val revertActionInitiatedTime: String, val revertActionStartTime: String, val score: Int, val state: RecommendedActionStateInfoResponse, val timeSeries: List<RecommendedActionMetricInfoResponse>, val type: String, val validSince: String)

Database, Server or Elastic Pool Recommended Action.

Constructors

Link copied to clipboard
constructor(details: Map<String, Any>, errorDetails: RecommendedActionErrorInfoResponse, estimatedImpact: List<RecommendedActionImpactRecordResponse>, executeActionDuration: String, executeActionInitiatedBy: String, executeActionInitiatedTime: String, executeActionStartTime: String, id: String, implementationDetails: RecommendedActionImplementationInfoResponse, isArchivedAction: Boolean, isExecutableAction: Boolean, isRevertableAction: Boolean, kind: String, lastRefresh: String, linkedObjects: List<String>, location: String, name: String, observedImpact: List<RecommendedActionImpactRecordResponse>, recommendationReason: String, revertActionDuration: String, revertActionInitiatedBy: String, revertActionInitiatedTime: String, revertActionStartTime: String, score: Int, state: RecommendedActionStateInfoResponse, timeSeries: List<RecommendedActionMetricInfoResponse>, type: String, validSince: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Gets additional details specific to this recommended action.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Gets if approval for applying this recommended action was given by user/system.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val id: String

Resource ID.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Gets if this recommended action is actionable by user

Link copied to clipboard

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

Link copied to clipboard

Resource kind.

Link copied to clipboard

Gets time when this recommended action was last refreshed.

Link copied to clipboard

Gets the linked objects, if any.

Link copied to clipboard

Resource location.

Link copied to clipboard

Resource name.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Gets if approval for reverting this recommended action was given by user/system.

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard
val score: Int

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

Link copied to clipboard

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

Link copied to clipboard

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

Link copied to clipboard

Resource type.

Link copied to clipboard

Gets the time since when this recommended action is valid.