Partager via


ServicePrincipalsOperationsExtensions.UpdateKeyCredentialsAsync Method

Definition

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

Parameters

objectId
String
cancellationToken
CancellationToken

Returns

Applies to