ServicePrincipalsOperationsExtensions.CreateServicePrincipalAsync 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.
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
- operations
- IServicePrincipalsOperations
- cancellationToken
- CancellationToken