1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. DataSafe
  5. UserAssessment
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi

oci.DataSafe.UserAssessment

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 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("test_user_assessment", {
        compartmentId: compartmentId,
        targetId: testTarget.id,
        definedTags: {
            "Operations.CostCenter": "42",
        },
        description: userAssessmentDescription,
        displayName: userAssessmentDisplayName,
        freeformTags: {
            Department: "Finance",
        },
        isAssessmentScheduled: userAssessmentIsAssessmentScheduled,
        schedule: userAssessmentSchedule,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_user_assessment = oci.data_safe.UserAssessment("test_user_assessment",
        compartment_id=compartment_id,
        target_id=test_target["id"],
        defined_tags={
            "Operations.CostCenter": "42",
        },
        description=user_assessment_description,
        display_name=user_assessment_display_name,
        freeform_tags={
            "Department": "Finance",
        },
        is_assessment_scheduled=user_assessment_is_assessment_scheduled,
        schedule=user_assessment_schedule)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/DataSafe"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := DataSafe.NewUserAssessment(ctx, "test_user_assessment", &DataSafe.UserAssessmentArgs{
    			CompartmentId: pulumi.Any(compartmentId),
    			TargetId:      pulumi.Any(testTarget.Id),
    			DefinedTags: pulumi.StringMap{
    				"Operations.CostCenter": pulumi.String("42"),
    			},
    			Description: pulumi.Any(userAssessmentDescription),
    			DisplayName: pulumi.Any(userAssessmentDisplayName),
    			FreeformTags: pulumi.StringMap{
    				"Department": pulumi.String("Finance"),
    			},
    			IsAssessmentScheduled: pulumi.Any(userAssessmentIsAssessmentScheduled),
    			Schedule:              pulumi.Any(userAssessmentSchedule),
    		})
    		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("test_user_assessment", new()
        {
            CompartmentId = compartmentId,
            TargetId = testTarget.Id,
            DefinedTags = 
            {
                { "Operations.CostCenter", "42" },
            },
            Description = userAssessmentDescription,
            DisplayName = userAssessmentDisplayName,
            FreeformTags = 
            {
                { "Department", "Finance" },
            },
            IsAssessmentScheduled = userAssessmentIsAssessmentScheduled,
            Schedule = userAssessmentSchedule,
        });
    
    });
    
    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(compartmentId)
                .targetId(testTarget.id())
                .definedTags(Map.of("Operations.CostCenter", "42"))
                .description(userAssessmentDescription)
                .displayName(userAssessmentDisplayName)
                .freeformTags(Map.of("Department", "Finance"))
                .isAssessmentScheduled(userAssessmentIsAssessmentScheduled)
                .schedule(userAssessmentSchedule)
                .build());
    
        }
    }
    
    resources:
      testUserAssessment:
        type: oci:DataSafe:UserAssessment
        name: test_user_assessment
        properties:
          compartmentId: ${compartmentId}
          targetId: ${testTarget.id}
          definedTags:
            Operations.CostCenter: '42'
          description: ${userAssessmentDescription}
          displayName: ${userAssessmentDisplayName}
          freeformTags:
            Department: Finance
          isAssessmentScheduled: ${userAssessmentIsAssessmentScheduled}
          schedule: ${userAssessmentSchedule}
    

    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, str]] = None,
                       description: Optional[str] = None,
                       display_name: Optional[str] = None,
                       freeform_tags: Optional[Mapping[str, str]] = None,
                       is_assessment_scheduled: Optional[bool] = 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.

    Constructor 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", "string" },
        },
        Description = "string",
        DisplayName = "string",
        FreeformTags = 
        {
            { "string", "string" },
        },
        IsAssessmentScheduled = false,
        Schedule = "string",
    });
    
    example, err := DataSafe.NewUserAssessment(ctx, "userAssessmentResource", &DataSafe.UserAssessmentArgs{
    	CompartmentId: pulumi.String("string"),
    	TargetId:      pulumi.String("string"),
    	DefinedTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    	DisplayName: pulumi.String("string"),
    	FreeformTags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	IsAssessmentScheduled: pulumi.Bool(false),
    	Schedule:              pulumi.String("string"),
    })
    
    var userAssessmentResource = new UserAssessment("userAssessmentResource", UserAssessmentArgs.builder()
        .compartmentId("string")
        .targetId("string")
        .definedTags(Map.of("string", "string"))
        .description("string")
        .displayName("string")
        .freeformTags(Map.of("string", "string"))
        .isAssessmentScheduled(false)
        .schedule("string")
        .build());
    
    user_assessment_resource = oci.data_safe.UserAssessment("userAssessmentResource",
        compartment_id="string",
        target_id="string",
        defined_tags={
            "string": "string",
        },
        description="string",
        display_name="string",
        freeform_tags={
            "string": "string",
        },
        is_assessment_scheduled=False,
        schedule="string")
    
    const userAssessmentResource = new oci.datasafe.UserAssessment("userAssessmentResource", {
        compartmentId: "string",
        targetId: "string",
        definedTags: {
            string: "string",
        },
        description: "string",
        displayName: "string",
        freeformTags: {
            string: "string",
        },
        isAssessmentScheduled: false,
        schedule: "string",
    });
    
    type: oci:DataSafe:UserAssessment
    properties:
        compartmentId: string
        definedTags:
            string: string
        description: string
        displayName: string
        freeformTags:
            string: string
        isAssessmentScheduled: false
        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, string>
    (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, string>
    (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"}
    IsAssessmentScheduled bool
    (Updatable) Indicates whether the assessment is scheduled to run.
    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]string
    (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]string
    (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"}
    IsAssessmentScheduled bool
    (Updatable) Indicates whether the assessment is scheduled to run.
    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,String>
    (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,String>
    (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"}
    isAssessmentScheduled Boolean
    (Updatable) Indicates whether the assessment is scheduled to run.
    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]: string}
    (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]: string}
    (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"}
    isAssessmentScheduled boolean
    (Updatable) Indicates whether the assessment is scheduled to run.
    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, str]
    (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, str]
    (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"}
    is_assessment_scheduled bool
    (Updatable) Indicates whether the assessment is scheduled to run.
    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<String>
    (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>
    (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"}
    isAssessmentScheduled Boolean
    (Updatable) Indicates whether the assessment is scheduled to run.
    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, string>
    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]string
    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,String>
    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]: string}
    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, str]
    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<String>
    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, str]] = None,
            description: Optional[str] = None,
            display_name: Optional[str] = None,
            freeform_tags: Optional[Mapping[str, str]] = None,
            ignored_assessment_ids: Optional[Sequence[str]] = None,
            ignored_targets: Optional[Sequence[_datasafe.UserAssessmentIgnoredTargetArgs]] = None,
            is_assessment_scheduled: Optional[bool] = 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, str]] = 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, string>
    (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, string>
    (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"} ] }
    IsAssessmentScheduled bool
    (Updatable) Indicates whether the assessment is scheduled to run.
    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, string>
    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]string
    (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]string
    (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"} ] }
    IsAssessmentScheduled bool
    (Updatable) Indicates whether the assessment is scheduled to run.
    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]string
    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,String>
    (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,String>
    (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"} ] }
    isAssessmentScheduled Boolean
    (Updatable) Indicates whether the assessment is scheduled to run.
    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,String>
    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]: string}
    (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]: string}
    (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"} ] }
    isAssessmentScheduled boolean
    (Updatable) Indicates whether the assessment is scheduled to run.
    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]: string}
    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, str]
    (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, str]
    (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_assessment_scheduled bool
    (Updatable) Indicates whether the assessment is scheduled to run.
    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, str]
    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<String>
    (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>
    (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"} ] }
    isAssessmentScheduled Boolean
    (Updatable) Indicates whether the assessment is scheduled to run.
    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>
    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 v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi