Share via


ScriptExecutionsOperationsExtensions.DeleteAsync Method

Definition

Cancel a ScriptExecution in a private cloud

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

Parameters

operations
IScriptExecutionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

privateCloudName
String

Name of the private cloud

scriptExecutionName
String

Name of the user-invoked script execution resource

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to