Skip to content

Class TenantGovernanceActionWorkflowResult

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

Describes the result of one tenant-governance action workflow transition.

public sealed class TenantGovernanceActionWorkflowResult

objectTenantGovernanceActionWorkflowResult

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

TenantGovernanceActionWorkflowResult(string, string, string, string, bool, DateTimeOffset, string?, string?, TenantGovernanceActionDescriptor?, string, IReadOnlyDictionary<string, string>?)

Section titled “ TenantGovernanceActionWorkflowResult(string, string, string, string, bool, DateTimeOffset, string?, string?, TenantGovernanceActionDescriptor?, string, IReadOnlyDictionary<string, string>?)”

Creates a tenant-governance action workflow transition result.

public TenantGovernanceActionWorkflowResult(string tenantId, string actionId, string command, string outcome, bool applied, DateTimeOffset occurredAtUtc, string? previousStatus, string? currentStatus, TenantGovernanceActionDescriptor? action, string reason, IReadOnlyDictionary<string, string>? metadata = null)

tenantId string

The tenant identifier that was targeted.

actionId string

The governance action identifier that was targeted.

command string

The workflow command that was requested.

outcome string

The workflow transition outcome.

applied bool

A value indicating whether the workflow transition was applied.

occurredAtUtc DateTimeOffset

The UTC timestamp when the workflow transition was evaluated.

previousStatus string?

The action status before the workflow transition when one existed.

currentStatus string?

The action status after the workflow transition when one exists.

action TenantGovernanceActionDescriptor?

The resulting action descriptor when one exists.

reason string

The operator-facing transition reason.

metadata IReadOnlyDictionary<string, string>?

Optional result metadata.

Gets the resulting action descriptor when one exists.

public TenantGovernanceActionDescriptor? Action { get; }

TenantGovernanceActionDescriptor?

Gets the governance action identifier that was targeted.

public string ActionId { get; }

string

Gets a value indicating whether the workflow transition was applied.

public bool Applied { get; }

bool

Gets the workflow command that was requested.

public string Command { get; }

string

Gets the action status after the workflow transition when one exists.

public string? CurrentStatus { get; }

string?

Gets optional result metadata.

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

IReadOnlyDictionary<string, string>

Gets the UTC timestamp when the workflow transition was evaluated.

public DateTimeOffset OccurredAtUtc { get; }

DateTimeOffset

Gets the workflow transition outcome.

public string Outcome { get; }

string

Gets the action status before the workflow transition when one existed.

public string? PreviousStatus { get; }

string?

Gets the operator-facing transition reason.

public string Reason { get; }

string

Gets the tenant identifier that was targeted.

public string TenantId { get; }

string