import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get information about a prometheus of a MongoDB cluster associated with a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const prometheus = ovh.CloudProject.getMongoDbPrometheus({ * serviceName: "XXX", * clusterId: "ZZZ", * }); * export const name = prometheus.then(prometheus => prometheus.username); * ``` */ export declare function getMongoDbPrometheus(args: GetMongoDbPrometheusArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getMongoDbPrometheus. */ export interface GetMongoDbPrometheusArgs { /** * Cluster ID */ clusterId: string; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: string; } /** * A collection of values returned by getMongoDbPrometheus. */ export interface GetMongoDbPrometheusResult { /** * See Argument Reference above. */ readonly clusterId: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * See Argument Reference above. */ readonly serviceName: string; /** * Name of the srv domain endpoint. */ readonly srvDomain: string; /** * name of the prometheus user. */ readonly username: string; } /** * Use this data source to get information about a prometheus of a MongoDB cluster associated with a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const prometheus = ovh.CloudProject.getMongoDbPrometheus({ * serviceName: "XXX", * clusterId: "ZZZ", * }); * export const name = prometheus.then(prometheus => prometheus.username); * ``` */ export declare function getMongoDbPrometheusOutput(args: GetMongoDbPrometheusOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getMongoDbPrometheus. */ export interface GetMongoDbPrometheusOutputArgs { /** * Cluster ID */ clusterId: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; }