Compartilhar via


ServicePrincipalsOperationsExtensions.CreateServicePrincipalAsync Method

Definition

public static System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.MSGraph.Version1_0.Applications.Models.MicrosoftGraphServicePrincipal> CreateServicePrincipalAsync (this Microsoft.Azure.Commands.Common.MSGraph.Version1_0.Applications.IServicePrincipalsOperations operations, Microsoft.Azure.Commands.Common.MSGraph.Version1_0.Applications.Models.MicrosoftGraphServicePrincipal body, System.Threading.CancellationToken cancellationToken = default);
static member CreateServicePrincipalAsync : Microsoft.Azure.Commands.Common.MSGraph.Version1_0.Applications.IServicePrincipalsOperations * Microsoft.Azure.Commands.Common.MSGraph.Version1_0.Applications.Models.MicrosoftGraphServicePrincipal * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Commands.Common.MSGraph.Version1_0.Applications.Models.MicrosoftGraphServicePrincipal>
<Extension()>
Public Function CreateServicePrincipalAsync (operations As IServicePrincipalsOperations, body As MicrosoftGraphServicePrincipal, Optional cancellationToken As CancellationToken = Nothing) As Task(Of MicrosoftGraphServicePrincipal)

Parameters

cancellationToken
CancellationToken

Returns

Applies to