共用方式為


ApplicationsOperationsExtensions.UpdateKeyCredentialsAsync Method

Definition

Update the keyCredentials associated with an application.

public static System.Threading.Tasks.Task UpdateKeyCredentialsAsync (this Microsoft.Azure.Graph.RBAC.IApplicationsOperations operations, string applicationObjectId, Microsoft.Azure.Graph.RBAC.Models.KeyCredentialsUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateKeyCredentialsAsync : Microsoft.Azure.Graph.RBAC.IApplicationsOperations * string * Microsoft.Azure.Graph.RBAC.Models.KeyCredentialsUpdateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function UpdateKeyCredentialsAsync (operations As IApplicationsOperations, applicationObjectId As String, parameters As KeyCredentialsUpdateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IApplicationsOperations

The operations group for this extension method.

applicationObjectId
String

Application object ID.

parameters
KeyCredentialsUpdateParameters

Parameters to update the keyCredentials of an existing application.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to