HDInsightClusterResource.DeleteScriptAction(String, CancellationToken) Method

Definition

Deletes a specified persisted script action of the cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}/scriptActions/{scriptName}
  • Operation Id: ScriptActions_Delete
  • Default Api Version: 2024-08-01-preview
public virtual Azure.Response DeleteScriptAction (string scriptName, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteScriptAction : string * System.Threading.CancellationToken -> Azure.Response
override this.DeleteScriptAction : string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function DeleteScriptAction (scriptName As String, Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

scriptName
String

The name of the script.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Exceptions

scriptName is an empty string, and was expected to be non-empty.

scriptName is null.

Applies to