// Copyright Epic Games, Inc. All Rights Reserved. using System.Collections.Generic; namespace EpicGames.Horde.Agents.Enrollment { /// /// Updates an existing lease /// public record class GetPendingAgentsResponse(List Agents); /// /// Information about an agent pending admission to the farm /// /// Unique key used to identify this agent /// Agent host name /// Description for the agent public record class GetPendingAgentResponse(string Key, string HostName, string Description); /// /// Approve an agent for admission to the farm /// /// Agents to approve public record class ApproveAgentsRequest(List Agents); /// /// Approve an agent for admission to the farm /// /// Unique key for identifying the machine /// Agent id to use for the machine. Set to null to use the default. public record class ApproveAgentRequest(string Key, AgentId? AgentId); }