Share via


VariableOperationsExtensions.DeleteAsync Method

Definition

Overloads

DeleteAsync(IVariableOperations, String, String, String)
DeleteAsync(IVariableOperations, String, String, String, CancellationToken)

Delete the variable. http://aka.ms/azureautomationsdk/variableoperations

DeleteAsync(IVariableOperations, String, String, String)

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (this Microsoft.Azure.Management.Automation.IVariableOperations operations, string resourceGroupName, string automationAccount, string variableName);
static member DeleteAsync : Microsoft.Azure.Management.Automation.IVariableOperations * string * string * string -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function DeleteAsync (operations As IVariableOperations, resourceGroupName As String, automationAccount As String, variableName As String) As Task(Of AzureOperationResponse)

Parameters

operations
IVariableOperations
resourceGroupName
String
automationAccount
String
variableName
String

Returns

Task<Microsoft.Azure.AzureOperationResponse>

Applies to

DeleteAsync(IVariableOperations, String, String, String, CancellationToken)

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

Parameters

operations
IVariableOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

variableName
String

The name of variable.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to