import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * This data source provides the list of Top Utilized Resources in Oracle Cloud Infrastructure License Manager service. * * Retrieves the top utilized resources for a given compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTopUtilizedResources = oci.licensemanager.getTopUtilizedResources({ * compartmentId: compartmentId, * isCompartmentIdInSubtree: topUtilizedResourceIsCompartmentIdInSubtree === "true", * resourceUnitType: topUtilizedResourceResourceUnitType, * }); * ``` */ export declare function getTopUtilizedResources(args: GetTopUtilizedResourcesArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getTopUtilizedResources. */ export interface GetTopUtilizedResourcesArgs { /** * 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; /** * A filter to return only resources whose unit matches the given resource unit. */ resourceUnitType?: string; } /** * A collection of values returned by getTopUtilizedResources. */ export interface GetTopUtilizedResourcesResult { readonly compartmentId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly isCompartmentIdInSubtree?: boolean; /** * The top utilized resource summary collection. */ readonly items: outputs.LicenseManager.GetTopUtilizedResourcesItem[]; readonly resourceUnitType?: string; } /** * This data source provides the list of Top Utilized Resources in Oracle Cloud Infrastructure License Manager service. * * Retrieves the top utilized resources for a given compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testTopUtilizedResources = oci.licensemanager.getTopUtilizedResources({ * compartmentId: compartmentId, * isCompartmentIdInSubtree: topUtilizedResourceIsCompartmentIdInSubtree === "true", * resourceUnitType: topUtilizedResourceResourceUnitType, * }); * ``` */ export declare function getTopUtilizedResourcesOutput(args: GetTopUtilizedResourcesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getTopUtilizedResources. */ export interface GetTopUtilizedResourcesOutputArgs { /** * 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; /** * A filter to return only resources whose unit matches the given resource unit. */ resourceUnitType?: pulumi.Input; } //# sourceMappingURL=getTopUtilizedResources.d.ts.map