/// <summary>
 /// Assigns one or more machines to a set of folders.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Folders or Folders.Write.
 ///
 /// Required permissions: (Units.Edit or SubFolders.Edit) and (Machines.View).
 /// </remarks>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='assignMachinesActionParameters'>
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task AssignMachinesAsync(this IFolders operations, AssignMachinesActionParameters assignMachinesActionParameters = default(AssignMachinesActionParameters), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
 {
     (await operations.AssignMachinesWithHttpMessagesAsync(assignMachinesActionParameters, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }
Beispiel #2
0
 /// <summary>
 /// Assigns one or more machines to a set of folders.
 /// </summary>
 /// <remarks>
 /// Client Credentials Flow required permissions: Folders or Folders.Write.
 ///
 /// Required permissions: (Units.Edit or SubFolders.Edit) and (Machines.View).
 /// </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 AssignMachinesAsync(this IFolders operations, FoldersAssignMachinesParameters body = default(FoldersAssignMachinesParameters), CancellationToken cancellationToken = default(CancellationToken))
 {
     (await operations.AssignMachinesWithHttpMessagesAsync(body, null, cancellationToken).ConfigureAwait(false)).Dispose();
 }