CredentialOperationsExtensions.GetAsync Method

Definition

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

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

Parameters

operations
ICredentialOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.ICredentialOperations.

automationAccount
String

Required. The automation account name.

credentialName
String

Required. The name of credential.

Returns

The response model for the get credential operation.

Applies to