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 Product Licenses in Oracle Cloud Infrastructure License Manager service. * * Retrieves all the product licenses from a given compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProductLicenses = oci.licensemanager.getProductLicenses({ * compartmentId: compartmentId, * isCompartmentIdInSubtree: productLicenseIsCompartmentIdInSubtree === "true", * }); * ``` */ export declare function getProductLicenses(args: GetProductLicensesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getProductLicenses. */ export interface GetProductLicensesArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration. */ compartmentId: string; filters?: inputs.LicenseManager.GetProductLicensesFilter[]; /** * Indicates if the given compartment is the root compartment. */ isCompartmentIdInSubtree?: boolean; } /** * A collection of values returned by getProductLicenses. */ export interface GetProductLicensesResult { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) where the product license is created. */ readonly compartmentId: string; readonly filters?: outputs.LicenseManager.GetProductLicensesFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly isCompartmentIdInSubtree?: boolean; /** * The list of product_license_collection. */ readonly productLicenseCollections: outputs.LicenseManager.GetProductLicensesProductLicenseCollection[]; } /** * This data source provides the list of Product Licenses in Oracle Cloud Infrastructure License Manager service. * * Retrieves all the product licenses from a given compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProductLicenses = oci.licensemanager.getProductLicenses({ * compartmentId: compartmentId, * isCompartmentIdInSubtree: productLicenseIsCompartmentIdInSubtree === "true", * }); * ``` */ export declare function getProductLicensesOutput(args: GetProductLicensesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getProductLicenses. */ export interface GetProductLicensesOutputArgs { /** * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) used for the license record, product license, and configuration. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * Indicates if the given compartment is the root compartment. */ isCompartmentIdInSubtree?: pulumi.Input; } //# sourceMappingURL=getProductLicenses.d.ts.map