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 Installed Patches in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets a list of installed patches for the specified target. * CompartmentId should be the compartment OCID of the resource (Containing the target). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInstalledPatches = oci.fleetappsmanagement.getInstalledPatches({ * compartmentId: compartmentId, * targetId: fleetTargetId, * targetName: fleetTargetName, * patchLevel: installedPatchPatchLevel, * patchType: installedPatchPatchType, * severity: installedPatchSeverity, * }); * ``` */ export declare function getInstalledPatches(args: GetInstalledPatchesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getInstalledPatches. */ export interface GetInstalledPatchesArgs { /** * The OCID of the compartment in which to list resources. */ compartmentId: string; filters?: inputs.FleetAppsManagement.GetInstalledPatchesFilter[]; /** * Patch level with values like LATEST, LATEST_MINUS_ONE, LATEST_MINUS_TWO etc.,. */ patchLevel?: string; /** * Patch type. */ patchType?: string; /** * Patch severity with values like CRITICAL, HIGH, MEDIUM and LOW. */ severity?: string; /** * Target identifier. */ targetId?: string; /** * Target name. */ targetName?: string; } /** * A collection of values returned by getInstalledPatches. */ export interface GetInstalledPatchesResult { readonly compartmentId: string; readonly filters?: outputs.FleetAppsManagement.GetInstalledPatchesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The list of installed_patch_collection. */ readonly installedPatchCollections: outputs.FleetAppsManagement.GetInstalledPatchesInstalledPatchCollection[]; /** * Patch level. */ readonly patchLevel?: string; /** * Type of the patch. */ readonly patchType?: string; /** * Patch severity. */ readonly severity?: string; readonly targetId?: string; readonly targetName?: string; } /** * This data source provides the list of Installed Patches in Oracle Cloud Infrastructure Fleet Apps Management service. * * Gets a list of installed patches for the specified target. * CompartmentId should be the compartment OCID of the resource (Containing the target). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testInstalledPatches = oci.fleetappsmanagement.getInstalledPatches({ * compartmentId: compartmentId, * targetId: fleetTargetId, * targetName: fleetTargetName, * patchLevel: installedPatchPatchLevel, * patchType: installedPatchPatchType, * severity: installedPatchSeverity, * }); * ``` */ export declare function getInstalledPatchesOutput(args: GetInstalledPatchesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getInstalledPatches. */ export interface GetInstalledPatchesOutputArgs { /** * The OCID of the compartment in which to list resources. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Patch level with values like LATEST, LATEST_MINUS_ONE, LATEST_MINUS_TWO etc.,. */ patchLevel?: pulumi.Input; /** * Patch type. */ patchType?: pulumi.Input; /** * Patch severity with values like CRITICAL, HIGH, MEDIUM and LOW. */ severity?: pulumi.Input; /** * Target identifier. */ targetId?: pulumi.Input; /** * Target name. */ targetName?: pulumi.Input; } //# sourceMappingURL=getInstalledPatches.d.ts.map