This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
azure-native.sql.getServerAdvisor
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi
Gets a server advisor. Azure REST API version: 2021-11-01.
Other available API versions: 2014-04-01, 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview.
Using getServerAdvisor
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getServerAdvisor(args: GetServerAdvisorArgs, opts?: InvokeOptions): Promise<GetServerAdvisorResult>
function getServerAdvisorOutput(args: GetServerAdvisorOutputArgs, opts?: InvokeOptions): Output<GetServerAdvisorResult>
def get_server_advisor(advisor_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
server_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetServerAdvisorResult
def get_server_advisor_output(advisor_name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
server_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetServerAdvisorResult]
func LookupServerAdvisor(ctx *Context, args *LookupServerAdvisorArgs, opts ...InvokeOption) (*LookupServerAdvisorResult, error)
func LookupServerAdvisorOutput(ctx *Context, args *LookupServerAdvisorOutputArgs, opts ...InvokeOption) LookupServerAdvisorResultOutput
> Note: This function is named LookupServerAdvisor
in the Go SDK.
public static class GetServerAdvisor
{
public static Task<GetServerAdvisorResult> InvokeAsync(GetServerAdvisorArgs args, InvokeOptions? opts = null)
public static Output<GetServerAdvisorResult> Invoke(GetServerAdvisorInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServerAdvisorResult> getServerAdvisor(GetServerAdvisorArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:sql:getServerAdvisor
arguments:
# arguments dictionary
The following arguments are supported:
- Advisor
Name string - The name of the Server Advisor.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Server
Name string - The name of the server.
- Advisor
Name string - The name of the Server Advisor.
- Resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- Server
Name string - The name of the server.
- advisor
Name String - The name of the Server Advisor.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server
Name String - The name of the server.
- advisor
Name string - The name of the Server Advisor.
- resource
Group stringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server
Name string - The name of the server.
- advisor_
name str - The name of the Server Advisor.
- resource_
group_ strname - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server_
name str - The name of the server.
- advisor
Name String - The name of the Server Advisor.
- resource
Group StringName - The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
- server
Name String - The name of the server.
getServerAdvisor Result
The following output properties are available:
- Advisor
Status string - Gets the status of availability of this advisor to customers. Possible values are 'GA', 'PublicPreview', 'LimitedPublicPreview' and 'PrivatePreview'.
- Auto
Execute stringStatus - Gets the auto-execute status (whether to let the system execute the recommendations) of this advisor. Possible values are 'Enabled' and 'Disabled'
- Auto
Execute stringStatus Inherited From - Gets the resource from which current value of auto-execute status is inherited. Auto-execute status can be set on (and inherited from) different levels in the resource hierarchy. Possible values are 'Subscription', 'Server', 'ElasticPool', 'Database' and 'Default' (when status is not explicitly set on any level).
- Id string
- Resource ID.
- Kind string
- Resource kind.
- Last
Checked string - Gets the time when the current resource was analyzed for recommendations by this advisor.
- Location string
- Resource location.
- Name string
- Resource name.
- Recommendations
Status string - Gets that status of recommendations for this advisor and reason for not having any recommendations. Possible values include, but are not limited to, 'Ok' (Recommendations available),LowActivity (not enough workload to analyze), 'DbSeemsTuned' (Database is doing well), etc.
- Recommended
Actions List<Pulumi.Azure Native. Sql. Outputs. Recommended Action Response> - Gets the recommended actions for this advisor.
- Type string
- Resource type.
- Advisor
Status string - Gets the status of availability of this advisor to customers. Possible values are 'GA', 'PublicPreview', 'LimitedPublicPreview' and 'PrivatePreview'.
- Auto
Execute stringStatus - Gets the auto-execute status (whether to let the system execute the recommendations) of this advisor. Possible values are 'Enabled' and 'Disabled'
- Auto
Execute stringStatus Inherited From - Gets the resource from which current value of auto-execute status is inherited. Auto-execute status can be set on (and inherited from) different levels in the resource hierarchy. Possible values are 'Subscription', 'Server', 'ElasticPool', 'Database' and 'Default' (when status is not explicitly set on any level).
- Id string
- Resource ID.
- Kind string
- Resource kind.
- Last
Checked string - Gets the time when the current resource was analyzed for recommendations by this advisor.
- Location string
- Resource location.
- Name string
- Resource name.
- Recommendations
Status string - Gets that status of recommendations for this advisor and reason for not having any recommendations. Possible values include, but are not limited to, 'Ok' (Recommendations available),LowActivity (not enough workload to analyze), 'DbSeemsTuned' (Database is doing well), etc.
- Recommended
Actions []RecommendedAction Response - Gets the recommended actions for this advisor.
- Type string
- Resource type.
- advisor
Status String - Gets the status of availability of this advisor to customers. Possible values are 'GA', 'PublicPreview', 'LimitedPublicPreview' and 'PrivatePreview'.
- auto
Execute StringStatus - Gets the auto-execute status (whether to let the system execute the recommendations) of this advisor. Possible values are 'Enabled' and 'Disabled'
- auto
Execute StringStatus Inherited From - Gets the resource from which current value of auto-execute status is inherited. Auto-execute status can be set on (and inherited from) different levels in the resource hierarchy. Possible values are 'Subscription', 'Server', 'ElasticPool', 'Database' and 'Default' (when status is not explicitly set on any level).
- id String
- Resource ID.
- kind String
- Resource kind.
- last
Checked String - Gets the time when the current resource was analyzed for recommendations by this advisor.
- location String
- Resource location.
- name String
- Resource name.
- recommendations
Status String - Gets that status of recommendations for this advisor and reason for not having any recommendations. Possible values include, but are not limited to, 'Ok' (Recommendations available),LowActivity (not enough workload to analyze), 'DbSeemsTuned' (Database is doing well), etc.
- recommended
Actions List<RecommendedAction Response> - Gets the recommended actions for this advisor.
- type String
- Resource type.
- advisor
Status string - Gets the status of availability of this advisor to customers. Possible values are 'GA', 'PublicPreview', 'LimitedPublicPreview' and 'PrivatePreview'.
- auto
Execute stringStatus - Gets the auto-execute status (whether to let the system execute the recommendations) of this advisor. Possible values are 'Enabled' and 'Disabled'
- auto
Execute stringStatus Inherited From - Gets the resource from which current value of auto-execute status is inherited. Auto-execute status can be set on (and inherited from) different levels in the resource hierarchy. Possible values are 'Subscription', 'Server', 'ElasticPool', 'Database' and 'Default' (when status is not explicitly set on any level).
- id string
- Resource ID.
- kind string
- Resource kind.
- last
Checked string - Gets the time when the current resource was analyzed for recommendations by this advisor.
- location string
- Resource location.
- name string
- Resource name.
- recommendations
Status string - Gets that status of recommendations for this advisor and reason for not having any recommendations. Possible values include, but are not limited to, 'Ok' (Recommendations available),LowActivity (not enough workload to analyze), 'DbSeemsTuned' (Database is doing well), etc.
- recommended
Actions RecommendedAction Response[] - Gets the recommended actions for this advisor.
- type string
- Resource type.
- advisor_
status str - Gets the status of availability of this advisor to customers. Possible values are 'GA', 'PublicPreview', 'LimitedPublicPreview' and 'PrivatePreview'.
- auto_
execute_ strstatus - Gets the auto-execute status (whether to let the system execute the recommendations) of this advisor. Possible values are 'Enabled' and 'Disabled'
- auto_
execute_ strstatus_ inherited_ from - Gets the resource from which current value of auto-execute status is inherited. Auto-execute status can be set on (and inherited from) different levels in the resource hierarchy. Possible values are 'Subscription', 'Server', 'ElasticPool', 'Database' and 'Default' (when status is not explicitly set on any level).
- id str
- Resource ID.
- kind str
- Resource kind.
- last_
checked str - Gets the time when the current resource was analyzed for recommendations by this advisor.
- location str
- Resource location.
- name str
- Resource name.
- recommendations_
status str - Gets that status of recommendations for this advisor and reason for not having any recommendations. Possible values include, but are not limited to, 'Ok' (Recommendations available),LowActivity (not enough workload to analyze), 'DbSeemsTuned' (Database is doing well), etc.
- recommended_
actions Sequence[RecommendedAction Response] - Gets the recommended actions for this advisor.
- type str
- Resource type.
- advisor
Status String - Gets the status of availability of this advisor to customers. Possible values are 'GA', 'PublicPreview', 'LimitedPublicPreview' and 'PrivatePreview'.
- auto
Execute StringStatus - Gets the auto-execute status (whether to let the system execute the recommendations) of this advisor. Possible values are 'Enabled' and 'Disabled'
- auto
Execute StringStatus Inherited From - Gets the resource from which current value of auto-execute status is inherited. Auto-execute status can be set on (and inherited from) different levels in the resource hierarchy. Possible values are 'Subscription', 'Server', 'ElasticPool', 'Database' and 'Default' (when status is not explicitly set on any level).
- id String
- Resource ID.
- kind String
- Resource kind.
- last
Checked String - Gets the time when the current resource was analyzed for recommendations by this advisor.
- location String
- Resource location.
- name String
- Resource name.
- recommendations
Status String - Gets that status of recommendations for this advisor and reason for not having any recommendations. Possible values include, but are not limited to, 'Ok' (Recommendations available),LowActivity (not enough workload to analyze), 'DbSeemsTuned' (Database is doing well), etc.
- recommended
Actions List<Property Map> - Gets the recommended actions for this advisor.
- type String
- Resource type.
Supporting Types
RecommendedActionErrorInfoResponse
- Error
Code string - Gets the reason why the recommended action was put to error state. e.g., DatabaseHasQdsOff, IndexAlreadyExists
- Is
Retryable string - Gets whether the error could be ignored and recommended action could be retried. Possible values are: Yes/No
- Error
Code string - Gets the reason why the recommended action was put to error state. e.g., DatabaseHasQdsOff, IndexAlreadyExists
- Is
Retryable string - Gets whether the error could be ignored and recommended action could be retried. Possible values are: Yes/No
- error
Code String - Gets the reason why the recommended action was put to error state. e.g., DatabaseHasQdsOff, IndexAlreadyExists
- is
Retryable String - Gets whether the error could be ignored and recommended action could be retried. Possible values are: Yes/No
- error
Code string - Gets the reason why the recommended action was put to error state. e.g., DatabaseHasQdsOff, IndexAlreadyExists
- is
Retryable string - Gets whether the error could be ignored and recommended action could be retried. Possible values are: Yes/No
- error_
code str - Gets the reason why the recommended action was put to error state. e.g., DatabaseHasQdsOff, IndexAlreadyExists
- is_
retryable str - Gets whether the error could be ignored and recommended action could be retried. Possible values are: Yes/No
- error
Code String - Gets the reason why the recommended action was put to error state. e.g., DatabaseHasQdsOff, IndexAlreadyExists
- is
Retryable String - Gets whether the error could be ignored and recommended action could be retried. Possible values are: Yes/No
RecommendedActionImpactRecordResponse
- Absolute
Value double - Gets the absolute value of this dimension if applicable. e.g., Number of Queries affected
- Change
Value doubleAbsolute - Gets the absolute change in the value of this dimension. e.g., Absolute Disk space change in Megabytes
- Change
Value doubleRelative - Gets the relative change in the value of this dimension. e.g., Relative Disk space change in Percentage
- Dimension
Name string - Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
- Unit string
- Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
- Absolute
Value float64 - Gets the absolute value of this dimension if applicable. e.g., Number of Queries affected
- Change
Value float64Absolute - Gets the absolute change in the value of this dimension. e.g., Absolute Disk space change in Megabytes
- Change
Value float64Relative - Gets the relative change in the value of this dimension. e.g., Relative Disk space change in Percentage
- Dimension
Name string - Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
- Unit string
- Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
- absolute
Value Double - Gets the absolute value of this dimension if applicable. e.g., Number of Queries affected
- change
Value DoubleAbsolute - Gets the absolute change in the value of this dimension. e.g., Absolute Disk space change in Megabytes
- change
Value DoubleRelative - Gets the relative change in the value of this dimension. e.g., Relative Disk space change in Percentage
- dimension
Name String - Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
- unit String
- Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
- absolute
Value number - Gets the absolute value of this dimension if applicable. e.g., Number of Queries affected
- change
Value numberAbsolute - Gets the absolute change in the value of this dimension. e.g., Absolute Disk space change in Megabytes
- change
Value numberRelative - Gets the relative change in the value of this dimension. e.g., Relative Disk space change in Percentage
- dimension
Name string - Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
- unit string
- Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
- absolute_
value float - Gets the absolute value of this dimension if applicable. e.g., Number of Queries affected
- change_
value_ floatabsolute - Gets the absolute change in the value of this dimension. e.g., Absolute Disk space change in Megabytes
- change_
value_ floatrelative - Gets the relative change in the value of this dimension. e.g., Relative Disk space change in Percentage
- dimension_
name str - Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
- unit str
- Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
- absolute
Value Number - Gets the absolute value of this dimension if applicable. e.g., Number of Queries affected
- change
Value NumberAbsolute - Gets the absolute change in the value of this dimension. e.g., Absolute Disk space change in Megabytes
- change
Value NumberRelative - Gets the relative change in the value of this dimension. e.g., Relative Disk space change in Percentage
- dimension
Name String - Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
- unit String
- Gets the name of the impact dimension. e.g., CPUChange, DiskSpaceChange, NumberOfQueriesAffected.
RecommendedActionImplementationInfoResponse
RecommendedActionMetricInfoResponse
- Metric
Name string - Gets the name of the metric. e.g., CPU, Number of Queries.
- Start
Time string - Gets the start time of time interval given by this MetricInfo.
- Time
Grain string - Gets the duration of time interval for the value given by this MetricInfo. e.g., PT1H (1 hour)
- Unit string
- Gets the unit in which metric is measured. e.g., DTU, Frequency
- Value double
- Gets the value of the metric in the time interval given by this MetricInfo.
- Metric
Name string - Gets the name of the metric. e.g., CPU, Number of Queries.
- Start
Time string - Gets the start time of time interval given by this MetricInfo.
- Time
Grain string - Gets the duration of time interval for the value given by this MetricInfo. e.g., PT1H (1 hour)
- Unit string
- Gets the unit in which metric is measured. e.g., DTU, Frequency
- Value float64
- Gets the value of the metric in the time interval given by this MetricInfo.
- metric
Name String - Gets the name of the metric. e.g., CPU, Number of Queries.
- start
Time String - Gets the start time of time interval given by this MetricInfo.
- time
Grain String - Gets the duration of time interval for the value given by this MetricInfo. e.g., PT1H (1 hour)
- unit String
- Gets the unit in which metric is measured. e.g., DTU, Frequency
- value Double
- Gets the value of the metric in the time interval given by this MetricInfo.
- metric
Name string - Gets the name of the metric. e.g., CPU, Number of Queries.
- start
Time string - Gets the start time of time interval given by this MetricInfo.
- time
Grain string - Gets the duration of time interval for the value given by this MetricInfo. e.g., PT1H (1 hour)
- unit string
- Gets the unit in which metric is measured. e.g., DTU, Frequency
- value number
- Gets the value of the metric in the time interval given by this MetricInfo.
- metric_
name str - Gets the name of the metric. e.g., CPU, Number of Queries.
- start_
time str - Gets the start time of time interval given by this MetricInfo.
- time_
grain str - Gets the duration of time interval for the value given by this MetricInfo. e.g., PT1H (1 hour)
- unit str
- Gets the unit in which metric is measured. e.g., DTU, Frequency
- value float
- Gets the value of the metric in the time interval given by this MetricInfo.
- metric
Name String - Gets the name of the metric. e.g., CPU, Number of Queries.
- start
Time String - Gets the start time of time interval given by this MetricInfo.
- time
Grain String - Gets the duration of time interval for the value given by this MetricInfo. e.g., PT1H (1 hour)
- unit String
- Gets the unit in which metric is measured. e.g., DTU, Frequency
- value Number
- Gets the value of the metric in the time interval given by this MetricInfo.
RecommendedActionResponse
- Details Dictionary<string, object>
- Gets additional details specific to this recommended action.
- Error
Details Pulumi.Azure Native. Sql. Inputs. Recommended Action Error Info Response - Gets the error details if and why this recommended action is put to error state.
- Estimated
Impact List<Pulumi.Azure Native. Sql. Inputs. Recommended Action Impact Record Response> - Gets the estimated impact info for this recommended action e.g., Estimated CPU gain, Estimated Disk Space change
- Execute
Action stringDuration - Gets the time taken for applying this recommended action on user resource. e.g., time taken for index creation
- Execute
Action stringInitiated By - Gets if approval for applying this recommended action was given by user/system.
- Execute
Action stringInitiated Time - Gets the time when this recommended action was approved for execution.
- Execute
Action stringStart Time - Gets the time when system started applying this recommended action on the user resource. e.g., index creation start time
- Id string
- Resource ID.
- Implementation
Details Pulumi.Azure Native. Sql. Inputs. Recommended Action Implementation Info Response - Gets the implementation details of this recommended action for user to apply it manually.
- Is
Archived boolAction - 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
Executable boolAction - Gets if this recommended action is actionable by user
- Is
Revertable boolAction - Gets if changes applied by this recommended action can be reverted by user
- Kind string
- Resource kind.
- Last
Refresh string - Gets time when this recommended action was last refreshed.
- Linked
Objects List<string> - Gets the linked objects, if any.
- Location string
- Resource location.
- Name string
- Resource name.
- Observed
Impact List<Pulumi.Azure Native. Sql. Inputs. Recommended Action Impact Record Response> - Gets the observed/actual impact info for this recommended action e.g., Actual CPU gain, Actual Disk Space change
- Recommendation
Reason string - Gets the reason for recommending this action. e.g., DuplicateIndex
- Revert
Action stringDuration - Gets the time taken for reverting changes of this recommended action on user resource. e.g., time taken for dropping the created index.
- Revert
Action stringInitiated By - Gets if approval for reverting this recommended action was given by user/system.
- Revert
Action stringInitiated Time - Gets the time when this recommended action was approved for revert.
- Revert
Action stringStart Time - Gets the time when system started reverting changes of this recommended action on user resource. e.g., time when index drop is executed.
- Score int
- Gets the impact of this recommended action. Possible values are 1 - Low impact, 2 - Medium Impact and 3 - High Impact
- State
Pulumi.
Azure Native. Sql. Inputs. Recommended Action State Info Response - Gets the info of the current state the recommended action is in.
- Time
Series List<Pulumi.Azure Native. Sql. Inputs. Recommended Action Metric Info Response> - Gets the time series info of metrics for this recommended action e.g., CPU consumption time series
- Type string
- Resource type.
- Valid
Since string - Gets the time since when this recommended action is valid.
- Details map[string]interface{}
- Gets additional details specific to this recommended action.
- Error
Details RecommendedAction Error Info Response - Gets the error details if and why this recommended action is put to error state.
- Estimated
Impact []RecommendedAction Impact Record Response - Gets the estimated impact info for this recommended action e.g., Estimated CPU gain, Estimated Disk Space change
- Execute
Action stringDuration - Gets the time taken for applying this recommended action on user resource. e.g., time taken for index creation
- Execute
Action stringInitiated By - Gets if approval for applying this recommended action was given by user/system.
- Execute
Action stringInitiated Time - Gets the time when this recommended action was approved for execution.
- Execute
Action stringStart Time - Gets the time when system started applying this recommended action on the user resource. e.g., index creation start time
- Id string
- Resource ID.
- Implementation
Details RecommendedAction Implementation Info Response - Gets the implementation details of this recommended action for user to apply it manually.
- Is
Archived boolAction - 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
Executable boolAction - Gets if this recommended action is actionable by user
- Is
Revertable boolAction - Gets if changes applied by this recommended action can be reverted by user
- Kind string
- Resource kind.
- Last
Refresh string - Gets time when this recommended action was last refreshed.
- Linked
Objects []string - Gets the linked objects, if any.
- Location string
- Resource location.
- Name string
- Resource name.
- Observed
Impact []RecommendedAction Impact Record Response - Gets the observed/actual impact info for this recommended action e.g., Actual CPU gain, Actual Disk Space change
- Recommendation
Reason string - Gets the reason for recommending this action. e.g., DuplicateIndex
- Revert
Action stringDuration - Gets the time taken for reverting changes of this recommended action on user resource. e.g., time taken for dropping the created index.
- Revert
Action stringInitiated By - Gets if approval for reverting this recommended action was given by user/system.
- Revert
Action stringInitiated Time - Gets the time when this recommended action was approved for revert.
- Revert
Action stringStart Time - Gets the time when system started reverting changes of this recommended action on user resource. e.g., time when index drop is executed.
- Score int
- Gets the impact of this recommended action. Possible values are 1 - Low impact, 2 - Medium Impact and 3 - High Impact
- State
Recommended
Action State Info Response - Gets the info of the current state the recommended action is in.
- Time
Series []RecommendedAction Metric Info Response - Gets the time series info of metrics for this recommended action e.g., CPU consumption time series
- Type string
- Resource type.
- Valid
Since string - Gets the time since when this recommended action is valid.
- details Map<String,Object>
- Gets additional details specific to this recommended action.
- error
Details RecommendedAction Error Info Response - Gets the error details if and why this recommended action is put to error state.
- estimated
Impact List<RecommendedAction Impact Record Response> - Gets the estimated impact info for this recommended action e.g., Estimated CPU gain, Estimated Disk Space change
- execute
Action StringDuration - Gets the time taken for applying this recommended action on user resource. e.g., time taken for index creation
- execute
Action StringInitiated By - Gets if approval for applying this recommended action was given by user/system.
- execute
Action StringInitiated Time - Gets the time when this recommended action was approved for execution.
- execute
Action StringStart Time - Gets the time when system started applying this recommended action on the user resource. e.g., index creation start time
- id String
- Resource ID.
- implementation
Details RecommendedAction Implementation Info Response - Gets the implementation details of this recommended action for user to apply it manually.
- is
Archived BooleanAction - 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
Executable BooleanAction - Gets if this recommended action is actionable by user
- is
Revertable BooleanAction - Gets if changes applied by this recommended action can be reverted by user
- kind String
- Resource kind.
- last
Refresh String - Gets time when this recommended action was last refreshed.
- linked
Objects List<String> - Gets the linked objects, if any.
- location String
- Resource location.
- name String
- Resource name.
- observed
Impact List<RecommendedAction Impact Record Response> - Gets the observed/actual impact info for this recommended action e.g., Actual CPU gain, Actual Disk Space change
- recommendation
Reason String - Gets the reason for recommending this action. e.g., DuplicateIndex
- revert
Action StringDuration - Gets the time taken for reverting changes of this recommended action on user resource. e.g., time taken for dropping the created index.
- revert
Action StringInitiated By - Gets if approval for reverting this recommended action was given by user/system.
- revert
Action StringInitiated Time - Gets the time when this recommended action was approved for revert.
- revert
Action StringStart Time - Gets the time when system started reverting changes of this recommended action on user resource. e.g., time when index drop is executed.
- score Integer
- Gets the impact of this recommended action. Possible values are 1 - Low impact, 2 - Medium Impact and 3 - High Impact
- state
Recommended
Action State Info Response - Gets the info of the current state the recommended action is in.
- time
Series List<RecommendedAction Metric Info Response> - Gets the time series info of metrics for this recommended action e.g., CPU consumption time series
- type String
- Resource type.
- valid
Since String - Gets the time since when this recommended action is valid.
- details {[key: string]: any}
- Gets additional details specific to this recommended action.
- error
Details RecommendedAction Error Info Response - Gets the error details if and why this recommended action is put to error state.
- estimated
Impact RecommendedAction Impact Record Response[] - Gets the estimated impact info for this recommended action e.g., Estimated CPU gain, Estimated Disk Space change
- execute
Action stringDuration - Gets the time taken for applying this recommended action on user resource. e.g., time taken for index creation
- execute
Action stringInitiated By - Gets if approval for applying this recommended action was given by user/system.
- execute
Action stringInitiated Time - Gets the time when this recommended action was approved for execution.
- execute
Action stringStart Time - Gets the time when system started applying this recommended action on the user resource. e.g., index creation start time
- id string
- Resource ID.
- implementation
Details RecommendedAction Implementation Info Response - Gets the implementation details of this recommended action for user to apply it manually.
- is
Archived booleanAction - 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
Executable booleanAction - Gets if this recommended action is actionable by user
- is
Revertable booleanAction - Gets if changes applied by this recommended action can be reverted by user
- kind string
- Resource kind.
- last
Refresh string - Gets time when this recommended action was last refreshed.
- linked
Objects string[] - Gets the linked objects, if any.
- location string
- Resource location.
- name string
- Resource name.
- observed
Impact RecommendedAction Impact Record Response[] - Gets the observed/actual impact info for this recommended action e.g., Actual CPU gain, Actual Disk Space change
- recommendation
Reason string - Gets the reason for recommending this action. e.g., DuplicateIndex
- revert
Action stringDuration - Gets the time taken for reverting changes of this recommended action on user resource. e.g., time taken for dropping the created index.
- revert
Action stringInitiated By - Gets if approval for reverting this recommended action was given by user/system.
- revert
Action stringInitiated Time - Gets the time when this recommended action was approved for revert.
- revert
Action stringStart Time - Gets the time when system started reverting changes of this recommended action on user resource. e.g., time when index drop is executed.
- score number
- Gets the impact of this recommended action. Possible values are 1 - Low impact, 2 - Medium Impact and 3 - High Impact
- state
Recommended
Action State Info Response - Gets the info of the current state the recommended action is in.
- time
Series RecommendedAction Metric Info Response[] - Gets the time series info of metrics for this recommended action e.g., CPU consumption time series
- type string
- Resource type.
- valid
Since string - Gets the time since when this recommended action is valid.
- details Mapping[str, Any]
- Gets additional details specific to this recommended action.
- error_
details RecommendedAction Error Info Response - Gets the error details if and why this recommended action is put to error state.
- estimated_
impact Sequence[RecommendedAction Impact Record Response] - Gets the estimated impact info for this recommended action e.g., Estimated CPU gain, Estimated Disk Space change
- execute_
action_ strduration - Gets the time taken for applying this recommended action on user resource. e.g., time taken for index creation
- execute_
action_ strinitiated_ by - Gets if approval for applying this recommended action was given by user/system.
- execute_
action_ strinitiated_ time - Gets the time when this recommended action was approved for execution.
- execute_
action_ strstart_ time - Gets the time when system started applying this recommended action on the user resource. e.g., index creation start time
- id str
- Resource ID.
- implementation_
details RecommendedAction Implementation Info Response - Gets the implementation details of this recommended action for user to apply it manually.
- is_
archived_ boolaction - 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_
executable_ boolaction - Gets if this recommended action is actionable by user
- is_
revertable_ boolaction - Gets if changes applied by this recommended action can be reverted by user
- kind str
- Resource kind.
- last_
refresh str - Gets time when this recommended action was last refreshed.
- linked_
objects Sequence[str] - Gets the linked objects, if any.
- location str
- Resource location.
- name str
- Resource name.
- observed_
impact Sequence[RecommendedAction Impact Record Response] - Gets the observed/actual impact info for this recommended action e.g., Actual CPU gain, Actual Disk Space change
- recommendation_
reason str - Gets the reason for recommending this action. e.g., DuplicateIndex
- revert_
action_ strduration - Gets the time taken for reverting changes of this recommended action on user resource. e.g., time taken for dropping the created index.
- revert_
action_ strinitiated_ by - Gets if approval for reverting this recommended action was given by user/system.
- revert_
action_ strinitiated_ time - Gets the time when this recommended action was approved for revert.
- revert_
action_ strstart_ time - Gets the time when system started reverting changes of this recommended action on user resource. e.g., time when index drop is executed.
- score int
- Gets the impact of this recommended action. Possible values are 1 - Low impact, 2 - Medium Impact and 3 - High Impact
- state
Recommended
Action State Info Response - Gets the info of the current state the recommended action is in.
- time_
series Sequence[RecommendedAction Metric Info Response] - Gets the time series info of metrics for this recommended action e.g., CPU consumption time series
- type str
- Resource type.
- valid_
since str - Gets the time since when this recommended action is valid.
- details Map<Any>
- Gets additional details specific to this recommended action.
- error
Details Property Map - Gets the error details if and why this recommended action is put to error state.
- estimated
Impact List<Property Map> - Gets the estimated impact info for this recommended action e.g., Estimated CPU gain, Estimated Disk Space change
- execute
Action StringDuration - Gets the time taken for applying this recommended action on user resource. e.g., time taken for index creation
- execute
Action StringInitiated By - Gets if approval for applying this recommended action was given by user/system.
- execute
Action StringInitiated Time - Gets the time when this recommended action was approved for execution.
- execute
Action StringStart Time - Gets the time when system started applying this recommended action on the user resource. e.g., index creation start time
- id String
- Resource ID.
- implementation
Details Property Map - Gets the implementation details of this recommended action for user to apply it manually.
- is
Archived BooleanAction - 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
Executable BooleanAction - Gets if this recommended action is actionable by user
- is
Revertable BooleanAction - Gets if changes applied by this recommended action can be reverted by user
- kind String
- Resource kind.
- last
Refresh String - Gets time when this recommended action was last refreshed.
- linked
Objects List<String> - Gets the linked objects, if any.
- location String
- Resource location.
- name String
- Resource name.
- observed
Impact List<Property Map> - Gets the observed/actual impact info for this recommended action e.g., Actual CPU gain, Actual Disk Space change
- recommendation
Reason String - Gets the reason for recommending this action. e.g., DuplicateIndex
- revert
Action StringDuration - Gets the time taken for reverting changes of this recommended action on user resource. e.g., time taken for dropping the created index.
- revert
Action StringInitiated By - Gets if approval for reverting this recommended action was given by user/system.
- revert
Action StringInitiated Time - Gets the time when this recommended action was approved for revert.
- revert
Action StringStart Time - Gets the time when system started reverting changes of this recommended action on user resource. e.g., time when index drop is executed.
- score Number
- Gets the impact of this recommended action. Possible values are 1 - Low impact, 2 - Medium Impact and 3 - High Impact
- state Property Map
- Gets the info of the current state the recommended action is in.
- time
Series List<Property Map> - Gets the time series info of metrics for this recommended action e.g., CPU consumption time series
- type String
- Resource type.
- valid
Since String - Gets the time since when this recommended action is valid.
RecommendedActionStateInfoResponse
- Action
Initiated stringBy - Gets who initiated the execution of this recommended action. Possible Value are: User -> When user explicity notified system to apply the recommended action. System -> When auto-execute status of this advisor was set to 'Enabled', in which case the system applied it.
- Current
Value string - Current state the recommended action is in. Some commonly used states are: Active -> recommended action is active and no action has been taken yet. Pending -> recommended action is approved for and is awaiting execution. Executing -> recommended action is being applied on the user database. Verifying -> recommended action was applied and is being verified of its usefulness by the system. Success -> recommended action was applied and improvement found during verification. Pending Revert -> verification found little or no improvement so recommended action is queued for revert or user has manually reverted. Reverting -> changes made while applying recommended action are being reverted on the user database. Reverted -> successfully reverted the changes made by recommended action on user database. Ignored -> user explicitly ignored/discarded the recommended action.
- Last
Modified string - Gets the time when the state was last modified
- Action
Initiated stringBy - Gets who initiated the execution of this recommended action. Possible Value are: User -> When user explicity notified system to apply the recommended action. System -> When auto-execute status of this advisor was set to 'Enabled', in which case the system applied it.
- Current
Value string - Current state the recommended action is in. Some commonly used states are: Active -> recommended action is active and no action has been taken yet. Pending -> recommended action is approved for and is awaiting execution. Executing -> recommended action is being applied on the user database. Verifying -> recommended action was applied and is being verified of its usefulness by the system. Success -> recommended action was applied and improvement found during verification. Pending Revert -> verification found little or no improvement so recommended action is queued for revert or user has manually reverted. Reverting -> changes made while applying recommended action are being reverted on the user database. Reverted -> successfully reverted the changes made by recommended action on user database. Ignored -> user explicitly ignored/discarded the recommended action.
- Last
Modified string - Gets the time when the state was last modified
- action
Initiated StringBy - Gets who initiated the execution of this recommended action. Possible Value are: User -> When user explicity notified system to apply the recommended action. System -> When auto-execute status of this advisor was set to 'Enabled', in which case the system applied it.
- current
Value String - Current state the recommended action is in. Some commonly used states are: Active -> recommended action is active and no action has been taken yet. Pending -> recommended action is approved for and is awaiting execution. Executing -> recommended action is being applied on the user database. Verifying -> recommended action was applied and is being verified of its usefulness by the system. Success -> recommended action was applied and improvement found during verification. Pending Revert -> verification found little or no improvement so recommended action is queued for revert or user has manually reverted. Reverting -> changes made while applying recommended action are being reverted on the user database. Reverted -> successfully reverted the changes made by recommended action on user database. Ignored -> user explicitly ignored/discarded the recommended action.
- last
Modified String - Gets the time when the state was last modified
- action
Initiated stringBy - Gets who initiated the execution of this recommended action. Possible Value are: User -> When user explicity notified system to apply the recommended action. System -> When auto-execute status of this advisor was set to 'Enabled', in which case the system applied it.
- current
Value string - Current state the recommended action is in. Some commonly used states are: Active -> recommended action is active and no action has been taken yet. Pending -> recommended action is approved for and is awaiting execution. Executing -> recommended action is being applied on the user database. Verifying -> recommended action was applied and is being verified of its usefulness by the system. Success -> recommended action was applied and improvement found during verification. Pending Revert -> verification found little or no improvement so recommended action is queued for revert or user has manually reverted. Reverting -> changes made while applying recommended action are being reverted on the user database. Reverted -> successfully reverted the changes made by recommended action on user database. Ignored -> user explicitly ignored/discarded the recommended action.
- last
Modified string - Gets the time when the state was last modified
- action_
initiated_ strby - Gets who initiated the execution of this recommended action. Possible Value are: User -> When user explicity notified system to apply the recommended action. System -> When auto-execute status of this advisor was set to 'Enabled', in which case the system applied it.
- current_
value str - Current state the recommended action is in. Some commonly used states are: Active -> recommended action is active and no action has been taken yet. Pending -> recommended action is approved for and is awaiting execution. Executing -> recommended action is being applied on the user database. Verifying -> recommended action was applied and is being verified of its usefulness by the system. Success -> recommended action was applied and improvement found during verification. Pending Revert -> verification found little or no improvement so recommended action is queued for revert or user has manually reverted. Reverting -> changes made while applying recommended action are being reverted on the user database. Reverted -> successfully reverted the changes made by recommended action on user database. Ignored -> user explicitly ignored/discarded the recommended action.
- last_
modified str - Gets the time when the state was last modified
- action
Initiated StringBy - Gets who initiated the execution of this recommended action. Possible Value are: User -> When user explicity notified system to apply the recommended action. System -> When auto-execute status of this advisor was set to 'Enabled', in which case the system applied it.
- current
Value String - Current state the recommended action is in. Some commonly used states are: Active -> recommended action is active and no action has been taken yet. Pending -> recommended action is approved for and is awaiting execution. Executing -> recommended action is being applied on the user database. Verifying -> recommended action was applied and is being verified of its usefulness by the system. Success -> recommended action was applied and improvement found during verification. Pending Revert -> verification found little or no improvement so recommended action is queued for revert or user has manually reverted. Reverting -> changes made while applying recommended action are being reverted on the user database. Reverted -> successfully reverted the changes made by recommended action on user database. Ignored -> user explicitly ignored/discarded the recommended action.
- last
Modified String - Gets the time when the state was last modified
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi