Share via


AutomationAccountOperationsExtensions.DeleteAsync Method

Definition

Overloads

DeleteAsync(IAutomationAccountOperations, String, String)
DeleteAsync(IAutomationAccountOperations, String, String, CancellationToken)

Delete an automation account. http://aka.ms/azureautomationsdk/automationaccountoperations

DeleteAsync(IAutomationAccountOperations, String, String)

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

Parameters

resourceGroupName
String
automationAccountName
String

Returns

Task<Microsoft.Azure.AzureOperationResponse>

Applies to

DeleteAsync(IAutomationAccountOperations, String, String, CancellationToken)

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

Parameters

operations
IAutomationAccountOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to