import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides the list of Product License Consumers in Oracle Cloud Infrastructure License Manager service. * * Retrieves the product license consumers for a particular product license ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProductLicenseConsumers = oci.licensemanager.getProductLicenseConsumers({ * compartmentId: compartmentId, * productLicenseId: testProductLicense.id, * isCompartmentIdInSubtree: productLicenseConsumerIsCompartmentIdInSubtree === "true", * }); * ``` */ export declare function getProductLicenseConsumers(args: GetProductLicenseConsumersArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getProductLicenseConsumers. */ export interface GetProductLicenseConsumersArgs { /** * 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; /** * Indicates if the given compartment is the root compartment. */ isCompartmentIdInSubtree?: boolean; /** * Unique product license identifier. */ productLicenseId: string; } /** * A collection of values returned by getProductLicenseConsumers. */ export interface GetProductLicenseConsumersResult { readonly compartmentId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly isCompartmentIdInSubtree?: boolean; /** * Collection of product license consumers. */ readonly items: outputs.LicenseManager.GetProductLicenseConsumersItem[]; readonly productLicenseId: string; } /** * This data source provides the list of Product License Consumers in Oracle Cloud Infrastructure License Manager service. * * Retrieves the product license consumers for a particular product license ID. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testProductLicenseConsumers = oci.licensemanager.getProductLicenseConsumers({ * compartmentId: compartmentId, * productLicenseId: testProductLicense.id, * isCompartmentIdInSubtree: productLicenseConsumerIsCompartmentIdInSubtree === "true", * }); * ``` */ export declare function getProductLicenseConsumersOutput(args: GetProductLicenseConsumersOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getProductLicenseConsumers. */ export interface GetProductLicenseConsumersOutputArgs { /** * 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; /** * Indicates if the given compartment is the root compartment. */ isCompartmentIdInSubtree?: pulumi.Input; /** * Unique product license identifier. */ productLicenseId: pulumi.Input; } //# sourceMappingURL=getProductLicenseConsumers.d.ts.map