Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
This data source provides details about a specific Assessment resource in Oracle Cloud Infrastructure Database Migration service.
Display Assessment details.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testAssessment = oci.DatabaseMigration.getAssessment({
assessmentId: testAssessmentOciDatabaseMigrationAssessment.id,
});
import pulumi
import pulumi_oci as oci
test_assessment = oci.DatabaseMigration.get_assessment(assessment_id=test_assessment_oci_database_migration_assessment["id"])
package main
import (
"github.com/pulumi/pulumi-oci/sdk/v4/go/oci/databasemigration"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := databasemigration.GetAssessment(ctx, &databasemigration.GetAssessmentArgs{
AssessmentId: testAssessmentOciDatabaseMigrationAssessment.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 testAssessment = Oci.DatabaseMigration.GetAssessment.Invoke(new()
{
AssessmentId = testAssessmentOciDatabaseMigrationAssessment.Id,
});
});
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.GetAssessmentArgs;
import java.util.List;
import java.util.ArrayList;
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 testAssessment = DatabaseMigrationFunctions.getAssessment(GetAssessmentArgs.builder()
.assessmentId(testAssessmentOciDatabaseMigrationAssessment.id())
.build());
}
}
variables:
testAssessment:
fn::invoke:
function: oci:DatabaseMigration:getAssessment
arguments:
assessmentId: ${testAssessmentOciDatabaseMigrationAssessment.id}
Using getAssessment
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 getAssessment(args: GetAssessmentArgs, opts?: InvokeOptions): Promise<GetAssessmentResult>
function getAssessmentOutput(args: GetAssessmentOutputArgs, opts?: InvokeOptions): Output<GetAssessmentResult>def get_assessment(assessment_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAssessmentResult
def get_assessment_output(assessment_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetAssessmentResult]func LookupAssessment(ctx *Context, args *LookupAssessmentArgs, opts ...InvokeOption) (*LookupAssessmentResult, error)
func LookupAssessmentOutput(ctx *Context, args *LookupAssessmentOutputArgs, opts ...InvokeOption) LookupAssessmentResultOutput> Note: This function is named LookupAssessment in the Go SDK.
public static class GetAssessment
{
public static Task<GetAssessmentResult> InvokeAsync(GetAssessmentArgs args, InvokeOptions? opts = null)
public static Output<GetAssessmentResult> Invoke(GetAssessmentInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetAssessmentResult> getAssessment(GetAssessmentArgs args, InvokeOptions options)
public static Output<GetAssessmentResult> getAssessment(GetAssessmentArgs args, InvokeOptions options)
fn::invoke:
function: oci:DatabaseMigration/getAssessment:getAssessment
arguments:
# arguments dictionaryThe following arguments are supported:
- Assessment
Id string - The OCID of the Assessment
- Assessment
Id string - The OCID of the Assessment
- assessment
Id String - The OCID of the Assessment
- assessment
Id string - The OCID of the Assessment
- assessment_
id str - The OCID of the Assessment
- assessment
Id String - The OCID of the Assessment
getAssessment Result
The following output properties are available:
- Acceptable
Downtime string - Time allowed for the application downtime.
- Assessment
Id string - Assessment
Migration stringType - The migration type of the migration to be performed.
- Bulk
Include stringExclude Data - Compartment
Id string - The OCID of the resource being referenced.
- Creation
Type string - The type of assessment creation.
- 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.
- Database
Data stringSize - The size of a source database.
- Ddl
Expectation string - DDL expectation values.
- Dictionary<string, string>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Description string
- A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Exclude
Objects List<GetAssessment Exclude Object> - Dictionary<string, string>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Id string
- The OCID of the resource being referenced.
- Include
Objects List<GetAssessment Include Object> - Is
Cdb boolSupported - True if CDB should be defined, false otherwise.
- Migration
Id string - The OCID of the resource being referenced.
- Network
Speed stringMegabit Per Second - A network speed in Megabits per second.
- Source
Database List<GetConnections Assessment Source Database Connection> - Source Assessment Connection object
- State string
- The current state of the Assessment resource.
- Dictionary<string, string>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Target
Database List<GetConnections Assessment Target Database Connection> - Target Assessment Connection object
- Time
Created string - An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z. - Time
Updated string - An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z.
- Acceptable
Downtime string - Time allowed for the application downtime.
- Assessment
Id string - Assessment
Migration stringType - The migration type of the migration to be performed.
- Bulk
Include stringExclude Data - Compartment
Id string - The OCID of the resource being referenced.
- Creation
Type string - The type of assessment creation.
- 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.
- Database
Data stringSize - The size of a source database.
- Ddl
Expectation string - DDL expectation values.
- map[string]string
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - Description string
- A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- Exclude
Objects []GetAssessment Exclude Object - map[string]string
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- Id string
- The OCID of the resource being referenced.
- Include
Objects []GetAssessment Include Object - Is
Cdb boolSupported - True if CDB should be defined, false otherwise.
- Migration
Id string - The OCID of the resource being referenced.
- Network
Speed stringMegabit Per Second - A network speed in Megabits per second.
- Source
Database []GetConnections Assessment Source Database Connection - Source Assessment Connection object
- State string
- The current state of the Assessment resource.
- map[string]string
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - Target
Database []GetConnections Assessment Target Database Connection - Target Assessment Connection object
- Time
Created string - An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z. - Time
Updated string - An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z.
- acceptable
Downtime String - Time allowed for the application downtime.
- assessment
Id String - assessment
Migration StringType - The migration type of the migration to be performed.
- bulk
Include StringExclude Data - compartment
Id String - The OCID of the resource being referenced.
- creation
Type String - The type of assessment creation.
- 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.
- database
Data StringSize - The size of a source database.
- ddl
Expectation String - DDL expectation values.
- Map<String,String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description String
- A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- exclude
Objects List<GetAssessment Exclude Object> - Map<String,String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id String
- The OCID of the resource being referenced.
- include
Objects List<GetAssessment Include Object> - is
Cdb BooleanSupported - True if CDB should be defined, false otherwise.
- migration
Id String - The OCID of the resource being referenced.
- network
Speed StringMegabit Per Second - A network speed in Megabits per second.
- source
Database List<GetConnections Assessment Source Database Connection> - Source Assessment Connection object
- state String
- The current state of the Assessment resource.
- Map<String,String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - target
Database List<GetConnections Assessment Target Database Connection> - Target Assessment Connection object
- time
Created String - An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z. - time
Updated String - An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z.
- acceptable
Downtime string - Time allowed for the application downtime.
- assessment
Id string - assessment
Migration stringType - The migration type of the migration to be performed.
- bulk
Include stringExclude Data - compartment
Id string - The OCID of the resource being referenced.
- creation
Type string - The type of assessment creation.
- 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.
- database
Data stringSize - The size of a source database.
- ddl
Expectation string - DDL expectation values.
- {[key: string]: string}
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description string
- A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- display
Name string - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- exclude
Objects GetAssessment Exclude Object[] - {[key: string]: string}
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id string
- The OCID of the resource being referenced.
- include
Objects GetAssessment Include Object[] - is
Cdb booleanSupported - True if CDB should be defined, false otherwise.
- migration
Id string - The OCID of the resource being referenced.
- network
Speed stringMegabit Per Second - A network speed in Megabits per second.
- source
Database GetConnections Assessment Source Database Connection[] - Source Assessment Connection object
- state string
- The current state of the Assessment resource.
- {[key: string]: string}
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - target
Database GetConnections Assessment Target Database Connection[] - Target Assessment Connection object
- time
Created string - An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z. - time
Updated string - An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z.
- acceptable_
downtime str - Time allowed for the application downtime.
- assessment_
id str - assessment_
migration_ strtype - The migration type of the migration to be performed.
- bulk_
include_ strexclude_ data - compartment_
id str - The OCID of the resource being referenced.
- creation_
type str - The type of assessment creation.
- 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.
- database_
data_ strsize - The size of a source database.
- ddl_
expectation str - DDL expectation values.
- Mapping[str, str]
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description str
- A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- display_
name str - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- exclude_
objects Sequence[GetAssessment Exclude Object] - Mapping[str, str]
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id str
- The OCID of the resource being referenced.
- include_
objects Sequence[GetAssessment Include Object] - is_
cdb_ boolsupported - True if CDB should be defined, false otherwise.
- migration_
id str - The OCID of the resource being referenced.
- network_
speed_ strmegabit_ per_ second - A network speed in Megabits per second.
- source_
database_ Sequence[Getconnections Assessment Source Database Connection] - Source Assessment Connection object
- state str
- The current state of the Assessment resource.
- Mapping[str, str]
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - target_
database_ Sequence[Getconnections Assessment Target Database Connection] - Target Assessment Connection object
- time_
created str - An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z. - time_
updated str - An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z.
- acceptable
Downtime String - Time allowed for the application downtime.
- assessment
Id String - assessment
Migration StringType - The migration type of the migration to be performed.
- bulk
Include StringExclude Data - compartment
Id String - The OCID of the resource being referenced.
- creation
Type String - The type of assessment creation.
- 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.
- database
Data StringSize - The size of a source database.
- ddl
Expectation String - DDL expectation values.
- Map<String>
- Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace.bar-key": "value"} - description String
- A user-friendly description. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- display
Name String - A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information.
- exclude
Objects List<Property Map> - Map<String>
- Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags. Example: {"Department": "Finance"}
- id String
- The OCID of the resource being referenced.
- include
Objects List<Property Map> - is
Cdb BooleanSupported - True if CDB should be defined, false otherwise.
- migration
Id String - The OCID of the resource being referenced.
- network
Speed StringMegabit Per Second - A network speed in Megabits per second.
- source
Database List<Property Map>Connections - Source Assessment Connection object
- state String
- The current state of the Assessment resource.
- Map<String>
- Usage of system tag keys. These predefined keys are scoped to namespaces. Example:
{"orcl-cloud.free-tier-retained": "true"} - target
Database List<Property Map>Connections - Target Assessment Connection object
- time
Created String - An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z. - time
Updated String - An RFC3339 formatted datetime string such as
2016-08-25T21:10:29.600Z.
Supporting Types
GetAssessmentExcludeObject
- Is
Omit boolExcluded Table From Replication - Object string
- Owner string
- Schema string
- Type string
- Is
Omit boolExcluded Table From Replication - Object string
- Owner string
- Schema string
- Type string
- is
Omit BooleanExcluded Table From Replication - object String
- owner String
- schema String
- type String
- is
Omit booleanExcluded Table From Replication - object string
- owner string
- schema string
- type string
- is_
omit_ boolexcluded_ table_ from_ replication - object str
- owner str
- schema str
- type str
- is
Omit BooleanExcluded Table From Replication - object String
- owner String
- schema String
- type String
GetAssessmentIncludeObject
- Is
Omit boolExcluded Table From Replication - Object string
- Owner string
- Schema string
- Type string
- Is
Omit boolExcluded Table From Replication - Object string
- Owner string
- Schema string
- Type string
- is
Omit BooleanExcluded Table From Replication - object String
- owner String
- schema String
- type String
- is
Omit booleanExcluded Table From Replication - object string
- owner string
- schema string
- type string
- is_
omit_ boolexcluded_ table_ from_ replication - object str
- owner str
- schema str
- type str
- is
Omit BooleanExcluded Table From Replication - object String
- owner String
- schema String
- type String
GetAssessmentSourceDatabaseConnection
- Id string
- The OCID of the resource being referenced.
- Id string
- The OCID of the resource being referenced.
- id String
- The OCID of the resource being referenced.
- id string
- The OCID of the resource being referenced.
- id str
- The OCID of the resource being referenced.
- id String
- The OCID of the resource being referenced.
GetAssessmentTargetDatabaseConnection
- Connection
Type string - Defines the type of connection. For example, ORACLE.
- Database
Version string - The database version
- Id string
- The OCID of the resource being referenced.
- Technology
Sub stringType - Technology sub-type e.g. ADW_SHARED, ADW_DEDICATED, ATP_SHARED, ATP_DEDICATED
- Technology
Type string - The technology type.
- Connection
Type string - Defines the type of connection. For example, ORACLE.
- Database
Version string - The database version
- Id string
- The OCID of the resource being referenced.
- Technology
Sub stringType - Technology sub-type e.g. ADW_SHARED, ADW_DEDICATED, ATP_SHARED, ATP_DEDICATED
- Technology
Type string - The technology type.
- connection
Type String - Defines the type of connection. For example, ORACLE.
- database
Version String - The database version
- id String
- The OCID of the resource being referenced.
- technology
Sub StringType - Technology sub-type e.g. ADW_SHARED, ADW_DEDICATED, ATP_SHARED, ATP_DEDICATED
- technology
Type String - The technology type.
- connection
Type string - Defines the type of connection. For example, ORACLE.
- database
Version string - The database version
- id string
- The OCID of the resource being referenced.
- technology
Sub stringType - Technology sub-type e.g. ADW_SHARED, ADW_DEDICATED, ATP_SHARED, ATP_DEDICATED
- technology
Type string - The technology type.
- connection_
type str - Defines the type of connection. For example, ORACLE.
- database_
version str - The database version
- id str
- The OCID of the resource being referenced.
- technology_
sub_ strtype - Technology sub-type e.g. ADW_SHARED, ADW_DEDICATED, ATP_SHARED, ATP_DEDICATED
- technology_
type str - The technology type.
- connection
Type String - Defines the type of connection. For example, ORACLE.
- database
Version String - The database version
- id String
- The OCID of the resource being referenced.
- technology
Sub StringType - Technology sub-type e.g. ADW_SHARED, ADW_DEDICATED, ATP_SHARED, ATP_DEDICATED
- technology
Type String - The technology type.
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 v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
published on Friday, Mar 6, 2026 by Pulumi
