import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Host Scan Targets in Oracle Cloud Infrastructure Vulnerability Scanning service. * * Retrieves a list of HostScanTargetSummary objects in a compartment. 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 testHostScanTargets = oci.vulnerabilityscanning.getHostScanTargets({ * compartmentId: compartmentId, * displayName: hostScanTargetDisplayName, * state: hostScanTargetState, * }); * ``` */ export declare function getHostScanTargets(args: GetHostScanTargetsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getHostScanTargets. */ export interface GetHostScanTargetsArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: string; /** * A filter to return only resources that match the entire display name given. */ displayName?: string; filters?: inputs.VulnerabilityScanning.GetHostScanTargetsFilter[]; /** * A filter to return only resources whose lifecycleState matches the given lifecycleState. */ state?: string; } /** * A collection of values returned by getHostScanTargets. */ export interface GetHostScanTargetsResult { /** * Compartment ID of the object (this). */ readonly compartmentId: string; /** * Target identifier, which can be renamed. */ readonly displayName?: string; readonly filters?: outputs.VulnerabilityScanning.GetHostScanTargetsFilter[]; /** * The list of host_scan_target_summary_collection. */ readonly hostScanTargetSummaryCollections: outputs.VulnerabilityScanning.GetHostScanTargetsHostScanTargetSummaryCollection[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The current state of the config. */ readonly state?: string; } /** * This data source provides the list of Host Scan Targets in Oracle Cloud Infrastructure Vulnerability Scanning service. * * Retrieves a list of HostScanTargetSummary objects in a compartment. 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 testHostScanTargets = oci.vulnerabilityscanning.getHostScanTargets({ * compartmentId: compartmentId, * displayName: hostScanTargetDisplayName, * state: hostScanTargetState, * }); * ``` */ export declare function getHostScanTargetsOutput(args: GetHostScanTargetsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getHostScanTargets. */ export interface GetHostScanTargetsOutputArgs { /** * The ID of the compartment in which to list resources. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the entire display name given. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to return only resources whose lifecycleState matches the given lifecycleState. */ state?: pulumi.Input; } //# sourceMappingURL=getHostScanTargets.d.ts.map