.NET API
TraconProductionProfileOptions
Tracon.Core.dllThe risks a deployment has deliberately decided to carry, for
RequireProductionProfile.
public sealed class TraconProductionProfileOptions- Inheritance
- object ← TraconProductionProfileOptions
- Inherited Members
- object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”Acceptance is per item and by name. There is no “accept everything” switch
and none will be added: a blanket accept turns the gate back into the
silence it exists to remove, while one Accept line per decision shows
up in a code review and in the log.
Accepting a risk does not change any setting. It records that a human looked at the decision and chose the permissive side.
Constructors
Section titled “Constructors”TraconProductionProfileOptions()
Section titled “ TraconProductionProfileOptions()”public TraconProductionProfileOptions()Properties
Section titled “Properties”AcceptedRisks
Section titled “ AcceptedRisks”Gets the risks the deployment accepted, in no particular order.
public IReadOnlyCollection<TraconProductionRisk> AcceptedRisks { get; }Property Value
Section titled “Property Value”IReadOnlyCollection<TraconProductionRisk>
Methods
Section titled “Methods”Accept(TraconProductionRisk)
Section titled “ Accept(TraconProductionRisk)”Accepts one risk, so it no longer stops the host.
public TraconProductionProfileOptions Accept(TraconProductionRisk risk)Parameters
Section titled “Parameters”risk TraconProductionRisk
The decision being accepted.
Returns
Section titled “Returns”TraconProductionProfileOptions
The same options, for chaining.
Remarks
Section titled “Remarks”Accepting the same risk twice is a no-op, so a composition module that declares an accept cannot collide with another that declares the same one. The acceptance is written to the log at information level, by name, every time the host starts.
Exceptions
Section titled “Exceptions”risk is not a defined value.