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 Software Packages in Oracle Cloud Infrastructure Os Management Hub service. * * Lists software packages available through the OS Management Hub service. Filter the list against a variety of criteria * including but not limited to its name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSoftwarePackages = oci.osmanagementhub.getSoftwarePackages({ * architecture: softwarePackageArchitecture, * displayName: softwarePackageDisplayName, * displayNameContains: softwarePackageDisplayNameContains, * isLatest: softwarePackageIsLatest === "true", * osFamily: softwarePackageOsFamily, * version: softwarePackageVersion, * }); * ``` */ export declare function getSoftwarePackages(args?: GetSoftwarePackagesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSoftwarePackages. */ export interface GetSoftwarePackagesArgs { /** * A filter to return software packages that match the given architecture. */ architecture?: string; /** * A filter to return resources that match the given user-friendly name. */ displayName?: string; /** * A filter to return resources that may partially match the given display name. */ displayNameContains?: string; filters?: inputs.OsManagementHub.GetSoftwarePackagesFilter[]; /** * Indicates whether to list only the latest versions of packages, module streams, and stream profiles. */ isLatest?: boolean; /** * A filter to return only resources that match the given operating system family. */ osFamily?: string; /** * A filter to return software packages that match the given version. */ version?: string; } /** * A collection of values returned by getSoftwarePackages. */ export interface GetSoftwarePackagesResult { /** * The architecture for which this software was built */ readonly architecture?: string; /** * Software source name. */ readonly displayName?: string; readonly displayNameContains?: string; readonly filters?: outputs.OsManagementHub.GetSoftwarePackagesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Indicates whether this package is the latest version. */ readonly isLatest?: boolean; readonly osFamily?: string; /** * The list of software_package_collection. */ readonly softwarePackageCollections: outputs.OsManagementHub.GetSoftwarePackagesSoftwarePackageCollection[]; /** * Version of the package. */ readonly version?: string; } /** * This data source provides the list of Software Packages in Oracle Cloud Infrastructure Os Management Hub service. * * Lists software packages available through the OS Management Hub service. Filter the list against a variety of criteria * including but not limited to its name. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSoftwarePackages = oci.osmanagementhub.getSoftwarePackages({ * architecture: softwarePackageArchitecture, * displayName: softwarePackageDisplayName, * displayNameContains: softwarePackageDisplayNameContains, * isLatest: softwarePackageIsLatest === "true", * osFamily: softwarePackageOsFamily, * version: softwarePackageVersion, * }); * ``` */ export declare function getSoftwarePackagesOutput(args?: GetSoftwarePackagesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSoftwarePackages. */ export interface GetSoftwarePackagesOutputArgs { /** * A filter to return software packages that match the given architecture. */ architecture?: pulumi.Input; /** * A filter to return resources that match the given user-friendly name. */ displayName?: pulumi.Input; /** * A filter to return resources that may partially match the given display name. */ displayNameContains?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Indicates whether to list only the latest versions of packages, module streams, and stream profiles. */ isLatest?: pulumi.Input; /** * A filter to return only resources that match the given operating system family. */ osFamily?: pulumi.Input; /** * A filter to return software packages that match the given version. */ version?: pulumi.Input; } //# sourceMappingURL=getSoftwarePackages.d.ts.map