ScriptExecutionHistory interface
Interface representing a ScriptExecutionHistory.
Methods
list |
Lists all scripts' execution history for the specified cluster. |
promote(string, string, string, Script |
Promotes the specified ad-hoc script execution to a persisted script. |
Method Details
listByCluster(string, string, ScriptExecutionHistoryListByClusterOptionalParams)
Lists all scripts' execution history for the specified cluster.
function listByCluster(resourceGroupName: string, clusterName: string, options?: ScriptExecutionHistoryListByClusterOptionalParams): PagedAsyncIterableIterator<RuntimeScriptActionDetail, RuntimeScriptActionDetail[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- clusterName
-
string
The name of the cluster.
The options parameters.
Returns
promote(string, string, string, ScriptExecutionHistoryPromoteOptionalParams)
Promotes the specified ad-hoc script execution to a persisted script.
function promote(resourceGroupName: string, clusterName: string, scriptExecutionId: string, options?: ScriptExecutionHistoryPromoteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- clusterName
-
string
The name of the cluster.
- scriptExecutionId
-
string
The script execution Id
The options parameters.
Returns
Promise<void>