import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Use this data source to get information about a user of a opensearch cluster associated with a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const osUser = ovh.CloudProject.getOpenSearchUser({ * serviceName: "XXX", * clusterId: "YYY", * name: "ZZZ", * }); * export const osUserAcls = osUser.then(osUser => osUser.acls); * ``` */ export declare function getOpenSearchUser(args: GetOpenSearchUserArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getOpenSearchUser. */ export interface GetOpenSearchUserArgs { /** * Cluster ID */ clusterId: string; /** * Name of the user. */ name: 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 getOpenSearchUser. */ export interface GetOpenSearchUserResult { /** * Acls of the user. */ readonly acls: outputs.CloudProject.GetOpenSearchUserAcl[]; /** * See Argument Reference above. */ readonly clusterId: string; /** * Date of the creation of the user. */ readonly createdAt: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * Name of the user. */ readonly name: string; /** * Current status of the user. */ readonly serviceName: string; /** * Current status of the user. */ readonly status: string; } /** * Use this data source to get information about a user of a opensearch cluster associated with a public cloud project. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as ovh from "@ovhcloud/pulumi-ovh"; * * const osUser = ovh.CloudProject.getOpenSearchUser({ * serviceName: "XXX", * clusterId: "YYY", * name: "ZZZ", * }); * export const osUserAcls = osUser.then(osUser => osUser.acls); * ``` */ export declare function getOpenSearchUserOutput(args: GetOpenSearchUserOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getOpenSearchUser. */ export interface GetOpenSearchUserOutputArgs { /** * Cluster ID */ clusterId: pulumi.Input; /** * Name of the user. */ name: pulumi.Input; /** * The id of the public cloud project. If omitted, the `OVH_CLOUD_PROJECT_SERVICE` environment variable is used. */ serviceName: pulumi.Input; }