import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Host Scan Target resource in Oracle Cloud Infrastructure Vulnerability Scanning service. * * Retrieves a HostScanTarget identified by the target ID. A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testHostScanTarget = oci.vulnerabilityscanning.getHostScanTarget({ * hostScanTargetId: testHostScanTargetOciVulnerabilityScanningHostScanTarget.id, * }); * ``` */ export declare function getHostScanTarget(args: GetHostScanTargetArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getHostScanTarget. */ export interface GetHostScanTargetArgs { /** * unique HostScanTarget identifier */ hostScanTargetId: string; } /** * A collection of values returned by getHostScanTarget. */ export interface GetHostScanTargetResult { /** * Compartment ID of the object (this). */ readonly compartmentId: string; /** * Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: { [key: string]: string; }; /** * Target description. */ readonly description: string; /** * Target identifier, which can be renamed. */ readonly displayName: string; /** * 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: { [key: string]: string; }; /** * ID of the host scan recipe this target applies. */ readonly hostScanRecipeId: string; readonly hostScanTargetId: string; /** * Unique identifier of the config that is immutable on creation */ readonly id: string; /** * List of compute instance IDs to target (optional). If empty, targets the entire targetCompartmentId. */ readonly instanceIds: string[]; /** * The current state of the config. */ readonly state: string; /** * Usage of system tag keys. These predefined keys are scoped to namespaces. Example: `{"orcl-cloud.free-tier-retained": "true"}` */ readonly systemTags: { [key: string]: string; }; /** * Compartment ID to target. If a list of hosts is provided, all hosts must be in this compartment. */ readonly targetCompartmentId: string; /** * Date and time the target was created, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) */ readonly timeCreated: string; /** * Date and time the target was last updated, format as described in [RFC 3339](https://tools.ietf.org/rfc/rfc3339) */ readonly timeUpdated: string; } /** * This data source provides details about a specific Host Scan Target resource in Oracle Cloud Infrastructure Vulnerability Scanning service. * * Retrieves a HostScanTarget identified by the target ID. A host scan target is a collection of compute instances that you want routinely scanned for security vulnerabilities. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testHostScanTarget = oci.vulnerabilityscanning.getHostScanTarget({ * hostScanTargetId: testHostScanTargetOciVulnerabilityScanningHostScanTarget.id, * }); * ``` */ export declare function getHostScanTargetOutput(args: GetHostScanTargetOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getHostScanTarget. */ export interface GetHostScanTargetOutputArgs { /** * unique HostScanTarget identifier */ hostScanTargetId: pulumi.Input; } //# sourceMappingURL=getHostScanTarget.d.ts.map