script_execution_histories
Creates, updates, deletes, gets or lists a script_execution_histories
resource.
Overview
Name | script_execution_histories |
Type | Resource |
Id | azure.hdinsight.script_execution_histories |
Fields
Name | Datatype | Description |
---|---|---|
name | string | The name of the script action. |
applicationName | string | The application name of the script action, if any. |
debugInformation | string | The script action execution debug information. |
endTime | string | The end time of script action execution. |
executionSummary | array | The summary of script action execution result. |
operation | string | The reason why the script action was executed. |
parameters | string | The parameters for the script |
roles | array | The list of roles where script will be executed. |
scriptExecutionId | integer | The execution id of the script action. |
startTime | string | The start time of script action execution. |
status | string | The current execution status of the script action. |
uri | string | The URI to the script. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
list_by_cluster | SELECT | clusterName, resourceGroupName, subscriptionId | Lists all scripts' execution history for the specified cluster. |
promote | EXEC | clusterName, resourceGroupName, scriptExecutionId, subscriptionId | Promotes the specified ad-hoc script execution to a persisted script. |
SELECT
examples
Lists all scripts' execution history for the specified cluster.
SELECT
name,
applicationName,
debugInformation,
endTime,
executionSummary,
operation,
parameters,
roles,
scriptExecutionId,
startTime,
status,
uri
FROM azure.hdinsight.script_execution_histories
WHERE clusterName = '{{ clusterName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';