ServicePrincipalsOperationsExtensions.UpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.
Azure SDK for .NET