/// <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> public static void AssignMachines(this IFolders operations, AssignMachinesActionParameters assignMachinesActionParameters = default(AssignMachinesActionParameters)) { operations.AssignMachinesAsync(assignMachinesActionParameters).GetAwaiter().GetResult(); }
/// <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> public static void AssignMachines(this IFolders operations, FoldersAssignMachinesParameters body = default(FoldersAssignMachinesParameters)) { operations.AssignMachinesAsync(body).GetAwaiter().GetResult(); }