ICredentialOperations.CreateAsync Method

Definition

Create a credential. (see http://aka.ms/azureautomationsdk/credentialoperations for more information)

public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.CredentialCreateResponse> CreateAsync (string automationAccount, Microsoft.WindowsAzure.Management.Automation.Models.CredentialCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : string * Microsoft.WindowsAzure.Management.Automation.Models.CredentialCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.Automation.Models.CredentialCreateResponse>
Public Function CreateAsync (automationAccount As String, parameters As CredentialCreateParameters, cancellationToken As CancellationToken) As Task(Of CredentialCreateResponse)

Parameters

automationAccount
String

The automation account name.

parameters
CredentialCreateParameters

The parameters supplied to the create credential operation.

cancellationToken
CancellationToken

Cancellation token.

Returns

The response model for the create credential operation.

Applies to