Aracılığıyla paylaş


ServicePrincipalsOperationsExtensions.UpdateAsync Method

Definition

Updates a service principal in the directory.

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

Parameters

operations
IServicePrincipalsOperations

The operations group for this extension method.

objectId
String

The object ID of the service principal to delete.

parameters
ServicePrincipalUpdateParameters

Parameters to update a service principal.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to