共用方式為


ScriptActionsOperationsExtensions.DeleteAsync Method

Definition

Deletes a specified persisted script action of the cluster.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.HDInsight.IScriptActionsOperations operations, string resourceGroupName, string clusterName, string scriptName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.HDInsight.IScriptActionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IScriptActionsOperations, resourceGroupName As String, clusterName As String, scriptName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IScriptActionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

clusterName
String

The name of the cluster.

scriptName
String

The name of the script.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to