csharp/Microsoft.Azure.Databricks.Client/Models/RepairRunInput.cs (17 lines of code) (raw):

// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. using System.Collections.Generic; using System.Text.Json.Serialization; namespace Microsoft.Azure.Databricks.Client.Models; public record RepairRunInput { /// <summary> /// The job run ID of the run to repair. The run must not be in /// progress. /// </summary> /// <example>455644833</example> [JsonPropertyName("run_id")] public long RunId { get; set; } /// <summary> /// The task keys of the task runs to repair. /// </summary> [JsonPropertyName("rerun_tasks")] public IEnumerable<string> RerunTasks { get; set; } /// <summary> /// The ID of the latest repair. This parameter is not required when /// repairing a run for the first time, but must be provided on /// subsequent requests to repair the same run. /// </summary> [JsonPropertyName("latest_repair_id")] public long LatestRepairId { get; set; } /// <summary> /// If true, repair all failed tasks. Only one of <see cref="RerunTasks"/> or <see cref="RerunAllFailedTasks"/> can be used. /// </summary> [JsonPropertyName("rerun_all_failed_tasks")] public bool RerunAllFailedTasks { get; set; } /// <summary> /// If true, repair all tasks that depend on the tasks in <see cref="RerunTasks"/>, even if they were previously successful. /// Can be also used in combination with <see cref="RerunAllFailedTasks"/>. /// </summary> [JsonPropertyName("rerun_dependent_tasks")] public bool RerunDependentTasks { get; set; } }