ICredentialOperations.GetAsync(String, String, CancellationToken) Method

Definition

Retrieve the credential identified by credential name. (see http://aka.ms/azureautomationsdk/credentialoperations for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.CredentialGetResponse> GetAsync (string automationAccount, string credentialName, System.Threading.CancellationToken cancellationToken);
abstract member GetAsync : string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.CredentialGetResponse>
Public Function GetAsync (automationAccount As String, credentialName As String, cancellationToken As CancellationToken) As Task(Of CredentialGetResponse)

Parameters

automationAccount
String

The automation account name.

credentialName
String

The name of credential.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response model for the get credential operation.

Applies to