共用方式為


ApplicationsOperationsExtensions.UpdateKeyCredentialsAsync Method

Definition

Update the keyCredentials associated with an application.

public static System.Threading.Tasks.Task UpdateKeyCredentialsAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IApplicationsOperations operations, string applicationObjectId, System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.KeyCredential> value, System.Threading.CancellationToken cancellationToken = default);
static member UpdateKeyCredentialsAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IApplicationsOperations * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.KeyCredential> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdateKeyCredentialsAsync (operations As IApplicationsOperations, applicationObjectId As String, value As IList(Of KeyCredential), Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IApplicationsOperations

The operations group for this extension method.

applicationObjectId
String

Application object ID.

value
IList<KeyCredential>

A collection of KeyCredentials.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to