/// <summary>
 /// Deletes multiple machines based on their keys.
 /// </summary>
 /// <remarks>
 /// Required permissions: Machines.Delete.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='machinesDeleteBulk'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteBulkAsync(this IMachines operations, MachinesDeleteBulk machinesDeleteBulk, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     (await operations.DeleteBulkWithHttpMessagesAsync(machinesDeleteBulk, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Exemple #2
0
 /// <summary>
 /// Deletes multiple machines based on their keys.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Machines or Machines.Write.
 ///
 /// Required permissions: Machines.Delete.
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='body'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task DeleteBulkAsync(this IMachines operations, MachineDeleteBulkRequest body = default(MachineDeleteBulkRequest), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.DeleteBulkWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }