1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. UserAssessment
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.DataSafe.UserAssessment

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This resource provides the User Assessment resource in Oracle Cloud Infrastructure Data Safe service.

    Creates a new saved user assessment for one or multiple targets in a compartment. It saves the latest assessments in the specified compartment. If a scheduled is passed in, this operation persists the latest assessments that exist at the defined date and time, in the format defined by RFC3339.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testUserAssessment = new oci.datasafe.UserAssessment("testUserAssessment", {
        compartmentId: _var.compartment_id,
        targetId: oci_cloud_guard_target.test_target.id,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: _var.user_assessment_description,
        displayName: _var.user_assessment_display_name,
        freeformTags: {
            Department: "Finance",
        },
        schedule: _var.user_assessment_schedule,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_user_assessment = oci.data_safe.UserAssessment("testUserAssessment",
        compartment_id=var["compartment_id"],
        target_id=oci_cloud_guard_target["test_target"]["id"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=var["user_assessment_description"],
        display_name=var["user_assessment_display_name"],
        freeform_tags={
            "Department": "Finance",
        },
        schedule=var["user_assessment_schedule"])
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/go/oci/DataSafe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataSafe.NewUserAssessment(ctx, "testUserAssessment", &DataSafe.UserAssessmentArgs{
    			CompartmentId: pulumi.Any(_var.Compartment_id),
    			TargetId:      pulumi.Any(oci_cloud_guard_target.Test_target.Id),
    			DefinedTags: pulumi.Map{
    				"Operations.CostCenter": pulumi.Any("42"),
    			},
    			Description: pulumi.Any(_var.User_assessment_description),
    			DisplayName: pulumi.Any(_var.User_assessment_display_name),
    			FreeformTags: pulumi.Map{
    				"Department": pulumi.Any("Finance"),
    			},
    			Schedule: pulumi.Any(_var.User_assessment_schedule),
    		})
    		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 testUserAssessment = new Oci.DataSafe.UserAssessment("testUserAssessment", new()
        {
            CompartmentId = @var.Compartment_id,
            TargetId = oci_cloud_guard_target.Test_target.Id,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = @var.User_assessment_description,
            DisplayName = @var.User_assessment_display_name,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            Schedule = @var.User_assessment_schedule,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.DataSafe.UserAssessment;
    import com.pulumi.oci.DataSafe.UserAssessmentArgs;
    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 testUserAssessment = new UserAssessment("testUserAssessment", UserAssessmentArgs.builder()        
                .compartmentId(var_.compartment_id())
                .targetId(oci_cloud_guard_target.test_target().id())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(var_.user_assessment_description())
                .displayName(var_.user_assessment_display_name())
                .freeformTags(Map.of("Department", "Finance"))
                .schedule(var_.user_assessment_schedule())
                .build());
    
        }
    }
    
    resources:
      testUserAssessment:
        type: oci:DataSafe:UserAssessment
        properties:
          #Required
          compartmentId: ${var.compartment_id}
          targetId: ${oci_cloud_guard_target.test_target.id}
          #Optional
          definedTags:
            Operations.CostCenter: '42'
          description: ${var.user_assessment_description}
          displayName: ${var.user_assessment_display_name}
          freeformTags:
            Department: Finance
          schedule: ${var.user_assessment_schedule}
    

    Create UserAssessment Resource

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

    Constructor syntax

    new UserAssessment(name: string, args: UserAssessmentArgs, opts?: CustomResourceOptions);
    @overload
    def UserAssessment(resource_name: str,
                       args: UserAssessmentArgs,
                       opts: Optional[ResourceOptions] = None)
    
    @overload
    def UserAssessment(resource_name: str,
                       opts: Optional[ResourceOptions] = None,
                       compartment_id: Optional[str] = None,
                       target_id: Optional[str] = None,
                       defined_tags: Optional[Mapping[str, Any]] = None,
                       description: Optional[str] = None,
                       display_name: Optional[str] = None,
                       freeform_tags: Optional[Mapping[str, Any]] = None,
                       schedule: Optional[str] = None)
    func NewUserAssessment(ctx *Context, name string, args UserAssessmentArgs, opts ...ResourceOption) (*UserAssessment, error)
    public UserAssessment(string name, UserAssessmentArgs args, CustomResourceOptions? opts = null)
    public UserAssessment(String name, UserAssessmentArgs args)
    public UserAssessment(String name, UserAssessmentArgs args, CustomResourceOptions options)
    
    type: oci:DataSafe:UserAssessment
    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 UserAssessmentArgs
    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 UserAssessmentArgs
    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 UserAssessmentArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args UserAssessmentArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args UserAssessmentArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

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

    var userAssessmentResource = new Oci.DataSafe.UserAssessment("userAssessmentResource", new()
    {
        CompartmentId = "string",
        TargetId = "string",
        DefinedTags = 
        {
            { "string", "any" },
        },
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "any" },
        },
        Schedule = "string",
    });
    
    example, err := DataSafe.NewUserAssessment(ctx, "userAssessmentResource", &DataSafe.UserAssessmentArgs{
    	CompartmentId: pulumi.String("string"),
    	TargetId:      pulumi.String("string"),
    	DefinedTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.Map{
    		"string": pulumi.Any("any"),
    	},
    	Schedule: pulumi.String("string"),
    })
    
    var userAssessmentResource = new UserAssessment("userAssessmentResource", UserAssessmentArgs.builder()        
        .compartmentId("string")
        .targetId("string")
        .definedTags(Map.of("string", "any"))
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "any"))
        .schedule("string")
        .build());
    
    user_assessment_resource = oci.data_safe.UserAssessment("userAssessmentResource",
        compartment_id="string",
        target_id="string",
        defined_tags={
            "string": "any",
        },
        description="string",
        display_name="string",
        freeform_tags={
            "string": "any",
        },
        schedule="string")
    
    const userAssessmentResource = new oci.datasafe.UserAssessment("userAssessmentResource", {
        compartmentId: "string",
        targetId: "string",
        definedTags: {
            string: "any",
        },
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "any",
        },
        schedule: "string",
    });
    
    type: oci:DataSafe:UserAssessment
    properties:
        compartmentId: string
        definedTags:
            string: any
        description: string
        displayName: string
        freeformTags:
            string: any
        schedule: string
        targetId: string
    

    UserAssessment Resource Properties

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

    Inputs

    The UserAssessment resource accepts the following input properties:

    CompartmentId string
    (Updatable) The OCID of the compartment that contains the user assessment.
    TargetId string

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) The description of the user assessment.
    DisplayName string
    (Updatable) The display name of the user assessment.
    FreeformTags Dictionary<string, object>
    (Updatable) 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"}
    Schedule string

    (Updatable) To schedule the assessment for saving periodically, specify the schedule in this attribute. Create or schedule one assessment per compartment. If not defined, the assessment runs immediately. Format - ;

    Allowed version strings - "v1" v1's version specific schedule - Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) can be either '' (without quotes or a number between 1(Monday) and 7(Sunday)) 4. No constraint introduced when it is ''. When not, day of week must equal the given value can be either '' (without quotes or a number between 1 and 28) 5. No constraint introduced when it is ''. When not, day of month must equal the given value

    CompartmentId string
    (Updatable) The OCID of the compartment that contains the user assessment.
    TargetId string

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) The description of the user assessment.
    DisplayName string
    (Updatable) The display name of the user assessment.
    FreeformTags map[string]interface{}
    (Updatable) 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"}
    Schedule string

    (Updatable) To schedule the assessment for saving periodically, specify the schedule in this attribute. Create or schedule one assessment per compartment. If not defined, the assessment runs immediately. Format - ;

    Allowed version strings - "v1" v1's version specific schedule - Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) can be either '' (without quotes or a number between 1(Monday) and 7(Sunday)) 4. No constraint introduced when it is ''. When not, day of week must equal the given value can be either '' (without quotes or a number between 1 and 28) 5. No constraint introduced when it is ''. When not, day of month must equal the given value

    compartmentId String
    (Updatable) The OCID of the compartment that contains the user assessment.
    targetId String

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) The description of the user assessment.
    displayName String
    (Updatable) The display name of the user assessment.
    freeformTags Map<String,Object>
    (Updatable) 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"}
    schedule String

    (Updatable) To schedule the assessment for saving periodically, specify the schedule in this attribute. Create or schedule one assessment per compartment. If not defined, the assessment runs immediately. Format - ;

    Allowed version strings - "v1" v1's version specific schedule - Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) can be either '' (without quotes or a number between 1(Monday) and 7(Sunday)) 4. No constraint introduced when it is ''. When not, day of week must equal the given value can be either '' (without quotes or a number between 1 and 28) 5. No constraint introduced when it is ''. When not, day of month must equal the given value

    compartmentId string
    (Updatable) The OCID of the compartment that contains the user assessment.
    targetId string

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) The description of the user assessment.
    displayName string
    (Updatable) The display name of the user assessment.
    freeformTags {[key: string]: any}
    (Updatable) 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"}
    schedule string

    (Updatable) To schedule the assessment for saving periodically, specify the schedule in this attribute. Create or schedule one assessment per compartment. If not defined, the assessment runs immediately. Format - ;

    Allowed version strings - "v1" v1's version specific schedule - Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) can be either '' (without quotes or a number between 1(Monday) and 7(Sunday)) 4. No constraint introduced when it is ''. When not, day of week must equal the given value can be either '' (without quotes or a number between 1 and 28) 5. No constraint introduced when it is ''. When not, day of month must equal the given value

    compartment_id str
    (Updatable) The OCID of the compartment that contains the user assessment.
    target_id str

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) The description of the user assessment.
    display_name str
    (Updatable) The display name of the user assessment.
    freeform_tags Mapping[str, Any]
    (Updatable) 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"}
    schedule str

    (Updatable) To schedule the assessment for saving periodically, specify the schedule in this attribute. Create or schedule one assessment per compartment. If not defined, the assessment runs immediately. Format - ;

    Allowed version strings - "v1" v1's version specific schedule - Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) can be either '' (without quotes or a number between 1(Monday) and 7(Sunday)) 4. No constraint introduced when it is ''. When not, day of week must equal the given value can be either '' (without quotes or a number between 1 and 28) 5. No constraint introduced when it is ''. When not, day of month must equal the given value

    compartmentId String
    (Updatable) The OCID of the compartment that contains the user assessment.
    targetId String

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) The description of the user assessment.
    displayName String
    (Updatable) The display name of the user assessment.
    freeformTags Map<Any>
    (Updatable) 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"}
    schedule String

    (Updatable) To schedule the assessment for saving periodically, specify the schedule in this attribute. Create or schedule one assessment per compartment. If not defined, the assessment runs immediately. Format - ;

    Allowed version strings - "v1" v1's version specific schedule - Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) can be either '' (without quotes or a number between 1(Monday) and 7(Sunday)) 4. No constraint introduced when it is ''. When not, day of week must equal the given value can be either '' (without quotes or a number between 1 and 28) 5. No constraint introduced when it is ''. When not, day of month must equal the given value

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    IgnoredAssessmentIds List<string>
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    IgnoredTargets List<UserAssessmentIgnoredTarget>
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    IsBaseline bool
    Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
    IsDeviatedFromBaseline bool
    Indicates if the user assessment deviates from the baseline.
    LastComparedBaselineId string
    The OCID of the last user assessment baseline against which the latest assessment was compared.
    LifecycleDetails string
    Details about the current state of the user assessment.
    ScheduleAssessmentId string
    The OCID of the user assessment that is responsible for creating this scheduled save assessment.
    State string
    The current state of the user assessment.
    Statistics string
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetIds List<string>
    Array of database target OCIDs.
    TimeCreated string
    The date and time the user assessment was created, in the format defined by RFC3339.
    TimeLastAssessed string
    The date and time the user assessment was last executed, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the user assessment was last updated, in the format defined by RFC3339.
    TriggeredBy string
    Indicates whether the user assessment was created by the system or the user.
    Type string
    The type of the user assessment. The possible types are:
    Id string
    The provider-assigned unique ID for this managed resource.
    IgnoredAssessmentIds []string
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    IgnoredTargets []UserAssessmentIgnoredTarget
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    IsBaseline bool
    Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
    IsDeviatedFromBaseline bool
    Indicates if the user assessment deviates from the baseline.
    LastComparedBaselineId string
    The OCID of the last user assessment baseline against which the latest assessment was compared.
    LifecycleDetails string
    Details about the current state of the user assessment.
    ScheduleAssessmentId string
    The OCID of the user assessment that is responsible for creating this scheduled save assessment.
    State string
    The current state of the user assessment.
    Statistics string
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetIds []string
    Array of database target OCIDs.
    TimeCreated string
    The date and time the user assessment was created, in the format defined by RFC3339.
    TimeLastAssessed string
    The date and time the user assessment was last executed, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the user assessment was last updated, in the format defined by RFC3339.
    TriggeredBy string
    Indicates whether the user assessment was created by the system or the user.
    Type string
    The type of the user assessment. The possible types are:
    id String
    The provider-assigned unique ID for this managed resource.
    ignoredAssessmentIds List<String>
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    ignoredTargets List<UserAssessmentIgnoredTarget>
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    isBaseline Boolean
    Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
    isDeviatedFromBaseline Boolean
    Indicates if the user assessment deviates from the baseline.
    lastComparedBaselineId String
    The OCID of the last user assessment baseline against which the latest assessment was compared.
    lifecycleDetails String
    Details about the current state of the user assessment.
    scheduleAssessmentId String
    The OCID of the user assessment that is responsible for creating this scheduled save assessment.
    state String
    The current state of the user assessment.
    statistics String
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetIds List<String>
    Array of database target OCIDs.
    timeCreated String
    The date and time the user assessment was created, in the format defined by RFC3339.
    timeLastAssessed String
    The date and time the user assessment was last executed, in the format defined by RFC3339.
    timeUpdated String
    The date and time the user assessment was last updated, in the format defined by RFC3339.
    triggeredBy String
    Indicates whether the user assessment was created by the system or the user.
    type String
    The type of the user assessment. The possible types are:
    id string
    The provider-assigned unique ID for this managed resource.
    ignoredAssessmentIds string[]
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    ignoredTargets UserAssessmentIgnoredTarget[]
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    isBaseline boolean
    Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
    isDeviatedFromBaseline boolean
    Indicates if the user assessment deviates from the baseline.
    lastComparedBaselineId string
    The OCID of the last user assessment baseline against which the latest assessment was compared.
    lifecycleDetails string
    Details about the current state of the user assessment.
    scheduleAssessmentId string
    The OCID of the user assessment that is responsible for creating this scheduled save assessment.
    state string
    The current state of the user assessment.
    statistics string
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetIds string[]
    Array of database target OCIDs.
    timeCreated string
    The date and time the user assessment was created, in the format defined by RFC3339.
    timeLastAssessed string
    The date and time the user assessment was last executed, in the format defined by RFC3339.
    timeUpdated string
    The date and time the user assessment was last updated, in the format defined by RFC3339.
    triggeredBy string
    Indicates whether the user assessment was created by the system or the user.
    type string
    The type of the user assessment. The possible types are:
    id str
    The provider-assigned unique ID for this managed resource.
    ignored_assessment_ids Sequence[str]
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    ignored_targets Sequence[datasafe.UserAssessmentIgnoredTarget]
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    is_baseline bool
    Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
    is_deviated_from_baseline bool
    Indicates if the user assessment deviates from the baseline.
    last_compared_baseline_id str
    The OCID of the last user assessment baseline against which the latest assessment was compared.
    lifecycle_details str
    Details about the current state of the user assessment.
    schedule_assessment_id str
    The OCID of the user assessment that is responsible for creating this scheduled save assessment.
    state str
    The current state of the user assessment.
    statistics str
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    target_ids Sequence[str]
    Array of database target OCIDs.
    time_created str
    The date and time the user assessment was created, in the format defined by RFC3339.
    time_last_assessed str
    The date and time the user assessment was last executed, in the format defined by RFC3339.
    time_updated str
    The date and time the user assessment was last updated, in the format defined by RFC3339.
    triggered_by str
    Indicates whether the user assessment was created by the system or the user.
    type str
    The type of the user assessment. The possible types are:
    id String
    The provider-assigned unique ID for this managed resource.
    ignoredAssessmentIds List<String>
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    ignoredTargets List<Property Map>
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    isBaseline Boolean
    Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
    isDeviatedFromBaseline Boolean
    Indicates if the user assessment deviates from the baseline.
    lastComparedBaselineId String
    The OCID of the last user assessment baseline against which the latest assessment was compared.
    lifecycleDetails String
    Details about the current state of the user assessment.
    scheduleAssessmentId String
    The OCID of the user assessment that is responsible for creating this scheduled save assessment.
    state String
    The current state of the user assessment.
    statistics String
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetIds List<String>
    Array of database target OCIDs.
    timeCreated String
    The date and time the user assessment was created, in the format defined by RFC3339.
    timeLastAssessed String
    The date and time the user assessment was last executed, in the format defined by RFC3339.
    timeUpdated String
    The date and time the user assessment was last updated, in the format defined by RFC3339.
    triggeredBy String
    Indicates whether the user assessment was created by the system or the user.
    type String
    The type of the user assessment. The possible types are:

    Look up Existing UserAssessment Resource

    Get an existing UserAssessment 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?: UserAssessmentState, opts?: CustomResourceOptions): UserAssessment
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            compartment_id: Optional[str] = None,
            defined_tags: Optional[Mapping[str, Any]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, Any]] = None,
            ignored_assessment_ids: Optional[Sequence[str]] = None,
            ignored_targets: Optional[Sequence[_datasafe.UserAssessmentIgnoredTargetArgs]] = None,
            is_baseline: Optional[bool] = None,
            is_deviated_from_baseline: Optional[bool] = None,
            last_compared_baseline_id: Optional[str] = None,
            lifecycle_details: Optional[str] = None,
            schedule: Optional[str] = None,
            schedule_assessment_id: Optional[str] = None,
            state: Optional[str] = None,
            statistics: Optional[str] = None,
            system_tags: Optional[Mapping[str, Any]] = None,
            target_id: Optional[str] = None,
            target_ids: Optional[Sequence[str]] = None,
            time_created: Optional[str] = None,
            time_last_assessed: Optional[str] = None,
            time_updated: Optional[str] = None,
            triggered_by: Optional[str] = None,
            type: Optional[str] = None) -> UserAssessment
    func GetUserAssessment(ctx *Context, name string, id IDInput, state *UserAssessmentState, opts ...ResourceOption) (*UserAssessment, error)
    public static UserAssessment Get(string name, Input<string> id, UserAssessmentState? state, CustomResourceOptions? opts = null)
    public static UserAssessment get(String name, Output<String> id, UserAssessmentState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    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:
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the user assessment.
    DefinedTags Dictionary<string, object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) The description of the user assessment.
    DisplayName string
    (Updatable) The display name of the user assessment.
    FreeformTags Dictionary<string, object>
    (Updatable) 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"}
    IgnoredAssessmentIds List<string>
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    IgnoredTargets List<UserAssessmentIgnoredTarget>
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    IsBaseline bool
    Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
    IsDeviatedFromBaseline bool
    Indicates if the user assessment deviates from the baseline.
    LastComparedBaselineId string
    The OCID of the last user assessment baseline against which the latest assessment was compared.
    LifecycleDetails string
    Details about the current state of the user assessment.
    Schedule string

    (Updatable) To schedule the assessment for saving periodically, specify the schedule in this attribute. Create or schedule one assessment per compartment. If not defined, the assessment runs immediately. Format - ;

    Allowed version strings - "v1" v1's version specific schedule - Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) can be either '' (without quotes or a number between 1(Monday) and 7(Sunday)) 4. No constraint introduced when it is ''. When not, day of week must equal the given value can be either '' (without quotes or a number between 1 and 28) 5. No constraint introduced when it is ''. When not, day of month must equal the given value

    ScheduleAssessmentId string
    The OCID of the user assessment that is responsible for creating this scheduled save assessment.
    State string
    The current state of the user assessment.
    Statistics string
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    SystemTags Dictionary<string, object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetId string

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    TargetIds List<string>
    Array of database target OCIDs.
    TimeCreated string
    The date and time the user assessment was created, in the format defined by RFC3339.
    TimeLastAssessed string
    The date and time the user assessment was last executed, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the user assessment was last updated, in the format defined by RFC3339.
    TriggeredBy string
    Indicates whether the user assessment was created by the system or the user.
    Type string
    The type of the user assessment. The possible types are:
    CompartmentId string
    (Updatable) The OCID of the compartment that contains the user assessment.
    DefinedTags map[string]interface{}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    Description string
    (Updatable) The description of the user assessment.
    DisplayName string
    (Updatable) The display name of the user assessment.
    FreeformTags map[string]interface{}
    (Updatable) 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"}
    IgnoredAssessmentIds []string
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    IgnoredTargets []UserAssessmentIgnoredTargetArgs
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    IsBaseline bool
    Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
    IsDeviatedFromBaseline bool
    Indicates if the user assessment deviates from the baseline.
    LastComparedBaselineId string
    The OCID of the last user assessment baseline against which the latest assessment was compared.
    LifecycleDetails string
    Details about the current state of the user assessment.
    Schedule string

    (Updatable) To schedule the assessment for saving periodically, specify the schedule in this attribute. Create or schedule one assessment per compartment. If not defined, the assessment runs immediately. Format - ;

    Allowed version strings - "v1" v1's version specific schedule - Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) can be either '' (without quotes or a number between 1(Monday) and 7(Sunday)) 4. No constraint introduced when it is ''. When not, day of week must equal the given value can be either '' (without quotes or a number between 1 and 28) 5. No constraint introduced when it is ''. When not, day of month must equal the given value

    ScheduleAssessmentId string
    The OCID of the user assessment that is responsible for creating this scheduled save assessment.
    State string
    The current state of the user assessment.
    Statistics string
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    SystemTags map[string]interface{}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    TargetId string

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    TargetIds []string
    Array of database target OCIDs.
    TimeCreated string
    The date and time the user assessment was created, in the format defined by RFC3339.
    TimeLastAssessed string
    The date and time the user assessment was last executed, in the format defined by RFC3339.
    TimeUpdated string
    The date and time the user assessment was last updated, in the format defined by RFC3339.
    TriggeredBy string
    Indicates whether the user assessment was created by the system or the user.
    Type string
    The type of the user assessment. The possible types are:
    compartmentId String
    (Updatable) The OCID of the compartment that contains the user assessment.
    definedTags Map<String,Object>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) The description of the user assessment.
    displayName String
    (Updatable) The display name of the user assessment.
    freeformTags Map<String,Object>
    (Updatable) 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"}
    ignoredAssessmentIds List<String>
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    ignoredTargets List<UserAssessmentIgnoredTarget>
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    isBaseline Boolean
    Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
    isDeviatedFromBaseline Boolean
    Indicates if the user assessment deviates from the baseline.
    lastComparedBaselineId String
    The OCID of the last user assessment baseline against which the latest assessment was compared.
    lifecycleDetails String
    Details about the current state of the user assessment.
    schedule String

    (Updatable) To schedule the assessment for saving periodically, specify the schedule in this attribute. Create or schedule one assessment per compartment. If not defined, the assessment runs immediately. Format - ;

    Allowed version strings - "v1" v1's version specific schedule - Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) can be either '' (without quotes or a number between 1(Monday) and 7(Sunday)) 4. No constraint introduced when it is ''. When not, day of week must equal the given value can be either '' (without quotes or a number between 1 and 28) 5. No constraint introduced when it is ''. When not, day of month must equal the given value

    scheduleAssessmentId String
    The OCID of the user assessment that is responsible for creating this scheduled save assessment.
    state String
    The current state of the user assessment.
    statistics String
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    systemTags Map<String,Object>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetId String

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    targetIds List<String>
    Array of database target OCIDs.
    timeCreated String
    The date and time the user assessment was created, in the format defined by RFC3339.
    timeLastAssessed String
    The date and time the user assessment was last executed, in the format defined by RFC3339.
    timeUpdated String
    The date and time the user assessment was last updated, in the format defined by RFC3339.
    triggeredBy String
    Indicates whether the user assessment was created by the system or the user.
    type String
    The type of the user assessment. The possible types are:
    compartmentId string
    (Updatable) The OCID of the compartment that contains the user assessment.
    definedTags {[key: string]: any}
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description string
    (Updatable) The description of the user assessment.
    displayName string
    (Updatable) The display name of the user assessment.
    freeformTags {[key: string]: any}
    (Updatable) 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"}
    ignoredAssessmentIds string[]
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    ignoredTargets UserAssessmentIgnoredTarget[]
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    isBaseline boolean
    Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
    isDeviatedFromBaseline boolean
    Indicates if the user assessment deviates from the baseline.
    lastComparedBaselineId string
    The OCID of the last user assessment baseline against which the latest assessment was compared.
    lifecycleDetails string
    Details about the current state of the user assessment.
    schedule string

    (Updatable) To schedule the assessment for saving periodically, specify the schedule in this attribute. Create or schedule one assessment per compartment. If not defined, the assessment runs immediately. Format - ;

    Allowed version strings - "v1" v1's version specific schedule - Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) can be either '' (without quotes or a number between 1(Monday) and 7(Sunday)) 4. No constraint introduced when it is ''. When not, day of week must equal the given value can be either '' (without quotes or a number between 1 and 28) 5. No constraint introduced when it is ''. When not, day of month must equal the given value

    scheduleAssessmentId string
    The OCID of the user assessment that is responsible for creating this scheduled save assessment.
    state string
    The current state of the user assessment.
    statistics string
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    systemTags {[key: string]: any}
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetId string

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    targetIds string[]
    Array of database target OCIDs.
    timeCreated string
    The date and time the user assessment was created, in the format defined by RFC3339.
    timeLastAssessed string
    The date and time the user assessment was last executed, in the format defined by RFC3339.
    timeUpdated string
    The date and time the user assessment was last updated, in the format defined by RFC3339.
    triggeredBy string
    Indicates whether the user assessment was created by the system or the user.
    type string
    The type of the user assessment. The possible types are:
    compartment_id str
    (Updatable) The OCID of the compartment that contains the user assessment.
    defined_tags Mapping[str, Any]
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description str
    (Updatable) The description of the user assessment.
    display_name str
    (Updatable) The display name of the user assessment.
    freeform_tags Mapping[str, Any]
    (Updatable) 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"}
    ignored_assessment_ids Sequence[str]
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    ignored_targets Sequence[datasafe.UserAssessmentIgnoredTargetArgs]
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    is_baseline bool
    Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
    is_deviated_from_baseline bool
    Indicates if the user assessment deviates from the baseline.
    last_compared_baseline_id str
    The OCID of the last user assessment baseline against which the latest assessment was compared.
    lifecycle_details str
    Details about the current state of the user assessment.
    schedule str

    (Updatable) To schedule the assessment for saving periodically, specify the schedule in this attribute. Create or schedule one assessment per compartment. If not defined, the assessment runs immediately. Format - ;

    Allowed version strings - "v1" v1's version specific schedule - Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) can be either '' (without quotes or a number between 1(Monday) and 7(Sunday)) 4. No constraint introduced when it is ''. When not, day of week must equal the given value can be either '' (without quotes or a number between 1 and 28) 5. No constraint introduced when it is ''. When not, day of month must equal the given value

    schedule_assessment_id str
    The OCID of the user assessment that is responsible for creating this scheduled save assessment.
    state str
    The current state of the user assessment.
    statistics str
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    system_tags Mapping[str, Any]
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    target_id str

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    target_ids Sequence[str]
    Array of database target OCIDs.
    time_created str
    The date and time the user assessment was created, in the format defined by RFC3339.
    time_last_assessed str
    The date and time the user assessment was last executed, in the format defined by RFC3339.
    time_updated str
    The date and time the user assessment was last updated, in the format defined by RFC3339.
    triggered_by str
    Indicates whether the user assessment was created by the system or the user.
    type str
    The type of the user assessment. The possible types are:
    compartmentId String
    (Updatable) The OCID of the compartment that contains the user assessment.
    definedTags Map<Any>
    (Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags Example: {"Operations.CostCenter": "42"}
    description String
    (Updatable) The description of the user assessment.
    displayName String
    (Updatable) The display name of the user assessment.
    freeformTags Map<Any>
    (Updatable) 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"}
    ignoredAssessmentIds List<String>
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    ignoredTargets List<Property Map>
    List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
    isBaseline Boolean
    Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
    isDeviatedFromBaseline Boolean
    Indicates if the user assessment deviates from the baseline.
    lastComparedBaselineId String
    The OCID of the last user assessment baseline against which the latest assessment was compared.
    lifecycleDetails String
    Details about the current state of the user assessment.
    schedule String

    (Updatable) To schedule the assessment for saving periodically, specify the schedule in this attribute. Create or schedule one assessment per compartment. If not defined, the assessment runs immediately. Format - ;

    Allowed version strings - "v1" v1's version specific schedule - Each of the above fields potentially introduce constraints. A workrequest is created only when clock time satisfies all the constraints. Constraints introduced: 1. seconds = (So, the allowed range for is [0, 59]) 2. minutes = (So, the allowed range for is [0, 59]) 3. hours = (So, the allowed range for is [0, 23]) can be either '' (without quotes or a number between 1(Monday) and 7(Sunday)) 4. No constraint introduced when it is ''. When not, day of week must equal the given value can be either '' (without quotes or a number between 1 and 28) 5. No constraint introduced when it is ''. When not, day of month must equal the given value

    scheduleAssessmentId String
    The OCID of the user assessment that is responsible for creating this scheduled save assessment.
    state String
    The current state of the user assessment.
    statistics String
    Map that contains maps of values. Example: {"Operations": {"CostCenter": "42"}}
    systemTags Map<Any>
    System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. Example: {"orcl-cloud.free-tier-retained": "true"}
    targetId String

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    targetIds List<String>
    Array of database target OCIDs.
    timeCreated String
    The date and time the user assessment was created, in the format defined by RFC3339.
    timeLastAssessed String
    The date and time the user assessment was last executed, in the format defined by RFC3339.
    timeUpdated String
    The date and time the user assessment was last updated, in the format defined by RFC3339.
    triggeredBy String
    Indicates whether the user assessment was created by the system or the user.
    type String
    The type of the user assessment. The possible types are:

    Supporting Types

    UserAssessmentIgnoredTarget, UserAssessmentIgnoredTargetArgs

    LifecycleState string
    TargetId string

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    UserAssessmentId string
    LifecycleState string
    TargetId string

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    UserAssessmentId string
    lifecycleState String
    targetId String

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    userAssessmentId String
    lifecycleState string
    targetId string

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    userAssessmentId string
    lifecycle_state str
    target_id str

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    user_assessment_id str
    lifecycleState String
    targetId String

    The OCID of the target database on which the user assessment is to be run.

    ** 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

    userAssessmentId String

    Import

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

    $ pulumi import oci:DataSafe/userAssessment:UserAssessment test_user_assessment "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
    Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi