다음을 통해 공유


ServicePrincipalsOperationsExtensions.UpdateAsync Method

Definition

Updates a service principal in the directory.

public static System.Threading.Tasks.Task UpdateAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipalsOperations operations, string objectId, Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ServicePrincipalUpdateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member UpdateAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipalsOperations * string * Microsoft.Azure.Management.Graph.RBAC.Fluent.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