Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi
This data source provides details about a specific Subsetting Policy Subsetting Schema Relation resource in Oracle Cloud Infrastructure Data Safe service.
Gets the details of the specified referential relation in the subsetting policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSubsettingPolicySubsettingSchemaRelation = oci.datasafe.getSubsettingPolicySubsettingSchemaRelation({
subsettingPolicyId: testSubsettingPolicy.id,
subsettingSchemaRelationKey: subsettingPolicySubsettingSchemaRelationSubsettingSchemaRelationKey,
});
import pulumi
import pulumi_oci as oci
test_subsetting_policy_subsetting_schema_relation = oci.datasafe.get_subsetting_policy_subsetting_schema_relation(subsetting_policy_id=test_subsetting_policy["id"],
subsetting_schema_relation_key=subsetting_policy_subsetting_schema_relation_subsetting_schema_relation_key)
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/datasafe"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := datasafe.GetSubsettingPolicySubsettingSchemaRelation(ctx, &datasafe.GetSubsettingPolicySubsettingSchemaRelationArgs{
SubsettingPolicyId: testSubsettingPolicy.Id,
SubsettingSchemaRelationKey: subsettingPolicySubsettingSchemaRelationSubsettingSchemaRelationKey,
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testSubsettingPolicySubsettingSchemaRelation = Oci.DataSafe.GetSubsettingPolicySubsettingSchemaRelation.Invoke(new()
{
SubsettingPolicyId = testSubsettingPolicy.Id,
SubsettingSchemaRelationKey = subsettingPolicySubsettingSchemaRelationSubsettingSchemaRelationKey,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.DataSafeFunctions;
import com.pulumi.oci.DataSafe.inputs.GetSubsettingPolicySubsettingSchemaRelationArgs;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var testSubsettingPolicySubsettingSchemaRelation = DataSafeFunctions.getSubsettingPolicySubsettingSchemaRelation(GetSubsettingPolicySubsettingSchemaRelationArgs.builder()
.subsettingPolicyId(testSubsettingPolicy.get("id"))
.subsettingSchemaRelationKey(subsettingPolicySubsettingSchemaRelationSubsettingSchemaRelationKey)
.build());
}
}
variables:
testSubsettingPolicySubsettingSchemaRelation:
fn::invoke:
function: oci:DataSafe:getSubsettingPolicySubsettingSchemaRelation
arguments:
subsettingPolicyId: ${testSubsettingPolicy.id}
subsettingSchemaRelationKey: ${subsettingPolicySubsettingSchemaRelationSubsettingSchemaRelationKey}
terraform {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_data_safe_subsetting_policy_subsetting_schema_relation" "testSubsettingPolicySubsettingSchemaRelation" {
subsetting_policy_id = testSubsettingPolicy.id
subsetting_schema_relation_key = subsettingPolicySubsettingSchemaRelationSubsettingSchemaRelationKey
}
Using getSubsettingPolicySubsettingSchemaRelation
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getSubsettingPolicySubsettingSchemaRelation(args: GetSubsettingPolicySubsettingSchemaRelationArgs, opts?: InvokeOptions): Promise<GetSubsettingPolicySubsettingSchemaRelationResult>
function getSubsettingPolicySubsettingSchemaRelationOutput(args: GetSubsettingPolicySubsettingSchemaRelationOutputArgs, opts?: InvokeOutputOptions): Output<GetSubsettingPolicySubsettingSchemaRelationResult>def get_subsetting_policy_subsetting_schema_relation(subsetting_policy_id: Optional[str] = None,
subsetting_schema_relation_key: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSubsettingPolicySubsettingSchemaRelationResult
def get_subsetting_policy_subsetting_schema_relation_output(subsetting_policy_id: pulumi.Input[Optional[str]] = None,
subsetting_schema_relation_key: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetSubsettingPolicySubsettingSchemaRelationResult]func LookupSubsettingPolicySubsettingSchemaRelation(ctx *Context, args *LookupSubsettingPolicySubsettingSchemaRelationArgs, opts ...InvokeOption) (*LookupSubsettingPolicySubsettingSchemaRelationResult, error)
func LookupSubsettingPolicySubsettingSchemaRelationOutput(ctx *Context, args *LookupSubsettingPolicySubsettingSchemaRelationOutputArgs, opts ...InvokeOption) LookupSubsettingPolicySubsettingSchemaRelationResultOutput> Note: This function is named LookupSubsettingPolicySubsettingSchemaRelation in the Go SDK.
public static class GetSubsettingPolicySubsettingSchemaRelation
{
public static Task<GetSubsettingPolicySubsettingSchemaRelationResult> InvokeAsync(GetSubsettingPolicySubsettingSchemaRelationArgs args, InvokeOptions? opts = null)
public static Output<GetSubsettingPolicySubsettingSchemaRelationResult> Invoke(GetSubsettingPolicySubsettingSchemaRelationInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetSubsettingPolicySubsettingSchemaRelationResult> Invoke(GetSubsettingPolicySubsettingSchemaRelationInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetSubsettingPolicySubsettingSchemaRelationResult> getSubsettingPolicySubsettingSchemaRelation(GetSubsettingPolicySubsettingSchemaRelationArgs args, InvokeOptions options)
public static Output<GetSubsettingPolicySubsettingSchemaRelationResult> getSubsettingPolicySubsettingSchemaRelation(GetSubsettingPolicySubsettingSchemaRelationArgs args, InvokeOptions options)
public static Output<GetSubsettingPolicySubsettingSchemaRelationResult> getSubsettingPolicySubsettingSchemaRelation(GetSubsettingPolicySubsettingSchemaRelationArgs args, InvokeOutputOptions options)
fn::invoke:
function: oci:DataSafe/getSubsettingPolicySubsettingSchemaRelation:getSubsettingPolicySubsettingSchemaRelation
arguments:
# arguments dictionarydata "oci_data_safe_get_subsetting_policy_subsetting_schema_relation" "name" {
# arguments
}The following arguments are supported:
- Subsetting
Policy stringId - The OCID of the subsetting policy.
- Subsetting
Schema stringRelation Key - The unique key that identifies the subsetting relation. It's numeric and unique within a subsetting policy.
- Subsetting
Policy stringId - The OCID of the subsetting policy.
- Subsetting
Schema stringRelation Key - The unique key that identifies the subsetting relation. It's numeric and unique within a subsetting policy.
- subsetting_
policy_ stringid - The OCID of the subsetting policy.
- subsetting_
schema_ stringrelation_ key - The unique key that identifies the subsetting relation. It's numeric and unique within a subsetting policy.
- subsetting
Policy StringId - The OCID of the subsetting policy.
- subsetting
Schema StringRelation Key - The unique key that identifies the subsetting relation. It's numeric and unique within a subsetting policy.
- subsetting
Policy stringId - The OCID of the subsetting policy.
- subsetting
Schema stringRelation Key - The unique key that identifies the subsetting relation. It's numeric and unique within a subsetting policy.
- subsetting_
policy_ strid - The OCID of the subsetting policy.
- subsetting_
schema_ strrelation_ key - The unique key that identifies the subsetting relation. It's numeric and unique within a subsetting policy.
- subsetting
Policy StringId - The OCID of the subsetting policy.
- subsetting
Schema StringRelation Key - The unique key that identifies the subsetting relation. It's numeric and unique within a subsetting policy.
getSubsettingPolicySubsettingSchemaRelation Result
The following output properties are available:
- Child
Columns List<string> - Unique identifiers identifying the child columns in the relation.
- Child
Object stringKey - The key that identifies the child subsetting table in this relation.
- Child
Object stringName - The name of the child subsetting table
- Child
Schema stringName - The database schema that contains the child subsetting table
- Id string
- Key string
- The unique key that identifies a relation between subsetting tables. The key is numeric and unique within a subsetting policy.
- Parent
Columns List<string> - Unique identifiers identifying the parents columns in the relation.
- Parent
Object stringKey - The key that identifies the parent subsetting table in this relation.
- Parent
Object stringName - The name of the parent subsetting table
- Parent
Schema stringName - The database schema that contains the parent subsetting table
- Relation
Type string - The type of referential relationship the column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
- Subsetting
Policy stringId - Subsetting
Schema stringRelation Key - Time
Created string - The date and time the subsetting relation was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the subsetting relation was last updated, in the format defined by RFC3339.
- Child
Columns []string - Unique identifiers identifying the child columns in the relation.
- Child
Object stringKey - The key that identifies the child subsetting table in this relation.
- Child
Object stringName - The name of the child subsetting table
- Child
Schema stringName - The database schema that contains the child subsetting table
- Id string
- Key string
- The unique key that identifies a relation between subsetting tables. The key is numeric and unique within a subsetting policy.
- Parent
Columns []string - Unique identifiers identifying the parents columns in the relation.
- Parent
Object stringKey - The key that identifies the parent subsetting table in this relation.
- Parent
Object stringName - The name of the parent subsetting table
- Parent
Schema stringName - The database schema that contains the parent subsetting table
- Relation
Type string - The type of referential relationship the column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
- Subsetting
Policy stringId - Subsetting
Schema stringRelation Key - Time
Created string - The date and time the subsetting relation was created, in the format defined by RFC3339.
- Time
Updated string - The date and time the subsetting relation was last updated, in the format defined by RFC3339.
- child_
columns list(string) - Unique identifiers identifying the child columns in the relation.
- child_
object_ stringkey - The key that identifies the child subsetting table in this relation.
- child_
object_ stringname - The name of the child subsetting table
- child_
schema_ stringname - The database schema that contains the child subsetting table
- id string
- key string
- The unique key that identifies a relation between subsetting tables. The key is numeric and unique within a subsetting policy.
- parent_
columns list(string) - Unique identifiers identifying the parents columns in the relation.
- parent_
object_ stringkey - The key that identifies the parent subsetting table in this relation.
- parent_
object_ stringname - The name of the parent subsetting table
- parent_
schema_ stringname - The database schema that contains the parent subsetting table
- relation_
type string - The type of referential relationship the column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
- subsetting_
policy_ stringid - subsetting_
schema_ stringrelation_ key - time_
created string - The date and time the subsetting relation was created, in the format defined by RFC3339.
- time_
updated string - The date and time the subsetting relation was last updated, in the format defined by RFC3339.
- child
Columns List<String> - Unique identifiers identifying the child columns in the relation.
- child
Object StringKey - The key that identifies the child subsetting table in this relation.
- child
Object StringName - The name of the child subsetting table
- child
Schema StringName - The database schema that contains the child subsetting table
- id String
- key String
- The unique key that identifies a relation between subsetting tables. The key is numeric and unique within a subsetting policy.
- parent
Columns List<String> - Unique identifiers identifying the parents columns in the relation.
- parent
Object StringKey - The key that identifies the parent subsetting table in this relation.
- parent
Object StringName - The name of the parent subsetting table
- parent
Schema StringName - The database schema that contains the parent subsetting table
- relation
Type String - The type of referential relationship the column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
- subsetting
Policy StringId - subsetting
Schema StringRelation Key - time
Created String - The date and time the subsetting relation was created, in the format defined by RFC3339.
- time
Updated String - The date and time the subsetting relation was last updated, in the format defined by RFC3339.
- child
Columns string[] - Unique identifiers identifying the child columns in the relation.
- child
Object stringKey - The key that identifies the child subsetting table in this relation.
- child
Object stringName - The name of the child subsetting table
- child
Schema stringName - The database schema that contains the child subsetting table
- id string
- key string
- The unique key that identifies a relation between subsetting tables. The key is numeric and unique within a subsetting policy.
- parent
Columns string[] - Unique identifiers identifying the parents columns in the relation.
- parent
Object stringKey - The key that identifies the parent subsetting table in this relation.
- parent
Object stringName - The name of the parent subsetting table
- parent
Schema stringName - The database schema that contains the parent subsetting table
- relation
Type string - The type of referential relationship the column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
- subsetting
Policy stringId - subsetting
Schema stringRelation Key - time
Created string - The date and time the subsetting relation was created, in the format defined by RFC3339.
- time
Updated string - The date and time the subsetting relation was last updated, in the format defined by RFC3339.
- child_
columns Sequence[str] - Unique identifiers identifying the child columns in the relation.
- child_
object_ strkey - The key that identifies the child subsetting table in this relation.
- child_
object_ strname - The name of the child subsetting table
- child_
schema_ strname - The database schema that contains the child subsetting table
- id str
- key str
- The unique key that identifies a relation between subsetting tables. The key is numeric and unique within a subsetting policy.
- parent_
columns Sequence[str] - Unique identifiers identifying the parents columns in the relation.
- parent_
object_ strkey - The key that identifies the parent subsetting table in this relation.
- parent_
object_ strname - The name of the parent subsetting table
- parent_
schema_ strname - The database schema that contains the parent subsetting table
- relation_
type str - The type of referential relationship the column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
- subsetting_
policy_ strid - subsetting_
schema_ strrelation_ key - time_
created str - The date and time the subsetting relation was created, in the format defined by RFC3339.
- time_
updated str - The date and time the subsetting relation was last updated, in the format defined by RFC3339.
- child
Columns List<String> - Unique identifiers identifying the child columns in the relation.
- child
Object StringKey - The key that identifies the child subsetting table in this relation.
- child
Object StringName - The name of the child subsetting table
- child
Schema StringName - The database schema that contains the child subsetting table
- id String
- key String
- The unique key that identifies a relation between subsetting tables. The key is numeric and unique within a subsetting policy.
- parent
Columns List<String> - Unique identifiers identifying the parents columns in the relation.
- parent
Object StringKey - The key that identifies the parent subsetting table in this relation.
- parent
Object StringName - The name of the parent subsetting table
- parent
Schema StringName - The database schema that contains the parent subsetting table
- relation
Type String - The type of referential relationship the column has with its parent. NONE indicates that the sensitive column does not have a parent. DB_DEFINED indicates that the relationship is defined in the database dictionary. APP_DEFINED indicates that the relationship is defined at the application level and not in the database dictionary.
- subsetting
Policy StringId - subsetting
Schema StringRelation Key - time
Created String - The date and time the subsetting relation was created, in the format defined by RFC3339.
- time
Updated String - The date and time the subsetting relation was last updated, in the format defined by RFC3339.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi