1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseMigration
  5. getAssessmentAssessorCheckAffectedObjects
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi
oci logo
Viewing docs for Oracle Cloud Infrastructure v4.2.0
published on Friday, Mar 6, 2026 by Pulumi

    This data source provides the list of Assessment Assessor Check Affected Objects in Oracle Cloud Infrastructure Database Migration service.

    Display Check Affected objects.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAssessmentAssessorCheckAffectedObjects = oci.DatabaseMigration.getAssessmentAssessorCheckAffectedObjects({
        assessmentId: testAssessment.id,
        assessorName: assessmentAssessorCheckAffectedObjectAssessorName,
        checkName: assessmentAssessorCheckAffectedObjectCheckName,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_assessment_assessor_check_affected_objects = oci.DatabaseMigration.get_assessment_assessor_check_affected_objects(assessment_id=test_assessment["id"],
        assessor_name=assessment_assessor_check_affected_object_assessor_name,
        check_name=assessment_assessor_check_affected_object_check_name)
    
    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.GetAssessmentAssessorCheckAffectedObjects(ctx, &databasemigration.GetAssessmentAssessorCheckAffectedObjectsArgs{
    			AssessmentId: testAssessment.Id,
    			AssessorName: assessmentAssessorCheckAffectedObjectAssessorName,
    			CheckName:    assessmentAssessorCheckAffectedObjectCheckName,
    		}, 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 testAssessmentAssessorCheckAffectedObjects = Oci.DatabaseMigration.GetAssessmentAssessorCheckAffectedObjects.Invoke(new()
        {
            AssessmentId = testAssessment.Id,
            AssessorName = assessmentAssessorCheckAffectedObjectAssessorName,
            CheckName = assessmentAssessorCheckAffectedObjectCheckName,
        });
    
    });
    
    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.GetAssessmentAssessorCheckAffectedObjectsArgs;
    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 testAssessmentAssessorCheckAffectedObjects = DatabaseMigrationFunctions.getAssessmentAssessorCheckAffectedObjects(GetAssessmentAssessorCheckAffectedObjectsArgs.builder()
                .assessmentId(testAssessment.id())
                .assessorName(assessmentAssessorCheckAffectedObjectAssessorName)
                .checkName(assessmentAssessorCheckAffectedObjectCheckName)
                .build());
    
        }
    }
    
    variables:
      testAssessmentAssessorCheckAffectedObjects:
        fn::invoke:
          function: oci:DatabaseMigration:getAssessmentAssessorCheckAffectedObjects
          arguments:
            assessmentId: ${testAssessment.id}
            assessorName: ${assessmentAssessorCheckAffectedObjectAssessorName}
            checkName: ${assessmentAssessorCheckAffectedObjectCheckName}
    

    Using getAssessmentAssessorCheckAffectedObjects

    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 getAssessmentAssessorCheckAffectedObjects(args: GetAssessmentAssessorCheckAffectedObjectsArgs, opts?: InvokeOptions): Promise<GetAssessmentAssessorCheckAffectedObjectsResult>
    function getAssessmentAssessorCheckAffectedObjectsOutput(args: GetAssessmentAssessorCheckAffectedObjectsOutputArgs, opts?: InvokeOptions): Output<GetAssessmentAssessorCheckAffectedObjectsResult>
    def get_assessment_assessor_check_affected_objects(assessment_id: Optional[str] = None,
                                                       assessor_name: Optional[str] = None,
                                                       check_name: Optional[str] = None,
                                                       filters: Optional[Sequence[GetAssessmentAssessorCheckAffectedObjectsFilter]] = None,
                                                       opts: Optional[InvokeOptions] = None) -> GetAssessmentAssessorCheckAffectedObjectsResult
    def get_assessment_assessor_check_affected_objects_output(assessment_id: Optional[pulumi.Input[str]] = None,
                                                       assessor_name: Optional[pulumi.Input[str]] = None,
                                                       check_name: Optional[pulumi.Input[str]] = None,
                                                       filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetAssessmentAssessorCheckAffectedObjectsFilterArgs]]]] = None,
                                                       opts: Optional[InvokeOptions] = None) -> Output[GetAssessmentAssessorCheckAffectedObjectsResult]
    func GetAssessmentAssessorCheckAffectedObjects(ctx *Context, args *GetAssessmentAssessorCheckAffectedObjectsArgs, opts ...InvokeOption) (*GetAssessmentAssessorCheckAffectedObjectsResult, error)
    func GetAssessmentAssessorCheckAffectedObjectsOutput(ctx *Context, args *GetAssessmentAssessorCheckAffectedObjectsOutputArgs, opts ...InvokeOption) GetAssessmentAssessorCheckAffectedObjectsResultOutput

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

    public static class GetAssessmentAssessorCheckAffectedObjects 
    {
        public static Task<GetAssessmentAssessorCheckAffectedObjectsResult> InvokeAsync(GetAssessmentAssessorCheckAffectedObjectsArgs args, InvokeOptions? opts = null)
        public static Output<GetAssessmentAssessorCheckAffectedObjectsResult> Invoke(GetAssessmentAssessorCheckAffectedObjectsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAssessmentAssessorCheckAffectedObjectsResult> getAssessmentAssessorCheckAffectedObjects(GetAssessmentAssessorCheckAffectedObjectsArgs args, InvokeOptions options)
    public static Output<GetAssessmentAssessorCheckAffectedObjectsResult> getAssessmentAssessorCheckAffectedObjects(GetAssessmentAssessorCheckAffectedObjectsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:DatabaseMigration/getAssessmentAssessorCheckAffectedObjects:getAssessmentAssessorCheckAffectedObjects
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AssessmentId string
    The OCID of the Assessment
    AssessorName string
    The name of the Assessor
    CheckName string
    The Name of the assessor check
    Filters List<GetAssessmentAssessorCheckAffectedObjectsFilter>
    AssessmentId string
    The OCID of the Assessment
    AssessorName string
    The name of the Assessor
    CheckName string
    The Name of the assessor check
    Filters []GetAssessmentAssessorCheckAffectedObjectsFilter
    assessmentId String
    The OCID of the Assessment
    assessorName String
    The name of the Assessor
    checkName String
    The Name of the assessor check
    filters List<GetAssessmentAssessorCheckAffectedObjectsFilter>
    assessmentId string
    The OCID of the Assessment
    assessorName string
    The name of the Assessor
    checkName string
    The Name of the assessor check
    filters GetAssessmentAssessorCheckAffectedObjectsFilter[]
    assessment_id str
    The OCID of the Assessment
    assessor_name str
    The name of the Assessor
    check_name str
    The Name of the assessor check
    filters Sequence[GetAssessmentAssessorCheckAffectedObjectsFilter]
    assessmentId String
    The OCID of the Assessment
    assessorName String
    The name of the Assessor
    checkName String
    The Name of the assessor check
    filters List<Property Map>

    getAssessmentAssessorCheckAffectedObjects Result

    The following output properties are available:

    AffectedObjectsCollections []GetAssessmentAssessorCheckAffectedObjectsAffectedObjectsCollection
    The list of affected_objects_collection.
    AssessmentId string
    AssessorName string
    CheckName string
    Id string
    The provider-assigned unique ID for this managed resource.
    Filters []GetAssessmentAssessorCheckAffectedObjectsFilter
    affectedObjectsCollections GetAssessmentAssessorCheckAffectedObjectsAffectedObjectsCollection[]
    The list of affected_objects_collection.
    assessmentId string
    assessorName string
    checkName string
    id string
    The provider-assigned unique ID for this managed resource.
    filters GetAssessmentAssessorCheckAffectedObjectsFilter[]
    affectedObjectsCollections List<Property Map>
    The list of affected_objects_collection.
    assessmentId String
    assessorName String
    checkName String
    id String
    The provider-assigned unique ID for this managed resource.
    filters List<Property Map>

    Supporting Types

    GetAssessmentAssessorCheckAffectedObjectsAffectedObjectsCollection

    items List<Property Map>
    Items in collection.

    GetAssessmentAssessorCheckAffectedObjectsAffectedObjectsCollectionItem

    DefinedTags Dictionary<string, string>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Fields Dictionary<string, string>
    FreeformTags 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"}
    IsExcluded bool
    If the object was excluded from migration, then it is true.
    SystemTags Dictionary<string, string>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    DefinedTags map[string]string
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    Fields map[string]string
    FreeformTags 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"}
    IsExcluded bool
    If the object was excluded from migration, then it is true.
    SystemTags map[string]string
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    definedTags Map<String,String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    fields Map<String,String>
    freeformTags 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"}
    isExcluded Boolean
    If the object was excluded from migration, then it is true.
    systemTags Map<String,String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    definedTags {[key: string]: string}
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    fields {[key: string]: string}
    freeformTags {[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"}
    isExcluded boolean
    If the object was excluded from migration, then it is true.
    systemTags {[key: string]: string}
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    defined_tags Mapping[str, str]
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    fields Mapping[str, str]
    freeform_tags 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"}
    is_excluded bool
    If the object was excluded from migration, then it is true.
    system_tags Mapping[str, str]
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}
    definedTags Map<String>
    Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}
    fields Map<String>
    freeformTags 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"}
    isExcluded Boolean
    If the object was excluded from migration, then it is true.
    systemTags Map<String>
    Usage of system tag keys. These predefined keys are scoped to namespaces. Example: {"orcl-cloud.free-tier-retained": "true"}

    GetAssessmentAssessorCheckAffectedObjectsFilter

    Name string
    Values List<string>
    Regex bool
    Name string
    Values []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
    Viewing docs for Oracle Cloud Infrastructure v4.2.0
    published on Friday, Mar 6, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.