import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { RuntimeScriptActionDetail, ScriptExecutionHistoryListByClusterOptionalParams, ScriptExecutionHistoryPromoteOptionalParams } from "../models"; /** Interface representing a ScriptExecutionHistory. */ export interface ScriptExecutionHistory { /** * Lists all scripts' execution history for the specified cluster. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param options The options parameters. */ listByCluster(resourceGroupName: string, clusterName: string, options?: ScriptExecutionHistoryListByClusterOptionalParams): PagedAsyncIterableIterator; /** * Promotes the specified ad-hoc script execution to a persisted script. * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param scriptExecutionId The script execution Id * @param options The options parameters. */ promote(resourceGroupName: string, clusterName: string, scriptExecutionId: string, options?: ScriptExecutionHistoryPromoteOptionalParams): Promise; } //# sourceMappingURL=scriptExecutionHistory.d.ts.map