Share via


ICredentialOperations.GetAsync Method (String, String, CancellationToken)

 

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

Namespace:   Microsoft.WindowsAzure.Management.Automation
Assembly:  Microsoft.WindowsAzure.Management.Automation (in Microsoft.WindowsAzure.Management.Automation.dll)

Syntax

Task<CredentialGetResponse> GetAsync(
    string automationAccount,
    string credentialName,
    CancellationToken cancellationToken
)
Task<CredentialGetResponse^>^ GetAsync(
    String^ automationAccount,
    String^ credentialName,
    CancellationToken cancellationToken
)
abstract GetAsync : 
        automationAccount:string *
        credentialName:string *
        cancellationToken:CancellationToken -> Task<CredentialGetResponse>
Function GetAsync (
    automationAccount As String,
    credentialName As String,
    cancellationToken As CancellationToken
) As Task(Of CredentialGetResponse)

Parameters

  • automationAccount
    Type: System.String

    The automation account name.

Return Value

Type: System.Threading.Tasks.Task<CredentialGetResponse>

The response model for the get credential operation.

See Also

ICredentialOperations Interface
Microsoft.WindowsAzure.Management.Automation Namespace

Return to top