Share via


CredentialOperationsExtensions.GetAsync Method (ICredentialOperations, String, String)

 

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

public static Task<CredentialGetResponse> GetAsync(
    this ICredentialOperations operations,
    string automationAccount,
    string credentialName
)
public:
[ExtensionAttribute]
static Task<CredentialGetResponse^>^ GetAsync(
    ICredentialOperations^ operations,
    String^ automationAccount,
    String^ credentialName
)
static member GetAsync : 
        operations:ICredentialOperations *
        automationAccount:string *
        credentialName:string -> Task<CredentialGetResponse>
<ExtensionAttribute>
Public Shared Function GetAsync (
    operations As ICredentialOperations,
    automationAccount As String,
    credentialName As String
) As Task(Of CredentialGetResponse)

Parameters

  • automationAccount
    Type: System.String

    Required. The automation account name.

  • credentialName
    Type: System.String

    Required. The name of credential.

Return Value

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

The response model for the get credential operation.

See Also

CredentialOperationsExtensions Class
Microsoft.WindowsAzure.Management.Automation Namespace

Return to top