internal static string ToSerializedValue(this DisableComputeNodeSchedulingOption value) { switch (value) { case DisableComputeNodeSchedulingOption.Requeue: return("requeue"); case DisableComputeNodeSchedulingOption.Terminate: return("terminate"); case DisableComputeNodeSchedulingOption.TaskCompletion: return("taskcompletion"); } return(null); }
public static string ToSerialString(this DisableComputeNodeSchedulingOption value) => value switch {