Class TenantGovernanceActionDecisionRequest
Namespace: Cephalon.MultiTenancy.Governance.Services
Assembly: Cephalon.MultiTenancy.Governance.dll
Describes one request to decide whether a tenant-governance action can proceed.
public sealed class TenantGovernanceActionDecisionRequestInheritance
Section titled “Inheritance”object ← TenantGovernanceActionDecisionRequest
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”TenantGovernanceActionDecisionRequest(string, string, string?, string?, string?, DateTimeOffset?, string?, IReadOnlyDictionary<string, string>?)
Section titled “ TenantGovernanceActionDecisionRequest(string, string, string?, string?, string?, DateTimeOffset?, string?, IReadOnlyDictionary<string, string>?)”Creates a tenant-governance action decision request.
public TenantGovernanceActionDecisionRequest(string tenantId, string actionId, string? actionKind = null, string? subjectKind = null, string? subjectId = null, DateTimeOffset? atUtc = null, string? correlationId = null, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”tenantId string
The tenant identifier to validate.
actionId string
The governance action identifier to validate.
actionKind string?
The optional expected governance action kind.
subjectKind string?
The optional expected subject kind.
subjectId string?
The optional expected subject identifier.
atUtc DateTimeOffset?
The UTC timestamp used for expiration evaluation. The runtime clock is used when omitted.
correlationId string?
The optional correlation identifier for the decision.
metadata IReadOnlyDictionary<string, string>?
Optional request metadata.
Properties
Section titled “Properties”ActionId
Section titled “ ActionId”Gets the governance action identifier to validate.
public string ActionId { get; }Property Value
Section titled “Property Value”ActionKind
Section titled “ ActionKind”Gets the optional expected governance action kind.
public string? ActionKind { get; }Property Value
Section titled “Property Value”Gets the UTC timestamp used for expiration evaluation.
public DateTimeOffset? AtUtc { get; }Property Value
Section titled “Property Value”CorrelationId
Section titled “ CorrelationId”Gets the optional correlation identifier for the decision.
public string? CorrelationId { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets optional request metadata.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
SubjectId
Section titled “ SubjectId”Gets the optional expected subject identifier.
public string? SubjectId { get; }Property Value
Section titled “Property Value”SubjectKind
Section titled “ SubjectKind”Gets the optional expected subject kind.
public string? SubjectKind { get; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the tenant identifier to validate.
public string TenantId { get; }