import * as pulumi from "@pulumi/pulumi"; /** * This data source provides details about a specific Distributed Database Raft Metric resource in Oracle Cloud Infrastructure Distributed Database service. * * Operation to retrieve RAFT metrics for the Globally distributed database. If the Globally distributed database is not * RAFT based then empty response is returned from the API. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDistributedDatabaseRaftMetric = oci.oci.getDistributedDatabaseDistributedDatabaseRaftMetric({ * distributedDatabaseId: testDistributedDatabase.id, * }); * ``` */ export declare function getDistributedDatabaseDistributedDatabaseRaftMetric(args: GetDistributedDatabaseDistributedDatabaseRaftMetricArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDistributedDatabaseDistributedDatabaseRaftMetric. */ export interface GetDistributedDatabaseDistributedDatabaseRaftMetricArgs { /** * Globally distributed database identifier */ distributedDatabaseId: string; } /** * A collection of values returned by getDistributedDatabaseDistributedDatabaseRaftMetric. */ export interface GetDistributedDatabaseDistributedDatabaseRaftMetricResult { /** * Details of in-progress configuration tasks. */ readonly configTasks: { [key: string]: string; }; readonly distributedDatabaseId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Raft metrics for the Globally distributed database. */ readonly raftMetrics: { [key: string]: string; }; } /** * This data source provides details about a specific Distributed Database Raft Metric resource in Oracle Cloud Infrastructure Distributed Database service. * * Operation to retrieve RAFT metrics for the Globally distributed database. If the Globally distributed database is not * RAFT based then empty response is returned from the API. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDistributedDatabaseRaftMetric = oci.oci.getDistributedDatabaseDistributedDatabaseRaftMetric({ * distributedDatabaseId: testDistributedDatabase.id, * }); * ``` */ export declare function getDistributedDatabaseDistributedDatabaseRaftMetricOutput(args: GetDistributedDatabaseDistributedDatabaseRaftMetricOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDistributedDatabaseDistributedDatabaseRaftMetric. */ export interface GetDistributedDatabaseDistributedDatabaseRaftMetricOutputArgs { /** * Globally distributed database identifier */ distributedDatabaseId: pulumi.Input; } //# sourceMappingURL=getDistributedDatabaseDistributedDatabaseRaftMetric.d.ts.map