Class TenantGovernanceActionDescriptor
Namespace: Cephalon.MultiTenancy.Governance.Services
Assembly: Cephalon.MultiTenancy.Governance.dll
Describes one tenant-governance approval or remediation action.
public sealed class TenantGovernanceActionDescriptorInheritance
Section titled “Inheritance”object ← TenantGovernanceActionDescriptor
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”TenantGovernanceActionDescriptor(string, string, string, string?, string?, string?, string, string?, string?, DateTimeOffset?, DateTimeOffset?, DateTimeOffset?, string?, IReadOnlyDictionary<string, string>?)
Section titled “ TenantGovernanceActionDescriptor(string, string, string, string?, string?, string?, string, string?, string?, DateTimeOffset?, DateTimeOffset?, DateTimeOffset?, string?, IReadOnlyDictionary<string, string>?)”Creates a tenant-governance action descriptor.
public TenantGovernanceActionDescriptor(string actionId, string tenantId, string actionKind, string? subjectKind = null, string? subjectId = null, string? displayName = null, string status = "pending-approval", string? requestedBy = null, string? approvedBy = null, DateTimeOffset? createdAtUtc = null, DateTimeOffset? decidedAtUtc = null, DateTimeOffset? expiresAtUtc = null, string? sourceModuleId = null, IReadOnlyDictionary<string, string>? metadata = null)Parameters
Section titled “Parameters”actionId string
The stable action identifier.
tenantId string
The stable tenant identifier.
actionKind string
The governance action kind.
subjectKind string?
The kind of subject affected by the action.
subjectId string?
The stable subject identifier affected by the action.
displayName string?
The optional operator-facing action name.
status string
The governance action status.
requestedBy string?
The actor that requested the action when known.
approvedBy string?
The actor that approved or remediated the action when known.
createdAtUtc DateTimeOffset?
The UTC timestamp when the action was created.
decidedAtUtc DateTimeOffset?
The UTC timestamp when the action was approved, rejected, or remediated.
expiresAtUtc DateTimeOffset?
The UTC timestamp when the action expires.
sourceModuleId string?
The module that contributed the action when one is known.
metadata IReadOnlyDictionary<string, string>?
Optional operator-facing metadata attached to the action.
Properties
Section titled “Properties”ActionId
Section titled “ ActionId”Gets the stable action identifier.
public string ActionId { get; }Property Value
Section titled “Property Value”ActionKind
Section titled “ ActionKind”Gets the governance action kind.
public string ActionKind { get; }Property Value
Section titled “Property Value”ApprovedBy
Section titled “ ApprovedBy”Gets the actor that approved or remediated the action when known.
public string? ApprovedBy { get; }Property Value
Section titled “Property Value”CreatedAtUtc
Section titled “ CreatedAtUtc”Gets the UTC timestamp when the action was created.
public DateTimeOffset? CreatedAtUtc { get; }Property Value
Section titled “Property Value”DecidedAtUtc
Section titled “ DecidedAtUtc”Gets the UTC timestamp when the action was approved, rejected, or remediated.
public DateTimeOffset? DecidedAtUtc { get; }Property Value
Section titled “Property Value”DisplayName
Section titled “ DisplayName”Gets the optional operator-facing action name.
public string? DisplayName { get; }Property Value
Section titled “Property Value”ExpiresAtUtc
Section titled “ ExpiresAtUtc”Gets the UTC timestamp when the action expires.
public DateTimeOffset? ExpiresAtUtc { get; }Property Value
Section titled “Property Value”Metadata
Section titled “ Metadata”Gets optional operator-facing metadata attached to the action.
public IReadOnlyDictionary<string, string> Metadata { get; }Property Value
Section titled “Property Value”IReadOnlyDictionary<string, string>
RequestedBy
Section titled “ RequestedBy”Gets the actor that requested the action when known.
public string? RequestedBy { get; }Property Value
Section titled “Property Value”SourceModuleId
Section titled “ SourceModuleId”Gets the module that contributed the action when one is known.
public string? SourceModuleId { get; }Property Value
Section titled “Property Value”Status
Section titled “ Status”Gets the governance action status.
public string Status { get; }Property Value
Section titled “Property Value”SubjectId
Section titled “ SubjectId”Gets the stable subject identifier affected by the action.
public string SubjectId { get; }Property Value
Section titled “Property Value”SubjectKind
Section titled “ SubjectKind”Gets the kind of subject affected by the action.
public string SubjectKind { get; }Property Value
Section titled “Property Value”TenantId
Section titled “ TenantId”Gets the stable tenant identifier.
public string TenantId { get; }