Udostępnij za pośrednictwem


CredentialOperationsExtensions.CreateAsync Method

Definition

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

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

Parameters

operations
ICredentialOperations

Reference to the Microsoft.WindowsAzure.Management.Automation.ICredentialOperations.

automationAccount
String

Required. The automation account name.

parameters
CredentialCreateParameters

Required. The parameters supplied to the create credential operation.

Returns

The response model for the create credential operation.

Applies to