CredentialOperationsExtensions.UpdateAsync 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.
Update a credential. http://aka.ms/azureautomationsdk/credentialoperations
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET