Skip to content

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 TenantGovernanceActionDecisionRequest

objectTenantGovernanceActionDecisionRequest

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

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)

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.

Gets the governance action identifier to validate.

public string ActionId { get; }

string

Gets the optional expected governance action kind.

public string? ActionKind { get; }

string?

Gets the UTC timestamp used for expiration evaluation.

public DateTimeOffset? AtUtc { get; }

DateTimeOffset?

Gets the optional correlation identifier for the decision.

public string? CorrelationId { get; }

string?

Gets optional request metadata.

public IReadOnlyDictionary<string, string> Metadata { get; }

IReadOnlyDictionary<string, string>

Gets the optional expected subject identifier.

public string? SubjectId { get; }

string?

Gets the optional expected subject kind.

public string? SubjectKind { get; }

string?

Gets the tenant identifier to validate.

public string TenantId { get; }

string