ScriptExecutionHistorys Interface

Implements

com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ScriptExecutionHistorysInner>

public interface ScriptExecutionHistorys
extends com.microsoft.azure.arm.model.HasInner<com.microsoft.azure.management.hdinsight.v2018_06_01_preview.implementation.ScriptExecutionHistorysInner>

Type representing ScriptExecutionHistorys.

Method Summary

Modifier and Type Method and Description
abstract rx.Observable<RuntimeScriptActionDetail> listByClusterAsync(String resourceGroupName, String clusterName)

Lists all scripts' execution history for the specified cluster.

abstract rx.Completable promoteAsync(String resourceGroupName, String clusterName, String scriptExecutionId)

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

Method Details

listByClusterAsync

public abstract Observable listByClusterAsync(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 observable for the request

promoteAsync

public abstract Completable promoteAsync(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

Returns:

the observable for the request

Applies to