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
OperationIdstringThe operation id.
StateConfigUpdateOperationStateHow far the operation has progressed.
OutcomeConfigApplyOutcomeThe result of applying the change.
SanitizedErrorstringThe error, without secrets, when the operation failed.
Properties
OperationId
The operation id.
public string OperationId { get; init; }
Property Value
Outcome
The result of applying the change.
public ConfigApplyOutcome Outcome { get; init; }
Property Value
SanitizedError
The error, without secrets, when the operation failed.
public string SanitizedError { get; init; }
Property Value
State
How far the operation has progressed.
public ConfigUpdateOperationState State { get; init; }