ISubscriptionServicePrincipalOperations.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 System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CreateAsync (Microsoft.WindowsAzure.Management.Models.SubscriptionServicePrincipalCreateParameters parameters, System.Threading.CancellationToken cancellationToken);
abstract member CreateAsync : Microsoft.WindowsAzure.Management.Models.SubscriptionServicePrincipalCreateParameters * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function CreateAsync (parameters As SubscriptionServicePrincipalCreateParameters, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)
Parameters
- parameters
- SubscriptionServicePrincipalCreateParameters
Parameters supplied to the Create Service Principal operation.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Task<Microsoft.Azure.AzureOperationResponse>
A standard service response including an HTTP status code and request ID.