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.StringThe automation account name.
parameters
Type: Microsoft.WindowsAzure.Management.Automation.Models.CredentialCreateParametersThe parameters supplied to the create credential operation.
cancellationToken
Type: System.Threading.CancellationTokenCancellation token.
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