CredentialOperationsExtensions.GetAsync Method
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)
Usage
'Usage
Dim operations As ICredentialOperations
Dim automationAccount As String
Dim credentialName As String
Dim returnValue As Task(Of CredentialGetResponse)
returnValue = CredentialOperationsExtensions.GetAsync(operations, automationAccount, credentialName)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetAsync ( _
operations As ICredentialOperations, _
automationAccount As String, _
credentialName As String _
) As Task(Of CredentialGetResponse)
[ExtensionAttribute]
public static Task<CredentialGetResponse> GetAsync (
ICredentialOperations operations,
string automationAccount,
string credentialName
)
[ExtensionAttribute]
public:
static Task<CredentialGetResponse^>^ GetAsync (
ICredentialOperations^ operations,
String^ automationAccount,
String^ credentialName
)
/** @attribute ExtensionAttribute() */
public static Task<CredentialGetResponse> GetAsync (
ICredentialOperations operations,
String automationAccount,
String credentialName
)
ExtensionAttribute
public static function GetAsync (
operations : ICredentialOperations,
automationAccount : String,
credentialName : String
) : Task<CredentialGetResponse>
Parameters
- operations
Reference to the Microsoft.WindowsAzure.Management.Automation.ICredentialOperations.
- automationAccount
Required. The automation account name.
- credentialName
Required. The name of credential.
Return Value
The response model for the get 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