예제 #1
0
 /// <summary>
 /// Delete entity from servicePrincipals
 /// </summary>
 /// <remarks>
 /// Represents an Azure Active Directory object. The directoryObject type is
 /// the base type for many other directory entity types.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='servicePrincipalId'>
 /// key: id of servicePrincipal
 /// </param>
 /// <param name='ifMatch'>
 /// ETag
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteServicePrincipalAsync(this IServicePrincipalsOperations operations, string servicePrincipalId, string ifMatch = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DeleteServicePrincipalWithHttpMessagesAsync(servicePrincipalId, ifMatch, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }