8.8.1.1.1.2.1. ArmAdvancedFeatures¶
- interface ArmAdvancedFeatures()¶
- listSupportedActions()¶
Returns a list of all supported actions. If no actions are supported, the list is empty.
// Print the supported actions const supportedActions = session.armAdvancedFeatures.listSupportedActions(); console.log("Supported actions:"); for (const action of supportedActions) { console.log(` ${action.action} - ${action.description}`); }
- Returns:
The list of supported actions.
- Return type:
ArmAdvancedFeaturesAction[]
- performAction(action: string)¶
Performs the specified action.
session.armAdvancedFeatures.performAction("FlushAllCaches");
- Parameters:
action (
string) -- The unique identifier of the action to perform. UselistSupportedActions()to get a list of supported actions.
- Return type:
void