import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
 * This data source provides details about a specific Managed Database Optimizer Statistics Collection Operation resource in Oracle Cloud Infrastructure Database Management service.
 *
 * Gets a detailed report of the Optimizer Statistics Collection operation for the specified Managed Database.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testManagedDatabaseOptimizerStatisticsCollectionOperation = oci.databasemanagement.getManagedDatabaseOptimizerStatisticsCollectionOperation({
 *     managedDatabaseId: testManagedDatabase.id,
 *     optimizerStatisticsCollectionOperationId: testOptimizerStatisticsCollectionOperation.id,
 * });
 * ```
 */
export declare function getManagedDatabaseOptimizerStatisticsCollectionOperation(args: GetManagedDatabaseOptimizerStatisticsCollectionOperationArgs, opts?: pulumi.InvokeOptions): Promise<GetManagedDatabaseOptimizerStatisticsCollectionOperationResult>;
/**
 * A collection of arguments for invoking getManagedDatabaseOptimizerStatisticsCollectionOperation.
 */
export interface GetManagedDatabaseOptimizerStatisticsCollectionOperationArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.
     */
    managedDatabaseId: string;
    /**
     * The ID of the Optimizer Statistics Collection operation.
     */
    optimizerStatisticsCollectionOperationId: number;
}
/**
 * A collection of values returned by getManagedDatabaseOptimizerStatisticsCollectionOperation.
 */
export interface GetManagedDatabaseOptimizerStatisticsCollectionOperationResult {
    /**
     * The number of objects for which statistics collection is completed.
     */
    readonly completedCount: number;
    /**
     * The summary of the Managed Database resource.
     */
    readonly databases: outputs.DatabaseManagement.GetManagedDatabaseOptimizerStatisticsCollectionOperationDatabase[];
    /**
     * The time it takes to complete the operation (in seconds).
     */
    readonly durationInSeconds: number;
    /**
     * The end time of the operation.
     */
    readonly endTime: string;
    /**
     * The number of objects for which statistics collection failed.
     */
    readonly failedCount: number;
    /**
     * The provider-assigned unique ID for this managed resource.
     */
    readonly id: string;
    /**
     * The number of objects for which statistics collection is in progress.
     */
    readonly inProgressCount: number;
    /**
     * The name of the job.
     */
    readonly jobName: string;
    readonly managedDatabaseId: string;
    /**
     * The name of the operation.
     */
    readonly operationName: string;
    readonly optimizerStatisticsCollectionOperationId: number;
    /**
     * The start time of the operation.
     */
    readonly startTime: string;
    /**
     * The status of the Optimizer Statistics Collection task.
     */
    readonly status: string;
    /**
     * The name of the target object for which statistics are gathered.
     */
    readonly target: string;
    /**
     * An array of Optimizer Statistics Collection task details.
     */
    readonly tasks: outputs.DatabaseManagement.GetManagedDatabaseOptimizerStatisticsCollectionOperationTask[];
    /**
     * The number of objects for which statistics collection timed out.
     */
    readonly timedOutCount: number;
    /**
     * The total number of objects for which statistics is collected. This number is the sum of all the objects with various statuses: completed, inProgress, failed, and timedOut.
     */
    readonly totalObjectsCount: number;
}
/**
 * This data source provides details about a specific Managed Database Optimizer Statistics Collection Operation resource in Oracle Cloud Infrastructure Database Management service.
 *
 * Gets a detailed report of the Optimizer Statistics Collection operation for the specified Managed Database.
 *
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as oci from "@pulumi/oci";
 *
 * const testManagedDatabaseOptimizerStatisticsCollectionOperation = oci.databasemanagement.getManagedDatabaseOptimizerStatisticsCollectionOperation({
 *     managedDatabaseId: testManagedDatabase.id,
 *     optimizerStatisticsCollectionOperationId: testOptimizerStatisticsCollectionOperation.id,
 * });
 * ```
 */
export declare function getManagedDatabaseOptimizerStatisticsCollectionOperationOutput(args: GetManagedDatabaseOptimizerStatisticsCollectionOperationOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetManagedDatabaseOptimizerStatisticsCollectionOperationResult>;
/**
 * A collection of arguments for invoking getManagedDatabaseOptimizerStatisticsCollectionOperation.
 */
export interface GetManagedDatabaseOptimizerStatisticsCollectionOperationOutputArgs {
    /**
     * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the Managed Database.
     */
    managedDatabaseId: pulumi.Input<string>;
    /**
     * The ID of the Optimizer Statistics Collection operation.
     */
    optimizerStatisticsCollectionOperationId: pulumi.Input<number>;
}
//# sourceMappingURL=getManagedDatabaseOptimizerStatisticsCollectionOperation.d.ts.map