internal static string ToSerializedValue(this RollingUpgradeStatusCode value)
        {
            switch (value)
            {
            case RollingUpgradeStatusCode.RollingForward:
                return("RollingForward");

            case RollingUpgradeStatusCode.Cancelled:
                return("Cancelled");

            case RollingUpgradeStatusCode.Completed:
                return("Completed");

            case RollingUpgradeStatusCode.Faulted:
                return("Faulted");
            }
            return(null);
        }
示例#2
0
 public static string ToSerialString(this RollingUpgradeStatusCode value) => value switch
 {