CredentialOperationsExtensions.UpdateAsync Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Uppdatera en autentiseringsuppgift. 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)
Parametrar
- operations
- ICredentialOperations
Åtgärdsgruppen för den här tilläggsmetoden.
- resourceGroupName
- String
Namnet på en Azure-resursgrupp.
- automationAccountName
- String
Namnet på Automation-kontot.
- credentialName
- String
De parametrar som angetts för åtgärden Uppdatera autentiseringsuppgifter.
- parameters
- CredentialUpdateParameters
De parametrar som angetts för åtgärden Uppdatera autentiseringsuppgifter.
- cancellationToken
- CancellationToken
Annulleringstoken.
Returer
Gäller för
Azure SDK for .NET