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.
Creates a service principal in the directory.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ServicePrincipalInner> CreateAsync (this Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipalsOperations operations, Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ServicePrincipalCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Management.Graph.RBAC.Fluent.IServicePrincipalsOperations * Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ServicePrincipalCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Graph.RBAC.Fluent.Models.ServicePrincipalInner>
<Extension()>
Public Function CreateAsync (operations As IServicePrincipalsOperations, parameters As ServicePrincipalCreateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServicePrincipalInner)
Parameters
- operations
- IServicePrincipalsOperations
The operations group for this extension method.
- parameters
- ServicePrincipalCreateParameters
Parameters to create a service principal.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET