1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DatabaseMigration
  5. AssessmentAssessorAction
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 resource provides the Assessment Assessor Action resource in Oracle Cloud Infrastructure Database Migration service. Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/database-migration/latest/AssessorAction

    Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/databasemigration

    Assessor Action.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAssessmentAssessorAction = new oci.databasemigration.AssessmentAssessorAction("test_assessment_assessor_action", {
        assessmentId: testAssessment.id,
        assessorAction: assessmentAssessorActionAssessorAction,
        assessorName: assessmentAssessorActionAssessorName,
        items: [{
            name: assessmentAssessorActionItemsName,
            value: assessmentAssessorActionItemsValue,
        }],
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_assessment_assessor_action = oci.databasemigration.AssessmentAssessorAction("test_assessment_assessor_action",
        assessment_id=test_assessment["id"],
        assessor_action=assessment_assessor_action_assessor_action,
        assessor_name=assessment_assessor_action_assessor_name,
        items=[{
            "name": assessment_assessor_action_items_name,
            "value": assessment_assessor_action_items_value,
        }])
    
    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.NewAssessmentAssessorAction(ctx, "test_assessment_assessor_action", &databasemigration.AssessmentAssessorActionArgs{
    			AssessmentId:   pulumi.Any(testAssessment.Id),
    			AssessorAction: pulumi.Any(assessmentAssessorActionAssessorAction),
    			AssessorName:   pulumi.Any(assessmentAssessorActionAssessorName),
    			Items: databasemigration.AssessmentAssessorActionItemArray{
    				&databasemigration.AssessmentAssessorActionItemArgs{
    					Name:  pulumi.Any(assessmentAssessorActionItemsName),
    					Value: pulumi.Any(assessmentAssessorActionItemsValue),
    				},
    			},
    		})
    		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 testAssessmentAssessorAction = new Oci.DatabaseMigration.AssessmentAssessorAction("test_assessment_assessor_action", new()
        {
            AssessmentId = testAssessment.Id,
            AssessorAction = assessmentAssessorActionAssessorAction,
            AssessorName = assessmentAssessorActionAssessorName,
            Items = new[]
            {
                new Oci.DatabaseMigration.Inputs.AssessmentAssessorActionItemArgs
                {
                    Name = assessmentAssessorActionItemsName,
                    Value = assessmentAssessorActionItemsValue,
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DatabaseMigration.AssessmentAssessorAction;
    import com.pulumi.oci.DatabaseMigration.AssessmentAssessorActionArgs;
    import com.pulumi.oci.DatabaseMigration.inputs.AssessmentAssessorActionItemArgs;
    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) {
            var testAssessmentAssessorAction = new AssessmentAssessorAction("testAssessmentAssessorAction", AssessmentAssessorActionArgs.builder()
                .assessmentId(testAssessment.id())
                .assessorAction(assessmentAssessorActionAssessorAction)
                .assessorName(assessmentAssessorActionAssessorName)
                .items(AssessmentAssessorActionItemArgs.builder()
                    .name(assessmentAssessorActionItemsName)
                    .value(assessmentAssessorActionItemsValue)
                    .build())
                .build());
    
        }
    }
    
    resources:
      testAssessmentAssessorAction:
        type: oci:DatabaseMigration:AssessmentAssessorAction
        name: test_assessment_assessor_action
        properties:
          assessmentId: ${testAssessment.id}
          assessorAction: ${assessmentAssessorActionAssessorAction}
          assessorName: ${assessmentAssessorActionAssessorName}
          items:
            - name: ${assessmentAssessorActionItemsName}
              value: ${assessmentAssessorActionItemsValue}
    

    Create AssessmentAssessorAction Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AssessmentAssessorAction(name: string, args: AssessmentAssessorActionArgs, opts?: CustomResourceOptions);
    @overload
    def AssessmentAssessorAction(resource_name: str,
                                 args: AssessmentAssessorActionArgs,
                                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def AssessmentAssessorAction(resource_name: str,
                                 opts: Optional[ResourceOptions] = None,
                                 assessment_id: Optional[str] = None,
                                 assessor_action: Optional[str] = None,
                                 assessor_name: Optional[str] = None,
                                 items: Optional[Sequence[AssessmentAssessorActionItemArgs]] = None)
    func NewAssessmentAssessorAction(ctx *Context, name string, args AssessmentAssessorActionArgs, opts ...ResourceOption) (*AssessmentAssessorAction, error)
    public AssessmentAssessorAction(string name, AssessmentAssessorActionArgs args, CustomResourceOptions? opts = null)
    public AssessmentAssessorAction(String name, AssessmentAssessorActionArgs args)
    public AssessmentAssessorAction(String name, AssessmentAssessorActionArgs args, CustomResourceOptions options)
    
    type: oci:DatabaseMigration:AssessmentAssessorAction
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args AssessmentAssessorActionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args AssessmentAssessorActionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args AssessmentAssessorActionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AssessmentAssessorActionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AssessmentAssessorActionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var assessmentAssessorActionResource = new Oci.DatabaseMigration.AssessmentAssessorAction("assessmentAssessorActionResource", new()
    {
        AssessmentId = "string",
        AssessorAction = "string",
        AssessorName = "string",
        Items = new[]
        {
            new Oci.DatabaseMigration.Inputs.AssessmentAssessorActionItemArgs
            {
                Name = "string",
                Value = "string",
            },
        },
    });
    
    example, err := databasemigration.NewAssessmentAssessorAction(ctx, "assessmentAssessorActionResource", &databasemigration.AssessmentAssessorActionArgs{
    	AssessmentId:   pulumi.String("string"),
    	AssessorAction: pulumi.String("string"),
    	AssessorName:   pulumi.String("string"),
    	Items: databasemigration.AssessmentAssessorActionItemArray{
    		&databasemigration.AssessmentAssessorActionItemArgs{
    			Name:  pulumi.String("string"),
    			Value: pulumi.String("string"),
    		},
    	},
    })
    
    var assessmentAssessorActionResource = new AssessmentAssessorAction("assessmentAssessorActionResource", AssessmentAssessorActionArgs.builder()
        .assessmentId("string")
        .assessorAction("string")
        .assessorName("string")
        .items(AssessmentAssessorActionItemArgs.builder()
            .name("string")
            .value("string")
            .build())
        .build());
    
    assessment_assessor_action_resource = oci.databasemigration.AssessmentAssessorAction("assessmentAssessorActionResource",
        assessment_id="string",
        assessor_action="string",
        assessor_name="string",
        items=[{
            "name": "string",
            "value": "string",
        }])
    
    const assessmentAssessorActionResource = new oci.databasemigration.AssessmentAssessorAction("assessmentAssessorActionResource", {
        assessmentId: "string",
        assessorAction: "string",
        assessorName: "string",
        items: [{
            name: "string",
            value: "string",
        }],
    });
    
    type: oci:DatabaseMigration:AssessmentAssessorAction
    properties:
        assessmentId: string
        assessorAction: string
        assessorName: string
        items:
            - name: string
              value: string
    

    AssessmentAssessorAction Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The AssessmentAssessorAction resource accepts the following input properties:

    AssessmentId string
    The OCID of the Assessment
    AssessorAction string
    The Accessor Action
    AssessorName string
    The name of the Assessor
    Items List<AssessmentAssessorActionItem>
    Array of name-value details for assessor action.
    AssessmentId string
    The OCID of the Assessment
    AssessorAction string
    The Accessor Action
    AssessorName string
    The name of the Assessor
    Items []AssessmentAssessorActionItemArgs
    Array of name-value details for assessor action.
    assessmentId String
    The OCID of the Assessment
    assessorAction String
    The Accessor Action
    assessorName String
    The name of the Assessor
    items List<AssessmentAssessorActionItem>
    Array of name-value details for assessor action.
    assessmentId string
    The OCID of the Assessment
    assessorAction string
    The Accessor Action
    assessorName string
    The name of the Assessor
    items AssessmentAssessorActionItem[]
    Array of name-value details for assessor action.
    assessment_id str
    The OCID of the Assessment
    assessor_action str
    The Accessor Action
    assessor_name str
    The name of the Assessor
    items Sequence[AssessmentAssessorActionItemArgs]
    Array of name-value details for assessor action.
    assessmentId String
    The OCID of the Assessment
    assessorAction String
    The Accessor Action
    assessorName String
    The name of the Assessor
    items List<Property Map>
    Array of name-value details for assessor action.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AssessmentAssessorAction resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AssessmentAssessorAction Resource

    Get an existing AssessmentAssessorAction resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: AssessmentAssessorActionState, opts?: CustomResourceOptions): AssessmentAssessorAction
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            assessment_id: Optional[str] = None,
            assessor_action: Optional[str] = None,
            assessor_name: Optional[str] = None,
            items: Optional[Sequence[AssessmentAssessorActionItemArgs]] = None) -> AssessmentAssessorAction
    func GetAssessmentAssessorAction(ctx *Context, name string, id IDInput, state *AssessmentAssessorActionState, opts ...ResourceOption) (*AssessmentAssessorAction, error)
    public static AssessmentAssessorAction Get(string name, Input<string> id, AssessmentAssessorActionState? state, CustomResourceOptions? opts = null)
    public static AssessmentAssessorAction get(String name, Output<String> id, AssessmentAssessorActionState state, CustomResourceOptions options)
    resources:  _:    type: oci:DatabaseMigration:AssessmentAssessorAction    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    AssessmentId string
    The OCID of the Assessment
    AssessorAction string
    The Accessor Action
    AssessorName string
    The name of the Assessor
    Items List<AssessmentAssessorActionItem>
    Array of name-value details for assessor action.
    AssessmentId string
    The OCID of the Assessment
    AssessorAction string
    The Accessor Action
    AssessorName string
    The name of the Assessor
    Items []AssessmentAssessorActionItemArgs
    Array of name-value details for assessor action.
    assessmentId String
    The OCID of the Assessment
    assessorAction String
    The Accessor Action
    assessorName String
    The name of the Assessor
    items List<AssessmentAssessorActionItem>
    Array of name-value details for assessor action.
    assessmentId string
    The OCID of the Assessment
    assessorAction string
    The Accessor Action
    assessorName string
    The name of the Assessor
    items AssessmentAssessorActionItem[]
    Array of name-value details for assessor action.
    assessment_id str
    The OCID of the Assessment
    assessor_action str
    The Accessor Action
    assessor_name str
    The name of the Assessor
    items Sequence[AssessmentAssessorActionItemArgs]
    Array of name-value details for assessor action.
    assessmentId String
    The OCID of the Assessment
    assessorAction String
    The Accessor Action
    assessorName String
    The name of the Assessor
    items List<Property Map>
    Array of name-value details for assessor action.

    Supporting Types

    AssessmentAssessorActionItem, AssessmentAssessorActionItemArgs

    Name string
    The property name.
    Value string

    The property value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Name string
    The property name.
    Value string

    The property value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    name String
    The property name.
    value String

    The property value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    name string
    The property name.
    value string

    The property value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    name str
    The property name.
    value str

    The property value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    name String
    The property name.
    value String

    The property value.

    ** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values

    Import

    AssessmentAssessorActions can be imported using the id, e.g.

    $ pulumi import oci:DatabaseMigration/assessmentAssessorAction:AssessmentAssessorAction test_assessment_assessor_action "id"
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.