Class StranglerFigMigrationRuntimeDescriptor
เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน
Namespace: Cephalon.Abstractions.Patterns
Assembly: Cephalon.Abstractions.dll
Describes the effective runtime migration policy for one strangler-fig route.
public sealed class StranglerFigMigrationRuntimeDescriptorInheritance
Section titled “Inheritance”object ← StranglerFigMigrationRuntimeDescriptor
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”StranglerFigMigrationRuntimeDescriptor(string, string, string, string, string, StranglerFigTarget, StranglerFigTarget, StranglerFigTarget, string, string, string, string?, string?, IReadOnlyList<string>?, string?, int, IReadOnlyDictionary<string, string>?, IReadOnlyDictionary<string, string>?)
Section titled “ StranglerFigMigrationRuntimeDescriptor(string, string, string, string, string, StranglerFigTarget, StranglerFigTarget, StranglerFigTarget, string, string, string, string?, string?, IReadOnlyList<string>?, string?, int, IReadOnlyDictionary<string, string>?, IReadOnlyDictionary<string, string>?)”Creates a strangler-fig runtime migration descriptor.
public StranglerFigMigrationRuntimeDescriptor(string routeId, string sourceModuleId, string displayName, string description, string pathPrefix, StranglerFigTarget authoredTarget, StranglerFigTarget requestedTarget, StranglerFigTarget effectiveTarget, string requestedTargetSource, string selectionMode, string selectedEndpoint, string? legacyEndpoint = null, string? modernEndpoint = null, IReadOnlyList<string>? methods = null, string? progressState = null, int progressPercent = 0, IReadOnlyDictionary<string, string>? metadata = null, IReadOnlyDictionary<string, string>? runtimeMetadata = null)Parameters
Section titled “Parameters”routeId string
The stable route identifier.
sourceModuleId string
The Cephalon module that owns the modern boundary for this route.
displayName string
The operator-facing route name.
description string
The human-readable description of the migration boundary.
pathPrefix string
The rooted path prefix that this route matches.
authoredTarget StranglerFigTarget
The target preferred by the authored route descriptor.
requestedTarget StranglerFigTarget
The target requested after applying migration-policy overlays.
effectiveTarget StranglerFigTarget
The target that will actually receive traffic after endpoint fallback is considered.
requestedTargetSource string
The source of the requested target, such as authored-route or migration-route.
selectionMode string
The runtime selection result, such as requested-target or fallback-target.
selectedEndpoint string
The concrete endpoint or boundary identifier that will receive traffic.
legacyEndpoint string?
The legacy boundary identifier or endpoint when one is configured.
modernEndpoint string?
The modern Cephalon boundary identifier or endpoint when one is configured.
methods IReadOnlyList<string>?
Optional request methods that this route matches.
progressState string?
The normalized migration-progress state for the route.
progressPercent int
The normalized migration-progress percentage for the route.
metadata IReadOnlyDictionary<string, string>?
The original authored route metadata.
runtimeMetadata IReadOnlyDictionary<string, string>?
Additional runtime-only metadata such as notes or overlay provenance.
Properties
Section titled “Properties”AuthoredTarget
Section titled “ AuthoredTarget”Gets the target preferred by the authored route descriptor.
public StranglerFigTarget AuthoredTarget { get; }Property Value
Section titled “Property Value”Description
Section titled “ Description”Gets the human-readable description of the migration boundary.
public string Description { get; }Property Value
Section titled “Property Value”DisplayName
Section titled “ DisplayName”Gets the operator-facing route name.
public string DisplayName { get; }Property Value
Section titled “Property Value”EffectiveTarget
Section titled “ EffectiveTarget”Gets the target that will actually receive traffic after endpoint fallback is considered.
public StranglerFigTarget EffectiveTarget { get; }Property Value
Section titled “Property Value”LegacyEndpoint
Section titled “ LegacyEndpoint”Gets the legacy boundary identifier or endpoint when one is configured.
public string? LegacyEndpoint { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets the original authored route metadata.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
Methods
Section titled “ Methods”Gets the normalized request methods that this route matches.
public IReadOnlyList<string> Methods { get; }Property Value
Section titled “Property Value”ModernEndpoint
Section titled “ ModernEndpoint”Gets the modern Cephalon boundary identifier or endpoint when one is configured.
public string? ModernEndpoint { get; }Property Value
Section titled “Property Value”PathPrefix
Section titled “ PathPrefix”Gets the rooted path prefix that matches this route.
public string PathPrefix { get; }Property Value
Section titled “Property Value”ProgressPercent
Section titled “ ProgressPercent”Gets the normalized migration-progress percentage for the route.
public int ProgressPercent { get; }Property Value
Section titled “Property Value”ProgressState
Section titled “ ProgressState”Gets the normalized migration-progress state for the route.
public string ProgressState { get; }Property Value
Section titled “Property Value”RequestedTarget
Section titled “ RequestedTarget”Gets the target requested after applying migration-policy overlays.
public StranglerFigTarget RequestedTarget { get; }Property Value
Section titled “Property Value”RequestedTargetSource
Section titled “ RequestedTargetSource”Gets the source of the requested target, such as authored-route, migration-default, or migration-route.
public string RequestedTargetSource { get; }Property Value
Section titled “Property Value”RouteId
Section titled “ RouteId”Gets the stable route identifier.
public string RouteId { get; }Property Value
Section titled “Property Value”RuntimeMetadata
Section titled “ RuntimeMetadata”Gets runtime-only metadata such as notes or overlay provenance.
public IReadOnlyDictionary<string, string> RuntimeMetadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
SelectedEndpoint
Section titled “ SelectedEndpoint”Gets the concrete endpoint or boundary identifier that will receive traffic.
public string SelectedEndpoint { get; }Property Value
Section titled “Property Value”SelectionMode
Section titled “ SelectionMode”Gets the runtime selection result, such as requested-target or fallback-target.
public string SelectionMode { get; }Property Value
Section titled “Property Value”SourceModuleId
Section titled “ SourceModuleId”Gets the module that owns the modern Cephalon boundary for this route.
public string SourceModuleId { get; }