Compartilhar via


Método CredentialOperationsExtensions.CreateAsync (ICredentialOperations, String, CredentialCreateParameters)

 

Crie uma credencial. (consulte https://aka.ms/azureautomationsdk/credentialoperations para obter mais informações)

Namespace:   Microsoft.WindowsAzure.Management.Automation
Assembly:  Microsoft.WindowsAzure.Management.Automation (em Microsoft.WindowsAzure.Management.Automation.dll)

Sintaxe

public static Task<CredentialCreateResponse> CreateAsync(
    this ICredentialOperations operations,
    string automationAccount,
    CredentialCreateParameters parameters
)
public:
[ExtensionAttribute]
static Task<CredentialCreateResponse^>^ CreateAsync(
    ICredentialOperations^ operations,
    String^ automationAccount,
    CredentialCreateParameters^ parameters
)
static member CreateAsync : 
        operations:ICredentialOperations *
        automationAccount:string *
        parameters:CredentialCreateParameters -> Task<CredentialCreateResponse>
<ExtensionAttribute>
Public Shared Function CreateAsync (
    operations As ICredentialOperations,
    automationAccount As String,
    parameters As CredentialCreateParameters
) As Task(Of CredentialCreateResponse)

Parâmetros

  • automationAccount
    Type: System.String

    Obrigatório. O nome da conta de automação.

Valor de retorno

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

O modelo de resposta para a operação de criação de credencial.

Consulte também

Classe CredentialOperationsExtensions
Namespace Microsoft.WindowsAzure.Management.Automation

Retornar ao topo