Método CredentialOperationsExtensions.GetAsync
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 (em Microsoft.WindowsAzure.Management.Automation.dll)
Uso
'Uso
Dim operations As ICredentialOperations
Dim automationAccount As String
Dim credentialName As String
Dim returnValue As Task(Of CredentialGetResponse)
returnValue = CredentialOperationsExtensions.GetAsync(operations, automationAccount, credentialName)
Sintaxe
'Declaração
<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>
Parâmetros
- operations
Reference to the Microsoft.WindowsAzure.Management.Automation.ICredentialOperations.
- automationAccount
Required. The automation account name.
- credentialName
Required. The name of credential.
Valor de retorno
The response model for the get credential operation.
Segurança de thread
Qualquer membro estático público (compartilhado no Visual Basic) desse tipo é thread-safe. Não há garantia de que qualquer membro de instância seja seguro para threads.
Plataformas
Plataformas de desenvolvimento
Windows Vista, Windows 7 e Windows Server 2008
Plataformas de destino
Consulte também
Referência
Classe CredentialOperationsExtensions
Membros CredentialOperationsExtensions
Namespace Microsoft.WindowsAzure.Management.Automation