1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. DataSafe
  6. SubsetData
Viewing docs for Oracle Cloud Infrastructure v5.5.0
published on Thursday, Oct 22, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.5.0
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:

    SubsettingPolicyId string
    The OCID of the subsetting policy.
    TargetCredentials SubsetDataTargetCredentials
    Credentials for connecting to the target database.
    IsRedoLoggingEnabled bool
    Whether redo logging is enabled during the subsetting operation.
    IsRefreshStatsEnabled bool
    Whether statistics gathering is enabled after the subsetting operation.
    IsRerun bool
    Whether to rerun a previously started subsetting operation.
    Masking string
    Whether masking is enabled during subsetting. Allowed values are ENABLED and DISABLED.
    ParallelDegree string
    The degree of parallel execution used during subsetting. Use NONE, DEFAULT, or an integer value.
    ReRunFromStep string
    The step from which to rerun the operation. Allowed values are PRE_SUBSETTING_SCRIPT and POST_SUBSETTING_SCRIPT.
    Recompile string
    How invalid objects are recompiled after subsetting. Allowed values are SERIAL, PARALLEL, and NONE.
    Tablespace string
    The tablespace used for the subsetting operation.
    TargetId string
    The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
    SubsettingPolicyId string
    The OCID of the subsetting policy.
    TargetCredentials SubsetDataTargetCredentialsArgs
    Credentials for connecting to the target database.
    IsRedoLoggingEnabled bool
    Whether redo logging is enabled during the subsetting operation.
    IsRefreshStatsEnabled bool
    Whether statistics gathering is enabled after the subsetting operation.
    IsRerun bool
    Whether to rerun a previously started subsetting operation.
    Masking string
    Whether masking is enabled during subsetting. Allowed values are ENABLED and DISABLED.
    ParallelDegree string
    The degree of parallel execution used during subsetting. Use NONE, DEFAULT, or an integer value.
    ReRunFromStep string
    The step from which to rerun the operation. Allowed values are PRE_SUBSETTING_SCRIPT and POST_SUBSETTING_SCRIPT.
    Recompile string
    How invalid objects are recompiled after subsetting. Allowed values are SERIAL, PARALLEL, and NONE.
    Tablespace string
    The tablespace used for the subsetting operation.
    TargetId string
    The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
    subsetting_policy_id string
    The OCID of the subsetting policy.
    target_credentials object
    Credentials for connecting to the target database.
    is_redo_logging_enabled bool
    Whether redo logging is enabled during the subsetting operation.
    is_refresh_stats_enabled bool
    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 ENABLED and DISABLED.
    parallel_degree string
    The degree of parallel execution used during subsetting. Use NONE, DEFAULT, or an integer value.
    re_run_from_step string
    The step from which to rerun the operation. Allowed values are PRE_SUBSETTING_SCRIPT and POST_SUBSETTING_SCRIPT.
    recompile string
    How invalid objects are recompiled after subsetting. Allowed values are SERIAL, PARALLEL, and NONE.
    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.
    subsettingPolicyId String
    The OCID of the subsetting policy.
    targetCredentials SubsetDataTargetCredentials
    Credentials for connecting to the target database.
    isRedoLoggingEnabled Boolean
    Whether redo logging is enabled during the subsetting operation.
    isRefreshStatsEnabled Boolean
    Whether statistics gathering is enabled after the subsetting operation.
    isRerun Boolean
    Whether to rerun a previously started subsetting operation.
    masking String
    Whether masking is enabled during subsetting. Allowed values are ENABLED and DISABLED.
    parallelDegree String
    The degree of parallel execution used during subsetting. Use NONE, DEFAULT, or an integer value.
    reRunFromStep String
    The step from which to rerun the operation. Allowed values are PRE_SUBSETTING_SCRIPT and POST_SUBSETTING_SCRIPT.
    recompile String
    How invalid objects are recompiled after subsetting. Allowed values are SERIAL, PARALLEL, and NONE.
    tablespace String
    The tablespace used for the subsetting operation.
    targetId String
    The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
    subsettingPolicyId string
    The OCID of the subsetting policy.
    targetCredentials SubsetDataTargetCredentials
    Credentials for connecting to the target database.
    isRedoLoggingEnabled boolean
    Whether redo logging is enabled during the subsetting operation.
    isRefreshStatsEnabled boolean
    Whether statistics gathering is enabled after the subsetting operation.
    isRerun boolean
    Whether to rerun a previously started subsetting operation.
    masking string
    Whether masking is enabled during subsetting. Allowed values are ENABLED and DISABLED.
    parallelDegree string
    The degree of parallel execution used during subsetting. Use NONE, DEFAULT, or an integer value.
    reRunFromStep string
    The step from which to rerun the operation. Allowed values are PRE_SUBSETTING_SCRIPT and POST_SUBSETTING_SCRIPT.
    recompile string
    How invalid objects are recompiled after subsetting. Allowed values are SERIAL, PARALLEL, and NONE.
    tablespace string
    The tablespace used for the subsetting operation.
    targetId string
    The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
    subsetting_policy_id str
    The OCID of the subsetting policy.
    target_credentials SubsetDataTargetCredentialsArgs
    Credentials for connecting to the target database.
    is_redo_logging_enabled bool
    Whether redo logging is enabled during the subsetting operation.
    is_refresh_stats_enabled bool
    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 ENABLED and DISABLED.
    parallel_degree str
    The degree of parallel execution used during subsetting. Use NONE, DEFAULT, or an integer value.
    re_run_from_step str
    The step from which to rerun the operation. Allowed values are PRE_SUBSETTING_SCRIPT and POST_SUBSETTING_SCRIPT.
    recompile str
    How invalid objects are recompiled after subsetting. Allowed values are SERIAL, PARALLEL, and NONE.
    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.
    subsettingPolicyId String
    The OCID of the subsetting policy.
    targetCredentials Property Map
    Credentials for connecting to the target database.
    isRedoLoggingEnabled Boolean
    Whether redo logging is enabled during the subsetting operation.
    isRefreshStatsEnabled Boolean
    Whether statistics gathering is enabled after the subsetting operation.
    isRerun Boolean
    Whether to rerun a previously started subsetting operation.
    masking String
    Whether masking is enabled during subsetting. Allowed values are ENABLED and DISABLED.
    parallelDegree String
    The degree of parallel execution used during subsetting. Use NONE, DEFAULT, or an integer value.
    reRunFromStep String
    The step from which to rerun the operation. Allowed values are PRE_SUBSETTING_SCRIPT and POST_SUBSETTING_SCRIPT.
    recompile String
    How invalid objects are recompiled after subsetting. Allowed values are SERIAL, PARALLEL, and NONE.
    tablespace String
    The tablespace used for the subsetting operation.
    targetId 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) -> SubsetData
    func 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.
    The following state arguments are supported:
    IsRedoLoggingEnabled bool
    Whether redo logging is enabled during the subsetting operation.
    IsRefreshStatsEnabled bool
    Whether statistics gathering is enabled after the subsetting operation.
    IsRerun bool
    Whether to rerun a previously started subsetting operation.
    Masking string
    Whether masking is enabled during subsetting. Allowed values are ENABLED and DISABLED.
    ParallelDegree string
    The degree of parallel execution used during subsetting. Use NONE, DEFAULT, or an integer value.
    ReRunFromStep string
    The step from which to rerun the operation. Allowed values are PRE_SUBSETTING_SCRIPT and POST_SUBSETTING_SCRIPT.
    Recompile string
    How invalid objects are recompiled after subsetting. Allowed values are SERIAL, PARALLEL, and NONE.
    SubsettingPolicyId string
    The OCID of the subsetting policy.
    Tablespace string
    The tablespace used for the subsetting operation.
    TargetCredentials SubsetDataTargetCredentials
    Credentials for connecting to the target database.
    TargetId string
    The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
    IsRedoLoggingEnabled bool
    Whether redo logging is enabled during the subsetting operation.
    IsRefreshStatsEnabled bool
    Whether statistics gathering is enabled after the subsetting operation.
    IsRerun bool
    Whether to rerun a previously started subsetting operation.
    Masking string
    Whether masking is enabled during subsetting. Allowed values are ENABLED and DISABLED.
    ParallelDegree string
    The degree of parallel execution used during subsetting. Use NONE, DEFAULT, or an integer value.
    ReRunFromStep string
    The step from which to rerun the operation. Allowed values are PRE_SUBSETTING_SCRIPT and POST_SUBSETTING_SCRIPT.
    Recompile string
    How invalid objects are recompiled after subsetting. Allowed values are SERIAL, PARALLEL, and NONE.
    SubsettingPolicyId string
    The OCID of the subsetting policy.
    Tablespace string
    The tablespace used for the subsetting operation.
    TargetCredentials SubsetDataTargetCredentialsArgs
    Credentials for connecting to the target database.
    TargetId string
    The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
    is_redo_logging_enabled bool
    Whether redo logging is enabled during the subsetting operation.
    is_refresh_stats_enabled bool
    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 ENABLED and DISABLED.
    parallel_degree string
    The degree of parallel execution used during subsetting. Use NONE, DEFAULT, or an integer value.
    re_run_from_step string
    The step from which to rerun the operation. Allowed values are PRE_SUBSETTING_SCRIPT and POST_SUBSETTING_SCRIPT.
    recompile string
    How invalid objects are recompiled after subsetting. Allowed values are SERIAL, PARALLEL, and NONE.
    subsetting_policy_id string
    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.
    isRedoLoggingEnabled Boolean
    Whether redo logging is enabled during the subsetting operation.
    isRefreshStatsEnabled Boolean
    Whether statistics gathering is enabled after the subsetting operation.
    isRerun Boolean
    Whether to rerun a previously started subsetting operation.
    masking String
    Whether masking is enabled during subsetting. Allowed values are ENABLED and DISABLED.
    parallelDegree String
    The degree of parallel execution used during subsetting. Use NONE, DEFAULT, or an integer value.
    reRunFromStep String
    The step from which to rerun the operation. Allowed values are PRE_SUBSETTING_SCRIPT and POST_SUBSETTING_SCRIPT.
    recompile String
    How invalid objects are recompiled after subsetting. Allowed values are SERIAL, PARALLEL, and NONE.
    subsettingPolicyId String
    The OCID of the subsetting policy.
    tablespace String
    The tablespace used for the subsetting operation.
    targetCredentials SubsetDataTargetCredentials
    Credentials for connecting to the target database.
    targetId String
    The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
    isRedoLoggingEnabled boolean
    Whether redo logging is enabled during the subsetting operation.
    isRefreshStatsEnabled boolean
    Whether statistics gathering is enabled after the subsetting operation.
    isRerun boolean
    Whether to rerun a previously started subsetting operation.
    masking string
    Whether masking is enabled during subsetting. Allowed values are ENABLED and DISABLED.
    parallelDegree string
    The degree of parallel execution used during subsetting. Use NONE, DEFAULT, or an integer value.
    reRunFromStep string
    The step from which to rerun the operation. Allowed values are PRE_SUBSETTING_SCRIPT and POST_SUBSETTING_SCRIPT.
    recompile string
    How invalid objects are recompiled after subsetting. Allowed values are SERIAL, PARALLEL, and NONE.
    subsettingPolicyId string
    The OCID of the subsetting policy.
    tablespace string
    The tablespace used for the subsetting operation.
    targetCredentials SubsetDataTargetCredentials
    Credentials for connecting to the target database.
    targetId string
    The OCID of the target database. If omitted, the target is resolved from the subsetting policy.
    is_redo_logging_enabled bool
    Whether redo logging is enabled during the subsetting operation.
    is_refresh_stats_enabled bool
    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 ENABLED and DISABLED.
    parallel_degree str
    The degree of parallel execution used during subsetting. Use NONE, DEFAULT, or an integer value.
    re_run_from_step str
    The step from which to rerun the operation. Allowed values are PRE_SUBSETTING_SCRIPT and POST_SUBSETTING_SCRIPT.
    recompile str
    How invalid objects are recompiled after subsetting. Allowed values are SERIAL, PARALLEL, and NONE.
    subsetting_policy_id str
    The OCID of the subsetting policy.
    tablespace str
    The tablespace used for the subsetting operation.
    target_credentials SubsetDataTargetCredentialsArgs
    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.
    isRedoLoggingEnabled Boolean
    Whether redo logging is enabled during the subsetting operation.
    isRefreshStatsEnabled Boolean
    Whether statistics gathering is enabled after the subsetting operation.
    isRerun Boolean
    Whether to rerun a previously started subsetting operation.
    masking String
    Whether masking is enabled during subsetting. Allowed values are ENABLED and DISABLED.
    parallelDegree String
    The degree of parallel execution used during subsetting. Use NONE, DEFAULT, or an integer value.
    reRunFromStep String
    The step from which to rerun the operation. Allowed values are PRE_SUBSETTING_SCRIPT and POST_SUBSETTING_SCRIPT.
    recompile String
    How invalid objects are recompiled after subsetting. Allowed values are SERIAL, PARALLEL, and NONE.
    subsettingPolicyId String
    The OCID of the subsetting policy.
    tablespace String
    The tablespace used for the subsetting operation.
    targetCredentials Property Map
    Credentials for connecting to the target database.
    targetId String
    The OCID of the target database. If omitted, the target is resolved from the subsetting policy.

    Supporting Types

    SubsetDataTargetCredentials, SubsetDataTargetCredentialsArgs

    Password string
    The password for the target database user.
    UserName string
    The user name for the target database.
    Password string
    The password for the target database user.
    UserName string
    The user name for the target database.
    password string
    The password for the target database user.
    user_name string
    The user name for the target database.
    password String
    The password for the target database user.
    userName String
    The user name for the target database.
    password string
    The password for the target database user.
    userName string
    The user name for the target database.
    password str
    The password for the target database user.
    user_name str
    The user name for the target database.
    password String
    The password for the target database user.
    userName String
    The user name for the target database.

    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 oci Terraform Provider.
    oci logo oci logo
    Viewing docs for Oracle Cloud Infrastructure v5.5.0
    published on Thursday, Oct 22, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial