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:
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the user assessment.
- Target
Id 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.
- Display
Name 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"}
- Is
Assessment 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
- Compartment
Id string - (Updatable) The OCID of the compartment that contains the user assessment.
- Target
Id 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.
- Display
Name 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"}
- Is
Assessment 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
- compartment
Id String - (Updatable) The OCID of the compartment that contains the user assessment.
- target
Id 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.
- display
Name 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"}
- is
Assessment 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 string - (Updatable) The OCID of the compartment that contains the user assessment.
- target
Id 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.
- display
Name 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"}
- is
Assessment 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
- compartment
Id String - (Updatable) The OCID of the compartment that contains the user assessment.
- target
Id 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.
- display
Name 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"}
- is
Assessment 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.
- Ignored
Assessment List<string>Ids - List containing maps as values. Example:
{"Operations": [ {"CostCenter": "42"} ] }
- Ignored
Targets List<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 stringBaseline Id - The OCID of the last user assessment baseline against which the latest assessment was compared.
- Lifecycle
Details string - Details about the current state of the user assessment.
- Schedule
Assessment 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"}
- Target
Ids List<string> - Array of database target OCIDs.
- Time
Created string - The date and time the user assessment was created, in the format defined by RFC3339.
- Time
Last stringAssessed - The date and time the user assessment was last executed, in the format defined by RFC3339.
- Time
Updated string - The date and time the user assessment was last updated, in the format defined by RFC3339.
- Triggered
By 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.
- Ignored
Assessment []stringIds - List containing maps as values. Example:
{"Operations": [ {"CostCenter": "42"} ] }
- Ignored
Targets []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 stringBaseline Id - The OCID of the last user assessment baseline against which the latest assessment was compared.
- Lifecycle
Details string - Details about the current state of the user assessment.
- Schedule
Assessment 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"}
- Target
Ids []string - Array of database target OCIDs.
- Time
Created string - The date and time the user assessment was created, in the format defined by RFC3339.
- Time
Last stringAssessed - The date and time the user assessment was last executed, in the format defined by RFC3339.
- Time
Updated string - The date and time the user assessment was last updated, in the format defined by RFC3339.
- Triggered
By 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.
- ignored
Assessment List<String>Ids - List containing maps as values. Example:
{"Operations": [ {"CostCenter": "42"} ] }
- ignored
Targets List<UserAssessment Ignored Target> - List containing maps as values. Example:
{"Operations": [ {"CostCenter": "42"} ] }
- is
Baseline Boolean - Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
- is
Deviated BooleanFrom Baseline - Indicates if the user assessment deviates from the baseline.
- last
Compared StringBaseline Id - The OCID of the last user assessment baseline against which the latest assessment was compared.
- lifecycle
Details String - Details about the current state of the user assessment.
- schedule
Assessment 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"}
- target
Ids List<String> - Array of database target OCIDs.
- time
Created String - The date and time the user assessment was created, in the format defined by RFC3339.
- time
Last StringAssessed - The date and time the user assessment was last executed, in the format defined by RFC3339.
- time
Updated String - The date and time the user assessment was last updated, in the format defined by RFC3339.
- triggered
By 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.
- ignored
Assessment string[]Ids - List containing maps as values. Example:
{"Operations": [ {"CostCenter": "42"} ] }
- ignored
Targets UserAssessment Ignored Target[] - List containing maps as values. Example:
{"Operations": [ {"CostCenter": "42"} ] }
- is
Baseline boolean - Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
- is
Deviated booleanFrom Baseline - Indicates if the user assessment deviates from the baseline.
- last
Compared stringBaseline Id - The OCID of the last user assessment baseline against which the latest assessment was compared.
- lifecycle
Details string - Details about the current state of the user assessment.
- schedule
Assessment 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"}
- target
Ids string[] - Array of database target OCIDs.
- time
Created string - The date and time the user assessment was created, in the format defined by RFC3339.
- time
Last stringAssessed - The date and time the user assessment was last executed, in the format defined by RFC3339.
- time
Updated string - The date and time the user assessment was last updated, in the format defined by RFC3339.
- triggered
By 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[datasafe.User Assessment 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.
- ignored
Assessment List<String>Ids - List containing maps as values. Example:
{"Operations": [ {"CostCenter": "42"} ] }
- ignored
Targets List<Property Map> - List containing maps as values. Example:
{"Operations": [ {"CostCenter": "42"} ] }
- is
Baseline Boolean - Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
- is
Deviated BooleanFrom Baseline - Indicates if the user assessment deviates from the baseline.
- last
Compared StringBaseline Id - The OCID of the last user assessment baseline against which the latest assessment was compared.
- lifecycle
Details String - Details about the current state of the user assessment.
- schedule
Assessment 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"}
- target
Ids List<String> - Array of database target OCIDs.
- time
Created String - The date and time the user assessment was created, in the format defined by RFC3339.
- time
Last StringAssessed - The date and time the user assessment was last executed, in the format defined by RFC3339.
- time
Updated String - The date and time the user assessment was last updated, in the format defined by RFC3339.
- triggered
By 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.
- Compartment
Id 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.
- Display
Name 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"}
- Ignored
Assessment List<string>Ids - List containing maps as values. Example:
{"Operations": [ {"CostCenter": "42"} ] }
- Ignored
Targets List<UserAssessment Ignored Target> - 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 stringBaseline Id - The OCID of the last user assessment baseline against which the latest assessment was compared.
- Lifecycle
Details 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
- Schedule
Assessment 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"}
- Target
Id 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
- Target
Ids List<string> - Array of database target OCIDs.
- Time
Created string - The date and time the user assessment was created, in the format defined by RFC3339.
- Time
Last stringAssessed - The date and time the user assessment was last executed, in the format defined by RFC3339.
- Time
Updated string - The date and time the user assessment was last updated, in the format defined by RFC3339.
- Triggered
By 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 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.
- Display
Name 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"}
- Ignored
Assessment []stringIds - List containing maps as values. Example:
{"Operations": [ {"CostCenter": "42"} ] }
- Ignored
Targets []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 stringBaseline Id - The OCID of the last user assessment baseline against which the latest assessment was compared.
- Lifecycle
Details 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
- Schedule
Assessment 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"}
- Target
Id 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
- Target
Ids []string - Array of database target OCIDs.
- Time
Created string - The date and time the user assessment was created, in the format defined by RFC3339.
- Time
Last stringAssessed - The date and time the user assessment was last executed, in the format defined by RFC3339.
- Time
Updated string - The date and time the user assessment was last updated, in the format defined by RFC3339.
- Triggered
By 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 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.
- display
Name 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"}
- ignored
Assessment List<String>Ids - List containing maps as values. Example:
{"Operations": [ {"CostCenter": "42"} ] }
- ignored
Targets List<UserAssessment Ignored Target> - List containing maps as values. Example:
{"Operations": [ {"CostCenter": "42"} ] }
- is
Assessment BooleanScheduled - (Updatable) Indicates whether the assessment is scheduled to run.
- is
Baseline Boolean - Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
- is
Deviated BooleanFrom Baseline - Indicates if the user assessment deviates from the baseline.
- last
Compared StringBaseline Id - The OCID of the last user assessment baseline against which the latest assessment was compared.
- lifecycle
Details 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
- schedule
Assessment 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"}
- target
Id 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
- target
Ids List<String> - Array of database target OCIDs.
- time
Created String - The date and time the user assessment was created, in the format defined by RFC3339.
- time
Last StringAssessed - The date and time the user assessment was last executed, in the format defined by RFC3339.
- time
Updated String - The date and time the user assessment was last updated, in the format defined by RFC3339.
- triggered
By 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 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.
- display
Name 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"}
- ignored
Assessment string[]Ids - List containing maps as values. Example:
{"Operations": [ {"CostCenter": "42"} ] }
- ignored
Targets UserAssessment Ignored Target[] - List containing maps as values. Example:
{"Operations": [ {"CostCenter": "42"} ] }
- is
Assessment booleanScheduled - (Updatable) Indicates whether the assessment is scheduled to run.
- is
Baseline boolean - Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
- is
Deviated booleanFrom Baseline - Indicates if the user assessment deviates from the baseline.
- last
Compared stringBaseline Id - The OCID of the last user assessment baseline against which the latest assessment was compared.
- lifecycle
Details 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
- schedule
Assessment 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"}
- target
Id 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
- target
Ids string[] - Array of database target OCIDs.
- time
Created string - The date and time the user assessment was created, in the format defined by RFC3339.
- time
Last stringAssessed - The date and time the user assessment was last executed, in the format defined by RFC3339.
- time
Updated string - The date and time the user assessment was last updated, in the format defined by RFC3339.
- triggered
By 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[datasafe.User Assessment 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:
- compartment
Id 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.
- display
Name 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"}
- ignored
Assessment List<String>Ids - List containing maps as values. Example:
{"Operations": [ {"CostCenter": "42"} ] }
- ignored
Targets List<Property Map> - List containing maps as values. Example:
{"Operations": [ {"CostCenter": "42"} ] }
- is
Assessment BooleanScheduled - (Updatable) Indicates whether the assessment is scheduled to run.
- is
Baseline Boolean - Indicates if the user assessment is set as a baseline. This is applicable only to saved user assessments.
- is
Deviated BooleanFrom Baseline - Indicates if the user assessment deviates from the baseline.
- last
Compared StringBaseline Id - The OCID of the last user assessment baseline against which the latest assessment was compared.
- lifecycle
Details 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
- schedule
Assessment 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"}
- target
Id 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
- target
Ids List<String> - Array of database target OCIDs.
- time
Created String - The date and time the user assessment was created, in the format defined by RFC3339.
- time
Last StringAssessed - The date and time the user assessment was last executed, in the format defined by RFC3339.
- time
Updated String - The date and time the user assessment was last updated, in the format defined by RFC3339.
- triggered
By 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
- Lifecycle
State string - Target
Id 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
- User
Assessment stringId
- Lifecycle
State string - Target
Id 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
- User
Assessment stringId
- lifecycle
State String - target
Id 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
- user
Assessment StringId
- lifecycle
State string - target
Id 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
- user
Assessment 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
- lifecycle
State String - target
Id 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
- user
Assessment 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
oci
Terraform Provider.