oci.DataSafe.UserAssessment
Explore with Pulumi AI
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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 
- 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.
- 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"}
- IsAssessment boolScheduled 
- (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 
- 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.
- 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"}
- IsAssessment boolScheduled 
- (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 
- 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.
- 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"}
- isAssessment BooleanScheduled 
- (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 
- {[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.
- {[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"}
- isAssessment booleanScheduled 
- (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 
- 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.
- 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_ boolscheduled 
- (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 
- 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.
- 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"}
- isAssessment BooleanScheduled 
- (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.
- IgnoredAssessment List<string>Ids 
- List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
- IgnoredTargets List<UserAssessment Ignored Target> 
- 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.
- IsDeviated boolFrom Baseline 
- Indicates if the user assessment deviates from the baseline.
- LastCompared stringBaseline Id 
- 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.
- ScheduleAssessment stringId 
- 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"}}
- 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.
- TimeLast stringAssessed 
- 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.
- IgnoredAssessment []stringIds 
- List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
- IgnoredTargets []UserAssessment Ignored Target 
- 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.
- IsDeviated boolFrom Baseline 
- Indicates if the user assessment deviates from the baseline.
- LastCompared stringBaseline Id 
- 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.
- ScheduleAssessment stringId 
- 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"}}
- 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.
- TimeLast stringAssessed 
- 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.
- ignoredAssessment List<String>Ids 
- List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
- ignoredTargets List<UserAssessment Ignored Target> 
- 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.
- isDeviated BooleanFrom Baseline 
- Indicates if the user assessment deviates from the baseline.
- lastCompared StringBaseline Id 
- 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.
- scheduleAssessment StringId 
- 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"}}
- 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.
- timeLast StringAssessed 
- 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.
- ignoredAssessment string[]Ids 
- List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
- ignoredTargets UserAssessment Ignored Target[] 
- 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.
- isDeviated booleanFrom Baseline 
- Indicates if the user assessment deviates from the baseline.
- lastCompared stringBaseline Id 
- 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.
- scheduleAssessment stringId 
- 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"}}
- {[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.
- timeLast stringAssessed 
- 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_ Sequence[str]ids 
- List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
- ignored_targets Sequence[UserAssessment Ignored Target] 
- 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_ boolfrom_ baseline 
- Indicates if the user assessment deviates from the baseline.
- last_compared_ strbaseline_ id 
- 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_ strid 
- 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"}}
- 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_ strassessed 
- 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.
- ignoredAssessment List<String>Ids 
- 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.
- isDeviated BooleanFrom Baseline 
- Indicates if the user assessment deviates from the baseline.
- lastCompared StringBaseline Id 
- 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.
- scheduleAssessment StringId 
- 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"}}
- 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.
- timeLast StringAssessed 
- 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[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) -> UserAssessmentfunc 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)resources:  _:    type: oci:DataSafe:UserAssessment    get:      id: ${id}- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- CompartmentId string
- (Updatable) The OCID of the compartment that contains the user assessment.
- 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.
- 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"}
- IgnoredAssessment List<string>Ids 
- List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
- IgnoredTargets List<UserAssessment Ignored Target> 
- List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
- IsAssessment boolScheduled 
- (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.
- IsDeviated boolFrom Baseline 
- Indicates if the user assessment deviates from the baseline.
- LastCompared stringBaseline Id 
- 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 
- ScheduleAssessment stringId 
- 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"}}
- 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.
- TimeLast stringAssessed 
- 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.
- 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.
- 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"}
- IgnoredAssessment []stringIds 
- List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
- IgnoredTargets []UserAssessment Ignored Target Args 
- List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
- IsAssessment boolScheduled 
- (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.
- IsDeviated boolFrom Baseline 
- Indicates if the user assessment deviates from the baseline.
- LastCompared stringBaseline Id 
- 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 
- ScheduleAssessment stringId 
- 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"}}
- 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.
- TimeLast stringAssessed 
- 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.
- 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.
- 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"}
- ignoredAssessment List<String>Ids 
- List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
- ignoredTargets List<UserAssessment Ignored Target> 
- List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
- isAssessment BooleanScheduled 
- (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.
- isDeviated BooleanFrom Baseline 
- Indicates if the user assessment deviates from the baseline.
- lastCompared StringBaseline Id 
- 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 
- scheduleAssessment StringId 
- 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"}}
- 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.
- timeLast StringAssessed 
- 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.
- {[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.
- {[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"}
- ignoredAssessment string[]Ids 
- List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
- ignoredTargets UserAssessment Ignored Target[] 
- List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
- isAssessment booleanScheduled 
- (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.
- isDeviated booleanFrom Baseline 
- Indicates if the user assessment deviates from the baseline.
- lastCompared stringBaseline Id 
- 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 
- scheduleAssessment stringId 
- 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"}}
- {[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.
- timeLast stringAssessed 
- 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.
- 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.
- 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_ Sequence[str]ids 
- List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
- ignored_targets Sequence[UserAssessment Ignored Target Args] 
- List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
- is_assessment_ boolscheduled 
- (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_ boolfrom_ baseline 
- Indicates if the user assessment deviates from the baseline.
- last_compared_ strbaseline_ id 
- 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_ strid 
- 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"}}
- 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_ strassessed 
- 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.
- 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.
- 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"}
- ignoredAssessment List<String>Ids 
- List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
- ignoredTargets List<Property Map>
- List containing maps as values. Example: {"Operations": [ {"CostCenter": "42"} ] }
- isAssessment BooleanScheduled 
- (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.
- isDeviated BooleanFrom Baseline 
- Indicates if the user assessment deviates from the baseline.
- lastCompared StringBaseline Id 
- 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 
- scheduleAssessment StringId 
- 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"}}
- 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.
- timeLast StringAssessed 
- 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 
- UserAssessment stringId 
- 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 
- UserAssessment stringId 
- 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 
- userAssessment StringId 
- 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 
- userAssessment stringId 
- 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_ strid 
- 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 
- userAssessment StringId 
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 ociTerraform Provider.