Share via


CredentialOperationsExtensions.DeleteAsync Method

Definition

Overloads

DeleteAsync(ICredentialOperations, String, String, String)
DeleteAsync(ICredentialOperations, String, String, String, CancellationToken)

Delete the credential. http://aka.ms/azureautomationsdk/credentialoperations

DeleteAsync(ICredentialOperations, String, String, String)

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

Parameters

resourceGroupName
String
automationAccount
String
credentialName
String

Returns

Task<Microsoft.Azure.AzureOperationResponse>

Applies to

DeleteAsync(ICredentialOperations, String, String, String, CancellationToken)

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

Parameters

operations
ICredentialOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

credentialName
String

The name of credential.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to