Class SubsettingRule
Defines a rule for subsetting data in specific tables or schemas, including scope and processing strategies
Inherited Members
Namespace: Oci.DatasafeService.Models
Assembly: OCI.DotNetSDK.Datasafe.dll
Syntax
public class SubsettingRule
Properties
Description
Declaration
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The description of the subset rule |
DisplayName
Declaration
[JsonProperty(PropertyName = "displayName")]
public string DisplayName { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The display name of the subset rule |
Key
Declaration
[Required(ErrorMessage = "Key is required.")]
[JsonProperty(PropertyName = "key")]
public string Key { get; set; }
Property Value
| Type | Description |
|---|---|
| string | The unique key that identifies a subsetting rule. The key is numeric and unique within a subsetting policy |
Remarks
Required
PeerTablesAction
Declaration
[Required(ErrorMessage = "PeerTablesAction is required.")]
[JsonProperty(PropertyName = "peerTablesAction")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SubsettingRule.PeerTablesActionEnum? PeerTablesAction { get; set; }
Property Value
| Type | Description |
|---|---|
| SubsettingRule.PeerTablesActionEnum? | Strategy to be applied while processing peer tables |
Remarks
Required
RelatedTablesPropagation
Declaration
[Required(ErrorMessage = "RelatedTablesPropagation is required.")]
[JsonProperty(PropertyName = "relatedTablesPropagation")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SubsettingRule.RelatedTablesPropagationEnum? RelatedTablesPropagation { get; set; }
Property Value
| Type | Description |
|---|---|
| SubsettingRule.RelatedTablesPropagationEnum? | Strategy to be applied while propagating subsetting rule to related tables |
Remarks
Required
RuleCombinationMode
Declaration
[JsonProperty(PropertyName = "ruleCombinationMode")]
[JsonConverter(typeof(ResponseEnumConverter))]
public SubsettingRule.RuleCombinationModeEnum? RuleCombinationMode { get; set; }
Property Value
| Type | Description |
|---|---|
| SubsettingRule.RuleCombinationModeEnum? | Specifies how this rule combines with other rules. UNION evaluates this rule independently and adds matching rows to the result set. SERIAL applies this rule sequentially to filter rows selected by a compatible preceding rule. |
Scope
Declaration
[Required(ErrorMessage = "Scope is required.")]
[JsonProperty(PropertyName = "scope")]
public SubsetScope Scope { get; set; }
Property Value
| Type | Description |
|---|---|
| SubsetScope |
Remarks
Required
SubsetRuleEntry
Declaration
[Required(ErrorMessage = "SubsetRuleEntry is required.")]
[JsonProperty(PropertyName = "subsetRuleEntry")]
public SubsetRuleEntry SubsetRuleEntry { get; set; }
Property Value
| Type | Description |
|---|---|
| SubsetRuleEntry |
Remarks
Required