Compartilhar via


Método CredentialOperationsExtensions.Get

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 CredentialGetResponse

returnValue = CredentialOperationsExtensions.Get(operations, automationAccount, credentialName)

Sintaxe

'Declaração
<ExtensionAttribute> _
Public Shared Function Get ( _
    operations As ICredentialOperations, _
    automationAccount As String, _
    credentialName As String _
) As CredentialGetResponse
[ExtensionAttribute] 
public static CredentialGetResponse Get (
    ICredentialOperations operations,
    string automationAccount,
    string credentialName
)
[ExtensionAttribute] 
public:
static CredentialGetResponse^ Get (
    ICredentialOperations^ operations, 
    String^ automationAccount, 
    String^ credentialName
)
/** @attribute ExtensionAttribute() */ 
public static CredentialGetResponse Get (
    ICredentialOperations operations, 
    String automationAccount, 
    String credentialName
)
ExtensionAttribute 
public static function Get (
    operations : ICredentialOperations, 
    automationAccount : String, 
    credentialName : String
) : 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