import * as pulumi from "@pulumi/pulumi"; /** * This resource provides the Vulnerability Scan resource in Oracle Cloud Infrastructure Dblm service. * * > **WARNING:** End of Life: Database Lifecycle Management is deprecated and will reach end of life in January 2027. DBLM Terraform resources and data sources will no longer be supported after that date. * * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/ * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/dblm * * Creates a VulnerabilityScan. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVulnerabilityScan = new oci.dblm.VulnerabilityScan("test_vulnerability_scan", { * compartmentId: compartmentId, * vulnerabilityScanType: vulnerabilityScanVulnerabilityScanType, * }); * ``` * * ## Import * * VulnerabilityScans can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:Dblm/vulnerabilityScan:VulnerabilityScan test_vulnerability_scan "id" * ``` */ export declare class VulnerabilityScan extends pulumi.CustomResource { /** * Get an existing VulnerabilityScan 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?: VulnerabilityScanState, opts?: pulumi.CustomResourceOptions): VulnerabilityScan; /** * Returns true if the given object is an instance of VulnerabilityScan. 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 VulnerabilityScan; /** * Compartment Identifier */ readonly compartmentId: pulumi.Output; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * A user-friendly name. It does not have to be unique, and it is changeable. */ readonly displayName: pulumi.Output; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * The current state of the VulnerabilityScan. */ readonly state: pulumi.Output; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The date and time the VulnerabilityScan was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeCreated: pulumi.Output; /** * The date and time the VulnerabilityScan was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ readonly timeEnded: pulumi.Output; /** * The message of the vulnerability scan status. */ readonly vulnerabilityScanMessage: pulumi.Output; /** * The status of the vulnerability scan. */ readonly vulnerabilityScanStatus: pulumi.Output; /** * Vulnerability Scan type is CVE, PATCH or IMAGE_PATCH * * ** 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 vulnerabilityScanType: pulumi.Output; /** * Create a VulnerabilityScan 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: VulnerabilityScanArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering VulnerabilityScan resources. */ export interface VulnerabilityScanState { /** * Compartment Identifier */ compartmentId?: pulumi.Input; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * A user-friendly name. It does not have to be unique, and it is changeable. */ displayName?: pulumi.Input; /** * Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The current state of the VulnerabilityScan. */ state?: pulumi.Input; /** * System tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The date and time the VulnerabilityScan was created, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ timeCreated?: pulumi.Input; /** * The date and time the VulnerabilityScan was updated, in the format defined by [RFC 3339](https://tools.ietf.org/html/rfc3339). Example: `2016-08-25T21:10:29.600Z` */ timeEnded?: pulumi.Input; /** * The message of the vulnerability scan status. */ vulnerabilityScanMessage?: pulumi.Input; /** * The status of the vulnerability scan. */ vulnerabilityScanStatus?: pulumi.Input; /** * Vulnerability Scan type is CVE, PATCH or IMAGE_PATCH * * ** 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 */ vulnerabilityScanType?: pulumi.Input; } /** * The set of arguments for constructing a VulnerabilityScan resource. */ export interface VulnerabilityScanArgs { /** * Compartment Identifier */ compartmentId: pulumi.Input; /** * Vulnerability Scan type is CVE, PATCH or IMAGE_PATCH * * ** 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 */ vulnerabilityScanType: pulumi.Input; } //# sourceMappingURL=vulnerabilityScan.d.ts.map