예제 #1
0
 /// <summary>
 /// Removed a user to the allowed list of users to access this LUIS
 /// application.Users are removed using their email address.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='azureRegion'>
 /// Supported Azure regions for Cognitive Services endpoints. Possible values
 /// include: 'westus', 'westeurope'
 /// </param>
 /// <param name='appId'>
 /// Format - guid. The application ID.
 /// </param>
 /// <param name='body'>
 /// A JSON object containing the user's email address.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task RemoveUserFromAccessListAsync(this IPermissions operations, AzureRegions azureRegion, string appId, object body = default(object), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.RemoveUserFromAccessListWithHttpMessagesAsync(azureRegion, appId, body, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }