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 Package Software Source in Oracle Cloud Infrastructure Os Management Hub service. * * Lists the software sources in the tenancy that contain the software package. Filter the list against a * variety of criteria including but not limited to its name, type, architecture, and OS family. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSoftwarePackageSoftwareSource = oci.osmanagementhub.getSoftwarePackageSoftwareSource({ * compartmentId: compartmentId, * softwarePackageName: testSoftwarePackage.name, * archTypes: softwarePackageSoftwareSourceArchType, * availabilities: softwarePackageSoftwareSourceAvailability, * availabilityAnywheres: softwarePackageSoftwareSourceAvailabilityAnywhere, * availabilityAtOcis: softwarePackageSoftwareSourceAvailabilityAtOci, * displayName: softwarePackageSoftwareSourceDisplayName, * displayNameContains: softwarePackageSoftwareSourceDisplayNameContains, * osFamilies: softwarePackageSoftwareSourceOsFamily, * softwareSourceTypes: softwarePackageSoftwareSourceSoftwareSourceType, * states: softwarePackageSoftwareSourceState, * }); * ``` */ export declare function getSoftwarePackageSoftwareSource(args: GetSoftwarePackageSoftwareSourceArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getSoftwarePackageSoftwareSource. */ export interface GetSoftwarePackageSoftwareSourceArgs { /** * A filter to return only instances whose architecture type matches the given architecture. */ archTypes?: string[]; /** * The availability of the software source in a non-OCI environment for a tenancy. */ availabilities?: string[]; /** * The availability of the software source. Use this query parameter to filter across availabilities in different environments. */ availabilityAnywheres?: string[]; /** * The availability of the software source in an Oracle Cloud Infrastructure environment for a tenancy. */ availabilityAtOcis?: 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; /** * 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.GetSoftwarePackageSoftwareSourceFilter[]; /** * A filter to return only resources that match the given operating system family. */ osFamilies?: string[]; /** * The name of the software package. */ softwarePackageName: string; /** * The type of the software source. */ softwareSourceTypes?: string[]; /** * A filter to return only software sources whose state matches the given state. */ states?: string[]; } /** * A collection of values returned by getSoftwarePackageSoftwareSource. */ export interface GetSoftwarePackageSoftwareSourceResult { /** * The architecture type supported by the software source. */ readonly archTypes?: string[]; /** * Availability of the software source (for non-OCI environments). */ readonly availabilities?: string[]; readonly availabilityAnywheres?: string[]; /** * Availability of the software source (for Oracle Cloud Infrastructure environments). */ readonly availabilityAtOcis?: string[]; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment that contains the software source. */ readonly compartmentId: string; /** * User-friendly name. */ readonly displayName?: string; readonly displayNameContains?: string; readonly filters?: outputs.OsManagementHub.GetSoftwarePackageSoftwareSourceFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The OS family of the software source. */ readonly osFamilies?: string[]; readonly softwarePackageName: string; /** * The list of software_source_collection. */ readonly softwareSourceCollections: outputs.OsManagementHub.GetSoftwarePackageSoftwareSourceSoftwareSourceCollection[]; /** * Type of software source. */ readonly softwareSourceTypes?: string[]; /** * The current state of the software source. */ readonly states?: string[]; } /** * This data source provides the list of Software Package Software Source in Oracle Cloud Infrastructure Os Management Hub service. * * Lists the software sources in the tenancy that contain the software package. Filter the list against a * variety of criteria including but not limited to its name, type, architecture, and OS family. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testSoftwarePackageSoftwareSource = oci.osmanagementhub.getSoftwarePackageSoftwareSource({ * compartmentId: compartmentId, * softwarePackageName: testSoftwarePackage.name, * archTypes: softwarePackageSoftwareSourceArchType, * availabilities: softwarePackageSoftwareSourceAvailability, * availabilityAnywheres: softwarePackageSoftwareSourceAvailabilityAnywhere, * availabilityAtOcis: softwarePackageSoftwareSourceAvailabilityAtOci, * displayName: softwarePackageSoftwareSourceDisplayName, * displayNameContains: softwarePackageSoftwareSourceDisplayNameContains, * osFamilies: softwarePackageSoftwareSourceOsFamily, * softwareSourceTypes: softwarePackageSoftwareSourceSoftwareSourceType, * states: softwarePackageSoftwareSourceState, * }); * ``` */ export declare function getSoftwarePackageSoftwareSourceOutput(args: GetSoftwarePackageSoftwareSourceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getSoftwarePackageSoftwareSource. */ export interface GetSoftwarePackageSoftwareSourceOutputArgs { /** * A filter to return only instances whose architecture type matches the given architecture. */ archTypes?: pulumi.Input[] | undefined>; /** * The availability of the software source in a non-OCI environment for a tenancy. */ availabilities?: pulumi.Input[] | undefined>; /** * The availability of the software source. Use this query parameter to filter across availabilities in different environments. */ availabilityAnywheres?: pulumi.Input[] | undefined>; /** * The availability of the software source in an Oracle Cloud Infrastructure environment for a tenancy. */ availabilityAtOcis?: 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; /** * 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>; /** * A filter to return only resources that match the given operating system family. */ osFamilies?: pulumi.Input[] | undefined>; /** * The name of the software package. */ softwarePackageName: pulumi.Input; /** * The type of the software source. */ softwareSourceTypes?: pulumi.Input[] | undefined>; /** * A filter to return only software sources whose state matches the given state. */ states?: pulumi.Input[] | undefined>; } //# sourceMappingURL=getSoftwarePackageSoftwareSource.d.ts.map