HDInsightClusterResource.DeleteScriptAction(String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET