你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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