published on Thursday, Oct 22, 2026 by Pulumi
published on Thursday, Oct 22, 2026 by Pulumi
This resource provides the Subsetting Policy Subsetting Schema Relation resource in Oracle Cloud Infrastructure Data Safe service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-safe/latest/SubsettingSchemaRelation
Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datasafe
Details to create a new referential relation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSubsettingPolicySubsettingSchemaRelation = new oci.datasafe.SubsettingPolicySubsettingSchemaRelation("test_subsetting_policy_subsetting_schema_relation", {
childColumns: subsettingPolicySubsettingSchemaRelationChildColumns,
childObjectName: testObject.name,
childSchemaName: subsettingPolicySubsettingSchemaRelationChildSchemaName,
parentColumns: subsettingPolicySubsettingSchemaRelationParentColumns,
parentObjectName: testObject.name,
parentSchemaName: subsettingPolicySubsettingSchemaRelationParentSchemaName,
subsettingPolicyId: testSubsettingPolicy.id,
childObjectKey: subsettingPolicySubsettingSchemaRelationChildObjectKey,
parentObjectKey: subsettingPolicySubsettingSchemaRelationParentObjectKey,
});
import pulumi
import pulumi_oci as oci
test_subsetting_policy_subsetting_schema_relation = oci.datasafe.SubsettingPolicySubsettingSchemaRelation("test_subsetting_policy_subsetting_schema_relation",
child_columns=subsetting_policy_subsetting_schema_relation_child_columns,
child_object_name=test_object["name"],
child_schema_name=subsetting_policy_subsetting_schema_relation_child_schema_name,
parent_columns=subsetting_policy_subsetting_schema_relation_parent_columns,
parent_object_name=test_object["name"],
parent_schema_name=subsetting_policy_subsetting_schema_relation_parent_schema_name,
subsetting_policy_id=test_subsetting_policy["id"],
child_object_key=subsetting_policy_subsetting_schema_relation_child_object_key,
parent_object_key=subsetting_policy_subsetting_schema_relation_parent_object_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.NewSubsettingPolicySubsettingSchemaRelation(ctx, "test_subsetting_policy_subsetting_schema_relation", &datasafe.SubsettingPolicySubsettingSchemaRelationArgs{
ChildColumns: pulumi.Any(subsettingPolicySubsettingSchemaRelationChildColumns),
ChildObjectName: pulumi.Any(testObject.Name),
ChildSchemaName: pulumi.Any(subsettingPolicySubsettingSchemaRelationChildSchemaName),
ParentColumns: pulumi.Any(subsettingPolicySubsettingSchemaRelationParentColumns),
ParentObjectName: pulumi.Any(testObject.Name),
ParentSchemaName: pulumi.Any(subsettingPolicySubsettingSchemaRelationParentSchemaName),
SubsettingPolicyId: pulumi.Any(testSubsettingPolicy.Id),
ChildObjectKey: pulumi.Any(subsettingPolicySubsettingSchemaRelationChildObjectKey),
ParentObjectKey: pulumi.Any(subsettingPolicySubsettingSchemaRelationParentObjectKey),
})
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 = new Oci.DataSafe.SubsettingPolicySubsettingSchemaRelation("test_subsetting_policy_subsetting_schema_relation", new()
{
ChildColumns = subsettingPolicySubsettingSchemaRelationChildColumns,
ChildObjectName = testObject.Name,
ChildSchemaName = subsettingPolicySubsettingSchemaRelationChildSchemaName,
ParentColumns = subsettingPolicySubsettingSchemaRelationParentColumns,
ParentObjectName = testObject.Name,
ParentSchemaName = subsettingPolicySubsettingSchemaRelationParentSchemaName,
SubsettingPolicyId = testSubsettingPolicy.Id,
ChildObjectKey = subsettingPolicySubsettingSchemaRelationChildObjectKey,
ParentObjectKey = subsettingPolicySubsettingSchemaRelationParentObjectKey,
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.SubsettingPolicySubsettingSchemaRelation;
import com.pulumi.oci.DataSafe.SubsettingPolicySubsettingSchemaRelationArgs;
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) {
var testSubsettingPolicySubsettingSchemaRelation = new SubsettingPolicySubsettingSchemaRelation("testSubsettingPolicySubsettingSchemaRelation", SubsettingPolicySubsettingSchemaRelationArgs.builder()
.childColumns(subsettingPolicySubsettingSchemaRelationChildColumns)
.childObjectName(testObject.get("name"))
.childSchemaName(subsettingPolicySubsettingSchemaRelationChildSchemaName)
.parentColumns(subsettingPolicySubsettingSchemaRelationParentColumns)
.parentObjectName(testObject.get("name"))
.parentSchemaName(subsettingPolicySubsettingSchemaRelationParentSchemaName)
.subsettingPolicyId(testSubsettingPolicy.get("id"))
.childObjectKey(subsettingPolicySubsettingSchemaRelationChildObjectKey)
.parentObjectKey(subsettingPolicySubsettingSchemaRelationParentObjectKey)
.build());
}
}
resources:
testSubsettingPolicySubsettingSchemaRelation:
type: oci:DataSafe:SubsettingPolicySubsettingSchemaRelation
name: test_subsetting_policy_subsetting_schema_relation
properties:
childColumns: ${subsettingPolicySubsettingSchemaRelationChildColumns}
childObjectName: ${testObject.name}
childSchemaName: ${subsettingPolicySubsettingSchemaRelationChildSchemaName}
parentColumns: ${subsettingPolicySubsettingSchemaRelationParentColumns}
parentObjectName: ${testObject.name}
parentSchemaName: ${subsettingPolicySubsettingSchemaRelationParentSchemaName}
subsettingPolicyId: ${testSubsettingPolicy.id}
childObjectKey: ${subsettingPolicySubsettingSchemaRelationChildObjectKey}
parentObjectKey: ${subsettingPolicySubsettingSchemaRelationParentObjectKey}
terraform {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
resource "oci_data_safe_subsetting_policy_subsetting_schema_relation" "test_subsetting_policy_subsetting_schema_relation" {
lifecycle {
create_before_destroy = true
}
child_columns = subsettingPolicySubsettingSchemaRelationChildColumns
child_object_name = testObject.name
child_schema_name = subsettingPolicySubsettingSchemaRelationChildSchemaName
parent_columns = subsettingPolicySubsettingSchemaRelationParentColumns
parent_object_name = testObject.name
parent_schema_name = subsettingPolicySubsettingSchemaRelationParentSchemaName
subsetting_policy_id = testSubsettingPolicy.id
child_object_key = subsettingPolicySubsettingSchemaRelationChildObjectKey
parent_object_key = subsettingPolicySubsettingSchemaRelationParentObjectKey
}
Create SubsettingPolicySubsettingSchemaRelation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SubsettingPolicySubsettingSchemaRelation(name: string, args: SubsettingPolicySubsettingSchemaRelationArgs, opts?: CustomResourceOptions);@overload
def SubsettingPolicySubsettingSchemaRelation(resource_name: str,
args: SubsettingPolicySubsettingSchemaRelationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SubsettingPolicySubsettingSchemaRelation(resource_name: str,
opts: Optional[ResourceOptions] = None,
child_columns: Optional[Sequence[str]] = None,
child_object_name: Optional[str] = None,
child_schema_name: Optional[str] = None,
parent_columns: Optional[Sequence[str]] = None,
parent_object_name: Optional[str] = None,
parent_schema_name: Optional[str] = None,
subsetting_policy_id: Optional[str] = None,
child_object_key: Optional[str] = None,
parent_object_key: Optional[str] = None)func NewSubsettingPolicySubsettingSchemaRelation(ctx *Context, name string, args SubsettingPolicySubsettingSchemaRelationArgs, opts ...ResourceOption) (*SubsettingPolicySubsettingSchemaRelation, error)public SubsettingPolicySubsettingSchemaRelation(string name, SubsettingPolicySubsettingSchemaRelationArgs args, CustomResourceOptions? opts = null)
public SubsettingPolicySubsettingSchemaRelation(String name, SubsettingPolicySubsettingSchemaRelationArgs args)
public SubsettingPolicySubsettingSchemaRelation(String name, SubsettingPolicySubsettingSchemaRelationArgs args, CustomResourceOptions options)
type: oci:DataSafe:SubsettingPolicySubsettingSchemaRelation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "oci_data_safe_subsetting_policy_subsetting_schema_relation" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SubsettingPolicySubsettingSchemaRelationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SubsettingPolicySubsettingSchemaRelationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SubsettingPolicySubsettingSchemaRelationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SubsettingPolicySubsettingSchemaRelationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SubsettingPolicySubsettingSchemaRelationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var subsettingPolicySubsettingSchemaRelationResource = new Oci.DataSafe.SubsettingPolicySubsettingSchemaRelation("subsettingPolicySubsettingSchemaRelationResource", new()
{
ChildColumns = new[]
{
"string",
},
ChildObjectName = "string",
ChildSchemaName = "string",
ParentColumns = new[]
{
"string",
},
ParentObjectName = "string",
ParentSchemaName = "string",
SubsettingPolicyId = "string",
ChildObjectKey = "string",
ParentObjectKey = "string",
});
example, err := datasafe.NewSubsettingPolicySubsettingSchemaRelation(ctx, "subsettingPolicySubsettingSchemaRelationResource", &datasafe.SubsettingPolicySubsettingSchemaRelationArgs{
ChildColumns: pulumi.StringArray{
pulumi.String("string"),
},
ChildObjectName: pulumi.String("string"),
ChildSchemaName: pulumi.String("string"),
ParentColumns: pulumi.StringArray{
pulumi.String("string"),
},
ParentObjectName: pulumi.String("string"),
ParentSchemaName: pulumi.String("string"),
SubsettingPolicyId: pulumi.String("string"),
ChildObjectKey: pulumi.String("string"),
ParentObjectKey: pulumi.String("string"),
})
resource "oci_data_safe_subsetting_policy_subsetting_schema_relation" "subsettingPolicySubsettingSchemaRelationResource" {
lifecycle {
create_before_destroy = true
}
child_columns = ["string"]
child_object_name = "string"
child_schema_name = "string"
parent_columns = ["string"]
parent_object_name = "string"
parent_schema_name = "string"
subsetting_policy_id = "string"
child_object_key = "string"
parent_object_key = "string"
}
var subsettingPolicySubsettingSchemaRelationResource = new SubsettingPolicySubsettingSchemaRelation("subsettingPolicySubsettingSchemaRelationResource", SubsettingPolicySubsettingSchemaRelationArgs.builder()
.childColumns("string")
.childObjectName("string")
.childSchemaName("string")
.parentColumns("string")
.parentObjectName("string")
.parentSchemaName("string")
.subsettingPolicyId("string")
.childObjectKey("string")
.parentObjectKey("string")
.build());
subsetting_policy_subsetting_schema_relation_resource = oci.datasafe.SubsettingPolicySubsettingSchemaRelation("subsettingPolicySubsettingSchemaRelationResource",
child_columns=["string"],
child_object_name="string",
child_schema_name="string",
parent_columns=["string"],
parent_object_name="string",
parent_schema_name="string",
subsetting_policy_id="string",
child_object_key="string",
parent_object_key="string")
const subsettingPolicySubsettingSchemaRelationResource = new oci.datasafe.SubsettingPolicySubsettingSchemaRelation("subsettingPolicySubsettingSchemaRelationResource", {
childColumns: ["string"],
childObjectName: "string",
childSchemaName: "string",
parentColumns: ["string"],
parentObjectName: "string",
parentSchemaName: "string",
subsettingPolicyId: "string",
childObjectKey: "string",
parentObjectKey: "string",
});
type: oci:DataSafe:SubsettingPolicySubsettingSchemaRelation
properties:
childColumns:
- string
childObjectKey: string
childObjectName: string
childSchemaName: string
parentColumns:
- string
parentObjectKey: string
parentObjectName: string
parentSchemaName: string
subsettingPolicyId: string
SubsettingPolicySubsettingSchemaRelation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The SubsettingPolicySubsettingSchemaRelation resource accepts the following input properties:
- Child
Columns List<string> - Unique identifiers identifying the child columns in the relation.
- Child
Object stringName - The name of the child subsetting table
- Child
Schema stringName - The database schema that contains the child subsetting table
- Parent
Columns List<string> - Unique identifiers identifying the parents columns in the relation.
- Parent
Object stringName - The name of the parent subsetting table
- Parent
Schema stringName - The database schema that contains the parent subsetting table
- Subsetting
Policy stringId The OCID of the subsetting policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Child
Object stringKey - The key that identifies the child subsetting table in this relation.
- Parent
Object stringKey - The key that identifies the parent subsetting table in this relation.
- Child
Columns []string - Unique identifiers identifying the child columns in the relation.
- Child
Object stringName - The name of the child subsetting table
- Child
Schema stringName - The database schema that contains the child subsetting table
- Parent
Columns []string - Unique identifiers identifying the parents columns in the relation.
- Parent
Object stringName - The name of the parent subsetting table
- Parent
Schema stringName - The database schema that contains the parent subsetting table
- Subsetting
Policy stringId The OCID of the subsetting policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Child
Object stringKey - The key that identifies the child subsetting table in this relation.
- Parent
Object stringKey - The key that identifies the parent subsetting table in this relation.
- child_
columns list(string) - Unique identifiers identifying the child columns in the relation.
- child_
object_ stringname - The name of the child subsetting table
- child_
schema_ stringname - The database schema that contains the child subsetting table
- parent_
columns list(string) - Unique identifiers identifying the parents columns in the relation.
- parent_
object_ stringname - The name of the parent subsetting table
- parent_
schema_ stringname - The database schema that contains the parent subsetting table
- subsetting_
policy_ stringid The OCID of the subsetting policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- child_
object_ stringkey - The key that identifies the child subsetting table in this relation.
- parent_
object_ stringkey - The key that identifies the parent subsetting table in this relation.
- child
Columns List<String> - Unique identifiers identifying the child columns in the relation.
- child
Object StringName - The name of the child subsetting table
- child
Schema StringName - The database schema that contains the child subsetting table
- parent
Columns List<String> - Unique identifiers identifying the parents columns in the relation.
- parent
Object StringName - The name of the parent subsetting table
- parent
Schema StringName - The database schema that contains the parent subsetting table
- subsetting
Policy StringId The OCID of the subsetting policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- child
Object StringKey - The key that identifies the child subsetting table in this relation.
- parent
Object StringKey - The key that identifies the parent subsetting table in this relation.
- child
Columns string[] - Unique identifiers identifying the child columns in the relation.
- child
Object stringName - The name of the child subsetting table
- child
Schema stringName - The database schema that contains the child subsetting table
- parent
Columns string[] - Unique identifiers identifying the parents columns in the relation.
- parent
Object stringName - The name of the parent subsetting table
- parent
Schema stringName - The database schema that contains the parent subsetting table
- subsetting
Policy stringId The OCID of the subsetting policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- child
Object stringKey - The key that identifies the child subsetting table in this relation.
- parent
Object stringKey - The key that identifies the parent subsetting table in this relation.
- child_
columns Sequence[str] - Unique identifiers identifying the child columns in the relation.
- child_
object_ strname - The name of the child subsetting table
- child_
schema_ strname - The database schema that contains the child subsetting table
- parent_
columns Sequence[str] - Unique identifiers identifying the parents columns in the relation.
- parent_
object_ strname - The name of the parent subsetting table
- parent_
schema_ strname - The database schema that contains the parent subsetting table
- subsetting_
policy_ strid The OCID of the subsetting policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- child_
object_ strkey - The key that identifies the child subsetting table in this relation.
- parent_
object_ strkey - The key that identifies the parent subsetting table in this relation.
- child
Columns List<String> - Unique identifiers identifying the child columns in the relation.
- child
Object StringName - The name of the child subsetting table
- child
Schema StringName - The database schema that contains the child subsetting table
- parent
Columns List<String> - Unique identifiers identifying the parents columns in the relation.
- parent
Object StringName - The name of the parent subsetting table
- parent
Schema StringName - The database schema that contains the parent subsetting table
- subsetting
Policy StringId The OCID of the subsetting policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- child
Object StringKey - The key that identifies the child subsetting table in this relation.
- parent
Object StringKey - The key that identifies the parent subsetting table in this relation.
Outputs
All input properties are implicitly available as output properties. Additionally, the SubsettingPolicySubsettingSchemaRelation resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Key string
- The unique key that identifies a relation between subsetting tables. The key is numeric and unique within a subsetting policy.
- 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.
- 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.
- Id string
- The provider-assigned unique ID for this managed resource.
- Key string
- The unique key that identifies a relation between subsetting tables. The key is numeric and unique within a subsetting policy.
- 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.
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- key string
- The unique key that identifies a relation between subsetting tables. The key is numeric and unique within a subsetting policy.
- 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.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- key String
- The unique key that identifies a relation between subsetting tables. The key is numeric and unique within a subsetting policy.
- 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.
- 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.
- id string
- The provider-assigned unique ID for this managed resource.
- key string
- The unique key that identifies a relation between subsetting tables. The key is numeric and unique within a subsetting policy.
- 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.
- 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.
- id str
- The provider-assigned unique ID for this managed resource.
- key str
- The unique key that identifies a relation between subsetting tables. The key is numeric and unique within a subsetting policy.
- 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.
- 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.
- id String
- The provider-assigned unique ID for this managed resource.
- key String
- The unique key that identifies a relation between subsetting tables. The key is numeric and unique within a subsetting policy.
- 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.
- 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.
Look up Existing SubsettingPolicySubsettingSchemaRelation Resource
Get an existing SubsettingPolicySubsettingSchemaRelation resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: SubsettingPolicySubsettingSchemaRelationState, opts?: CustomResourceOptions): SubsettingPolicySubsettingSchemaRelation@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
child_columns: Optional[Sequence[str]] = None,
child_object_key: Optional[str] = None,
child_object_name: Optional[str] = None,
child_schema_name: Optional[str] = None,
key: Optional[str] = None,
parent_columns: Optional[Sequence[str]] = None,
parent_object_key: Optional[str] = None,
parent_object_name: Optional[str] = None,
parent_schema_name: Optional[str] = None,
relation_type: Optional[str] = None,
subsetting_policy_id: Optional[str] = None,
time_created: Optional[str] = None,
time_updated: Optional[str] = None) -> SubsettingPolicySubsettingSchemaRelationfunc GetSubsettingPolicySubsettingSchemaRelation(ctx *Context, name string, id IDInput, state *SubsettingPolicySubsettingSchemaRelationState, opts ...ResourceOption) (*SubsettingPolicySubsettingSchemaRelation, error)public static SubsettingPolicySubsettingSchemaRelation Get(string name, Input<string> id, SubsettingPolicySubsettingSchemaRelationState? state, CustomResourceOptions? opts = null)public static SubsettingPolicySubsettingSchemaRelation get(String name, Output<String> id, SubsettingPolicySubsettingSchemaRelationState state, CustomResourceOptions options)resources: _: type: oci:DataSafe:SubsettingPolicySubsettingSchemaRelation get: id: ${id}import {
to = oci_data_safe_subsetting_policy_subsetting_schema_relation.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- 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
- 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 The OCID of the subsetting policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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
- 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 The OCID of the subsetting policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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
- 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 The OCID of the subsetting policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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
- 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 The OCID of the subsetting policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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
- 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 The OCID of the subsetting policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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
- 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 The OCID of the subsetting policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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
- 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 The OCID of the subsetting policy.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- 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.
Import
SubsettingPolicySubsettingSchemaRelations can be imported using the id, e.g.
$ pulumi import oci:DataSafe/subsettingPolicySubsettingSchemaRelation:SubsettingPolicySubsettingSchemaRelation test_subsetting_policy_subsetting_schema_relation "subsettingPolicies/{subsettingPolicyId}/subsettingSchemaRelations/{subsettingSchemaRelationKey}"
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
published on Thursday, Oct 22, 2026 by Pulumi