ScriptActions interface

Interface representing a ScriptActions.

Methods

delete(string, string, string, ScriptActionsDeleteOptionalParams)

Deletes a specified persisted script action of the cluster.

getExecutionAsyncOperationStatus(string, string, string, ScriptActionsGetExecutionAsyncOperationStatusOptionalParams)

Gets the async operation status of execution operation.

getExecutionDetail(string, string, string, ScriptActionsGetExecutionDetailOptionalParams)

Gets the script execution detail for the given script execution ID.

listByCluster(string, string, ScriptActionsListByClusterOptionalParams)

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.

options
ScriptActionsDeleteOptionalParams

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.

Returns

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

options
ScriptActionsGetExecutionDetailOptionalParams

The options parameters.

Returns

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.

options
ScriptActionsListByClusterOptionalParams

The options parameters.

Returns