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 Managed Database Optimizer Statistics Collection Operations in Oracle Cloud Infrastructure Database Management service.
 *
 * Lists the optimizer statistics (Auto and Manual) task operation summary for the specified Managed Database.
 * The summary includes the details of each operation and the number of tasks grouped by status: Completed, In Progress, Failed, and so on.
 * Optionally, you can specify a date-time range (of seven days) to obtain the list of operations that fall within the specified time range.
 * If the date-time range is not specified, then the operations in the last seven days are listed.
 * This API also enables the pagination of results and the opc-next-page response header indicates whether there is a next page.
 * If you use the same header value in a consecutive request, the next page records are returned.
 * To obtain the required results, you can apply the different types of filters supported by this API.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testManagedDatabaseOptimizerStatisticsCollectionOperations = oci.databasemanagement.getManagedDatabaseOptimizerStatisticsCollectionOperations({
 *     managedDatabaseId: testManagedDatabase.id,
 *     endTimeLessThanOrEqualTo: managedDatabaseOptimizerStatisticsCollectionOperationEndTimeLessThanOrEqualTo,
 *     filterBy: managedDatabaseOptimizerStatisticsCollectionOperationFilterBy,
 *     startTimeGreaterThanOrEqualTo: managedDatabaseOptimizerStatisticsCollectionOperationStartTimeGreaterThanOrEqualTo,
 *     taskType: managedDatabaseOptimizerStatisticsCollectionOperationTaskType,
 * });
 * ```
 */
export declare function getManagedDatabaseOptimizerStatisticsCollectionOperations(args: GetManagedDatabaseOptimizerStatisticsCollectionOperationsArgs, opts?: pulumi.InvokeOptions): Promise<GetManagedDatabaseOptimizerStatisticsCollectionOperationsResult>;
/**
 * A collection of arguments for invoking getManagedDatabaseOptimizerStatisticsCollectionOperations.
 */
export interface GetManagedDatabaseOptimizerStatisticsCollectionOperationsArgs {
    /**
     * The end time of the time range to retrieve the optimizer statistics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
     */
    endTimeLessThanOrEqualTo?: string;
    /**
     * The parameter used to filter the optimizer statistics operations. Any property of the OptimizerStatisticsCollectionOperationSummary can be used to define the filter condition. The allowed conditional operators are AND or OR, and the allowed binary operators are are >, < and =. Any other operator is regarded invalid. Example: jobName=<replace with job name> AND status=<replace with status>
     */
    filterBy?: string;
    filters?: inputs.DatabaseManagement.GetManagedDatabaseOptimizerStatisticsCollectionOperationsFilter[];
    limit?: number;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.
     */
    managedDatabaseId: string;
    /**
     * The start time of the time range to retrieve the optimizer statistics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
     */
    startTimeGreaterThanOrEqualTo?: string;
    /**
     * The filter types of the optimizer statistics tasks.
     */
    taskType?: string;
}
/**
 * A collection of values returned by getManagedDatabaseOptimizerStatisticsCollectionOperations.
 */
export interface GetManagedDatabaseOptimizerStatisticsCollectionOperationsResult {
    readonly endTimeLessThanOrEqualTo?: string;
    readonly filterBy?: string;
    readonly filters?: outputs.DatabaseManagement.GetManagedDatabaseOptimizerStatisticsCollectionOperationsFilter[];
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    readonly limit?: number;
    readonly managedDatabaseId: string;
    /**
     * The list of optimizer_statistics_collection_operations_collection.
     */
    readonly optimizerStatisticsCollectionOperationsCollections: outputs.DatabaseManagement.GetManagedDatabaseOptimizerStatisticsCollectionOperationsOptimizerStatisticsCollectionOperationsCollection[];
    readonly startTimeGreaterThanOrEqualTo?: string;
    readonly taskType?: string;
}
/**
 * This data source provides the list of Managed Database Optimizer Statistics Collection Operations in Oracle Cloud Infrastructure Database Management service.
 *
 * Lists the optimizer statistics (Auto and Manual) task operation summary for the specified Managed Database.
 * The summary includes the details of each operation and the number of tasks grouped by status: Completed, In Progress, Failed, and so on.
 * Optionally, you can specify a date-time range (of seven days) to obtain the list of operations that fall within the specified time range.
 * If the date-time range is not specified, then the operations in the last seven days are listed.
 * This API also enables the pagination of results and the opc-next-page response header indicates whether there is a next page.
 * If you use the same header value in a consecutive request, the next page records are returned.
 * To obtain the required results, you can apply the different types of filters supported by this API.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testManagedDatabaseOptimizerStatisticsCollectionOperations = oci.databasemanagement.getManagedDatabaseOptimizerStatisticsCollectionOperations({
 *     managedDatabaseId: testManagedDatabase.id,
 *     endTimeLessThanOrEqualTo: managedDatabaseOptimizerStatisticsCollectionOperationEndTimeLessThanOrEqualTo,
 *     filterBy: managedDatabaseOptimizerStatisticsCollectionOperationFilterBy,
 *     startTimeGreaterThanOrEqualTo: managedDatabaseOptimizerStatisticsCollectionOperationStartTimeGreaterThanOrEqualTo,
 *     taskType: managedDatabaseOptimizerStatisticsCollectionOperationTaskType,
 * });
 * ```
 */
export declare function getManagedDatabaseOptimizerStatisticsCollectionOperationsOutput(args: GetManagedDatabaseOptimizerStatisticsCollectionOperationsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetManagedDatabaseOptimizerStatisticsCollectionOperationsResult>;
/**
 * A collection of arguments for invoking getManagedDatabaseOptimizerStatisticsCollectionOperations.
 */
export interface GetManagedDatabaseOptimizerStatisticsCollectionOperationsOutputArgs {
    /**
     * The end time of the time range to retrieve the optimizer statistics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
     */
    endTimeLessThanOrEqualTo?: pulumi.Input<string | undefined>;
    /**
     * The parameter used to filter the optimizer statistics operations. Any property of the OptimizerStatisticsCollectionOperationSummary can be used to define the filter condition. The allowed conditional operators are AND or OR, and the allowed binary operators are are >, < and =. Any other operator is regarded invalid. Example: jobName=<replace with job name> AND status=<replace with status>
     */
    filterBy?: pulumi.Input<string | undefined>;
    filters?: pulumi.Input<pulumi.Input<inputs.DatabaseManagement.GetManagedDatabaseOptimizerStatisticsCollectionOperationsFilterArgs>[] | undefined>;
    limit?: pulumi.Input<number | undefined>;
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.
     */
    managedDatabaseId: pulumi.Input<string>;
    /**
     * The start time of the time range to retrieve the optimizer statistics of a Managed Database in UTC in ISO-8601 format, which is "yyyy-MM-dd'T'hh:mm:ss.sss'Z'".
     */
    startTimeGreaterThanOrEqualTo?: pulumi.Input<string | undefined>;
    /**
     * The filter types of the optimizer statistics tasks.
     */
    taskType?: pulumi.Input<string | undefined>;
}
//# sourceMappingURL=getManagedDatabaseOptimizerStatisticsCollectionOperations.d.ts.map