TenantReadSetConfiguration
Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Common
Multi-tenant setting of the read nodes GetRtEntitiesByType@1 and GetRtEntitiesById@1: the node reads the same selection from several tenants of the pipeline's subtree, for example a group tenant consolidating the figures of its companies. Every target goes through the cross-tenant guard exactly like a single TenantTargetConfiguration.
public record TenantReadSetConfiguration : TenantSetConfiguration, IEquatable<TenantSetConfiguration>, IEquatable<TenantReadSetConfiguration>
Inheritance Object → TenantSetConfiguration → TenantReadSetConfiguration
Implements IEquatable<TenantSetConfiguration>, IEquatable<TenantReadSetConfiguration>
Remarks:
Same shape and rules as the fan-out of ApplyChanges@2 (TenantSetConfiguration): v1 allows only TenantRelation.Child; without TenantSetConfiguration.TenantIds the targets are all registered direct children of the pipeline's tenant at execution time.
Properties
OnRefused
What happens when the guard refuses a target: CrossTenantRefusalHandling.Fail (default) or
CrossTenantRefusalHandling.Report. Nullable because a key written without a value overwrites an
initializer in the pipeline YAML; null means CrossTenantRefusalHandling.Fail.
public Nullable<CrossTenantRefusalHandling> OnRefused { get; set; }
Property Value
Nullable<CrossTenantRefusalHandling>
Relation
Relation of the targets to the pipeline's tenant. Must be named; only TenantRelation.Child is
accepted. A missing value stays null and is refused as a configuration error.
public Nullable<TenantRelation> Relation { get; set; }
Property Value
TenantIds
The target tenants. null (default) = every registered direct child of the pipeline's tenant at
execution time; an empty list is a configuration error.
public ICollection<string> TenantIds { get; set; }
Property Value
Constructors
TenantReadSetConfiguration()
Caution
Constructors of types with required members are not supported in this version of your compiler.
public TenantReadSetConfiguration()