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.Graph.RBAC.Models.ServicePrincipal> CreateAsync (this Microsoft.Azure.Graph.RBAC.IServicePrincipalsOperations operations, Microsoft.Azure.Graph.RBAC.Models.ServicePrincipalCreateParameters parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateAsync : Microsoft.Azure.Graph.RBAC.IServicePrincipalsOperations * Microsoft.Azure.Graph.RBAC.Models.ServicePrincipalCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Graph.RBAC.Models.ServicePrincipal>
<Extension()>
Public Function CreateAsync (operations As IServicePrincipalsOperations, parameters As ServicePrincipalCreateParameters, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ServicePrincipal)
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
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.
Azure SDK for .NET
الملاحظات
https://aka.ms/ContentUserFeedback.
قريبًا: خلال عام 2024، سنتخلص تدريجيًا من GitHub Issues بوصفها آلية إرسال ملاحظات للمحتوى ونستبدلها بنظام ملاحظات جديد. لمزيد من المعلومات، راجعإرسال الملاحظات وعرضها المتعلقة بـ