RecommendedAction interface
Database, Server or Elastic Pool Recommended Action.
- Extends
Properties
| details | Gets additional details specific to this recommended action. |
| error |
Gets the error details if and why this recommended action is put to error state. |
| estimated |
Gets the estimated impact info for this recommended action e.g., Estimated CPU gain, Estimated Disk Space change |
| execute |
Gets the time taken for applying this recommended action on user resource. e.g., time taken for index creation |
| execute |
Gets if approval for applying this recommended action was given by user/system. |
| execute |
Gets the time when this recommended action was approved for execution. |
| execute |
Gets the time when system started applying this recommended action on the user resource. e.g., index creation start time |
| implementation |
Gets the implementation details of this recommended action for user to apply it manually. |
| is |
Gets if this recommended action was suggested some time ago but user chose to ignore this and system added a new recommended action again. |
| is |
Gets if this recommended action is actionable by user |
| is |
Gets if changes applied by this recommended action can be reverted by user |
| kind | Resource kind. |
| last |
Gets time when this recommended action was last refreshed. |
| linked |
Gets the linked objects, if any. |
| location | Resource location. |
| observed |
Gets the observed/actual impact info for this recommended action e.g., Actual CPU gain, Actual Disk Space change |
| recommendation |
Gets the reason for recommending this action. e.g., DuplicateIndex |
| revert |
Gets the time taken for reverting changes of this recommended action on user resource. e.g., time taken for dropping the created index. |
| revert |
Gets if approval for reverting this recommended action was given by user/system. |
| revert |
Gets the time when this recommended action was approved for revert. |
| revert |
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. |
| time |
Gets the time series info of metrics for this recommended action e.g., CPU consumption time series |
| valid |
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 |
| system |
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
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