ServicePrincipalsOperationsExtensions.CreateAsync 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.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
- operations
- IServicePrincipalsOperations
- parameters
- ServicePrincipalCreateParameters
- cancellationToken
- CancellationToken