Share via


CredentialOperationsExtensions.ListAsync Method

Retrieve a list of credentials. (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)

Usage

'Usage
Dim operations As ICredentialOperations
Dim automationAccount As String
Dim returnValue As Task(Of CredentialListResponse)

returnValue = CredentialOperationsExtensions.ListAsync(operations, automationAccount)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function ListAsync ( _
    operations As ICredentialOperations, _
    automationAccount As String _
) As Task(Of CredentialListResponse)
[ExtensionAttribute] 
public static Task<CredentialListResponse> ListAsync (
    ICredentialOperations operations,
    string automationAccount
)
[ExtensionAttribute] 
public:
static Task<CredentialListResponse^>^ ListAsync (
    ICredentialOperations^ operations, 
    String^ automationAccount
)
/** @attribute ExtensionAttribute() */ 
public static Task<CredentialListResponse> ListAsync (
    ICredentialOperations operations, 
    String automationAccount
)
ExtensionAttribute 
public static function ListAsync (
    operations : ICredentialOperations, 
    automationAccount : String
) : Task<CredentialListResponse>

Parameters

  • operations
    Reference to the Microsoft.WindowsAzure.Management.Automation.ICredentialOperations.
  • automationAccount
    Required. The automation account name.

Return Value

The response model for the list credential operation.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

CredentialOperationsExtensions Class
CredentialOperationsExtensions Members
Microsoft.WindowsAzure.Management.Automation Namespace