ข้ามไปยังเนื้อหา

Class TenantGovernanceActionDescriptor

เนื้อหานี้ยังไม่ได้แปลเป็นภาษาไทย แสดงเป็นภาษาอังกฤษแทน

Namespace: Cephalon.MultiTenancy.Governance.Services
Assembly: Cephalon.MultiTenancy.Governance.dll

Describes one tenant-governance approval or remediation action.

public sealed class TenantGovernanceActionDescriptor

objectTenantGovernanceActionDescriptor

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

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)

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.

Gets the stable action identifier.

public string ActionId { get; }

string

Gets the governance action kind.

public string ActionKind { get; }

string

Gets the actor that approved or remediated the action when known.

public string? ApprovedBy { get; }

string?

Gets the UTC timestamp when the action was created.

public DateTimeOffset? CreatedAtUtc { get; }

DateTimeOffset?

Gets the UTC timestamp when the action was approved, rejected, or remediated.

public DateTimeOffset? DecidedAtUtc { get; }

DateTimeOffset?

Gets the optional operator-facing action name.

public string? DisplayName { get; }

string?

Gets the UTC timestamp when the action expires.

public DateTimeOffset? ExpiresAtUtc { get; }

DateTimeOffset?

Gets optional operator-facing metadata attached to the action.

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

IReadOnlyDictionary<string, string>

Gets the actor that requested the action when known.

public string? RequestedBy { get; }

string?

Gets the module that contributed the action when one is known.

public string? SourceModuleId { get; }

string?

Gets the governance action status.

public string Status { get; }

string

Gets the stable subject identifier affected by the action.

public string SubjectId { get; }

string

Gets the kind of subject affected by the action.

public string SubjectKind { get; }

string

Gets the stable tenant identifier.

public string TenantId { get; }

string