interface TaskAgentPoolMaintenanceDefinition {
    enabled?: boolean;
    id?: number;
    jobTimeoutInMinutes?: number;
    maxConcurrentAgentsPercentage?: number;
    options?: TaskAgentPoolMaintenanceOptions;
    pool?: TaskAgentPoolReference;
    retentionPolicy?: TaskAgentPoolMaintenanceRetentionPolicy;
    scheduleSetting?: TaskAgentPoolMaintenanceSchedule;
}

Properties

enabled?: boolean

Enable maintenance

id?: number

Id

jobTimeoutInMinutes?: number

Maintenance job timeout per agent

maxConcurrentAgentsPercentage?: number

Max percentage of agents within a pool running maintenance job at given time

Pool reference for the maintenance definition