CredentialOperationsExtensions.CreateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Azure SDK for .NET