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
operations
Type: Microsoft.WindowsAzure.Management.Automation.ICredentialOperationsReference to the Microsoft.WindowsAzure.Management.Automation.ICredentialOperations.
automationAccount
Type: System.StringRequired. The automation account name.
parameters
Type: Microsoft.WindowsAzure.Management.Automation.Models.CredentialCreateParametersRequired. The parameters supplied to the create credential operation.
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