Skip to content

Class StranglerFigRoutePolicySettings

Namespace: Cephalon.Engine.Configuration
Assembly: Cephalon.Engine.dll

Describes one route-specific strangler-fig migration-policy override.

public sealed class StranglerFigRoutePolicySettings

objectStranglerFigRoutePolicySettings

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

StranglerFigRoutePolicySettings(string, StranglerFigTarget?, string?, int?, string?)

Section titled “ StranglerFigRoutePolicySettings(string, StranglerFigTarget?, string?, int?, string?)”

Initializes a new instance of the class.

public StranglerFigRoutePolicySettings(string routeId, StranglerFigTarget? target = null, string? progressState = null, int? progressPercent = null, string? notes = null)

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.

Gets optional operator-facing notes that explain the route-specific override.

public string? Notes { get; }

string?

Gets the route-specific normalized migration-progress percentage.

public int? ProgressPercent { get; }

int?

Gets the route-specific normalized migration-progress state.

public string? ProgressState { get; }

string?

Gets the stable strangler-fig route identifier to target.

public string RouteId { get; }

string

Gets the route-specific requested target override.

public StranglerFigTarget? Target { get; }

StranglerFigTarget?

Reads one route-specific strangler-fig migration-policy override from configuration.

public static StranglerFigRoutePolicySettings FromSection(IConfigurationSection section)

section IConfigurationSection

The configuration section to read.

StranglerFigRoutePolicySettings

The parsed route-policy settings.