import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Set Security Assessment Baseline management resource in Oracle Cloud Infrastructure Data Safe service. * * Sets the saved security assessment as the baseline in the compartment where the the specified assessment resides. The security assessment needs to be of type 'SAVED'. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSetSecurityAssessmentBaselineManagement = new oci.datasafe.SetSecurityAssessmentBaselineManagement("test_set_security_assessment_baseline_management", { * targetId: testTargetDatabase.id, * compartmentId: comaprtmentId, * }); * ``` * * ## Import * * SetSecurityAssessmentBaselineManagement can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataSafe/setSecurityAssessmentBaselineManagement:SetSecurityAssessmentBaselineManagement test_set_security_assessment_baseline_management "id" * ``` */ export declare class SetSecurityAssessmentBaselineManagement extends pulumi.CustomResource { /** * Get an existing SetSecurityAssessmentBaselineManagement 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?: SetSecurityAssessmentBaselineManagementState, opts?: pulumi.CustomResourceOptions): SetSecurityAssessmentBaselineManagement; /** * Returns true if the given object is an instance of SetSecurityAssessmentBaselineManagement. 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 SetSecurityAssessmentBaselineManagement; 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; readonly securityAssessmentId: pulumi.Output; /** * The target OCID for which SA needs to be set as baseline. */ readonly targetId: pulumi.Output; /** * Create a SetSecurityAssessmentBaselineManagement 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: SetSecurityAssessmentBaselineManagementArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering SetSecurityAssessmentBaselineManagement resources. */ export interface SetSecurityAssessmentBaselineManagementState { 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; securityAssessmentId?: pulumi.Input; /** * The target OCID for which SA needs to be set as baseline. */ targetId?: pulumi.Input; } /** * The set of arguments for constructing a SetSecurityAssessmentBaselineManagement resource. */ export interface SetSecurityAssessmentBaselineManagementArgs { /** * 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 SA needs to be set as baseline. */ targetId: pulumi.Input; } //# sourceMappingURL=setSecurityAssessmentBaselineManagement.d.ts.map