{"note":"OpenAPI conversion -- returning structured metadata","name":"azure-com-hdinsight-scriptactions","description":"HDInsightManagementClient","version":"2018-06-01-preview","base_url":"https://management.azure.com","endpoints":7,"raw":"@lap v0.3\n# Machine-readable API spec. Each @endpoint block is one API call.\n@api HDInsightManagementClient\n@base https://management.azure.com\n@version 2018-06-01-preview\n@auth OAuth2\n@common_fields {subscriptionId: any # The subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call., resourceGroupName: any # The name of the resource group., clusterName: any # The name of the cluster., api-version: any # The HDInsight client API Version.}\n@endpoints 7\n@toc subscriptions(7)\n\n@endpoint DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptActions/{scriptName}\n@desc Deletes a specified persisted script action of the cluster.\n@required {scriptName: any # The name of the script.}\n@returns(200) OK response definition.\n@returns(204) No Content response definition.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/executeScriptActions\n@desc Executes script actions on the specified HDInsight cluster.\n@required {parameters: any # The parameters for executing script actions.}\n@returns(200) Accepted response definition.\n@returns(202) OK response definition.\n@errors {404: Bad Request definition.}\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptActions\n@desc Lists all the persisted script actions for the specified cluster.\n@returns(200) OK response definition.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptExecutionHistory/{scriptExecutionId}\n@desc Gets the script execution detail for the given script execution ID.\n@required {scriptExecutionId: any # The script execution Id}\n@returns(200) OK response definition.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptExecutionHistory\n@desc Lists all scripts' execution history for the specified cluster.\n@returns(200) OK response definition.\n\n@endpoint POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptExecutionHistory/{scriptExecutionId}/promote\n@desc Promotes the specified ad-hoc script execution to a persisted script.\n@required {scriptExecutionId: any # The script execution Id}\n@returns(200) OK response definition.\n\n@endpoint GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/executeScriptActions/azureasyncoperations/{operationId}\n@desc Gets the async operation status of execution operation.\n@required {operationId: any # The long running operation id.}\n@returns(200) OK response definition.\n\n@end\n"}