Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi
This data source provides the list of Subsetting Policy Table Estimates in Oracle Cloud Infrastructure Data Safe service.
Gets table size estimates for the specified subsetting policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testSubsettingPolicyTableEstimates = oci.datasafe.getSubsettingPolicyTableEstimates({
subsettingPolicyId: testSubsettingPolicy.id,
objects: subsettingPolicyTableEstimateObject,
schemaNames: subsettingPolicyTableEstimateSchemaName,
targetId: testTarget.id,
});
import pulumi
import pulumi_oci as oci
test_subsetting_policy_table_estimates = oci.datasafe.get_subsetting_policy_table_estimates(subsetting_policy_id=test_subsetting_policy["id"],
objects=subsetting_policy_table_estimate_object,
schema_names=subsetting_policy_table_estimate_schema_name,
target_id=test_target["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.GetSubsettingPolicyTableEstimates(ctx, &datasafe.GetSubsettingPolicyTableEstimatesArgs{
SubsettingPolicyId: testSubsettingPolicy.Id,
Objects: subsettingPolicyTableEstimateObject,
SchemaNames: subsettingPolicyTableEstimateSchemaName,
TargetId: pulumi.StringRef(testTarget.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 testSubsettingPolicyTableEstimates = Oci.DataSafe.GetSubsettingPolicyTableEstimates.Invoke(new()
{
SubsettingPolicyId = testSubsettingPolicy.Id,
Objects = subsettingPolicyTableEstimateObject,
SchemaNames = subsettingPolicyTableEstimateSchemaName,
TargetId = testTarget.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.GetSubsettingPolicyTableEstimatesArgs;
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 testSubsettingPolicyTableEstimates = DataSafeFunctions.getSubsettingPolicyTableEstimates(GetSubsettingPolicyTableEstimatesArgs.builder()
.subsettingPolicyId(testSubsettingPolicy.get("id"))
.objects(subsettingPolicyTableEstimateObject)
.schemaNames(subsettingPolicyTableEstimateSchemaName)
.targetId(testTarget.get("id"))
.build());
}
}
variables:
testSubsettingPolicyTableEstimates:
fn::invoke:
function: oci:DataSafe:getSubsettingPolicyTableEstimates
arguments:
subsettingPolicyId: ${testSubsettingPolicy.id}
objects: ${subsettingPolicyTableEstimateObject}
schemaNames: ${subsettingPolicyTableEstimateSchemaName}
targetId: ${testTarget.id}
terraform {
required_providers {
oci = {
source = "pulumi/oci"
}
}
}
data "oci_data_safe_subsetting_policy_table_estimates" "testSubsettingPolicyTableEstimates" {
subsetting_policy_id = testSubsettingPolicy.id
objects = subsettingPolicyTableEstimateObject
schema_names = subsettingPolicyTableEstimateSchemaName
target_id = testTarget.id
}
Using getSubsettingPolicyTableEstimates
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 getSubsettingPolicyTableEstimates(args: GetSubsettingPolicyTableEstimatesArgs, opts?: InvokeOptions): Promise<GetSubsettingPolicyTableEstimatesResult>
function getSubsettingPolicyTableEstimatesOutput(args: GetSubsettingPolicyTableEstimatesOutputArgs, opts?: InvokeOutputOptions): Output<GetSubsettingPolicyTableEstimatesResult>def get_subsetting_policy_table_estimates(filters: Optional[Sequence[GetSubsettingPolicyTableEstimatesFilter]] = None,
objects: Optional[Sequence[str]] = None,
schema_names: Optional[Sequence[str]] = None,
subsetting_policy_id: Optional[str] = None,
target_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSubsettingPolicyTableEstimatesResult
def get_subsetting_policy_table_estimates_output(filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetSubsettingPolicyTableEstimatesFilterArgs]]]] = None,
objects: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
schema_names: pulumi.Input[Optional[Sequence[pulumi.Input[str]]]] = None,
subsetting_policy_id: pulumi.Input[Optional[str]] = None,
target_id: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetSubsettingPolicyTableEstimatesResult]func GetSubsettingPolicyTableEstimates(ctx *Context, args *GetSubsettingPolicyTableEstimatesArgs, opts ...InvokeOption) (*GetSubsettingPolicyTableEstimatesResult, error)
func GetSubsettingPolicyTableEstimatesOutput(ctx *Context, args *GetSubsettingPolicyTableEstimatesOutputArgs, opts ...InvokeOption) GetSubsettingPolicyTableEstimatesResultOutput> Note: This function is named GetSubsettingPolicyTableEstimates in the Go SDK.
public static class GetSubsettingPolicyTableEstimates
{
public static Task<GetSubsettingPolicyTableEstimatesResult> InvokeAsync(GetSubsettingPolicyTableEstimatesArgs args, InvokeOptions? opts = null)
public static Output<GetSubsettingPolicyTableEstimatesResult> Invoke(GetSubsettingPolicyTableEstimatesInvokeArgs args, InvokeOptions? opts = null)
public static Output<GetSubsettingPolicyTableEstimatesResult> Invoke(GetSubsettingPolicyTableEstimatesInvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetSubsettingPolicyTableEstimatesResult> getSubsettingPolicyTableEstimates(GetSubsettingPolicyTableEstimatesArgs args, InvokeOptions options)
public static Output<GetSubsettingPolicyTableEstimatesResult> getSubsettingPolicyTableEstimates(GetSubsettingPolicyTableEstimatesArgs args, InvokeOptions options)
public static Output<GetSubsettingPolicyTableEstimatesResult> getSubsettingPolicyTableEstimates(GetSubsettingPolicyTableEstimatesArgs args, InvokeOutputOptions options)
fn::invoke:
function: oci:DataSafe/getSubsettingPolicyTableEstimates:getSubsettingPolicyTableEstimates
arguments:
# arguments dictionarydata "oci_data_safe_get_subsetting_policy_table_estimates" "name" {
# arguments
}The following arguments are supported:
- Subsetting
Policy stringId - The OCID of the subsetting policy.
- Filters
List<Get
Subsetting Policy Table Estimates Filter> - Objects List<string>
- A filter to return only items related to a specific object name.
- Schema
Names List<string> - A filter to return only items related to specific schema name.
- Target
Id string - A filter to return only items related to a specific target OCID.
- Subsetting
Policy stringId - The OCID of the subsetting policy.
- Filters
[]Get
Subsetting Policy Table Estimates Filter - Objects []string
- A filter to return only items related to a specific object name.
- Schema
Names []string - A filter to return only items related to specific schema name.
- Target
Id string - A filter to return only items related to a specific target OCID.
- subsetting_
policy_ stringid - The OCID of the subsetting policy.
- filters list(object)
- objects list(string)
- A filter to return only items related to a specific object name.
- schema_
names list(string) - A filter to return only items related to specific schema name.
- target_
id string - A filter to return only items related to a specific target OCID.
- subsetting
Policy StringId - The OCID of the subsetting policy.
- filters
List<Get
Subsetting Policy Table Estimates Filter> - objects List<String>
- A filter to return only items related to a specific object name.
- schema
Names List<String> - A filter to return only items related to specific schema name.
- target
Id String - A filter to return only items related to a specific target OCID.
- subsetting
Policy stringId - The OCID of the subsetting policy.
- filters
Get
Subsetting Policy Table Estimates Filter[] - objects string[]
- A filter to return only items related to a specific object name.
- schema
Names string[] - A filter to return only items related to specific schema name.
- target
Id string - A filter to return only items related to a specific target OCID.
- subsetting_
policy_ strid - The OCID of the subsetting policy.
- filters
Sequence[Get
Subsetting Policy Table Estimates Filter] - objects Sequence[str]
- A filter to return only items related to a specific object name.
- schema_
names Sequence[str] - A filter to return only items related to specific schema name.
- target_
id str - A filter to return only items related to a specific target OCID.
- subsetting
Policy StringId - The OCID of the subsetting policy.
- filters List<Property Map>
- objects List<String>
- A filter to return only items related to a specific object name.
- schema
Names List<String> - A filter to return only items related to specific schema name.
- target
Id String - A filter to return only items related to a specific target OCID.
getSubsettingPolicyTableEstimates Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Subsetting
Policy stringId - Table
Estimate List<GetCollections Subsetting Policy Table Estimates Table Estimate Collection> - The list of table_estimate_collection.
- Filters
List<Get
Subsetting Policy Table Estimates Filter> - Objects List<string>
- Schema
Names List<string> - The name of the schema that contains the table.
- Target
Id string - The OCID of the target database associated with the table estimate object.
- Id string
- The provider-assigned unique ID for this managed resource.
- Subsetting
Policy stringId - Table
Estimate []GetCollections Subsetting Policy Table Estimates Table Estimate Collection - The list of table_estimate_collection.
- Filters
[]Get
Subsetting Policy Table Estimates Filter - Objects []string
- Schema
Names []string - The name of the schema that contains the table.
- Target
Id string - The OCID of the target database associated with the table estimate object.
- id string
- The provider-assigned unique ID for this managed resource.
- subsetting_
policy_ stringid - table_
estimate_ list(object)collections - The list of table_estimate_collection.
- filters list(object)
- objects list(string)
- schema_
names list(string) - The name of the schema that contains the table.
- target_
id string - The OCID of the target database associated with the table estimate object.
- id String
- The provider-assigned unique ID for this managed resource.
- subsetting
Policy StringId - table
Estimate List<GetCollections Subsetting Policy Table Estimates Table Estimate Collection> - The list of table_estimate_collection.
- filters
List<Get
Subsetting Policy Table Estimates Filter> - objects List<String>
- schema
Names List<String> - The name of the schema that contains the table.
- target
Id String - The OCID of the target database associated with the table estimate object.
- id string
- The provider-assigned unique ID for this managed resource.
- subsetting
Policy stringId - table
Estimate GetCollections Subsetting Policy Table Estimates Table Estimate Collection[] - The list of table_estimate_collection.
- filters
Get
Subsetting Policy Table Estimates Filter[] - objects string[]
- schema
Names string[] - The name of the schema that contains the table.
- target
Id string - The OCID of the target database associated with the table estimate object.
- id str
- The provider-assigned unique ID for this managed resource.
- subsetting_
policy_ strid - table_
estimate_ Sequence[Getcollections Subsetting Policy Table Estimates Table Estimate Collection] - The list of table_estimate_collection.
- filters
Sequence[Get
Subsetting Policy Table Estimates Filter] - objects Sequence[str]
- schema_
names Sequence[str] - The name of the schema that contains the table.
- target_
id str - The OCID of the target database associated with the table estimate object.
- id String
- The provider-assigned unique ID for this managed resource.
- subsetting
Policy StringId - table
Estimate List<Property Map>Collections - The list of table_estimate_collection.
- filters List<Property Map>
- objects List<String>
- schema
Names List<String> - The name of the schema that contains the table.
- target
Id String - The OCID of the target database associated with the table estimate object.
Supporting Types
GetSubsettingPolicyTableEstimatesFilter
GetSubsettingPolicyTableEstimatesTableEstimateCollection
- Items
List<Get
Subsetting Policy Table Estimates Table Estimate Collection Item> - An array of table estimate objects.
- Items
[]Get
Subsetting Policy Table Estimates Table Estimate Collection Item - An array of table estimate objects.
- items list(object)
- An array of table estimate objects.
- items
List<Get
Subsetting Policy Table Estimates Table Estimate Collection Item> - An array of table estimate objects.
- items
Get
Subsetting Policy Table Estimates Table Estimate Collection Item[] - An array of table estimate objects.
- items
Sequence[Get
Subsetting Policy Table Estimates Table Estimate Collection Item] - An array of table estimate objects.
- items List<Property Map>
- An array of table estimate objects.
GetSubsettingPolicyTableEstimatesTableEstimateCollectionItem
- Estimated
Row stringCount - The estimated number of rows in the table after subsetting.
- Estimated
Size stringIn Kbs - The estimated size of the table in KBs after subsetting.
- Initial
Row stringCount - The initial number of rows in the table.
- Initial
Size stringIn Kbs - The initial size of the table in KBs.
- Object
Type string - The type of the database object.
- Schema
Name string - A filter to return only items related to specific schema name.
- Table
Name string - The name of the table.
- Target
Id string - A filter to return only items related to a specific target OCID.
- Estimated
Row stringCount - The estimated number of rows in the table after subsetting.
- Estimated
Size stringIn Kbs - The estimated size of the table in KBs after subsetting.
- Initial
Row stringCount - The initial number of rows in the table.
- Initial
Size stringIn Kbs - The initial size of the table in KBs.
- Object
Type string - The type of the database object.
- Schema
Name string - A filter to return only items related to specific schema name.
- Table
Name string - The name of the table.
- Target
Id string - A filter to return only items related to a specific target OCID.
- estimated_
row_ stringcount - The estimated number of rows in the table after subsetting.
- estimated_
size_ stringin_ kbs - The estimated size of the table in KBs after subsetting.
- initial_
row_ stringcount - The initial number of rows in the table.
- initial_
size_ stringin_ kbs - The initial size of the table in KBs.
- object_
type string - The type of the database object.
- schema_
name string - A filter to return only items related to specific schema name.
- table_
name string - The name of the table.
- target_
id string - A filter to return only items related to a specific target OCID.
- estimated
Row StringCount - The estimated number of rows in the table after subsetting.
- estimated
Size StringIn Kbs - The estimated size of the table in KBs after subsetting.
- initial
Row StringCount - The initial number of rows in the table.
- initial
Size StringIn Kbs - The initial size of the table in KBs.
- object
Type String - The type of the database object.
- schema
Name String - A filter to return only items related to specific schema name.
- table
Name String - The name of the table.
- target
Id String - A filter to return only items related to a specific target OCID.
- estimated
Row stringCount - The estimated number of rows in the table after subsetting.
- estimated
Size stringIn Kbs - The estimated size of the table in KBs after subsetting.
- initial
Row stringCount - The initial number of rows in the table.
- initial
Size stringIn Kbs - The initial size of the table in KBs.
- object
Type string - The type of the database object.
- schema
Name string - A filter to return only items related to specific schema name.
- table
Name string - The name of the table.
- target
Id string - A filter to return only items related to a specific target OCID.
- estimated_
row_ strcount - The estimated number of rows in the table after subsetting.
- estimated_
size_ strin_ kbs - The estimated size of the table in KBs after subsetting.
- initial_
row_ strcount - The initial number of rows in the table.
- initial_
size_ strin_ kbs - The initial size of the table in KBs.
- object_
type str - The type of the database object.
- schema_
name str - A filter to return only items related to specific schema name.
- table_
name str - The name of the table.
- target_
id str - A filter to return only items related to a specific target OCID.
- estimated
Row StringCount - The estimated number of rows in the table after subsetting.
- estimated
Size StringIn Kbs - The estimated size of the table in KBs after subsetting.
- initial
Row StringCount - The initial number of rows in the table.
- initial
Size StringIn Kbs - The initial size of the table in KBs.
- object
Type String - The type of the database object.
- schema
Name String - A filter to return only items related to specific schema name.
- table
Name String - The name of the table.
- target
Id String - A filter to return only items related to a specific target OCID.
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ociTerraform Provider.
Viewing docs for Oracle Cloud Infrastructure v5.3.1
published on Tuesday, Oct 13, 2026 by Pulumi
published on Tuesday, Oct 13, 2026 by Pulumi