Share via


ServicePrincipalsOperationsExtensions.CreateAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Graph.RBAC.Version1_6.Models.ServicePrincipal> CreateAsync (this Microsoft.Azure.Graph.RBAC.Version1_6.IServicePrincipalsOperations operations, Microsoft.Azure.Graph.RBAC.Version1_6.Models.ServicePrincipalCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Graph.RBAC.Version1_6.IServicePrincipalsOperations * Microsoft.Azure.Graph.RBAC.Version1_6.Models.ServicePrincipalCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Graph.RBAC.Version1_6.Models.ServicePrincipal>
<Extension()>
Public Function CreateAsync (operations As IServicePrincipalsOperations, parameters As ServicePrincipalCreateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServicePrincipal)

Parameters

cancellationToken
CancellationToken

Returns

Applies to