Share via


CredentialOperationsExtensions.UpdateAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Credential> UpdateAsync (this Microsoft.Azure.Management.Automation.ICredentialOperations operations, string resourceGroupName, string automationAccountName, string credentialName, Microsoft.Azure.Management.Automation.Models.CredentialUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Automation.ICredentialOperations * string * string * string * Microsoft.Azure.Management.Automation.Models.CredentialUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Automation.Models.Credential>
<Extension()>
Public Function UpdateAsync (operations As ICredentialOperations, resourceGroupName As String, automationAccountName As String, credentialName As String, parameters As CredentialUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Credential)

Parameters

operations
ICredentialOperations

The operations group for this extension method.

resourceGroupName
String

Name of an Azure Resource group.

automationAccountName
String

The name of the automation account.

credentialName
String

The parameters supplied to the Update credential operation.

parameters
CredentialUpdateParameters

The parameters supplied to the Update credential operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to