Class BuildIdOp.AddNewCompatible
- Namespace
- Temporalio.Client
- Assembly
- Temporalio.dll
Adds a new Build ID into an existing compatible set. The newly added ID becomes the default for that compatible set, and thus new workflow tasks for workflows which have been executing on workers in that set will now start on this new Build ID.
public record BuildIdOp.AddNewCompatible : BuildIdOp, IEquatable<BuildIdOp>, IEquatable<BuildIdOp.AddNewCompatible>
- Inheritance
-
BuildIdOp.AddNewCompatible
- Implements
- Inherited Members
Constructors
AddNewCompatible(string, string, bool)
Adds a new Build ID into an existing compatible set. The newly added ID becomes the default for that compatible set, and thus new workflow tasks for workflows which have been executing on workers in that set will now start on this new Build ID.
public AddNewCompatible(string BuildId, string ExistingCompatibleBuildId, bool MakeSetDefault = false)
Parameters
BuildId
stringThe new Build ID to add.
ExistingCompatibleBuildId
stringA Build ID which must already be defined on the task queue, and is used to find the compatible set to add the new id to.
MakeSetDefault
boolIf set to true, the targeted set will also be promoted to become the overall default set for the queue.
Properties
BuildId
The new Build ID to add.
public string BuildId { get; init; }
Property Value
ExistingCompatibleBuildId
A Build ID which must already be defined on the task queue, and is used to find the compatible set to add the new id to.
public string ExistingCompatibleBuildId { get; init; }
Property Value
MakeSetDefault
If set to true, the targeted set will also be promoted to become the overall default set for the queue.
public bool MakeSetDefault { get; init; }