Share via


CredentialOperationsExtensions.CreateAsync Method (ICredentialOperations, String, CredentialCreateParameters)

 

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

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)

Parameters

  • automationAccount
    Type: System.String

    Required. The automation account name.

Return Value

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

The response model for the create credential operation.

See Also

CredentialOperationsExtensions Class
Microsoft.WindowsAzure.Management.Automation Namespace

Return to top