ICredentialOperations.DeleteAsync(String, String, CancellationToken) Method

Definition

Delete the credential. (see http://aka.ms/azureautomationsdk/credentialoperations for more information)

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAsync (string automationAccount, string credentialName, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function DeleteAsync (automationAccount As String, credentialName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

automationAccount
String

The automation account name.

credentialName
String

The name of credential.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to