import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific License Metric resource in Oracle Cloud Infrastructure License Manager service. * * Retrieves the license metrics for a given compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testLicenseMetric = oci.licensemanager.getLicenseMetric({ * compartmentId: compartmentId, * isCompartmentIdInSubtree: licenseMetricIsCompartmentIdInSubtree === "true", * }); * ``` */ export declare function getLicenseMetric(args: GetLicenseMetricArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getLicenseMetric. */ export interface GetLicenseMetricArgs { /** * 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 collection of values returned by getLicenseMetric. */ export interface GetLicenseMetricResult { readonly compartmentId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly isCompartmentIdInSubtree?: boolean; /** * Total number of license records that will expire within 90 days in a particular compartment. */ readonly licenseRecordExpiringSoonCount: number; /** * Total number of BYOL instances in a particular compartment. */ readonly totalByolInstanceCount: number; /** * Total number of License Included (LI) instances in a particular compartment. */ readonly totalLicenseIncludedInstanceCount: number; /** * Total number of product licenses in a particular compartment. */ readonly totalProductLicenseCount: number; } /** * This data source provides details about a specific License Metric resource in Oracle Cloud Infrastructure License Manager service. * * Retrieves the license metrics for a given compartment. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testLicenseMetric = oci.licensemanager.getLicenseMetric({ * compartmentId: compartmentId, * isCompartmentIdInSubtree: licenseMetricIsCompartmentIdInSubtree === "true", * }); * ``` */ export declare function getLicenseMetricOutput(args: GetLicenseMetricOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getLicenseMetric. */ export interface GetLicenseMetricOutputArgs { /** * 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; } //# sourceMappingURL=getLicenseMetric.d.ts.map