Class TenantGovernanceActionDecisionResult
Namespace: Cephalon.MultiTenancy.Governance.Services
Assembly: Cephalon.MultiTenancy.Governance.dll
Describes the result of one tenant-governance action decision.
public sealed class TenantGovernanceActionDecisionResultInheritance
Section titled “Inheritance”object ← TenantGovernanceActionDecisionResult
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”TenantGovernanceActionDecisionResult(string, string, string, bool, DateTimeOffset, TenantGovernanceActionDescriptor?, string?, IReadOnlyDictionary<string, string>?)
Section titled “ TenantGovernanceActionDecisionResult(string, string, string, bool, DateTimeOffset, TenantGovernanceActionDescriptor?, string?, IReadOnlyDictionary<string, string>?)”Creates a tenant-governance action decision result.
public TenantGovernanceActionDecisionResult(string tenantId, string actionId, string outcome, bool allowed, DateTimeOffset decidedAtUtc, TenantGovernanceActionDescriptor? matchedAction = null, string? reason = null, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”tenantId string
The tenant identifier that was evaluated.
actionId string
The governance action identifier that was evaluated.
outcome string
The stable decision outcome.
allowed bool
A value indicating whether the governance action can proceed.
decidedAtUtc DateTimeOffset
The UTC timestamp when decision evaluation executed.
matchedAction TenantGovernanceActionDescriptor?
The matching governance action descriptor considered by decision evaluation.
reason string?
The optional operator-facing decision reason.
metadata IReadOnlyDictionary<string, string>?
Optional result metadata.
Properties
Section titled “Properties”ActionId
Section titled “ ActionId”Gets the governance action identifier that was evaluated.
public string ActionId { get; }Property Value
Section titled “Property Value”Allowed
Section titled “ Allowed”Gets a value indicating whether the governance action can proceed.
public bool Allowed { get; }Property Value
Section titled “Property Value”DecidedAtUtc
Section titled “ DecidedAtUtc”Gets the UTC timestamp when decision evaluation executed.
public DateTimeOffset DecidedAtUtc { get; }Property Value
Section titled “Property Value”MatchedAction
Section titled “ MatchedAction”Gets the matching governance action descriptor considered by decision evaluation.
public TenantGovernanceActionDescriptor? MatchedAction { get; }Property Value
Section titled “Property Value”TenantGovernanceActionDescriptor?
Metadata
Section titled “ Metadata”Gets optional result metadata.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
Outcome
Section titled “ Outcome”Gets the stable decision outcome.
public string Outcome { get; }Property Value
Section titled “Property Value”Reason
Section titled “ Reason”Gets the optional operator-facing decision reason.
public string? Reason { get; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the tenant identifier that was evaluated.
public string TenantId { get; }