import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides details about a specific Errata resource in Oracle Cloud Infrastructure Os Management Hub service. * * Returns information about the specified erratum based on its advisory name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testErrata = oci.osmanagementhub.getErrata({ * compartmentId: compartmentId, * names: errataName, * }); * ``` */ export declare function getErrata(args: GetErrataArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getErrata. */ export interface GetErrataArgs { /** * The severity for a security advisory, otherwise, null. */ advisorySeverities?: string[]; /** * The advisory type of the erratum. */ advisoryTypes?: string[]; /** * Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead. */ classificationTypes?: string[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This parameter is required and returns only resources contained within the specified compartment. */ compartmentId: string; filters?: inputs.OsManagementHub.GetErrataFilter[]; nameContains?: string; /** * The erratum name (such as ELSA-2023-34678). */ names?: string[]; osFamily?: string; timeIssueDateEnd?: string; timeIssueDateStart?: string; } /** * A collection of values returned by getErrata. */ export interface GetErrataResult { /** * The severity for a security advisory, otherwise, null. */ readonly advisorySeverities?: string[]; /** * The advisory type of the erratum. */ readonly advisoryTypes?: string[]; /** * Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead. */ readonly classificationTypes?: string[]; readonly compartmentId: string; readonly erratumCollections: outputs.OsManagementHub.GetErrataErratumCollection[]; readonly filters?: outputs.OsManagementHub.GetErrataFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly nameContains?: string; /** * Unique identifier for the package. Note that this is not an OCID. */ readonly names?: string[]; readonly osFamily?: string; readonly timeIssueDateEnd?: string; readonly timeIssueDateStart?: string; } /** * This data source provides details about a specific Errata resource in Oracle Cloud Infrastructure Os Management Hub service. * * Returns information about the specified erratum based on its advisory name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testErrata = oci.osmanagementhub.getErrata({ * compartmentId: compartmentId, * names: errataName, * }); * ``` */ export declare function getErrataOutput(args: GetErrataOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getErrata. */ export interface GetErrataOutputArgs { /** * The severity for a security advisory, otherwise, null. */ advisorySeverities?: pulumi.Input[] | undefined>; /** * The advisory type of the erratum. */ advisoryTypes?: pulumi.Input[] | undefined>; /** * Type of the erratum. This property is deprecated and it will be removed in a future API release. Please refer to the advisoryType property instead. */ classificationTypes?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. This parameter is required and returns only resources contained within the specified compartment. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; nameContains?: pulumi.Input; /** * The erratum name (such as ELSA-2023-34678). */ names?: pulumi.Input[] | undefined>; osFamily?: pulumi.Input; timeIssueDateEnd?: pulumi.Input; timeIssueDateStart?: pulumi.Input; } //# sourceMappingURL=getErrata.d.ts.map