1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. DataSafe
  6. getSubsettingReport
Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi

    This data source provides details about a specific Subsetting Report resource in Oracle Cloud Infrastructure Data Safe service.

    Gets the details of the specified subsetting report.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testSubsettingReport = oci.datasafe.getSubsettingReport({
        subsettingReportId: testSubsettingReportOciDataSafeSubsettingReport.id,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_subsetting_report = oci.datasafe.get_subsetting_report(subsetting_report_id=test_subsetting_report_oci_data_safe_subsetting_report["id"])
    
    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.GetSubsettingReport(ctx, &datasafe.GetSubsettingReportArgs{
    			SubsettingReportId: testSubsettingReportOciDataSafeSubsettingReport.Id,
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testSubsettingReport = Oci.DataSafe.GetSubsettingReport.Invoke(new()
        {
            SubsettingReportId = testSubsettingReportOciDataSafeSubsettingReport.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataSafe.DataSafeFunctions;
    import com.pulumi.oci.DataSafe.inputs.GetSubsettingReportArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var testSubsettingReport = DataSafeFunctions.getSubsettingReport(GetSubsettingReportArgs.builder()
                .subsettingReportId(testSubsettingReportOciDataSafeSubsettingReport.get("id"))
                .build());
    
        }
    }
    
    variables:
      testSubsettingReport:
        fn::invoke:
          function: oci:DataSafe:getSubsettingReport
          arguments:
            subsettingReportId: ${testSubsettingReportOciDataSafeSubsettingReport.id}
    
    terraform {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_data_safe_subsetting_report" "testSubsettingReport" {
      subsetting_report_id = testSubsettingReportOciDataSafeSubsettingReport.id
    }
    

    Using getSubsettingReport

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getSubsettingReport(args: GetSubsettingReportArgs, opts?: InvokeOptions): Promise<GetSubsettingReportResult>
    function getSubsettingReportOutput(args: GetSubsettingReportOutputArgs, opts?: InvokeOutputOptions): Output<GetSubsettingReportResult>
    def get_subsetting_report(subsetting_report_id: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> GetSubsettingReportResult
    def get_subsetting_report_output(subsetting_report_id: pulumi.Input[Optional[str]] = None,
                              opts: Optional[InvokeOutputOptions] = None) -> Output[GetSubsettingReportResult]
    func GetSubsettingReport(ctx *Context, args *GetSubsettingReportArgs, opts ...InvokeOption) (*GetSubsettingReportResult, error)
    func GetSubsettingReportOutput(ctx *Context, args *GetSubsettingReportOutputArgs, opts ...InvokeOption) GetSubsettingReportResultOutput

    > Note: This function is named GetSubsettingReport in the Go SDK.

    public static class GetSubsettingReport 
    {
        public static Task<GetSubsettingReportResult> InvokeAsync(GetSubsettingReportArgs args, InvokeOptions? opts = null)
        public static Output<GetSubsettingReportResult> Invoke(GetSubsettingReportInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetSubsettingReportResult> Invoke(GetSubsettingReportInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetSubsettingReportResult> getSubsettingReport(GetSubsettingReportArgs args, InvokeOptions options)
    public static Output<GetSubsettingReportResult> getSubsettingReport(GetSubsettingReportArgs args, InvokeOptions options)
    public static Output<GetSubsettingReportResult> getSubsettingReport(GetSubsettingReportArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:DataSafe/getSubsettingReport:getSubsettingReport
      arguments:
        # arguments dictionary
    data "oci_data_safe_get_subsetting_report" "name" {
        # arguments
    }

    The following arguments are supported:

    SubsettingReportId string
    The OCID of the subsetting report.
    SubsettingReportId string
    The OCID of the subsetting report.
    subsetting_report_id string
    The OCID of the subsetting report.
    subsettingReportId String
    The OCID of the subsetting report.
    subsettingReportId string
    The OCID of the subsetting report.
    subsetting_report_id str
    The OCID of the subsetting report.
    subsettingReportId String
    The OCID of the subsetting report.

    getSubsettingReport Result

    The following output properties are available:

    CompartmentId string
    The OCID of the compartment that contains the subsetting report
    DatabaseSizeAfterSubsettingInKbs string
    The size of the target database after subsetting in KBs
    DatabaseSizeBeforeSubsettingInKbs string
    The size of the target database before subsetting in KBs
    Id string
    The provider-assigned unique ID for this managed resource.
    IsRedoLoggingEnabled bool
    Indicates if redo logging was enabled during the subsetting operation
    IsRefreshStatsEnabled bool
    Indicates if statistics gathering was enabled during the subsetting operation
    MaskingPolicyId string
    The OCID of the masking policy associated with this subsetting report
    MaskingReportId string
    The OCID of the masking report associated with this subsetting report
    MaskingStatus string
    MaskingWorkRequestId string
    The OCID of the masking work request triggered after this subsetting job
    ParallelDegree string
    Indicates if parallel execution was enabled during the subsetting operation
    Recompile string
    Indicates how invalid objects were recompiled post the subsetting operation
    State string
    The current state of the subsetting report
    SubsettingPolicyId string
    The OCID of the subsetting policy used
    SubsettingReportId string
    SubsettingStatus string
    The status of the subsetting job
    SubsettingWorkRequestId string
    The OCID of the subsetting work request that resulted in this subsetting report
    TargetId string
    The OCID of the target database subsetted
    TimeCreated string
    The date and time the subsetting report was created, in the format defined by RFC3339
    TimeSubsettingFinished string
    The date and time data subsetting finished, in the format defined by RFC3339
    TimeSubsettingStarted string
    The date and time data subsetting started, in the format defined by RFC3339
    TotalPostSubsettingScriptErrors string
    The total number of errors in post-subsetting script
    TotalPreSubsettingScriptErrors string
    The total number of errors in pre-subsetting script
    TotalSubsettedObjects string
    The total number of subsetted objects
    TotalSubsettedRows string
    The count of rows reduced in the subsetting job
    TotalSubsettedSchemas string
    The total number of subsetted schemas
    CompartmentId string
    The OCID of the compartment that contains the subsetting report
    DatabaseSizeAfterSubsettingInKbs string
    The size of the target database after subsetting in KBs
    DatabaseSizeBeforeSubsettingInKbs string
    The size of the target database before subsetting in KBs
    Id string
    The provider-assigned unique ID for this managed resource.
    IsRedoLoggingEnabled bool
    Indicates if redo logging was enabled during the subsetting operation
    IsRefreshStatsEnabled bool
    Indicates if statistics gathering was enabled during the subsetting operation
    MaskingPolicyId string
    The OCID of the masking policy associated with this subsetting report
    MaskingReportId string
    The OCID of the masking report associated with this subsetting report
    MaskingStatus string
    MaskingWorkRequestId string
    The OCID of the masking work request triggered after this subsetting job
    ParallelDegree string
    Indicates if parallel execution was enabled during the subsetting operation
    Recompile string
    Indicates how invalid objects were recompiled post the subsetting operation
    State string
    The current state of the subsetting report
    SubsettingPolicyId string
    The OCID of the subsetting policy used
    SubsettingReportId string
    SubsettingStatus string
    The status of the subsetting job
    SubsettingWorkRequestId string
    The OCID of the subsetting work request that resulted in this subsetting report
    TargetId string
    The OCID of the target database subsetted
    TimeCreated string
    The date and time the subsetting report was created, in the format defined by RFC3339
    TimeSubsettingFinished string
    The date and time data subsetting finished, in the format defined by RFC3339
    TimeSubsettingStarted string
    The date and time data subsetting started, in the format defined by RFC3339
    TotalPostSubsettingScriptErrors string
    The total number of errors in post-subsetting script
    TotalPreSubsettingScriptErrors string
    The total number of errors in pre-subsetting script
    TotalSubsettedObjects string
    The total number of subsetted objects
    TotalSubsettedRows string
    The count of rows reduced in the subsetting job
    TotalSubsettedSchemas string
    The total number of subsetted schemas
    compartment_id string
    The OCID of the compartment that contains the subsetting report
    database_size_after_subsetting_in_kbs string
    The size of the target database after subsetting in KBs
    database_size_before_subsetting_in_kbs string
    The size of the target database before subsetting in KBs
    id string
    The provider-assigned unique ID for this managed resource.
    is_redo_logging_enabled bool
    Indicates if redo logging was enabled during the subsetting operation
    is_refresh_stats_enabled bool
    Indicates if statistics gathering was enabled during the subsetting operation
    masking_policy_id string
    The OCID of the masking policy associated with this subsetting report
    masking_report_id string
    The OCID of the masking report associated with this subsetting report
    masking_status string
    masking_work_request_id string
    The OCID of the masking work request triggered after this subsetting job
    parallel_degree string
    Indicates if parallel execution was enabled during the subsetting operation
    recompile string
    Indicates how invalid objects were recompiled post the subsetting operation
    state string
    The current state of the subsetting report
    subsetting_policy_id string
    The OCID of the subsetting policy used
    subsetting_report_id string
    subsetting_status string
    The status of the subsetting job
    subsetting_work_request_id string
    The OCID of the subsetting work request that resulted in this subsetting report
    target_id string
    The OCID of the target database subsetted
    time_created string
    The date and time the subsetting report was created, in the format defined by RFC3339
    time_subsetting_finished string
    The date and time data subsetting finished, in the format defined by RFC3339
    time_subsetting_started string
    The date and time data subsetting started, in the format defined by RFC3339
    total_post_subsetting_script_errors string
    The total number of errors in post-subsetting script
    total_pre_subsetting_script_errors string
    The total number of errors in pre-subsetting script
    total_subsetted_objects string
    The total number of subsetted objects
    total_subsetted_rows string
    The count of rows reduced in the subsetting job
    total_subsetted_schemas string
    The total number of subsetted schemas
    compartmentId String
    The OCID of the compartment that contains the subsetting report
    databaseSizeAfterSubsettingInKbs String
    The size of the target database after subsetting in KBs
    databaseSizeBeforeSubsettingInKbs String
    The size of the target database before subsetting in KBs
    id String
    The provider-assigned unique ID for this managed resource.
    isRedoLoggingEnabled Boolean
    Indicates if redo logging was enabled during the subsetting operation
    isRefreshStatsEnabled Boolean
    Indicates if statistics gathering was enabled during the subsetting operation
    maskingPolicyId String
    The OCID of the masking policy associated with this subsetting report
    maskingReportId String
    The OCID of the masking report associated with this subsetting report
    maskingStatus String
    maskingWorkRequestId String
    The OCID of the masking work request triggered after this subsetting job
    parallelDegree String
    Indicates if parallel execution was enabled during the subsetting operation
    recompile String
    Indicates how invalid objects were recompiled post the subsetting operation
    state String
    The current state of the subsetting report
    subsettingPolicyId String
    The OCID of the subsetting policy used
    subsettingReportId String
    subsettingStatus String
    The status of the subsetting job
    subsettingWorkRequestId String
    The OCID of the subsetting work request that resulted in this subsetting report
    targetId String
    The OCID of the target database subsetted
    timeCreated String
    The date and time the subsetting report was created, in the format defined by RFC3339
    timeSubsettingFinished String
    The date and time data subsetting finished, in the format defined by RFC3339
    timeSubsettingStarted String
    The date and time data subsetting started, in the format defined by RFC3339
    totalPostSubsettingScriptErrors String
    The total number of errors in post-subsetting script
    totalPreSubsettingScriptErrors String
    The total number of errors in pre-subsetting script
    totalSubsettedObjects String
    The total number of subsetted objects
    totalSubsettedRows String
    The count of rows reduced in the subsetting job
    totalSubsettedSchemas String
    The total number of subsetted schemas
    compartmentId string
    The OCID of the compartment that contains the subsetting report
    databaseSizeAfterSubsettingInKbs string
    The size of the target database after subsetting in KBs
    databaseSizeBeforeSubsettingInKbs string
    The size of the target database before subsetting in KBs
    id string
    The provider-assigned unique ID for this managed resource.
    isRedoLoggingEnabled boolean
    Indicates if redo logging was enabled during the subsetting operation
    isRefreshStatsEnabled boolean
    Indicates if statistics gathering was enabled during the subsetting operation
    maskingPolicyId string
    The OCID of the masking policy associated with this subsetting report
    maskingReportId string
    The OCID of the masking report associated with this subsetting report
    maskingStatus string
    maskingWorkRequestId string
    The OCID of the masking work request triggered after this subsetting job
    parallelDegree string
    Indicates if parallel execution was enabled during the subsetting operation
    recompile string
    Indicates how invalid objects were recompiled post the subsetting operation
    state string
    The current state of the subsetting report
    subsettingPolicyId string
    The OCID of the subsetting policy used
    subsettingReportId string
    subsettingStatus string
    The status of the subsetting job
    subsettingWorkRequestId string
    The OCID of the subsetting work request that resulted in this subsetting report
    targetId string
    The OCID of the target database subsetted
    timeCreated string
    The date and time the subsetting report was created, in the format defined by RFC3339
    timeSubsettingFinished string
    The date and time data subsetting finished, in the format defined by RFC3339
    timeSubsettingStarted string
    The date and time data subsetting started, in the format defined by RFC3339
    totalPostSubsettingScriptErrors string
    The total number of errors in post-subsetting script
    totalPreSubsettingScriptErrors string
    The total number of errors in pre-subsetting script
    totalSubsettedObjects string
    The total number of subsetted objects
    totalSubsettedRows string
    The count of rows reduced in the subsetting job
    totalSubsettedSchemas string
    The total number of subsetted schemas
    compartment_id str
    The OCID of the compartment that contains the subsetting report
    database_size_after_subsetting_in_kbs str
    The size of the target database after subsetting in KBs
    database_size_before_subsetting_in_kbs str
    The size of the target database before subsetting in KBs
    id str
    The provider-assigned unique ID for this managed resource.
    is_redo_logging_enabled bool
    Indicates if redo logging was enabled during the subsetting operation
    is_refresh_stats_enabled bool
    Indicates if statistics gathering was enabled during the subsetting operation
    masking_policy_id str
    The OCID of the masking policy associated with this subsetting report
    masking_report_id str
    The OCID of the masking report associated with this subsetting report
    masking_status str
    masking_work_request_id str
    The OCID of the masking work request triggered after this subsetting job
    parallel_degree str
    Indicates if parallel execution was enabled during the subsetting operation
    recompile str
    Indicates how invalid objects were recompiled post the subsetting operation
    state str
    The current state of the subsetting report
    subsetting_policy_id str
    The OCID of the subsetting policy used
    subsetting_report_id str
    subsetting_status str
    The status of the subsetting job
    subsetting_work_request_id str
    The OCID of the subsetting work request that resulted in this subsetting report
    target_id str
    The OCID of the target database subsetted
    time_created str
    The date and time the subsetting report was created, in the format defined by RFC3339
    time_subsetting_finished str
    The date and time data subsetting finished, in the format defined by RFC3339
    time_subsetting_started str
    The date and time data subsetting started, in the format defined by RFC3339
    total_post_subsetting_script_errors str
    The total number of errors in post-subsetting script
    total_pre_subsetting_script_errors str
    The total number of errors in pre-subsetting script
    total_subsetted_objects str
    The total number of subsetted objects
    total_subsetted_rows str
    The count of rows reduced in the subsetting job
    total_subsetted_schemas str
    The total number of subsetted schemas
    compartmentId String
    The OCID of the compartment that contains the subsetting report
    databaseSizeAfterSubsettingInKbs String
    The size of the target database after subsetting in KBs
    databaseSizeBeforeSubsettingInKbs String
    The size of the target database before subsetting in KBs
    id String
    The provider-assigned unique ID for this managed resource.
    isRedoLoggingEnabled Boolean
    Indicates if redo logging was enabled during the subsetting operation
    isRefreshStatsEnabled Boolean
    Indicates if statistics gathering was enabled during the subsetting operation
    maskingPolicyId String
    The OCID of the masking policy associated with this subsetting report
    maskingReportId String
    The OCID of the masking report associated with this subsetting report
    maskingStatus String
    maskingWorkRequestId String
    The OCID of the masking work request triggered after this subsetting job
    parallelDegree String
    Indicates if parallel execution was enabled during the subsetting operation
    recompile String
    Indicates how invalid objects were recompiled post the subsetting operation
    state String
    The current state of the subsetting report
    subsettingPolicyId String
    The OCID of the subsetting policy used
    subsettingReportId String
    subsettingStatus String
    The status of the subsetting job
    subsettingWorkRequestId String
    The OCID of the subsetting work request that resulted in this subsetting report
    targetId String
    The OCID of the target database subsetted
    timeCreated String
    The date and time the subsetting report was created, in the format defined by RFC3339
    timeSubsettingFinished String
    The date and time data subsetting finished, in the format defined by RFC3339
    timeSubsettingStarted String
    The date and time data subsetting started, in the format defined by RFC3339
    totalPostSubsettingScriptErrors String
    The total number of errors in post-subsetting script
    totalPreSubsettingScriptErrors String
    The total number of errors in pre-subsetting script
    totalSubsettedObjects String
    The total number of subsetted objects
    totalSubsettedRows String
    The count of rows reduced in the subsetting job
    totalSubsettedSchemas String
    The total number of subsetted schemas

    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.3.1
    published on Tuesday, Oct 13, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial