ScriptActions interface
Interface representing a ScriptActions.
Methods
delete(string, string, string, Script |
Deletes a specified persisted script action of the cluster. |
get |
Gets the async operation status of execution operation. |
get |
Gets the script execution detail for the given script execution ID. |
list |
Lists all the persisted script actions for the specified cluster. |
Method Details
delete(string, string, string, ScriptActionsDeleteOptionalParams)
Deletes a specified persisted script action of the cluster.
function delete(resourceGroupName: string, clusterName: string, scriptName: string, options?: ScriptActionsDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- clusterName
-
string
The name of the cluster.
- scriptName
-
string
The name of the script.
The options parameters.
Returns
Promise<void>
getExecutionAsyncOperationStatus(string, string, string, ScriptActionsGetExecutionAsyncOperationStatusOptionalParams)
Gets the async operation status of execution operation.
function getExecutionAsyncOperationStatus(resourceGroupName: string, clusterName: string, operationId: string, options?: ScriptActionsGetExecutionAsyncOperationStatusOptionalParams): Promise<AsyncOperationResult>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- clusterName
-
string
The name of the cluster.
- operationId
-
string
The long running operation id.
The options parameters.
Returns
Promise<AsyncOperationResult>
getExecutionDetail(string, string, string, ScriptActionsGetExecutionDetailOptionalParams)
Gets the script execution detail for the given script execution ID.
function getExecutionDetail(resourceGroupName: string, clusterName: string, scriptExecutionId: string, options?: ScriptActionsGetExecutionDetailOptionalParams): Promise<RuntimeScriptActionDetail>
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<RuntimeScriptActionDetail>
listByCluster(string, string, ScriptActionsListByClusterOptionalParams)
Lists all the persisted script actions for the specified cluster.
function listByCluster(resourceGroupName: string, clusterName: string, options?: ScriptActionsListByClusterOptionalParams): PagedAsyncIterableIterator<RuntimeScriptActionDetail, RuntimeScriptActionDetail[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group.
- clusterName
-
string
The name of the cluster.
The options parameters.