RecommendedAction interface

Database, Server or Elastic Pool Recommended Action.

Extends

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.

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

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

Resource kind.

lastRefresh

Gets time when this recommended action was last refreshed.

linkedObjects

Gets the linked objects, if any.

location

Resource location.

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.

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

validSince

Gets the time since when this recommended action is valid.

Inherited Properties

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

The name of the resource

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Property Details

details

Gets additional details specific to this recommended action.

details?: Record<string, string>

Property Value

Record<string, string>

errorDetails

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

errorDetails?: RecommendedActionErrorInfo

Property Value

estimatedImpact

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

estimatedImpact?: RecommendedActionImpactRecord[]

Property Value

executeActionDuration

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

executeActionDuration?: string

Property Value

string

executeActionInitiatedBy

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

executeActionInitiatedBy?: RecommendedActionInitiatedBy

Property Value

executeActionInitiatedTime

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

executeActionInitiatedTime?: Date

Property Value

Date

executeActionStartTime

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

executeActionStartTime?: Date

Property Value

Date

implementationDetails

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

implementationDetails?: RecommendedActionImplementationInfo

Property Value

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.

isArchivedAction?: boolean

Property Value

boolean

isExecutableAction

Gets if this recommended action is actionable by user

isExecutableAction?: boolean

Property Value

boolean

isRevertableAction

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

isRevertableAction?: boolean

Property Value

boolean

kind

Resource kind.

kind?: string

Property Value

string

lastRefresh

Gets time when this recommended action was last refreshed.

lastRefresh?: Date

Property Value

Date

linkedObjects

Gets the linked objects, if any.

linkedObjects?: string[]

Property Value

string[]

location

Resource location.

location?: string

Property Value

string

observedImpact

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

observedImpact?: RecommendedActionImpactRecord[]

Property Value

recommendationReason

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

recommendationReason?: string

Property Value

string

revertActionDuration

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

revertActionDuration?: string

Property Value

string

revertActionInitiatedBy

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

revertActionInitiatedBy?: RecommendedActionInitiatedBy

Property Value

revertActionInitiatedTime

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

revertActionInitiatedTime?: Date

Property Value

Date

revertActionStartTime

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

revertActionStartTime?: Date

Property Value

Date

score

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

score?: number

Property Value

number

state

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

state?: RecommendedActionStateInfo

Property Value

timeSeries

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

timeSeries?: RecommendedActionMetricInfo[]

Property Value

validSince

Gets the time since when this recommended action is valid.

validSince?: Date

Property Value

Date

Inherited Property Details

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

id?: string

Property Value

string

Inherited From ProxyResource.id

name

The name of the resource

name?: string

Property Value

string

Inherited From ProxyResource.name

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

systemData?: SystemData

Property Value

Inherited From ProxyResource.systemData

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

type?: string

Property Value

string

Inherited From ProxyResource.type