Share via


ICredentialOperations.CreateAsync Method (String, CredentialCreateParameters, CancellationToken)

 

Create a credential. (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)

Syntax

Task<CredentialCreateResponse> CreateAsync(
    string automationAccount,
    CredentialCreateParameters parameters,
    CancellationToken cancellationToken
)
Task<CredentialCreateResponse^>^ CreateAsync(
    String^ automationAccount,
    CredentialCreateParameters^ parameters,
    CancellationToken cancellationToken
)
abstract CreateAsync : 
        automationAccount:string *
        parameters:CredentialCreateParameters *
        cancellationToken:CancellationToken -> Task<CredentialCreateResponse>
Function CreateAsync (
    automationAccount As String,
    parameters As CredentialCreateParameters,
    cancellationToken As CancellationToken
) As Task(Of CredentialCreateResponse)

Parameters

  • automationAccount
    Type: System.String

    The automation account name.

Return Value

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

The response model for the create credential operation.

See Also

ICredentialOperations Interface
Microsoft.WindowsAzure.Management.Automation Namespace

Return to top