API overview

Updated at:

This topic describes the API operations supported by AHAS.

Monitoring

The following table describes the API operations for monitoring.

APIDescription

GetMetricsOfResource

Call the GetMetricsOfResource operation to get resource monitoring data.

Flow control rules

The following table describes the API operations for flow control rules.

APIDescription

CreateFlowRule

Call the CreateFlowRule operation to create a flow control rule.

DeleteFlowRule

Call the DeleteFlowRule operation to delete a flow control rule.

DisableFlowRule

Call the DisableFlowRule operation to disable a flow control rule.

EnableFlowRule

Call the EnableFlowRule operation to enable a flow control rule.

ModifyFlowRule

Call the ModifyFlowRule operation to modify a flow control rule.
ListFlowRulesOfAppCall the ListFlowRulesOfApp operation to get a list of flow control rules for an application.
ListFlowRulesOfResourceCall the ListFlowRulesOfResource operation to get a list of flow control rules for a resource.

Degradation rules

The following table describes the API operations for degradation rules.

APIDescription

CreateDegradeRule

Call the CreateDegradeRule operation to create a degradation rule.

DeleteDegradeRule

Call the DeleteDegradeRule operation to delete a degradation rule.

DisableDegradeRule

Call the DisableDegradeRule operation to disable a degradation rule.

EnableDegradeRule

Call the EnableDegradeRule operation to enable a degradation rule.
ListDegradeRulesOfAppCall the ListDegradeRulesOfApp operation to get the degradation rules for an application.
ListDegradeRulesOfResourceCall the ListDegradeRulesOfResource operation to get the degradation rules for a resource.
ModifyDegradeRuleCall the ModifyDegradeRule operation to modify a degradation rule.

Isolation rules

The following table describes the API operations for isolation rules.

APIDescription

CreateIsolationRule

Call the CreateIsolationRule operation to create an isolation rule.

DeleteIsolationRule

Call the DeleteIsolationRule operation to delete an isolation rule.

DisableIsolationRule

Call the DisableIsolationRule operation to disable an isolation rule.
EnableIsolationRuleCall the EnableIsolationRule operation to enable an isolation rule.
ListIsolationRulesOfAppCall the ListIsolationRulesOfApp operation to get the isolation rules for an application.
ListIsolationRulesOfResourceCall the ListIsolationRulesOfResource operation to get the isolation rules for a resource.
ModifyIsolationRuleCall the ModifyIsolationRule operation to modify an isolation rule.

System rules

The following table describes the API operations for system rules.

APIDescription

CreateSystemRule

Call the CreateSystemRule operation to create a system rule.

DeleteSystemRule

Call the DeleteSystemRule operation to delete a system rule.

DisableSystemRule

Call the DisableSystemRule operation to disable a system rule.
EnableSystemRuleCall the EnableSystemRule operation to enable a system rule.
ListSystemRulesCall the ListSystemRules operation to get system rules.
ModifySystemRuleCall the ModifySystemRule operation to modify a system rule.

Hot spot rules

The following table describes the API operations for hot spot rules.

APIDescription

CreateHotParamItems

Call the CreateHotParamItems operation to create exception items for a hot spot rule.

CreateHotParamRule

Call the CreateHotParamRule operation to create a hot spot rule.

DeleteHotParamRule

Call the DeleteHotParamRule operation to delete a hot spot rule.
DisableHotParamRuleCall the DisableHotParamRule operation to disable a hot spot rule.
EnableHotParamRuleCall the EnableHotParamRule operation to enable a hot spot rule.
ListHotParamRulesOfAppCall the ListHotParamRulesOfApp operation to get the hot spot rules for an application.
ListHotParamRulesOfResourceCall the ListHotParamRulesOfResource operation to get the hot spot rules for a resource.
ModifyHotParamRuleCall the ModifyHotParamRule operation to modify a hot spot rule.

Fault injection experiments

The following table describes the API operations for fault injection experiments.

APIDescription

CreateExperiment

Call the CreateExperiment operation to create a fault injection experiment.

UpdateExperiment

Call the UpdateExperiment operation to edit the basic information and flow definition of a fault injection experiment.

ExecuteExperiment

Call the ExecuteExperiment operation to execute a fault injection experiment.
PushExperimentTaskCall the PushExperimentTask operation to advance a fault injection experiment task.
FinishExperimentTaskCall the FinishExperimentTask operation to stop a fault injection experiment task.
ListExperimentMetasCall the ListExperimentMetas operation to perform a paged query for a list of experiments.
GetExperimentTaskCall the GetExperimentTask operation to query the details of a fault injection experiment task.
GetActivityTaskCall the GetActivityTask operation to query the details of a node task.
PageableQueryUserExperimentCall the PageableQueryUserExperiment operation to query the list of experiments for a user.
PageableQueryExperimentTaskByExperimentIdCall the PageableQueryExperimentTaskByExperimentId operation to perform a paged query for experiment tasks by experiment ID.
GetUserWorkspaceCall the GetUserWorkspace operation to query all experiment spaces for a user, including default, managed, and participating spaces.