published on Friday, Oct 9, 2026 by Pulumi
published on Friday, Oct 9, 2026 by Pulumi
This resource manages the subsetting report for a subsetting policy and target database.
During creation, if a matching report does not already exist, the resource starts the subsetting operation and waits for the report. The related report details can be read with oci.DataSafe.getSubsettingReport.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSubsettingReportManagement = new oci.datasafe.SubsettingReportManagement("test_subsetting_report_management", {
subsettingPolicyId: testSubsettingPolicy.id,
targetId: targetId,
targetCredentials: {
userName: targetDatabaseUserName,
password: targetDatabasePassword,
},
}, {
dependsOn: [testSubsettingPolicySubsettingRule],
});
import pulumi
import pulumi_oci as oci
test_subsetting_report_management = oci.datasafe.SubsettingReportManagement("test_subsetting_report_management",
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.NewSubsettingReportManagement(ctx, "test_subsetting_report_management", &datasafe.SubsettingReportManagementArgs{
SubsettingPolicyId: pulumi.Any(testSubsettingPolicy.Id),
TargetId: pulumi.Any(targetId),
TargetCredentials: &datasafe.SubsettingReportManagementTargetCredentialsArgs{
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 testSubsettingReportManagement = new Oci.DataSafe.SubsettingReportManagement("test_subsetting_report_management", new()
{
SubsettingPolicyId = testSubsettingPolicy.Id,
TargetId = targetId,
TargetCredentials = new Oci.DataSafe.Inputs.SubsettingReportManagementTargetCredentialsArgs
{
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.SubsettingReportManagement;
import com.pulumi.oci.DataSafe.SubsettingReportManagementArgs;
import com.pulumi.oci.DataSafe.inputs.SubsettingReportManagementTargetCredentialsArgs;
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 testSubsettingReportManagement = new SubsettingReportManagement("testSubsettingReportManagement", SubsettingReportManagementArgs.builder()
.subsettingPolicyId(testSubsettingPolicy.id())
.targetId(targetId)
.targetCredentials(SubsettingReportManagementTargetCredentialsArgs.builder()
.userName(targetDatabaseUserName)
.password(targetDatabasePassword)
.build())
.build(), CustomResourceOptions.builder()
.dependsOn(testSubsettingPolicySubsettingRule)
.build());
}
}
resources:
testSubsettingReportManagement:
type: oci:DataSafe:SubsettingReportManagement
name: test_subsetting_report_management
properties:
subsettingPolicyId: ${testSubsettingPolicy.id}
targetId: ${targetId}
targetCredentials:
userName: ${targetDatabaseUserName}
password: ${targetDatabasePassword}
options:
dependsOn:
- ${testSubsettingPolicySubsettingRule}
pulumi {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
resource "oci_datasafe_subsettingreportmanagement" "test_subsetting_report_management" {
depends_on = [testSubsettingPolicySubsettingRule]
subsetting_policy_id = testSubsettingPolicy.id
target_id = targetId
target_credentials = {
user_name = targetDatabaseUserName
password = targetDatabasePassword
}
}
Create SubsettingReportManagement Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SubsettingReportManagement(name: string, args: SubsettingReportManagementArgs, opts?: CustomResourceOptions);@overload
def SubsettingReportManagement(resource_name: str,
args: SubsettingReportManagementArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SubsettingReportManagement(resource_name: str,
opts: Optional[ResourceOptions] = None,
subsetting_policy_id: Optional[str] = None,
target_credentials: Optional[SubsettingReportManagementTargetCredentialsArgs] = 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 NewSubsettingReportManagement(ctx *Context, name string, args SubsettingReportManagementArgs, opts ...ResourceOption) (*SubsettingReportManagement, error)public SubsettingReportManagement(string name, SubsettingReportManagementArgs args, CustomResourceOptions? opts = null)
public SubsettingReportManagement(String name, SubsettingReportManagementArgs args)
public SubsettingReportManagement(String name, SubsettingReportManagementArgs args, CustomResourceOptions options)
type: oci:DataSafe:SubsettingReportManagement
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "oci_data_safe_subsetting_report_management" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args SubsettingReportManagementArgs
- 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 SubsettingReportManagementArgs
- 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 SubsettingReportManagementArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SubsettingReportManagementArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SubsettingReportManagementArgs
- 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 subsettingReportManagementResource = new Oci.DataSafe.SubsettingReportManagement("subsettingReportManagementResource", new()
{
SubsettingPolicyId = "string",
TargetCredentials = new Oci.DataSafe.Inputs.SubsettingReportManagementTargetCredentialsArgs
{
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.NewSubsettingReportManagement(ctx, "subsettingReportManagementResource", &datasafe.SubsettingReportManagementArgs{
SubsettingPolicyId: pulumi.String("string"),
TargetCredentials: &datasafe.SubsettingReportManagementTargetCredentialsArgs{
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_subsetting_report_management" "subsettingReportManagementResource" {
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 subsettingReportManagementResource = new SubsettingReportManagement("subsettingReportManagementResource", SubsettingReportManagementArgs.builder()
.subsettingPolicyId("string")
.targetCredentials(SubsettingReportManagementTargetCredentialsArgs.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());
subsetting_report_management_resource = oci.datasafe.SubsettingReportManagement("subsettingReportManagementResource",
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 subsettingReportManagementResource = new oci.datasafe.SubsettingReportManagement("subsettingReportManagementResource", {
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:SubsettingReportManagement
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
SubsettingReportManagement 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 SubsettingReportManagement resource accepts the following input properties:
- Subsetting
Policy stringId - The OCID of the subsetting policy.
- Target
Credentials SubsettingReport Management 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 SubsettingReport Management 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 SubsettingReport Management 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 SubsettingReport Management 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 SubsettingReport Management 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 SubsettingReportManagement resource produces the following output properties:
- Compartment
Id string - The OCID of the compartment that contains the subsetting report.
- Database
Size stringAfter Subsetting In Kbs - The size of the target database after subsetting in KBs.
- Database
Size stringBefore Subsetting In Kbs - The size of the target database before subsetting in KBs.
- Id string
- The provider-assigned unique ID for this managed resource.
- Masking
Policy stringId - The OCID of the masking policy associated with the subsetting report.
- Masking
Report stringId - The OCID of the masking report associated with the subsetting report.
- Masking
Work stringRequest Id - The OCID of the masking work request triggered after the subsetting job.
- State string
- The current state of the subsetting report.
- Subsetting
Status string - The status of the subsetting job.
- Subsetting
Work stringRequest Id - The OCID of the work request that resulted in this subsetting report.
- Time
Created string - The date and time the subsetting report was created, in the format defined by RFC3339.
- Time
Subsetting stringFinished - The date and time data subsetting finished, in the format defined by RFC3339.
- Time
Subsetting stringStarted - The date and time data subsetting started, in the format defined by RFC3339.
- Total
Post stringSubsetting Script Errors - The total number of errors in the post-subsetting script.
- Total
Pre stringSubsetting Script Errors - The total number of errors in the pre-subsetting script.
- Total
Subsetted stringObjects - The total number of subsetted objects.
- Total
Subsetted stringRows - The count of rows reduced in the subsetting job.
- Total
Subsetted stringSchemas - The total number of subsetted schemas.
- Compartment
Id string - The OCID of the compartment that contains the subsetting report.
- Database
Size stringAfter Subsetting In Kbs - The size of the target database after subsetting in KBs.
- Database
Size stringBefore Subsetting In Kbs - The size of the target database before subsetting in KBs.
- Id string
- The provider-assigned unique ID for this managed resource.
- Masking
Policy stringId - The OCID of the masking policy associated with the subsetting report.
- Masking
Report stringId - The OCID of the masking report associated with the subsetting report.
- Masking
Work stringRequest Id - The OCID of the masking work request triggered after the subsetting job.
- State string
- The current state of the subsetting report.
- Subsetting
Status string - The status of the subsetting job.
- Subsetting
Work stringRequest Id - The OCID of the work request that resulted in this subsetting report.
- Time
Created string - The date and time the subsetting report was created, in the format defined by RFC3339.
- Time
Subsetting stringFinished - The date and time data subsetting finished, in the format defined by RFC3339.
- Time
Subsetting stringStarted - The date and time data subsetting started, in the format defined by RFC3339.
- Total
Post stringSubsetting Script Errors - The total number of errors in the post-subsetting script.
- Total
Pre stringSubsetting Script Errors - The total number of errors in the pre-subsetting script.
- Total
Subsetted stringObjects - The total number of subsetted objects.
- Total
Subsetted stringRows - The count of rows reduced in the subsetting job.
- Total
Subsetted stringSchemas - The total number of subsetted schemas.
- compartment_
id string - The OCID of the compartment that contains the subsetting report.
- database_
size_ stringafter_ subsetting_ in_ kbs - The size of the target database after subsetting in KBs.
- database_
size_ stringbefore_ subsetting_ in_ kbs - The size of the target database before subsetting in KBs.
- id string
- The provider-assigned unique ID for this managed resource.
- masking_
policy_ stringid - The OCID of the masking policy associated with the subsetting report.
- masking_
report_ stringid - The OCID of the masking report associated with the subsetting report.
- masking_
work_ stringrequest_ id - The OCID of the masking work request triggered after the subsetting job.
- state string
- The current state of the subsetting report.
- subsetting_
status string - The status of the subsetting job.
- subsetting_
work_ stringrequest_ id - The OCID of the work request that resulted in this subsetting report.
- time_
created string - The date and time the subsetting report was created, in the format defined by RFC3339.
- time_
subsetting_ stringfinished - The date and time data subsetting finished, in the format defined by RFC3339.
- time_
subsetting_ stringstarted - The date and time data subsetting started, in the format defined by RFC3339.
- total_
post_ stringsubsetting_ script_ errors - The total number of errors in the post-subsetting script.
- total_
pre_ stringsubsetting_ script_ errors - The total number of errors in the pre-subsetting script.
- total_
subsetted_ stringobjects - The total number of subsetted objects.
- total_
subsetted_ stringrows - The count of rows reduced in the subsetting job.
- total_
subsetted_ stringschemas - The total number of subsetted schemas.
- compartment
Id String - The OCID of the compartment that contains the subsetting report.
- database
Size StringAfter Subsetting In Kbs - The size of the target database after subsetting in KBs.
- database
Size StringBefore Subsetting In Kbs - The size of the target database before subsetting in KBs.
- id String
- The provider-assigned unique ID for this managed resource.
- masking
Policy StringId - The OCID of the masking policy associated with the subsetting report.
- masking
Report StringId - The OCID of the masking report associated with the subsetting report.
- masking
Work StringRequest Id - The OCID of the masking work request triggered after the subsetting job.
- state String
- The current state of the subsetting report.
- subsetting
Status String - The status of the subsetting job.
- subsetting
Work StringRequest Id - The OCID of the work request that resulted in this subsetting report.
- time
Created String - The date and time the subsetting report was created, in the format defined by RFC3339.
- time
Subsetting StringFinished - The date and time data subsetting finished, in the format defined by RFC3339.
- time
Subsetting StringStarted - The date and time data subsetting started, in the format defined by RFC3339.
- total
Post StringSubsetting Script Errors - The total number of errors in the post-subsetting script.
- total
Pre StringSubsetting Script Errors - The total number of errors in the pre-subsetting script.
- total
Subsetted StringObjects - The total number of subsetted objects.
- total
Subsetted StringRows - The count of rows reduced in the subsetting job.
- total
Subsetted StringSchemas - The total number of subsetted schemas.
- compartment
Id string - The OCID of the compartment that contains the subsetting report.
- database
Size stringAfter Subsetting In Kbs - The size of the target database after subsetting in KBs.
- database
Size stringBefore Subsetting In Kbs - The size of the target database before subsetting in KBs.
- id string
- The provider-assigned unique ID for this managed resource.
- masking
Policy stringId - The OCID of the masking policy associated with the subsetting report.
- masking
Report stringId - The OCID of the masking report associated with the subsetting report.
- masking
Work stringRequest Id - The OCID of the masking work request triggered after the subsetting job.
- state string
- The current state of the subsetting report.
- subsetting
Status string - The status of the subsetting job.
- subsetting
Work stringRequest Id - The OCID of the work request that resulted in this subsetting report.
- time
Created string - The date and time the subsetting report was created, in the format defined by RFC3339.
- time
Subsetting stringFinished - The date and time data subsetting finished, in the format defined by RFC3339.
- time
Subsetting stringStarted - The date and time data subsetting started, in the format defined by RFC3339.
- total
Post stringSubsetting Script Errors - The total number of errors in the post-subsetting script.
- total
Pre stringSubsetting Script Errors - The total number of errors in the pre-subsetting script.
- total
Subsetted stringObjects - The total number of subsetted objects.
- total
Subsetted stringRows - The count of rows reduced in the subsetting job.
- total
Subsetted stringSchemas - The total number of subsetted schemas.
- compartment_
id str - The OCID of the compartment that contains the subsetting report.
- database_
size_ strafter_ subsetting_ in_ kbs - The size of the target database after subsetting in KBs.
- database_
size_ strbefore_ subsetting_ in_ kbs - The size of the target database before subsetting in KBs.
- id str
- The provider-assigned unique ID for this managed resource.
- masking_
policy_ strid - The OCID of the masking policy associated with the subsetting report.
- masking_
report_ strid - The OCID of the masking report associated with the subsetting report.
- masking_
work_ strrequest_ id - The OCID of the masking work request triggered after the subsetting job.
- state str
- The current state of the subsetting report.
- subsetting_
status str - The status of the subsetting job.
- subsetting_
work_ strrequest_ id - The OCID of the work request that resulted in this subsetting report.
- time_
created str - The date and time the subsetting report was created, in the format defined by RFC3339.
- time_
subsetting_ strfinished - The date and time data subsetting finished, in the format defined by RFC3339.
- time_
subsetting_ strstarted - The date and time data subsetting started, in the format defined by RFC3339.
- total_
post_ strsubsetting_ script_ errors - The total number of errors in the post-subsetting script.
- total_
pre_ strsubsetting_ script_ errors - The total number of errors in the pre-subsetting script.
- total_
subsetted_ strobjects - The total number of subsetted objects.
- total_
subsetted_ strrows - The count of rows reduced in the subsetting job.
- total_
subsetted_ strschemas - The total number of subsetted schemas.
- compartment
Id String - The OCID of the compartment that contains the subsetting report.
- database
Size StringAfter Subsetting In Kbs - The size of the target database after subsetting in KBs.
- database
Size StringBefore Subsetting In Kbs - The size of the target database before subsetting in KBs.
- id String
- The provider-assigned unique ID for this managed resource.
- masking
Policy StringId - The OCID of the masking policy associated with the subsetting report.
- masking
Report StringId - The OCID of the masking report associated with the subsetting report.
- masking
Work StringRequest Id - The OCID of the masking work request triggered after the subsetting job.
- state String
- The current state of the subsetting report.
- subsetting
Status String - The status of the subsetting job.
- subsetting
Work StringRequest Id - The OCID of the work request that resulted in this subsetting report.
- time
Created String - The date and time the subsetting report was created, in the format defined by RFC3339.
- time
Subsetting StringFinished - The date and time data subsetting finished, in the format defined by RFC3339.
- time
Subsetting StringStarted - The date and time data subsetting started, in the format defined by RFC3339.
- total
Post StringSubsetting Script Errors - The total number of errors in the post-subsetting script.
- total
Pre StringSubsetting Script Errors - The total number of errors in the pre-subsetting script.
- total
Subsetted StringObjects - The total number of subsetted objects.
- total
Subsetted StringRows - The count of rows reduced in the subsetting job.
- total
Subsetted StringSchemas - The total number of subsetted schemas.
Look up Existing SubsettingReportManagement Resource
Get an existing SubsettingReportManagement 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?: SubsettingReportManagementState, opts?: CustomResourceOptions): SubsettingReportManagement@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
database_size_after_subsetting_in_kbs: Optional[str] = None,
database_size_before_subsetting_in_kbs: Optional[str] = None,
is_redo_logging_enabled: Optional[bool] = None,
is_refresh_stats_enabled: Optional[bool] = None,
is_rerun: Optional[bool] = None,
masking: Optional[str] = None,
masking_policy_id: Optional[str] = None,
masking_report_id: Optional[str] = None,
masking_work_request_id: Optional[str] = None,
parallel_degree: Optional[str] = None,
re_run_from_step: Optional[str] = None,
recompile: Optional[str] = None,
state: Optional[str] = None,
subsetting_policy_id: Optional[str] = None,
subsetting_status: Optional[str] = None,
subsetting_work_request_id: Optional[str] = None,
tablespace: Optional[str] = None,
target_credentials: Optional[SubsettingReportManagementTargetCredentialsArgs] = None,
target_id: Optional[str] = None,
time_created: Optional[str] = None,
time_subsetting_finished: Optional[str] = None,
time_subsetting_started: Optional[str] = None,
total_post_subsetting_script_errors: Optional[str] = None,
total_pre_subsetting_script_errors: Optional[str] = None,
total_subsetted_objects: Optional[str] = None,
total_subsetted_rows: Optional[str] = None,
total_subsetted_schemas: Optional[str] = None) -> SubsettingReportManagementfunc GetSubsettingReportManagement(ctx *Context, name string, id IDInput, state *SubsettingReportManagementState, opts ...ResourceOption) (*SubsettingReportManagement, error)public static SubsettingReportManagement Get(string name, Input<string> id, SubsettingReportManagementState? state, CustomResourceOptions? opts = null)public static SubsettingReportManagement get(String name, Output<String> id, SubsettingReportManagementState state, CustomResourceOptions options)resources: _: type: oci:DataSafe:SubsettingReportManagement get: id: ${id}import {
to = oci_data_safe_subsetting_report_management.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.
- Compartment
Id string - The OCID of the compartment that contains the subsetting report.
- Database
Size stringAfter Subsetting In Kbs - The size of the target database after subsetting in KBs.
- Database
Size stringBefore Subsetting In Kbs - The size of the target database before subsetting in KBs.
- 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. - Masking
Policy stringId - The OCID of the masking policy associated with the subsetting report.
- Masking
Report stringId - The OCID of the masking report associated with the subsetting report.
- Masking
Work stringRequest Id - The OCID of the masking work request triggered after the subsetting job.
- 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. - State string
- The current state of the subsetting report.
- Subsetting
Policy stringId - The OCID of the subsetting policy.
- Subsetting
Status string - The status of the subsetting job.
- Subsetting
Work stringRequest Id - The OCID of the work request that resulted in this subsetting report.
- Tablespace string
- The tablespace used for the subsetting operation.
- Target
Credentials SubsettingReport Management 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.
- Time
Created string - The date and time the subsetting report was created, in the format defined by RFC3339.
- Time
Subsetting stringFinished - The date and time data subsetting finished, in the format defined by RFC3339.
- Time
Subsetting stringStarted - The date and time data subsetting started, in the format defined by RFC3339.
- Total
Post stringSubsetting Script Errors - The total number of errors in the post-subsetting script.
- Total
Pre stringSubsetting Script Errors - The total number of errors in the pre-subsetting script.
- Total
Subsetted stringObjects - The total number of subsetted objects.
- Total
Subsetted stringRows - The count of rows reduced in the subsetting job.
- Total
Subsetted stringSchemas - The total number of subsetted schemas.
- Compartment
Id string - The OCID of the compartment that contains the subsetting report.
- Database
Size stringAfter Subsetting In Kbs - The size of the target database after subsetting in KBs.
- Database
Size stringBefore Subsetting In Kbs - The size of the target database before subsetting in KBs.
- 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. - Masking
Policy stringId - The OCID of the masking policy associated with the subsetting report.
- Masking
Report stringId - The OCID of the masking report associated with the subsetting report.
- Masking
Work stringRequest Id - The OCID of the masking work request triggered after the subsetting job.
- 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. - State string
- The current state of the subsetting report.
- Subsetting
Policy stringId - The OCID of the subsetting policy.
- Subsetting
Status string - The status of the subsetting job.
- Subsetting
Work stringRequest Id - The OCID of the work request that resulted in this subsetting report.
- Tablespace string
- The tablespace used for the subsetting operation.
- Target
Credentials SubsettingReport Management 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.
- Time
Created string - The date and time the subsetting report was created, in the format defined by RFC3339.
- Time
Subsetting stringFinished - The date and time data subsetting finished, in the format defined by RFC3339.
- Time
Subsetting stringStarted - The date and time data subsetting started, in the format defined by RFC3339.
- Total
Post stringSubsetting Script Errors - The total number of errors in the post-subsetting script.
- Total
Pre stringSubsetting Script Errors - The total number of errors in the pre-subsetting script.
- Total
Subsetted stringObjects - The total number of subsetted objects.
- Total
Subsetted stringRows - The count of rows reduced in the subsetting job.
- Total
Subsetted stringSchemas - The total number of subsetted schemas.
- compartment_
id string - The OCID of the compartment that contains the subsetting report.
- database_
size_ stringafter_ subsetting_ in_ kbs - The size of the target database after subsetting in KBs.
- database_
size_ stringbefore_ subsetting_ in_ kbs - The size of the target database before subsetting in KBs.
- 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. - masking_
policy_ stringid - The OCID of the masking policy associated with the subsetting report.
- masking_
report_ stringid - The OCID of the masking report associated with the subsetting report.
- masking_
work_ stringrequest_ id - The OCID of the masking work request triggered after the subsetting job.
- 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. - state string
- The current state of the subsetting report.
- subsetting_
policy_ stringid - The OCID of the subsetting policy.
- subsetting_
status string - The status of the subsetting job.
- subsetting_
work_ stringrequest_ id - The OCID of the work request that resulted in this subsetting report.
- 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.
- time_
created string - The date and time the subsetting report was created, in the format defined by RFC3339.
- time_
subsetting_ stringfinished - The date and time data subsetting finished, in the format defined by RFC3339.
- time_
subsetting_ stringstarted - The date and time data subsetting started, in the format defined by RFC3339.
- total_
post_ stringsubsetting_ script_ errors - The total number of errors in the post-subsetting script.
- total_
pre_ stringsubsetting_ script_ errors - The total number of errors in the pre-subsetting script.
- total_
subsetted_ stringobjects - The total number of subsetted objects.
- total_
subsetted_ stringrows - The count of rows reduced in the subsetting job.
- total_
subsetted_ stringschemas - The total number of subsetted schemas.
- compartment
Id String - The OCID of the compartment that contains the subsetting report.
- database
Size StringAfter Subsetting In Kbs - The size of the target database after subsetting in KBs.
- database
Size StringBefore Subsetting In Kbs - The size of the target database before subsetting in KBs.
- 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. - masking
Policy StringId - The OCID of the masking policy associated with the subsetting report.
- masking
Report StringId - The OCID of the masking report associated with the subsetting report.
- masking
Work StringRequest Id - The OCID of the masking work request triggered after the subsetting job.
- 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. - state String
- The current state of the subsetting report.
- subsetting
Policy StringId - The OCID of the subsetting policy.
- subsetting
Status String - The status of the subsetting job.
- subsetting
Work StringRequest Id - The OCID of the work request that resulted in this subsetting report.
- tablespace String
- The tablespace used for the subsetting operation.
- target
Credentials SubsettingReport Management 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.
- time
Created String - The date and time the subsetting report was created, in the format defined by RFC3339.
- time
Subsetting StringFinished - The date and time data subsetting finished, in the format defined by RFC3339.
- time
Subsetting StringStarted - The date and time data subsetting started, in the format defined by RFC3339.
- total
Post StringSubsetting Script Errors - The total number of errors in the post-subsetting script.
- total
Pre StringSubsetting Script Errors - The total number of errors in the pre-subsetting script.
- total
Subsetted StringObjects - The total number of subsetted objects.
- total
Subsetted StringRows - The count of rows reduced in the subsetting job.
- total
Subsetted StringSchemas - The total number of subsetted schemas.
- compartment
Id string - The OCID of the compartment that contains the subsetting report.
- database
Size stringAfter Subsetting In Kbs - The size of the target database after subsetting in KBs.
- database
Size stringBefore Subsetting In Kbs - The size of the target database before subsetting in KBs.
- 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. - masking
Policy stringId - The OCID of the masking policy associated with the subsetting report.
- masking
Report stringId - The OCID of the masking report associated with the subsetting report.
- masking
Work stringRequest Id - The OCID of the masking work request triggered after the subsetting job.
- 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. - state string
- The current state of the subsetting report.
- subsetting
Policy stringId - The OCID of the subsetting policy.
- subsetting
Status string - The status of the subsetting job.
- subsetting
Work stringRequest Id - The OCID of the work request that resulted in this subsetting report.
- tablespace string
- The tablespace used for the subsetting operation.
- target
Credentials SubsettingReport Management 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.
- time
Created string - The date and time the subsetting report was created, in the format defined by RFC3339.
- time
Subsetting stringFinished - The date and time data subsetting finished, in the format defined by RFC3339.
- time
Subsetting stringStarted - The date and time data subsetting started, in the format defined by RFC3339.
- total
Post stringSubsetting Script Errors - The total number of errors in the post-subsetting script.
- total
Pre stringSubsetting Script Errors - The total number of errors in the pre-subsetting script.
- total
Subsetted stringObjects - The total number of subsetted objects.
- total
Subsetted stringRows - The count of rows reduced in the subsetting job.
- total
Subsetted stringSchemas - The total number of subsetted schemas.
- compartment_
id str - The OCID of the compartment that contains the subsetting report.
- database_
size_ strafter_ subsetting_ in_ kbs - The size of the target database after subsetting in KBs.
- database_
size_ strbefore_ subsetting_ in_ kbs - The size of the target database before subsetting in KBs.
- 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. - masking_
policy_ strid - The OCID of the masking policy associated with the subsetting report.
- masking_
report_ strid - The OCID of the masking report associated with the subsetting report.
- masking_
work_ strrequest_ id - The OCID of the masking work request triggered after the subsetting job.
- 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. - state str
- The current state of the subsetting report.
- subsetting_
policy_ strid - The OCID of the subsetting policy.
- subsetting_
status str - The status of the subsetting job.
- subsetting_
work_ strrequest_ id - The OCID of the work request that resulted in this subsetting report.
- tablespace str
- The tablespace used for the subsetting operation.
- target_
credentials SubsettingReport Management 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.
- time_
created str - The date and time the subsetting report was created, in the format defined by RFC3339.
- time_
subsetting_ strfinished - The date and time data subsetting finished, in the format defined by RFC3339.
- time_
subsetting_ strstarted - The date and time data subsetting started, in the format defined by RFC3339.
- total_
post_ strsubsetting_ script_ errors - The total number of errors in the post-subsetting script.
- total_
pre_ strsubsetting_ script_ errors - The total number of errors in the pre-subsetting script.
- total_
subsetted_ strobjects - The total number of subsetted objects.
- total_
subsetted_ strrows - The count of rows reduced in the subsetting job.
- total_
subsetted_ strschemas - The total number of subsetted schemas.
- compartment
Id String - The OCID of the compartment that contains the subsetting report.
- database
Size StringAfter Subsetting In Kbs - The size of the target database after subsetting in KBs.
- database
Size StringBefore Subsetting In Kbs - The size of the target database before subsetting in KBs.
- 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. - masking
Policy StringId - The OCID of the masking policy associated with the subsetting report.
- masking
Report StringId - The OCID of the masking report associated with the subsetting report.
- masking
Work StringRequest Id - The OCID of the masking work request triggered after the subsetting job.
- 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. - state String
- The current state of the subsetting report.
- subsetting
Policy StringId - The OCID of the subsetting policy.
- subsetting
Status String - The status of the subsetting job.
- subsetting
Work StringRequest Id - The OCID of the work request that resulted in this subsetting report.
- 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.
- time
Created String - The date and time the subsetting report was created, in the format defined by RFC3339.
- time
Subsetting StringFinished - The date and time data subsetting finished, in the format defined by RFC3339.
- time
Subsetting StringStarted - The date and time data subsetting started, in the format defined by RFC3339.
- total
Post StringSubsetting Script Errors - The total number of errors in the post-subsetting script.
- total
Pre StringSubsetting Script Errors - The total number of errors in the pre-subsetting script.
- total
Subsetted StringObjects - The total number of subsetted objects.
- total
Subsetted StringRows - The count of rows reduced in the subsetting job.
- total
Subsetted StringSchemas - The total number of subsetted schemas.
Supporting Types
SubsettingReportManagementTargetCredentials, SubsettingReportManagementTargetCredentialsArgs
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 Friday, Oct 9, 2026 by Pulumi