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 Plugin Errors in Oracle Cloud Infrastructure Jms service.
 *
 * Returns a list of plugin errors that describe all detected errors.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testPluginErrors = oci.jms.getPluginErrors({
 *     compartmentId: compartmentId,
 *     compartmentIdInSubtree: pluginErrorCompartmentIdInSubtree === "true",
 *     managedInstanceId: testManagedInstance.id,
 *     timeFirstSeenGreaterThanOrEqualTo: pluginErrorTimeFirstSeenGreaterThanOrEqualTo,
 *     timeFirstSeenLessThanOrEqualTo: pluginErrorTimeFirstSeenLessThanOrEqualTo,
 *     timeLastSeenGreaterThanOrEqualTo: pluginErrorTimeLastSeenGreaterThanOrEqualTo,
 *     timeLastSeenLessThanOrEqualTo: pluginErrorTimeLastSeenLessThanOrEqualTo,
 * });
 * ```
 */
export declare function getPluginErrors(args?: GetPluginErrorsArgs, opts?: pulumi.InvokeOptions): Promise<GetPluginErrorsResult>;
/**
 * A collection of arguments for invoking getPluginErrors.
 */
export interface GetPluginErrorsArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
     */
    compartmentId?: string;
    /**
     * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
     */
    compartmentIdInSubtree?: boolean;
    filters?: inputs.Jms.GetPluginErrorsFilter[];
    /**
     * The Fleet-unique identifier of the managed instance.
     */
    managedInstanceId?: string;
    /**
     * If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
     */
    timeFirstSeenGreaterThanOrEqualTo?: string;
    /**
     * If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
     */
    timeFirstSeenLessThanOrEqualTo?: string;
    /**
     * If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
     */
    timeLastSeenGreaterThanOrEqualTo?: string;
    /**
     * If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
     */
    timeLastSeenLessThanOrEqualTo?: string;
}
/**
 * A collection of values returned by getPluginErrors.
 */
export interface GetPluginErrorsResult {
    /**
     * The compartment [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Fleet.
     */
    readonly compartmentId?: string;
    readonly compartmentIdInSubtree?: boolean;
    readonly filters?: outputs.Jms.GetPluginErrorsFilter[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Instance running the plugin.
     */
    readonly managedInstanceId?: string;
    /**
     * The list of plugin_error_collection.
     */
    readonly pluginErrorCollections: outputs.Jms.GetPluginErrorsPluginErrorCollection[];
    readonly timeFirstSeenGreaterThanOrEqualTo?: string;
    readonly timeFirstSeenLessThanOrEqualTo?: string;
    readonly timeLastSeenGreaterThanOrEqualTo?: string;
    readonly timeLastSeenLessThanOrEqualTo?: string;
}
/**
 * This data source provides the list of Plugin Errors in Oracle Cloud Infrastructure Jms service.
 *
 * Returns a list of plugin errors that describe all detected errors.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testPluginErrors = oci.jms.getPluginErrors({
 *     compartmentId: compartmentId,
 *     compartmentIdInSubtree: pluginErrorCompartmentIdInSubtree === "true",
 *     managedInstanceId: testManagedInstance.id,
 *     timeFirstSeenGreaterThanOrEqualTo: pluginErrorTimeFirstSeenGreaterThanOrEqualTo,
 *     timeFirstSeenLessThanOrEqualTo: pluginErrorTimeFirstSeenLessThanOrEqualTo,
 *     timeLastSeenGreaterThanOrEqualTo: pluginErrorTimeLastSeenGreaterThanOrEqualTo,
 *     timeLastSeenLessThanOrEqualTo: pluginErrorTimeLastSeenLessThanOrEqualTo,
 * });
 * ```
 */
export declare function getPluginErrorsOutput(args?: GetPluginErrorsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetPluginErrorsResult>;
/**
 * A collection of arguments for invoking getPluginErrors.
 */
export interface GetPluginErrorsOutputArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment in which to list resources.
     */
    compartmentId?: pulumi.Input<string | undefined>;
    /**
     * Flag to determine whether the info should be gathered only in the compartment or in the compartment and its subcompartments.
     */
    compartmentIdInSubtree?: pulumi.Input<boolean | undefined>;
    filters?: pulumi.Input<pulumi.Input<inputs.Jms.GetPluginErrorsFilterArgs>[] | undefined>;
    /**
     * The Fleet-unique identifier of the managed instance.
     */
    managedInstanceId?: pulumi.Input<string | undefined>;
    /**
     * If specified, only errors with a first seen time later than this parameter will be included in the search (formatted according to RFC3339).
     */
    timeFirstSeenGreaterThanOrEqualTo?: pulumi.Input<string | undefined>;
    /**
     * If specified, only errors with a first seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
     */
    timeFirstSeenLessThanOrEqualTo?: pulumi.Input<string | undefined>;
    /**
     * If specified, only errors with a last seen time later than this parameter will be included in the search (formatted according to RFC3339).
     */
    timeLastSeenGreaterThanOrEqualTo?: pulumi.Input<string | undefined>;
    /**
     * If specified, only errors with a last seen time earlier than this parameter will be included in the search (formatted according to RFC3339).
     */
    timeLastSeenLessThanOrEqualTo?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getPluginErrors.d.ts.map