ScriptExecutionHistoriesClient Interface

public interface ScriptExecutionHistoriesClient

An instance of this class provides access to all the operations defined in ScriptExecutionHistoriesClient.

Method Summary

Modifier and Type Method and Description
abstract PagedIterable<RuntimeScriptActionDetailInner> listByCluster(String resourceGroupName, String clusterName)

Lists all scripts' execution history for the specified cluster.

abstract PagedIterable<RuntimeScriptActionDetailInner> listByCluster(String resourceGroupName, String clusterName, Context context)

Lists all scripts' execution history for the specified cluster.

abstract void promote(String resourceGroupName, String clusterName, String scriptExecutionId)

Promotes the specified ad-hoc script execution to a persisted script.

abstract Response<Void> promoteWithResponse(String resourceGroupName, String clusterName, String scriptExecutionId, Context context)

Promotes the specified ad-hoc script execution to a persisted script.

Method Details

listByCluster

public abstract PagedIterable listByCluster(String resourceGroupName, String clusterName)

Lists all scripts' execution history for the specified cluster.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster.

Returns:

the list script execution history response as paginated response with PagedIterable<T>.

listByCluster

public abstract PagedIterable listByCluster(String resourceGroupName, String clusterName, Context context)

Lists all scripts' execution history for the specified cluster.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster.
context - The context to associate with this operation.

Returns:

the list script execution history response as paginated response with PagedIterable<T>.

promote

public abstract void promote(String resourceGroupName, String clusterName, String scriptExecutionId)

Promotes the specified ad-hoc script execution to a persisted script.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster.
scriptExecutionId - The script execution Id.

promoteWithResponse

public abstract Response promoteWithResponse(String resourceGroupName, String clusterName, String scriptExecutionId, Context context)

Promotes the specified ad-hoc script execution to a persisted script.

Parameters:

resourceGroupName - The name of the resource group.
clusterName - The name of the cluster.
scriptExecutionId - The script execution Id.
context - The context to associate with this operation.

Returns:

Applies to