import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * This data source provides details about a specific Metric Extension resource in Oracle Cloud Infrastructure Stack Monitoring service.
 *
 * Gets a Metric Extension by identifier
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testMetricExtension = oci.stackmonitoring.getMetricExtension({
 *     metricExtensionId: testMetricExtensionOciStackMonitoringMetricExtension.id,
 * });
 * ```
 */
export declare function getMetricExtension(args: GetMetricExtensionArgs, opts?: pulumi.InvokeOptions): Promise<GetMetricExtensionResult>;
/**
 * A collection of arguments for invoking getMetricExtension.
 */
export interface GetMetricExtensionArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the metric extension resource.
     */
    metricExtensionId: string;
}
/**
 * A collection of values returned by getMetricExtension.
 */
export interface GetMetricExtensionResult {
    /**
     * Type of possible collection methods.
     */
    readonly collectionMethod: string;
    /**
     * Schedule of metric extension should use RFC 5545 format > recur-rule-part = "FREQ";"INTERVAL" where FREQ rule part identifies the type of recurrence rule. Valid values are "MINUTELY","HOURLY","DAILY" to specify repeating events based on an interval of a minute, an hour and a day or more. Example- FREQ=DAILY;INTERVAL=1
     */
    readonly collectionRecurrences: string;
    /**
     * Compartment Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
     */
    readonly compartmentId: string;
    /**
     * Created by user
     */
    readonly createdBy: string;
    /**
     * Description of the metric extension.
     */
    readonly description: string;
    /**
     * Display name of the metric.
     */
    readonly displayName: string;
    /**
     * List of resource details objects having resourceIds on which this metric extension is enabled.
     */
    readonly enabledOnResources: outputs.StackMonitoring.GetMetricExtensionEnabledOnResource[];
    /**
     * Count of resources on which this metric extension is enabled.
     */
    readonly enabledOnResourcesCount: number;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of Metric Extension resource
     */
    readonly id: string;
    /**
     * Last updated by user
     */
    readonly lastUpdatedBy: string;
    readonly metricExtensionId: string;
    /**
     * List of metrics which are part of this metric extension
     */
    readonly metricLists: outputs.StackMonitoring.GetMetricExtensionMetricList[];
    /**
     * Name of the script file
     */
    readonly name: string;
    readonly publishTrigger: boolean;
    /**
     * Collection method and query properties details of metric extension
     */
    readonly queryProperties: outputs.StackMonitoring.GetMetricExtensionQueryProperty[];
    /**
     * Resource type to which Metric Extension applies
     */
    readonly resourceType: string;
    /**
     * The URI path that the user can do a GET on to access the metric extension metadata
     */
    readonly resourceUri: string;
    /**
     * The current lifecycle state of the metric extension
     */
    readonly state: string;
    /**
     * The current status of the metric extension i.e. whether it is Draft or Published
     */
    readonly status: string;
    /**
     * Tenant Identifier [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm)
     */
    readonly tenantId: string;
    /**
     * Metric Extension creation time. An RFC3339 formatted datetime string.
     */
    readonly timeCreated: string;
    /**
     * Metric Extension update time. An RFC3339 formatted datetime string.
     */
    readonly timeUpdated: string;
}
/**
 * This data source provides details about a specific Metric Extension resource in Oracle Cloud Infrastructure Stack Monitoring service.
 *
 * Gets a Metric Extension by identifier
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testMetricExtension = oci.stackmonitoring.getMetricExtension({
 *     metricExtensionId: testMetricExtensionOciStackMonitoringMetricExtension.id,
 * });
 * ```
 */
export declare function getMetricExtensionOutput(args: GetMetricExtensionOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetMetricExtensionResult>;
/**
 * A collection of arguments for invoking getMetricExtension.
 */
export interface GetMetricExtensionOutputArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the metric extension resource.
     */
    metricExtensionId: pulumi.Input<string>;
}
//# sourceMappingURL=getMetricExtension.d.ts.map