published on Thursday, Oct 22, 2026 by Pulumi
published on Thursday, Oct 22, 2026 by Pulumi
This resource starts an asynchronous data subsetting operation in Oracle Cloud Infrastructure Data Safe.
The resource is an action resource: it starts the operation during creation and is intentionally non-deletable. Configure the subsetting policy and rules before creating it.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSubsetData = new oci.datasafe.SubsetData("test_subset_data", {
subsettingPolicyId: testSubsettingPolicy.id,
targetId: targetId,
targetCredentials: {
userName: targetDatabaseUserName,
password: targetDatabasePassword,
},
}, {
dependsOn: [testSubsettingPolicySubsettingRule],
});
import pulumi
import pulumi_oci as oci
test_subset_data = oci.datasafe.SubsetData("test_subset_data",
subsetting_policy_id=test_subsetting_policy["id"],
target_id=target_id,
target_credentials={
"user_name": target_database_user_name,
"password": target_database_password,
},
opts = pulumi.ResourceOptions(depends_on=[test_subsetting_policy_subsetting_rule]))
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.NewSubsetData(ctx, "test_subset_data", &datasafe.SubsetDataArgs{
SubsettingPolicyId: pulumi.Any(testSubsettingPolicy.Id),
TargetId: pulumi.Any(targetId),
TargetCredentials: &datasafe.SubsetDataTargetCredentialsArgs{
UserName: pulumi.Any(targetDatabaseUserName),
Password: pulumi.Any(targetDatabasePassword),
},
}, pulumi.DependsOn([]pulumi.Resource{
testSubsettingPolicySubsettingRule,
}))
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 testSubsetData = new Oci.DataSafe.SubsetData("test_subset_data", new()
{
SubsettingPolicyId = testSubsettingPolicy.Id,
TargetId = targetId,
TargetCredentials = new Oci.DataSafe.Inputs.SubsetDataTargetCredentialsArgs
{
UserName = targetDatabaseUserName,
Password = targetDatabasePassword,
},
}, new CustomResourceOptions
{
DependsOn =
{
testSubsettingPolicySubsettingRule,
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.DataSafe.SubsetData;
import com.pulumi.oci.DataSafe.SubsetDataArgs;
import com.pulumi.oci.DataSafe.inputs.SubsetDataTargetCredentialsArgs;
import com.pulumi.resources.CustomResourceOptions;
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 testSubsetData = new SubsetData("testSubsetData", SubsetDataArgs.builder()
.subsettingPolicyId(testSubsettingPolicy.get("id"))
.targetId(targetId)
.targetCredentials(SubsetDataTargetCredentialsArgs.builder()
.userName(targetDatabaseUserName)
.password(targetDatabasePassword)
.build())
.build(), CustomResourceOptions.builder()
.dependsOn(testSubsettingPolicySubsettingRule)
.build());
}
}
resources:
testSubsetData:
type: oci:DataSafe:SubsetData
name: test_subset_data
properties:
subsettingPolicyId: ${testSubsettingPolicy.id}
targetId: ${targetId}
targetCredentials:
userName: ${targetDatabaseUserName}
password: ${targetDatabasePassword}
options:
dependsOn:
- ${testSubsettingPolicySubsettingRule}
terraform {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
resource "oci_data_safe_subset_data" "test_subset_data" {
depends_on = [testSubsettingPolicySubsettingRule]
lifecycle {
create_before_destroy = true
}
subsetting_policy_id = testSubsettingPolicy.id
target_id = targetId
target_credentials = {
user_name = targetDatabaseUserName
password = targetDatabasePassword
}
}
Create SubsetData Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SubsetData(name: string, args: SubsetDataArgs, opts?: CustomResourceOptions);@overload
def SubsetData(resource_name: str,
args: SubsetDataArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SubsetData(resource_name: str,
opts: Optional[ResourceOptions] = None,
subsetting_policy_id: Optional[str] = None,
target_credentials: Optional[SubsetDataTargetCredentialsArgs] = None,
is_redo_logging_enabled: Optional[bool] = None,
is_refresh_stats_enabled: Optional[bool] = None,
is_rerun: Optional[bool] = None,
masking: Optional[str] = None,
parallel_degree: Optional[str] = None,
re_run_from_step: Optional[str] = None,
recompile: Optional[str] = None,
tablespace: Optional[str] = None,
target_id: Optional[str] = None)func NewSubsetData(ctx *Context, name string, args SubsetDataArgs, opts ...ResourceOption) (*SubsetData, error)public SubsetData(string name, SubsetDataArgs args, CustomResourceOptions? opts = null)
public SubsetData(String name, SubsetDataArgs args)
public SubsetData(String name, SubsetDataArgs args, CustomResourceOptions options)
type: oci:DataSafe:SubsetData
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "oci_data_safe_subset_data" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SubsetDataArgs
- 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 SubsetDataArgs
- 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 SubsetDataArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SubsetDataArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SubsetDataArgs
- 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 subsetDataResource = new Oci.DataSafe.SubsetData("subsetDataResource", new()
{
SubsettingPolicyId = "string",
TargetCredentials = new Oci.DataSafe.Inputs.SubsetDataTargetCredentialsArgs
{
Password = "string",
UserName = "string",
},
IsRedoLoggingEnabled = false,
IsRefreshStatsEnabled = false,
IsRerun = false,
Masking = "string",
ParallelDegree = "string",
ReRunFromStep = "string",
Recompile = "string",
Tablespace = "string",
TargetId = "string",
});
example, err := datasafe.NewSubsetData(ctx, "subsetDataResource", &datasafe.SubsetDataArgs{
SubsettingPolicyId: pulumi.String("string"),
TargetCredentials: &datasafe.SubsetDataTargetCredentialsArgs{
Password: pulumi.String("string"),
UserName: pulumi.String("string"),
},
IsRedoLoggingEnabled: pulumi.Bool(false),
IsRefreshStatsEnabled: pulumi.Bool(false),
IsRerun: pulumi.Bool(false),
Masking: pulumi.String("string"),
ParallelDegree: pulumi.String("string"),
ReRunFromStep: pulumi.String("string"),
Recompile: pulumi.String("string"),
Tablespace: pulumi.String("string"),
TargetId: pulumi.String("string"),
})
resource "oci_data_safe_subset_data" "subsetDataResource" {
lifecycle {
create_before_destroy = true
}
subsetting_policy_id = "string"
target_credentials = {
password = "string"
user_name = "string"
}
is_redo_logging_enabled = false
is_refresh_stats_enabled = false
is_rerun = false
masking = "string"
parallel_degree = "string"
re_run_from_step = "string"
recompile = "string"
tablespace = "string"
target_id = "string"
}
var subsetDataResource = new SubsetData("subsetDataResource", SubsetDataArgs.builder()
.subsettingPolicyId("string")
.targetCredentials(SubsetDataTargetCredentialsArgs.builder()
.password("string")
.userName("string")
.build())
.isRedoLoggingEnabled(false)
.isRefreshStatsEnabled(false)
.isRerun(false)
.masking("string")
.parallelDegree("string")
.reRunFromStep("string")
.recompile("string")
.tablespace("string")
.targetId("string")
.build());
subset_data_resource = oci.datasafe.SubsetData("subsetDataResource",
subsetting_policy_id="string",
target_credentials={
"password": "string",
"user_name": "string",
},
is_redo_logging_enabled=False,
is_refresh_stats_enabled=False,
is_rerun=False,
masking="string",
parallel_degree="string",
re_run_from_step="string",
recompile="string",
tablespace="string",
target_id="string")
const subsetDataResource = new oci.datasafe.SubsetData("subsetDataResource", {
subsettingPolicyId: "string",
targetCredentials: {
password: "string",
userName: "string",
},
isRedoLoggingEnabled: false,
isRefreshStatsEnabled: false,
isRerun: false,
masking: "string",
parallelDegree: "string",
reRunFromStep: "string",
recompile: "string",
tablespace: "string",
targetId: "string",
});
type: oci:DataSafe:SubsetData
properties:
isRedoLoggingEnabled: false
isRefreshStatsEnabled: false
isRerun: false
masking: string
parallelDegree: string
reRunFromStep: string
recompile: string
subsettingPolicyId: string
tablespace: string
targetCredentials:
password: string
userName: string
targetId: string
SubsetData 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 SubsetData resource accepts the following input properties:
- Subsetting
Policy stringId - The OCID of the subsetting policy.
- Target
Credentials SubsetData Target Credentials - Credentials for connecting to the target database.
- Is
Redo boolLogging Enabled - Whether redo logging is enabled during the subsetting operation.
- Is
Refresh boolStats Enabled - Whether statistics gathering is enabled after the subsetting operation.
- Is
Rerun bool - Whether to rerun a previously started subsetting operation.
- Masking string
- Whether masking is enabled during subsetting. Allowed values are
ENABLEDandDISABLED. - Parallel
Degree string - The degree of parallel execution used during subsetting. Use
NONE,DEFAULT, or an integer value. - Re
Run stringFrom Step - The step from which to rerun the operation. Allowed values are
PRE_SUBSETTING_SCRIPTandPOST_SUBSETTING_SCRIPT. - Recompile string
- How invalid objects are recompiled after subsetting. Allowed values are
SERIAL,PARALLEL, andNONE. - Tablespace string
- The tablespace used for the subsetting operation.
- Target
Id string - The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
- Subsetting
Policy stringId - The OCID of the subsetting policy.
- Target
Credentials SubsetData Target Credentials Args - Credentials for connecting to the target database.
- Is
Redo boolLogging Enabled - Whether redo logging is enabled during the subsetting operation.
- Is
Refresh boolStats Enabled - Whether statistics gathering is enabled after the subsetting operation.
- Is
Rerun bool - Whether to rerun a previously started subsetting operation.
- Masking string
- Whether masking is enabled during subsetting. Allowed values are
ENABLEDandDISABLED. - Parallel
Degree string - The degree of parallel execution used during subsetting. Use
NONE,DEFAULT, or an integer value. - Re
Run stringFrom Step - The step from which to rerun the operation. Allowed values are
PRE_SUBSETTING_SCRIPTandPOST_SUBSETTING_SCRIPT. - Recompile string
- How invalid objects are recompiled after subsetting. Allowed values are
SERIAL,PARALLEL, andNONE. - Tablespace string
- The tablespace used for the subsetting operation.
- Target
Id string - The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
- subsetting_
policy_ stringid - The OCID of the subsetting policy.
- target_
credentials object - Credentials for connecting to the target database.
- is_
redo_ boollogging_ enabled - Whether redo logging is enabled during the subsetting operation.
- is_
refresh_ boolstats_ enabled - Whether statistics gathering is enabled after the subsetting operation.
- is_
rerun bool - Whether to rerun a previously started subsetting operation.
- masking string
- Whether masking is enabled during subsetting. Allowed values are
ENABLEDandDISABLED. - parallel_
degree string - The degree of parallel execution used during subsetting. Use
NONE,DEFAULT, or an integer value. - re_
run_ stringfrom_ step - The step from which to rerun the operation. Allowed values are
PRE_SUBSETTING_SCRIPTandPOST_SUBSETTING_SCRIPT. - recompile string
- How invalid objects are recompiled after subsetting. Allowed values are
SERIAL,PARALLEL, andNONE. - tablespace string
- The tablespace used for the subsetting operation.
- target_
id string - The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
- subsetting
Policy StringId - The OCID of the subsetting policy.
- target
Credentials SubsetData Target Credentials - Credentials for connecting to the target database.
- is
Redo BooleanLogging Enabled - Whether redo logging is enabled during the subsetting operation.
- is
Refresh BooleanStats Enabled - Whether statistics gathering is enabled after the subsetting operation.
- is
Rerun Boolean - Whether to rerun a previously started subsetting operation.
- masking String
- Whether masking is enabled during subsetting. Allowed values are
ENABLEDandDISABLED. - parallel
Degree String - The degree of parallel execution used during subsetting. Use
NONE,DEFAULT, or an integer value. - re
Run StringFrom Step - The step from which to rerun the operation. Allowed values are
PRE_SUBSETTING_SCRIPTandPOST_SUBSETTING_SCRIPT. - recompile String
- How invalid objects are recompiled after subsetting. Allowed values are
SERIAL,PARALLEL, andNONE. - tablespace String
- The tablespace used for the subsetting operation.
- target
Id String - The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
- subsetting
Policy stringId - The OCID of the subsetting policy.
- target
Credentials SubsetData Target Credentials - Credentials for connecting to the target database.
- is
Redo booleanLogging Enabled - Whether redo logging is enabled during the subsetting operation.
- is
Refresh booleanStats Enabled - Whether statistics gathering is enabled after the subsetting operation.
- is
Rerun boolean - Whether to rerun a previously started subsetting operation.
- masking string
- Whether masking is enabled during subsetting. Allowed values are
ENABLEDandDISABLED. - parallel
Degree string - The degree of parallel execution used during subsetting. Use
NONE,DEFAULT, or an integer value. - re
Run stringFrom Step - The step from which to rerun the operation. Allowed values are
PRE_SUBSETTING_SCRIPTandPOST_SUBSETTING_SCRIPT. - recompile string
- How invalid objects are recompiled after subsetting. Allowed values are
SERIAL,PARALLEL, andNONE. - tablespace string
- The tablespace used for the subsetting operation.
- target
Id string - The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
- subsetting_
policy_ strid - The OCID of the subsetting policy.
- target_
credentials SubsetData Target Credentials Args - Credentials for connecting to the target database.
- is_
redo_ boollogging_ enabled - Whether redo logging is enabled during the subsetting operation.
- is_
refresh_ boolstats_ enabled - Whether statistics gathering is enabled after the subsetting operation.
- is_
rerun bool - Whether to rerun a previously started subsetting operation.
- masking str
- Whether masking is enabled during subsetting. Allowed values are
ENABLEDandDISABLED. - parallel_
degree str - The degree of parallel execution used during subsetting. Use
NONE,DEFAULT, or an integer value. - re_
run_ strfrom_ step - The step from which to rerun the operation. Allowed values are
PRE_SUBSETTING_SCRIPTandPOST_SUBSETTING_SCRIPT. - recompile str
- How invalid objects are recompiled after subsetting. Allowed values are
SERIAL,PARALLEL, andNONE. - tablespace str
- The tablespace used for the subsetting operation.
- target_
id str - The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
- subsetting
Policy StringId - The OCID of the subsetting policy.
- target
Credentials Property Map - Credentials for connecting to the target database.
- is
Redo BooleanLogging Enabled - Whether redo logging is enabled during the subsetting operation.
- is
Refresh BooleanStats Enabled - Whether statistics gathering is enabled after the subsetting operation.
- is
Rerun Boolean - Whether to rerun a previously started subsetting operation.
- masking String
- Whether masking is enabled during subsetting. Allowed values are
ENABLEDandDISABLED. - parallel
Degree String - The degree of parallel execution used during subsetting. Use
NONE,DEFAULT, or an integer value. - re
Run StringFrom Step - The step from which to rerun the operation. Allowed values are
PRE_SUBSETTING_SCRIPTandPOST_SUBSETTING_SCRIPT. - recompile String
- How invalid objects are recompiled after subsetting. Allowed values are
SERIAL,PARALLEL, andNONE. - tablespace String
- The tablespace used for the subsetting operation.
- target
Id String - The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
Outputs
All input properties are implicitly available as output properties. Additionally, the SubsetData resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing SubsetData Resource
Get an existing SubsetData 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?: SubsetDataState, opts?: CustomResourceOptions): SubsetData@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
is_redo_logging_enabled: Optional[bool] = None,
is_refresh_stats_enabled: Optional[bool] = None,
is_rerun: Optional[bool] = None,
masking: Optional[str] = None,
parallel_degree: Optional[str] = None,
re_run_from_step: Optional[str] = None,
recompile: Optional[str] = None,
subsetting_policy_id: Optional[str] = None,
tablespace: Optional[str] = None,
target_credentials: Optional[SubsetDataTargetCredentialsArgs] = None,
target_id: Optional[str] = None) -> SubsetDatafunc GetSubsetData(ctx *Context, name string, id IDInput, state *SubsetDataState, opts ...ResourceOption) (*SubsetData, error)public static SubsetData Get(string name, Input<string> id, SubsetDataState? state, CustomResourceOptions? opts = null)public static SubsetData get(String name, Output<String> id, SubsetDataState state, CustomResourceOptions options)resources: _: type: oci:DataSafe:SubsetData get: id: ${id}import {
to = oci_data_safe_subset_data.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.
- Is
Redo boolLogging Enabled - Whether redo logging is enabled during the subsetting operation.
- Is
Refresh boolStats Enabled - Whether statistics gathering is enabled after the subsetting operation.
- Is
Rerun bool - Whether to rerun a previously started subsetting operation.
- Masking string
- Whether masking is enabled during subsetting. Allowed values are
ENABLEDandDISABLED. - Parallel
Degree string - The degree of parallel execution used during subsetting. Use
NONE,DEFAULT, or an integer value. - Re
Run stringFrom Step - The step from which to rerun the operation. Allowed values are
PRE_SUBSETTING_SCRIPTandPOST_SUBSETTING_SCRIPT. - Recompile string
- How invalid objects are recompiled after subsetting. Allowed values are
SERIAL,PARALLEL, andNONE. - Subsetting
Policy stringId - The OCID of the subsetting policy.
- Tablespace string
- The tablespace used for the subsetting operation.
- Target
Credentials SubsetData Target Credentials - Credentials for connecting to the target database.
- Target
Id string - The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
- Is
Redo boolLogging Enabled - Whether redo logging is enabled during the subsetting operation.
- Is
Refresh boolStats Enabled - Whether statistics gathering is enabled after the subsetting operation.
- Is
Rerun bool - Whether to rerun a previously started subsetting operation.
- Masking string
- Whether masking is enabled during subsetting. Allowed values are
ENABLEDandDISABLED. - Parallel
Degree string - The degree of parallel execution used during subsetting. Use
NONE,DEFAULT, or an integer value. - Re
Run stringFrom Step - The step from which to rerun the operation. Allowed values are
PRE_SUBSETTING_SCRIPTandPOST_SUBSETTING_SCRIPT. - Recompile string
- How invalid objects are recompiled after subsetting. Allowed values are
SERIAL,PARALLEL, andNONE. - Subsetting
Policy stringId - The OCID of the subsetting policy.
- Tablespace string
- The tablespace used for the subsetting operation.
- Target
Credentials SubsetData Target Credentials Args - Credentials for connecting to the target database.
- Target
Id string - The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
- is_
redo_ boollogging_ enabled - Whether redo logging is enabled during the subsetting operation.
- is_
refresh_ boolstats_ enabled - Whether statistics gathering is enabled after the subsetting operation.
- is_
rerun bool - Whether to rerun a previously started subsetting operation.
- masking string
- Whether masking is enabled during subsetting. Allowed values are
ENABLEDandDISABLED. - parallel_
degree string - The degree of parallel execution used during subsetting. Use
NONE,DEFAULT, or an integer value. - re_
run_ stringfrom_ step - The step from which to rerun the operation. Allowed values are
PRE_SUBSETTING_SCRIPTandPOST_SUBSETTING_SCRIPT. - recompile string
- How invalid objects are recompiled after subsetting. Allowed values are
SERIAL,PARALLEL, andNONE. - subsetting_
policy_ stringid - The OCID of the subsetting policy.
- tablespace string
- The tablespace used for the subsetting operation.
- target_
credentials object - Credentials for connecting to the target database.
- target_
id string - The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
- is
Redo BooleanLogging Enabled - Whether redo logging is enabled during the subsetting operation.
- is
Refresh BooleanStats Enabled - Whether statistics gathering is enabled after the subsetting operation.
- is
Rerun Boolean - Whether to rerun a previously started subsetting operation.
- masking String
- Whether masking is enabled during subsetting. Allowed values are
ENABLEDandDISABLED. - parallel
Degree String - The degree of parallel execution used during subsetting. Use
NONE,DEFAULT, or an integer value. - re
Run StringFrom Step - The step from which to rerun the operation. Allowed values are
PRE_SUBSETTING_SCRIPTandPOST_SUBSETTING_SCRIPT. - recompile String
- How invalid objects are recompiled after subsetting. Allowed values are
SERIAL,PARALLEL, andNONE. - subsetting
Policy StringId - The OCID of the subsetting policy.
- tablespace String
- The tablespace used for the subsetting operation.
- target
Credentials SubsetData Target Credentials - Credentials for connecting to the target database.
- target
Id String - The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
- is
Redo booleanLogging Enabled - Whether redo logging is enabled during the subsetting operation.
- is
Refresh booleanStats Enabled - Whether statistics gathering is enabled after the subsetting operation.
- is
Rerun boolean - Whether to rerun a previously started subsetting operation.
- masking string
- Whether masking is enabled during subsetting. Allowed values are
ENABLEDandDISABLED. - parallel
Degree string - The degree of parallel execution used during subsetting. Use
NONE,DEFAULT, or an integer value. - re
Run stringFrom Step - The step from which to rerun the operation. Allowed values are
PRE_SUBSETTING_SCRIPTandPOST_SUBSETTING_SCRIPT. - recompile string
- How invalid objects are recompiled after subsetting. Allowed values are
SERIAL,PARALLEL, andNONE. - subsetting
Policy stringId - The OCID of the subsetting policy.
- tablespace string
- The tablespace used for the subsetting operation.
- target
Credentials SubsetData Target Credentials - Credentials for connecting to the target database.
- target
Id string - The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
- is_
redo_ boollogging_ enabled - Whether redo logging is enabled during the subsetting operation.
- is_
refresh_ boolstats_ enabled - Whether statistics gathering is enabled after the subsetting operation.
- is_
rerun bool - Whether to rerun a previously started subsetting operation.
- masking str
- Whether masking is enabled during subsetting. Allowed values are
ENABLEDandDISABLED. - parallel_
degree str - The degree of parallel execution used during subsetting. Use
NONE,DEFAULT, or an integer value. - re_
run_ strfrom_ step - The step from which to rerun the operation. Allowed values are
PRE_SUBSETTING_SCRIPTandPOST_SUBSETTING_SCRIPT. - recompile str
- How invalid objects are recompiled after subsetting. Allowed values are
SERIAL,PARALLEL, andNONE. - subsetting_
policy_ strid - The OCID of the subsetting policy.
- tablespace str
- The tablespace used for the subsetting operation.
- target_
credentials SubsetData Target Credentials Args - Credentials for connecting to the target database.
- target_
id str - The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
- is
Redo BooleanLogging Enabled - Whether redo logging is enabled during the subsetting operation.
- is
Refresh BooleanStats Enabled - Whether statistics gathering is enabled after the subsetting operation.
- is
Rerun Boolean - Whether to rerun a previously started subsetting operation.
- masking String
- Whether masking is enabled during subsetting. Allowed values are
ENABLEDandDISABLED. - parallel
Degree String - The degree of parallel execution used during subsetting. Use
NONE,DEFAULT, or an integer value. - re
Run StringFrom Step - The step from which to rerun the operation. Allowed values are
PRE_SUBSETTING_SCRIPTandPOST_SUBSETTING_SCRIPT. - recompile String
- How invalid objects are recompiled after subsetting. Allowed values are
SERIAL,PARALLEL, andNONE. - subsetting
Policy StringId - The OCID of the subsetting policy.
- tablespace String
- The tablespace used for the subsetting operation.
- target
Credentials Property Map - Credentials for connecting to the target database.
- target
Id String - The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
Supporting Types
SubsetDataTargetCredentials, SubsetDataTargetCredentialsArgs
Import
Import is not supported for this resource.
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