1. Registry
  2. Packages
  3. Oracle Cloud Infrastructure
  4. API Docs
  5. DatabaseMigration
  6. getMigrationDataVerificationObjectTypeCounts
Viewing docs for Oracle Cloud Infrastructure v5.7.0
published on Thursday, Nov 12, 2026 by Pulumi
oci logo oci logo
Viewing docs for Oracle Cloud Infrastructure v5.7.0
published on Thursday, Nov 12, 2026 by Pulumi

    This data source provides the list of Migration Data Verification Object Type Counts in Oracle Cloud Infrastructure Database Migration service.

    Lists object type count comparison results for a migration.

    The migration must already have Data Verification results.

    The objectType filter is a database-specific string and is validated by the backend.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testMigrationDataVerificationObjectTypeCounts = oci.databasemigration.getMigrationDataVerificationObjectTypeCounts({
        compartmentId: compartmentId,
        migrationId: migrationId,
        migrationDataVerificationObjectTypeCountFilter: null,
        minAbsDeltaPercent: null,
        objectType: null,
        schemaName: null,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_migration_data_verification_object_type_counts = oci.databasemigration.get_migration_data_verification_object_type_counts(compartment_id=compartment_id,
        migration_id=migration_id,
        migration_data_verification_object_type_count_filter=None,
        min_abs_delta_percent=None,
        object_type=None,
        schema_name=None)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v5/go/oci/databasemigration"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := databasemigration.GetMigrationDataVerificationObjectTypeCounts(ctx, &databasemigration.GetMigrationDataVerificationObjectTypeCountsArgs{
    			CompartmentId: compartmentId,
    			MigrationId:   migrationId,
    			MigrationDataVerificationObjectTypeCountFilter: pulumi.StringRef(nil),
    			MinAbsDeltaPercent: pulumi.Float64Ref(nil),
    			ObjectType:         pulumi.StringRef(nil),
    			SchemaName:         pulumi.StringRef(nil),
    		}, 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 testMigrationDataVerificationObjectTypeCounts = Oci.DatabaseMigration.GetMigrationDataVerificationObjectTypeCounts.Invoke(new()
        {
            CompartmentId = compartmentId,
            MigrationId = migrationId,
            MigrationDataVerificationObjectTypeCountFilter = null,
            MinAbsDeltaPercent = null,
            ObjectType = null,
            SchemaName = null,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DatabaseMigration.DatabaseMigrationFunctions;
    import com.pulumi.oci.DatabaseMigration.inputs.GetMigrationDataVerificationObjectTypeCountsArgs;
    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 testMigrationDataVerificationObjectTypeCounts = DatabaseMigrationFunctions.getMigrationDataVerificationObjectTypeCounts(GetMigrationDataVerificationObjectTypeCountsArgs.builder()
                .compartmentId(compartmentId)
                .migrationId(migrationId)
                .migrationDataVerificationObjectTypeCountFilter(null)
                .minAbsDeltaPercent(null)
                .objectType(null)
                .schemaName(null)
                .build());
    
        }
    }
    
    variables:
      testMigrationDataVerificationObjectTypeCounts:
        fn::invoke:
          function: oci:DatabaseMigration:getMigrationDataVerificationObjectTypeCounts
          arguments:
            compartmentId: ${compartmentId}
            migrationId: ${migrationId}
            migrationDataVerificationObjectTypeCountFilter: null
            minAbsDeltaPercent: null
            objectType: null
            schemaName: null
    
    terraform {
      required_providers {
        oci = {
          source = "pulumi/oci"
        }
      }
    }
    
    data "oci_database_migration_migration_data_verification_object_type_counts" "testMigrationDataVerificationObjectTypeCounts" {
      compartment_id                                       = compartmentId
      migration_id                                         = migrationId
      migration_data_verification_object_type_count_filter = null
      min_abs_delta_percent                                = null
      object_type                                          = null
      schema_name                                          = null
    }
    

    Using getMigrationDataVerificationObjectTypeCounts

    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 getMigrationDataVerificationObjectTypeCounts(args: GetMigrationDataVerificationObjectTypeCountsArgs, opts?: InvokeOptions): Promise<GetMigrationDataVerificationObjectTypeCountsResult>
    function getMigrationDataVerificationObjectTypeCountsOutput(args: GetMigrationDataVerificationObjectTypeCountsOutputArgs, opts?: InvokeOutputOptions): Output<GetMigrationDataVerificationObjectTypeCountsResult>
    def get_migration_data_verification_object_type_counts(compartment_id: Optional[str] = None,
                                                           filters: Optional[Sequence[GetMigrationDataVerificationObjectTypeCountsFilter]] = None,
                                                           migration_data_verification_object_type_count_filter: Optional[str] = None,
                                                           migration_id: Optional[str] = None,
                                                           min_abs_delta_percent: Optional[float] = None,
                                                           object_type: Optional[str] = None,
                                                           schema_name: Optional[str] = None,
                                                           opts: Optional[InvokeOptions] = None) -> GetMigrationDataVerificationObjectTypeCountsResult
    def get_migration_data_verification_object_type_counts_output(compartment_id: pulumi.Input[Optional[str]] = None,
                                                           filters: pulumi.Input[Optional[Sequence[pulumi.Input[GetMigrationDataVerificationObjectTypeCountsFilterArgs]]]] = None,
                                                           migration_data_verification_object_type_count_filter: pulumi.Input[Optional[str]] = None,
                                                           migration_id: pulumi.Input[Optional[str]] = None,
                                                           min_abs_delta_percent: pulumi.Input[Optional[float]] = None,
                                                           object_type: pulumi.Input[Optional[str]] = None,
                                                           schema_name: pulumi.Input[Optional[str]] = None,
                                                           opts: Optional[InvokeOutputOptions] = None) -> Output[GetMigrationDataVerificationObjectTypeCountsResult]
    func GetMigrationDataVerificationObjectTypeCounts(ctx *Context, args *GetMigrationDataVerificationObjectTypeCountsArgs, opts ...InvokeOption) (*GetMigrationDataVerificationObjectTypeCountsResult, error)
    func GetMigrationDataVerificationObjectTypeCountsOutput(ctx *Context, args *GetMigrationDataVerificationObjectTypeCountsOutputArgs, opts ...InvokeOption) GetMigrationDataVerificationObjectTypeCountsResultOutput

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

    public static class GetMigrationDataVerificationObjectTypeCounts 
    {
        public static Task<GetMigrationDataVerificationObjectTypeCountsResult> InvokeAsync(GetMigrationDataVerificationObjectTypeCountsArgs args, InvokeOptions? opts = null)
        public static Output<GetMigrationDataVerificationObjectTypeCountsResult> Invoke(GetMigrationDataVerificationObjectTypeCountsInvokeArgs args, InvokeOptions? opts = null)
        public static Output<GetMigrationDataVerificationObjectTypeCountsResult> Invoke(GetMigrationDataVerificationObjectTypeCountsInvokeArgs args, InvokeOutputOptions opts)
    }
    public static CompletableFuture<GetMigrationDataVerificationObjectTypeCountsResult> getMigrationDataVerificationObjectTypeCounts(GetMigrationDataVerificationObjectTypeCountsArgs args, InvokeOptions options)
    public static Output<GetMigrationDataVerificationObjectTypeCountsResult> getMigrationDataVerificationObjectTypeCounts(GetMigrationDataVerificationObjectTypeCountsArgs args, InvokeOptions options)
    public static Output<GetMigrationDataVerificationObjectTypeCountsResult> getMigrationDataVerificationObjectTypeCounts(GetMigrationDataVerificationObjectTypeCountsArgs args, InvokeOutputOptions options)
    
    fn::invoke:
      function: oci:DatabaseMigration/getMigrationDataVerificationObjectTypeCounts:getMigrationDataVerificationObjectTypeCounts
      arguments:
        # arguments dictionary
    data "oci_database_migration_get_migration_data_verification_object_type_counts" "name" {
        # arguments
    }

    The following arguments are supported:

    CompartmentId string
    The ID of the compartment in which to list resources.
    MigrationId string
    The OCID of the migration
    Filters List<GetMigrationDataVerificationObjectTypeCountsFilter>
    MigrationDataVerificationObjectTypeCountFilter string
    Free-text filter applied by the service to relevant fields for the report.
    MinAbsDeltaPercent double

    Minimum absolute deltaPercent threshold (magnitude) to return. The service filters results where abs(deltaPercent) >= minAbsDeltaPercent. Must be non-negative.

    Note: This filter applies to the object type counts report, which uses deltaPercent. Table row count reports use variancePercent instead.

    ObjectType string

    A filter to return only results for a specific object type.

    The allowed values depend on the migration's databaseCombination:

    • Oracle migrations: OracleDatabaseObjectTypes
    • MySQL migrations: MySqlDatabaseObjectTypes
    SchemaName string
    A filter to return only results for a specific schema/owner.
    CompartmentId string
    The ID of the compartment in which to list resources.
    MigrationId string
    The OCID of the migration
    Filters []GetMigrationDataVerificationObjectTypeCountsFilter
    MigrationDataVerificationObjectTypeCountFilter string
    Free-text filter applied by the service to relevant fields for the report.
    MinAbsDeltaPercent float64

    Minimum absolute deltaPercent threshold (magnitude) to return. The service filters results where abs(deltaPercent) >= minAbsDeltaPercent. Must be non-negative.

    Note: This filter applies to the object type counts report, which uses deltaPercent. Table row count reports use variancePercent instead.

    ObjectType string

    A filter to return only results for a specific object type.

    The allowed values depend on the migration's databaseCombination:

    • Oracle migrations: OracleDatabaseObjectTypes
    • MySQL migrations: MySqlDatabaseObjectTypes
    SchemaName string
    A filter to return only results for a specific schema/owner.
    compartment_id string
    The ID of the compartment in which to list resources.
    migration_id string
    The OCID of the migration
    filters list(object)
    migration_data_verification_object_type_count_filter string
    Free-text filter applied by the service to relevant fields for the report.
    min_abs_delta_percent number

    Minimum absolute deltaPercent threshold (magnitude) to return. The service filters results where abs(deltaPercent) >= minAbsDeltaPercent. Must be non-negative.

    Note: This filter applies to the object type counts report, which uses deltaPercent. Table row count reports use variancePercent instead.

    object_type string

    A filter to return only results for a specific object type.

    The allowed values depend on the migration's databaseCombination:

    • Oracle migrations: OracleDatabaseObjectTypes
    • MySQL migrations: MySqlDatabaseObjectTypes
    schema_name string
    A filter to return only results for a specific schema/owner.
    compartmentId String
    The ID of the compartment in which to list resources.
    migrationId String
    The OCID of the migration
    filters List<GetMigrationDataVerificationObjectTypeCountsFilter>
    migrationDataVerificationObjectTypeCountFilter String
    Free-text filter applied by the service to relevant fields for the report.
    minAbsDeltaPercent Double

    Minimum absolute deltaPercent threshold (magnitude) to return. The service filters results where abs(deltaPercent) >= minAbsDeltaPercent. Must be non-negative.

    Note: This filter applies to the object type counts report, which uses deltaPercent. Table row count reports use variancePercent instead.

    objectType String

    A filter to return only results for a specific object type.

    The allowed values depend on the migration's databaseCombination:

    • Oracle migrations: OracleDatabaseObjectTypes
    • MySQL migrations: MySqlDatabaseObjectTypes
    schemaName String
    A filter to return only results for a specific schema/owner.
    compartmentId string
    The ID of the compartment in which to list resources.
    migrationId string
    The OCID of the migration
    filters GetMigrationDataVerificationObjectTypeCountsFilter[]
    migrationDataVerificationObjectTypeCountFilter string
    Free-text filter applied by the service to relevant fields for the report.
    minAbsDeltaPercent number

    Minimum absolute deltaPercent threshold (magnitude) to return. The service filters results where abs(deltaPercent) >= minAbsDeltaPercent. Must be non-negative.

    Note: This filter applies to the object type counts report, which uses deltaPercent. Table row count reports use variancePercent instead.

    objectType string

    A filter to return only results for a specific object type.

    The allowed values depend on the migration's databaseCombination:

    • Oracle migrations: OracleDatabaseObjectTypes
    • MySQL migrations: MySqlDatabaseObjectTypes
    schemaName string
    A filter to return only results for a specific schema/owner.
    compartment_id str
    The ID of the compartment in which to list resources.
    migration_id str
    The OCID of the migration
    filters Sequence[GetMigrationDataVerificationObjectTypeCountsFilter]
    migration_data_verification_object_type_count_filter str
    Free-text filter applied by the service to relevant fields for the report.
    min_abs_delta_percent float

    Minimum absolute deltaPercent threshold (magnitude) to return. The service filters results where abs(deltaPercent) >= minAbsDeltaPercent. Must be non-negative.

    Note: This filter applies to the object type counts report, which uses deltaPercent. Table row count reports use variancePercent instead.

    object_type str

    A filter to return only results for a specific object type.

    The allowed values depend on the migration's databaseCombination:

    • Oracle migrations: OracleDatabaseObjectTypes
    • MySQL migrations: MySqlDatabaseObjectTypes
    schema_name str
    A filter to return only results for a specific schema/owner.
    compartmentId String
    The ID of the compartment in which to list resources.
    migrationId String
    The OCID of the migration
    filters List<Property Map>
    migrationDataVerificationObjectTypeCountFilter String
    Free-text filter applied by the service to relevant fields for the report.
    minAbsDeltaPercent Number

    Minimum absolute deltaPercent threshold (magnitude) to return. The service filters results where abs(deltaPercent) >= minAbsDeltaPercent. Must be non-negative.

    Note: This filter applies to the object type counts report, which uses deltaPercent. Table row count reports use variancePercent instead.

    objectType String

    A filter to return only results for a specific object type.

    The allowed values depend on the migration's databaseCombination:

    • Oracle migrations: OracleDatabaseObjectTypes
    • MySQL migrations: MySqlDatabaseObjectTypes
    schemaName String
    A filter to return only results for a specific schema/owner.

    getMigrationDataVerificationObjectTypeCounts Result

    The following output properties are available:

    CompartmentId string
    DataVerificationObjectTypeCountCollections List<GetMigrationDataVerificationObjectTypeCountsDataVerificationObjectTypeCountCollection>
    The list of data_verification_object_type_count_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    MigrationId string
    Filters List<GetMigrationDataVerificationObjectTypeCountsFilter>
    MigrationDataVerificationObjectTypeCountFilter string
    MinAbsDeltaPercent double
    ObjectType string
    Oracle database object type.
    SchemaName string
    Schema/owner name.
    CompartmentId string
    DataVerificationObjectTypeCountCollections []GetMigrationDataVerificationObjectTypeCountsDataVerificationObjectTypeCountCollection
    The list of data_verification_object_type_count_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    MigrationId string
    Filters []GetMigrationDataVerificationObjectTypeCountsFilter
    MigrationDataVerificationObjectTypeCountFilter string
    MinAbsDeltaPercent float64
    ObjectType string
    Oracle database object type.
    SchemaName string
    Schema/owner name.
    compartment_id string
    data_verification_object_type_count_collections list(object)
    The list of data_verification_object_type_count_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    migration_id string
    filters list(object)
    migration_data_verification_object_type_count_filter string
    min_abs_delta_percent number
    object_type string
    Oracle database object type.
    schema_name string
    Schema/owner name.
    compartmentId String
    dataVerificationObjectTypeCountCollections List<GetMigrationDataVerificationObjectTypeCountsDataVerificationObjectTypeCountCollection>
    The list of data_verification_object_type_count_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    migrationId String
    filters List<GetMigrationDataVerificationObjectTypeCountsFilter>
    migrationDataVerificationObjectTypeCountFilter String
    minAbsDeltaPercent Double
    objectType String
    Oracle database object type.
    schemaName String
    Schema/owner name.
    compartmentId string
    dataVerificationObjectTypeCountCollections GetMigrationDataVerificationObjectTypeCountsDataVerificationObjectTypeCountCollection[]
    The list of data_verification_object_type_count_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    migrationId string
    filters GetMigrationDataVerificationObjectTypeCountsFilter[]
    migrationDataVerificationObjectTypeCountFilter string
    minAbsDeltaPercent number
    objectType string
    Oracle database object type.
    schemaName string
    Schema/owner name.
    compartmentId String
    dataVerificationObjectTypeCountCollections List<Property Map>
    The list of data_verification_object_type_count_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    migrationId String
    filters List<Property Map>
    migrationDataVerificationObjectTypeCountFilter String
    minAbsDeltaPercent Number
    objectType String
    Oracle database object type.
    schemaName String
    Schema/owner name.

    Supporting Types

    GetMigrationDataVerificationObjectTypeCountsDataVerificationObjectTypeCountCollection

    items list(object)
    Items in collection.
    total_items number
    Total number of items matching the request.
    items GetMigrationDataVerificationObjectTypeCountsDataVerificationObjectTypeCountCollectionItem[]
    Items in collection.
    totalItems number
    Total number of items matching the request.
    items List<Property Map>
    Items in collection.
    totalItems Number
    Total number of items matching the request.

    GetMigrationDataVerificationObjectTypeCountsDataVerificationObjectTypeCountCollectionItem

    DatabaseCombination string
    The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
    DeltaPercent double
    Percentage delta between source and target counts. This value is expected to be non-negative.
    ObjectType string

    A filter to return only results for a specific object type.

    The allowed values depend on the migration's databaseCombination:

    • Oracle migrations: OracleDatabaseObjectTypes
    • MySQL migrations: MySqlDatabaseObjectTypes
    SchemaName string
    A filter to return only results for a specific schema/owner.
    SourceInvalidCount int
    Number of invalid objects in source.
    SourceObjectCount int
    Number of objects in source.
    TargetInvalidCount int
    Number of invalid objects in target.
    TargetObjectCount int
    Number of objects in target.
    DatabaseCombination string
    The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
    DeltaPercent float64
    Percentage delta between source and target counts. This value is expected to be non-negative.
    ObjectType string

    A filter to return only results for a specific object type.

    The allowed values depend on the migration's databaseCombination:

    • Oracle migrations: OracleDatabaseObjectTypes
    • MySQL migrations: MySqlDatabaseObjectTypes
    SchemaName string
    A filter to return only results for a specific schema/owner.
    SourceInvalidCount int
    Number of invalid objects in source.
    SourceObjectCount int
    Number of objects in source.
    TargetInvalidCount int
    Number of invalid objects in target.
    TargetObjectCount int
    Number of objects in target.
    database_combination string
    The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
    delta_percent number
    Percentage delta between source and target counts. This value is expected to be non-negative.
    object_type string

    A filter to return only results for a specific object type.

    The allowed values depend on the migration's databaseCombination:

    • Oracle migrations: OracleDatabaseObjectTypes
    • MySQL migrations: MySqlDatabaseObjectTypes
    schema_name string
    A filter to return only results for a specific schema/owner.
    source_invalid_count number
    Number of invalid objects in source.
    source_object_count number
    Number of objects in source.
    target_invalid_count number
    Number of invalid objects in target.
    target_object_count number
    Number of objects in target.
    databaseCombination String
    The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
    deltaPercent Double
    Percentage delta between source and target counts. This value is expected to be non-negative.
    objectType String

    A filter to return only results for a specific object type.

    The allowed values depend on the migration's databaseCombination:

    • Oracle migrations: OracleDatabaseObjectTypes
    • MySQL migrations: MySqlDatabaseObjectTypes
    schemaName String
    A filter to return only results for a specific schema/owner.
    sourceInvalidCount Integer
    Number of invalid objects in source.
    sourceObjectCount Integer
    Number of objects in source.
    targetInvalidCount Integer
    Number of invalid objects in target.
    targetObjectCount Integer
    Number of objects in target.
    databaseCombination string
    The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
    deltaPercent number
    Percentage delta between source and target counts. This value is expected to be non-negative.
    objectType string

    A filter to return only results for a specific object type.

    The allowed values depend on the migration's databaseCombination:

    • Oracle migrations: OracleDatabaseObjectTypes
    • MySQL migrations: MySqlDatabaseObjectTypes
    schemaName string
    A filter to return only results for a specific schema/owner.
    sourceInvalidCount number
    Number of invalid objects in source.
    sourceObjectCount number
    Number of objects in source.
    targetInvalidCount number
    Number of invalid objects in target.
    targetObjectCount number
    Number of objects in target.
    database_combination str
    The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
    delta_percent float
    Percentage delta between source and target counts. This value is expected to be non-negative.
    object_type str

    A filter to return only results for a specific object type.

    The allowed values depend on the migration's databaseCombination:

    • Oracle migrations: OracleDatabaseObjectTypes
    • MySQL migrations: MySqlDatabaseObjectTypes
    schema_name str
    A filter to return only results for a specific schema/owner.
    source_invalid_count int
    Number of invalid objects in source.
    source_object_count int
    Number of objects in source.
    target_invalid_count int
    Number of invalid objects in target.
    target_object_count int
    Number of objects in target.
    databaseCombination String
    The combination of source and target databases participating in a migration. Example: ORACLE means the migration is meant for migrating Oracle source and target databases.
    deltaPercent Number
    Percentage delta between source and target counts. This value is expected to be non-negative.
    objectType String

    A filter to return only results for a specific object type.

    The allowed values depend on the migration's databaseCombination:

    • Oracle migrations: OracleDatabaseObjectTypes
    • MySQL migrations: MySqlDatabaseObjectTypes
    schemaName String
    A filter to return only results for a specific schema/owner.
    sourceInvalidCount Number
    Number of invalid objects in source.
    sourceObjectCount Number
    Number of objects in source.
    targetInvalidCount Number
    Number of invalid objects in target.
    targetObjectCount Number
    Number of objects in target.

    GetMigrationDataVerificationObjectTypeCountsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []string
    Regex bool
    name string
    values list(string)
    regex bool
    name String
    values List<String>
    regex Boolean
    name string
    values string[]
    regex boolean
    name str
    values Sequence[str]
    regex bool
    name String
    values List<String>
    regex Boolean

    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.7.0
    published on Thursday, Nov 12, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial