import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Set User Assessment Baseline resource in Oracle Cloud Infrastructure Data Safe service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-safe/latest/SetUserAssessmentBaseline * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datasafe * * Sets the saved user assessment as the baseline in the compartment where the specified assessment resides. The user assessment needs to be of type 'SAVED'. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSetUserAssessmentBaseline = new oci.datasafe.SetUserAssessmentBaseline("test_set_user_assessment_baseline", { * userAssessmentId: testUserAssessment.id, * assessmentIds: setUserAssessmentBaselineAssessmentIds, * }); * ``` * * ## Import * * SetUserAssessmentBaseline can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataSafe/setUserAssessmentBaseline:SetUserAssessmentBaseline test_set_user_assessment_baseline "id" * ``` */ export declare class SetUserAssessmentBaseline extends pulumi.CustomResource { /** * Get an existing SetUserAssessmentBaseline resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: SetUserAssessmentBaselineState, opts?: pulumi.CustomResourceOptions): SetUserAssessmentBaseline; /** * Returns true if the given object is an instance of SetUserAssessmentBaseline. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is SetUserAssessmentBaseline; /** * The list of OCIDs for the user assessments that need to be updated while setting the baseline. */ readonly assessmentIds: pulumi.Output; /** * The OCID of the user assessment. * * ** 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 */ readonly userAssessmentId: pulumi.Output; /** * Create a SetUserAssessmentBaseline resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: SetUserAssessmentBaselineArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SetUserAssessmentBaseline resources. */ export interface SetUserAssessmentBaselineState { /** * The list of OCIDs for the user assessments that need to be updated while setting the baseline. */ assessmentIds?: pulumi.Input[] | undefined>; /** * The OCID of the user assessment. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ userAssessmentId?: pulumi.Input; } /** * The set of arguments for constructing a SetUserAssessmentBaseline resource. */ export interface SetUserAssessmentBaselineArgs { /** * The list of OCIDs for the user assessments that need to be updated while setting the baseline. */ assessmentIds?: pulumi.Input[] | undefined>; /** * The OCID of the user assessment. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ userAssessmentId: pulumi.Input; } //# sourceMappingURL=setUserAssessmentBaseline.d.ts.map