import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Set User Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. * * Sets the saved user assessment as the baseline in the compartment where the 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 testSetUserAssessmentBaselineManagement = new oci.datasafe.SetUserAssessmentBaselineManagement("test_set_user_assessment_baseline_management", { * targetId: testTargetDatabase.id, * compartmentId: comaprtmentId, * }); * ``` * * ## Import * * SetUserAssessmentBaselineManagement can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataSafe/setUserAssessmentBaselineManagement:SetUserAssessmentBaselineManagement test_set_user_assessment_baseline_management "id" * ``` */ export declare class SetUserAssessmentBaselineManagement extends pulumi.CustomResource { /** * Get an existing SetUserAssessmentBaselineManagement 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?: SetUserAssessmentBaselineManagementState, opts?: pulumi.CustomResourceOptions): SetUserAssessmentBaselineManagement; /** * Returns true if the given object is an instance of SetUserAssessmentBaselineManagement. 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 SetUserAssessmentBaselineManagement; readonly assessmentIds: pulumi.Output; /** * The compartment OCID of the target. * * ** 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 compartmentId: pulumi.Output; /** * The target OCID for which UA needs to be set as baseline. */ readonly targetId: pulumi.Output; readonly userAssessmentId: pulumi.Output; /** * Create a SetUserAssessmentBaselineManagement 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: SetUserAssessmentBaselineManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SetUserAssessmentBaselineManagement resources. */ export interface SetUserAssessmentBaselineManagementState { assessmentIds?: pulumi.Input[] | undefined>; /** * The compartment OCID of the target. * * ** 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 */ compartmentId?: pulumi.Input; /** * The target OCID for which UA needs to be set as baseline. */ targetId?: pulumi.Input; userAssessmentId?: pulumi.Input; } /** * The set of arguments for constructing a SetUserAssessmentBaselineManagement resource. */ export interface SetUserAssessmentBaselineManagementArgs { /** * The compartment OCID of the target. * * ** 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 */ compartmentId: pulumi.Input; /** * The target OCID for which UA needs to be set as baseline. */ targetId: pulumi.Input; } //# sourceMappingURL=setUserAssessmentBaselineManagement.d.ts.map