import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Unset Security 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/UnsetSecurityAssessmentBaseline * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datasafe * * Removes the baseline setting for the saved security assessment associated with the targetId passed via body. * If no body or empty body is passed then the baseline settings of all the saved security assessments pertaining to the baseline assessment OCID provided in the path will be removed. * Sets the if-match parameter to the value of the etag from a previous GET or POST response for that resource. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testUnsetSecurityAssessmentBaseline = new oci.datasafe.UnsetSecurityAssessmentBaseline("test_unset_security_assessment_baseline", { * securityAssessmentId: testSecurityAssessment.id, * targetIds: unsetSecurityAssessmentBaselineTargetIds, * }); * ``` * * ## Import * * UnsetSecurityAssessmentBaseline can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataSafe/unsetSecurityAssessmentBaseline:UnsetSecurityAssessmentBaseline test_unset_security_assessment_baseline "id" * ``` */ export declare class UnsetSecurityAssessmentBaseline extends pulumi.CustomResource { /** * Get an existing UnsetSecurityAssessmentBaseline 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?: UnsetSecurityAssessmentBaselineState, opts?: pulumi.CustomResourceOptions): UnsetSecurityAssessmentBaseline; /** * Returns true if the given object is an instance of UnsetSecurityAssessmentBaseline. 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 UnsetSecurityAssessmentBaseline; /** * The OCID of the security assessment. */ readonly securityAssessmentId: pulumi.Output; /** * The list of database target OCIDs for which the user intends to unset the baseline. * * ** 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 targetIds: pulumi.Output; /** * Create a UnsetSecurityAssessmentBaseline 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: UnsetSecurityAssessmentBaselineArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering UnsetSecurityAssessmentBaseline resources. */ export interface UnsetSecurityAssessmentBaselineState { /** * The OCID of the security assessment. */ securityAssessmentId?: pulumi.Input; /** * The list of database target OCIDs for which the user intends to unset the baseline. * * ** 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?: pulumi.Input[] | undefined>; } /** * The set of arguments for constructing a UnsetSecurityAssessmentBaseline resource. */ export interface UnsetSecurityAssessmentBaselineArgs { /** * The OCID of the security assessment. */ securityAssessmentId: pulumi.Input; /** * The list of database target OCIDs for which the user intends to unset the baseline. * * ** 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?: pulumi.Input[] | undefined>; } //# sourceMappingURL=unsetSecurityAssessmentBaseline.d.ts.map