API overview
Updated at:
This topic describes the API operations supported by AHAS.
Monitoring
The following table describes the API operations for monitoring.
| API | Description |
| Call the GetMetricsOfResource operation to get resource monitoring data. |
Flow control rules
The following table describes the API operations for flow control rules.
| API | Description |
| Call the CreateFlowRule operation to create a flow control rule. | |
| Call the DeleteFlowRule operation to delete a flow control rule. | |
| Call the DisableFlowRule operation to disable a flow control rule. | |
| Call the EnableFlowRule operation to enable a flow control rule. | |
| Call the ModifyFlowRule operation to modify a flow control rule. | |
| ListFlowRulesOfApp | Call the ListFlowRulesOfApp operation to get a list of flow control rules for an application. |
| ListFlowRulesOfResource | Call 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.
| API | Description |
| Call the CreateDegradeRule operation to create a degradation rule. | |
| Call the DeleteDegradeRule operation to delete a degradation rule. | |
| Call the DisableDegradeRule operation to disable a degradation rule. | |
| Call the EnableDegradeRule operation to enable a degradation rule. | |
| ListDegradeRulesOfApp | Call the ListDegradeRulesOfApp operation to get the degradation rules for an application. |
| ListDegradeRulesOfResource | Call the ListDegradeRulesOfResource operation to get the degradation rules for a resource. |
| ModifyDegradeRule | Call the ModifyDegradeRule operation to modify a degradation rule. |
Isolation rules
The following table describes the API operations for isolation rules.
| API | Description |
| Call the CreateIsolationRule operation to create an isolation rule. | |
| Call the DeleteIsolationRule operation to delete an isolation rule. | |
| Call the DisableIsolationRule operation to disable an isolation rule. | |
| EnableIsolationRule | Call the EnableIsolationRule operation to enable an isolation rule. |
| ListIsolationRulesOfApp | Call the ListIsolationRulesOfApp operation to get the isolation rules for an application. |
| ListIsolationRulesOfResource | Call the ListIsolationRulesOfResource operation to get the isolation rules for a resource. |
| ModifyIsolationRule | Call the ModifyIsolationRule operation to modify an isolation rule. |
System rules
The following table describes the API operations for system rules.
| API | Description |
| Call the CreateSystemRule operation to create a system rule. | |
| Call the DeleteSystemRule operation to delete a system rule. | |
| Call the DisableSystemRule operation to disable a system rule. | |
| EnableSystemRule | Call the EnableSystemRule operation to enable a system rule. |
| ListSystemRules | Call the ListSystemRules operation to get system rules. |
| ModifySystemRule | Call the ModifySystemRule operation to modify a system rule. |
Hot spot rules
The following table describes the API operations for hot spot rules.
| API | Description |
| Call the CreateHotParamItems operation to create exception items for a hot spot rule. | |
| Call the CreateHotParamRule operation to create a hot spot rule. | |
| Call the DeleteHotParamRule operation to delete a hot spot rule. | |
| DisableHotParamRule | Call the DisableHotParamRule operation to disable a hot spot rule. |
| EnableHotParamRule | Call the EnableHotParamRule operation to enable a hot spot rule. |
| ListHotParamRulesOfApp | Call the ListHotParamRulesOfApp operation to get the hot spot rules for an application. |
| ListHotParamRulesOfResource | Call the ListHotParamRulesOfResource operation to get the hot spot rules for a resource. |
| ModifyHotParamRule | Call the ModifyHotParamRule operation to modify a hot spot rule. |
Fault injection experiments
The following table describes the API operations for fault injection experiments.
| API | Description |
| Call the CreateExperiment operation to create a fault injection experiment. | |
| Call the UpdateExperiment operation to edit the basic information and flow definition of a fault injection experiment. | |
| Call the ExecuteExperiment operation to execute a fault injection experiment. | |
| PushExperimentTask | Call the PushExperimentTask operation to advance a fault injection experiment task. |
| FinishExperimentTask | Call the FinishExperimentTask operation to stop a fault injection experiment task. |
| ListExperimentMetas | Call the ListExperimentMetas operation to perform a paged query for a list of experiments. |
| GetExperimentTask | Call the GetExperimentTask operation to query the details of a fault injection experiment task. |
| GetActivityTask | Call the GetActivityTask operation to query the details of a node task. |
| PageableQueryUserExperiment | Call the PageableQueryUserExperiment operation to query the list of experiments for a user. |
| PageableQueryExperimentTaskByExperimentId | Call the PageableQueryExperimentTaskByExperimentId operation to perform a paged query for experiment tasks by experiment ID. |
| GetUserWorkspace | Call the GetUserWorkspace operation to query all experiment spaces for a user, including default, managed, and participating spaces. |
Is this page helpful?