import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ScriptExecutionHistory } from "../operationsInterfaces"; import { HDInsightManagementClient } from "../hDInsightManagementClient"; import { RuntimeScriptActionDetail, ScriptExecutionHistoryListByClusterOptionalParams, ScriptExecutionHistoryPromoteOptionalParams } from "../models"; /** Class containing ScriptExecutionHistory operations. */ export declare class ScriptExecutionHistoryImpl implements ScriptExecutionHistory { private readonly client; /** * Initialize a new instance of the class ScriptExecutionHistory class. * @param client Reference to the service client */ constructor(client: HDInsightManagementClient); /** * 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; private listByClusterPagingPage; private listByClusterPagingAll; /** * 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. */ private _listByCluster; /** * 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; /** * ListByClusterNext * @param resourceGroupName The name of the resource group. * @param clusterName The name of the cluster. * @param nextLink The nextLink from the previous successful call to the ListByCluster method. * @param options The options parameters. */ private _listByClusterNext; } //# sourceMappingURL=scriptExecutionHistory.d.ts.map