Table of Contents

Class ProviderOperation

Namespace
OpenShell
Assembly
OpenShell.Sdk.dll

Durable progress of the operation behind a receipt.

public sealed record ProviderOperation : IEquatable<ProviderOperation>
Inheritance
ProviderOperation
Implements
Inherited Members

Constructors

ProviderOperation(string, ConfigUpdateOperationState, ConfigApplyOutcome, string)

Durable progress of the operation behind a receipt.

public ProviderOperation(string OperationId, ConfigUpdateOperationState State, ConfigApplyOutcome Outcome, string SanitizedError)

Parameters

OperationId string

The operation id.

State ConfigUpdateOperationState

How far the operation has progressed.

Outcome ConfigApplyOutcome

The result of applying the change.

SanitizedError string

The error, without secrets, when the operation failed.

Properties

OperationId

The operation id.

public string OperationId { get; init; }

Property Value

string

Outcome

The result of applying the change.

public ConfigApplyOutcome Outcome { get; init; }

Property Value

ConfigApplyOutcome

SanitizedError

The error, without secrets, when the operation failed.

public string SanitizedError { get; init; }

Property Value

string

State

How far the operation has progressed.

public ConfigUpdateOperationState State { get; init; }

Property Value

ConfigUpdateOperationState