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 Managed Instance Updatable Packages in Oracle Cloud Infrastructure Os Management Hub service. * * Returns a list of updatable packages for a managed instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedInstanceUpdatablePackages = oci.osmanagementhub.getManagedInstanceUpdatablePackages({ * managedInstanceId: testManagedInstance.id, * advisoryNames: managedInstanceUpdatablePackageAdvisoryName, * advisorySeverities: managedInstanceUpdatablePackageAdvisorySeverity, * classificationTypes: managedInstanceUpdatablePackageClassificationType, * compartmentId: compartmentId, * displayNames: managedInstanceUpdatablePackageDisplayName, * displayNameContains: managedInstanceUpdatablePackageDisplayNameContains, * }); * ``` */ export declare function getManagedInstanceUpdatablePackages(args: GetManagedInstanceUpdatablePackagesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getManagedInstanceUpdatablePackages. */ export interface GetManagedInstanceUpdatablePackagesArgs { /** * The assigned erratum name. It's unique and not changeable. Example: `ELSA-2020-5804` */ advisoryNames?: string[]; /** * The advisory severity. */ advisorySeverities?: string[]; /** * A filter to return only packages that match the given update classification type. */ classificationTypes?: string[]; /** * The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment. */ compartmentId?: string; /** * A filter to return resources that may partially match the given display name. */ displayNameContains?: string; /** * A filter to return resources that match the given display names. */ displayNames?: string[]; filters?: inputs.OsManagementHub.GetManagedInstanceUpdatablePackagesFilter[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. */ managedInstanceId: string; } /** * A collection of values returned by getManagedInstanceUpdatablePackages. */ export interface GetManagedInstanceUpdatablePackagesResult { readonly advisoryNames?: string[]; /** * The severity level of the security update. Only applicable when updateType is SECURITY. */ readonly advisorySeverities?: string[]; readonly classificationTypes?: string[]; readonly compartmentId?: string; readonly displayNameContains?: string; /** * Software source name. */ readonly displayNames?: string[]; readonly filters?: outputs.OsManagementHub.GetManagedInstanceUpdatablePackagesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly managedInstanceId: string; /** * The list of updatable_package_collection. */ readonly updatablePackageCollections: outputs.OsManagementHub.GetManagedInstanceUpdatablePackagesUpdatablePackageCollection[]; } /** * This data source provides the list of Managed Instance Updatable Packages in Oracle Cloud Infrastructure Os Management Hub service. * * Returns a list of updatable packages for a managed instance. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testManagedInstanceUpdatablePackages = oci.osmanagementhub.getManagedInstanceUpdatablePackages({ * managedInstanceId: testManagedInstance.id, * advisoryNames: managedInstanceUpdatablePackageAdvisoryName, * advisorySeverities: managedInstanceUpdatablePackageAdvisorySeverity, * classificationTypes: managedInstanceUpdatablePackageClassificationType, * compartmentId: compartmentId, * displayNames: managedInstanceUpdatablePackageDisplayName, * displayNameContains: managedInstanceUpdatablePackageDisplayNameContains, * }); * ``` */ export declare function getManagedInstanceUpdatablePackagesOutput(args: GetManagedInstanceUpdatablePackagesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getManagedInstanceUpdatablePackages. */ export interface GetManagedInstanceUpdatablePackagesOutputArgs { /** * The assigned erratum name. It's unique and not changeable. Example: `ELSA-2020-5804` */ advisoryNames?: pulumi.Input[] | undefined>; /** * The advisory severity. */ advisorySeverities?: pulumi.Input[] | undefined>; /** * A filter to return only packages that match the given update classification type. */ classificationTypes?: pulumi.Input[] | undefined>; /** * The OCID of the compartment that contains the resources to list. This filter returns only resources contained within the specified compartment. */ compartmentId?: pulumi.Input; /** * A filter to return resources that may partially match the given display name. */ displayNameContains?: pulumi.Input; /** * A filter to return resources that match the given display names. */ displayNames?: pulumi.Input[] | undefined>; filters?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the managed instance. */ managedInstanceId: pulumi.Input; } //# sourceMappingURL=getManagedInstanceUpdatablePackages.d.ts.map