Class StranglerFigRoutePolicySettings
Namespace: Cephalon.Engine.Configuration
Assembly: Cephalon.Engine.dll
Describes one route-specific strangler-fig migration-policy override.
public sealed class StranglerFigRoutePolicySettingsInheritance
Section titled “Inheritance”object ← StranglerFigRoutePolicySettings
Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”StranglerFigRoutePolicySettings(string, StranglerFigTarget?, string?, int?, string?)
Section titled “ StranglerFigRoutePolicySettings(string, StranglerFigTarget?, string?, int?, string?)”Initializes a new instance of the
public StranglerFigRoutePolicySettings(string routeId, StranglerFigTarget? target = null, string? progressState = null, int? progressPercent = null, string? notes = null)Parameters
Section titled “Parameters”routeId string
The stable strangler-fig route identifier to target.
target StranglerFigTarget?
The route-specific requested target override.
progressState string?
The route-specific normalized migration-progress state.
progressPercent int?
The route-specific normalized migration-progress percentage.
notes string?
Optional operator-facing notes that explain the route-specific override.
Properties
Section titled “Properties”Gets optional operator-facing notes that explain the route-specific override.
public string? Notes { get; }Property Value
Section titled “Property Value”ProgressPercent
Section titled “ ProgressPercent”Gets the route-specific normalized migration-progress percentage.
public int? ProgressPercent { get; }Property Value
Section titled “Property Value”int?
ProgressState
Section titled “ ProgressState”Gets the route-specific normalized migration-progress state.
public string? ProgressState { get; }Property Value
Section titled “Property Value”RouteId
Section titled “ RouteId”Gets the stable strangler-fig route identifier to target.
public string RouteId { get; }Property Value
Section titled “Property Value”Target
Section titled “ Target”Gets the route-specific requested target override.
public StranglerFigTarget? Target { get; }Property Value
Section titled “Property Value”StranglerFigTarget?
Methods
Section titled “Methods”FromSection(IConfigurationSection)
Section titled “ FromSection(IConfigurationSection)”Reads one route-specific strangler-fig migration-policy override from configuration.
public static StranglerFigRoutePolicySettings FromSection(IConfigurationSection section)Parameters
Section titled “Parameters”section IConfigurationSection
The configuration section to read.
Returns
Section titled “Returns”StranglerFigRoutePolicySettings
The parsed route-policy settings.