import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Compare Security Assessment resource in Oracle Cloud Infrastructure Data Safe service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/data-safe/latest/CompareSecurityAssessment * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/datasafe * * Compares two security assessments. For this comparison, a security assessment can be a saved assessment, a latest assessment, or a baseline assessment. * For example, you can compare saved assessment or a latest assessment against a baseline. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testCompareSecurityAssessment = new oci.datasafe.CompareSecurityAssessment("test_compare_security_assessment", { * comparisonSecurityAssessmentId: testSecurityAssessment.id, * securityAssessmentId: testSecurityAssessment.id, * }); * ``` * * ## Import * * CompareSecurityAssessment can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:DataSafe/compareSecurityAssessment:CompareSecurityAssessment test_compare_security_assessment "id" * ``` */ export declare class CompareSecurityAssessment extends pulumi.CustomResource { /** * Get an existing CompareSecurityAssessment 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?: CompareSecurityAssessmentState, opts?: pulumi.CustomResourceOptions): CompareSecurityAssessment; /** * Returns true if the given object is an instance of CompareSecurityAssessment. 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 CompareSecurityAssessment; /** * The OCID of the security assessment. In this case a security assessment can be another security assessment, a latest assessment or a baseline. */ readonly comparisonSecurityAssessmentId: pulumi.Output; /** * The OCID of the security 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 securityAssessmentId: pulumi.Output; /** * Create a CompareSecurityAssessment 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: CompareSecurityAssessmentArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering CompareSecurityAssessment resources. */ export interface CompareSecurityAssessmentState { /** * The OCID of the security assessment. In this case a security assessment can be another security assessment, a latest assessment or a baseline. */ comparisonSecurityAssessmentId?: pulumi.Input; /** * The OCID of the security 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 */ securityAssessmentId?: pulumi.Input; } /** * The set of arguments for constructing a CompareSecurityAssessment resource. */ export interface CompareSecurityAssessmentArgs { /** * The OCID of the security assessment. In this case a security assessment can be another security assessment, a latest assessment or a baseline. */ comparisonSecurityAssessmentId: pulumi.Input; /** * The OCID of the security 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 */ securityAssessmentId: pulumi.Input; } //# sourceMappingURL=compareSecurityAssessment.d.ts.map