SubscriptionServicePrincipalOperationsExtensions.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.
The Create Service principal operation adds a new service principal in the subscription.
public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CreateAsync(this Microsoft.WindowsAzure.Management.ISubscriptionServicePrincipalOperations operations, Microsoft.WindowsAzure.Management.Models.SubscriptionServicePrincipalCreateParameters parameters);
static member CreateAsync : Microsoft.WindowsAzure.Management.ISubscriptionServicePrincipalOperations * Microsoft.WindowsAzure.Management.Models.SubscriptionServicePrincipalCreateParameters -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function CreateAsync (operations As ISubscriptionServicePrincipalOperations, parameters As SubscriptionServicePrincipalCreateParameters) As Task(Of AzureOperationResponse)
Parameters
- operations
- ISubscriptionServicePrincipalOperations
Reference to the Microsoft.WindowsAzure.Management.ISubscriptionServicePrincipalOperations.
- parameters
- SubscriptionServicePrincipalCreateParameters
Required. Parameters supplied to the Create Service Principal operation.
Returns
Task<Microsoft.Azure.AzureOperationResponse>
A standard service response including an HTTP status code and request ID.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET