1. Packages
  2. InfluxDB
  3. API Docs
  4. getUser
InfluxDB v1.5.0 published on Wednesday, Jul 2, 2025 by komminarlabs

influxdb.getUser

Explore with Pulumi AI

influxdb logo
InfluxDB v1.5.0 published on Wednesday, Jul 2, 2025 by komminarlabs

    Retrieves a user.

    Using getUser

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>
    function getUserOutput(args: GetUserOutputArgs, opts?: InvokeOptions): Output<GetUserResult>
    def get_user(id: Optional[str] = None,
                 opts: Optional[InvokeOptions] = None) -> GetUserResult
    def get_user_output(id: Optional[pulumi.Input[str]] = None,
                 opts: Optional[InvokeOptions] = None) -> Output[GetUserResult]
    func LookupUser(ctx *Context, args *LookupUserArgs, opts ...InvokeOption) (*LookupUserResult, error)
    func LookupUserOutput(ctx *Context, args *LookupUserOutputArgs, opts ...InvokeOption) LookupUserResultOutput

    > Note: This function is named LookupUser in the Go SDK.

    public static class GetUser 
    {
        public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions? opts = null)
        public static Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
    public static Output<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
    
    fn::invoke:
      function: influxdb:index/getUser:getUser
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    The user ID.
    Id string
    The user ID.
    id String
    The user ID.
    id string
    The user ID.
    id str
    The user ID.
    id String
    The user ID.

    getUser Result

    The following output properties are available:

    Id string
    The user ID.
    Name string
    The user name.
    OrgId string
    The organization ID that the user belongs to. Null if the user is not a member of any organization.
    OrgRole string
    The role of the user in the organization (member or owner). Null if the user is not a member of any organization.
    Password string
    The password of the user. This will be always null.
    Status string
    The status of a user.
    Id string
    The user ID.
    Name string
    The user name.
    OrgId string
    The organization ID that the user belongs to. Null if the user is not a member of any organization.
    OrgRole string
    The role of the user in the organization (member or owner). Null if the user is not a member of any organization.
    Password string
    The password of the user. This will be always null.
    Status string
    The status of a user.
    id String
    The user ID.
    name String
    The user name.
    orgId String
    The organization ID that the user belongs to. Null if the user is not a member of any organization.
    orgRole String
    The role of the user in the organization (member or owner). Null if the user is not a member of any organization.
    password String
    The password of the user. This will be always null.
    status String
    The status of a user.
    id string
    The user ID.
    name string
    The user name.
    orgId string
    The organization ID that the user belongs to. Null if the user is not a member of any organization.
    orgRole string
    The role of the user in the organization (member or owner). Null if the user is not a member of any organization.
    password string
    The password of the user. This will be always null.
    status string
    The status of a user.
    id str
    The user ID.
    name str
    The user name.
    org_id str
    The organization ID that the user belongs to. Null if the user is not a member of any organization.
    org_role str
    The role of the user in the organization (member or owner). Null if the user is not a member of any organization.
    password str
    The password of the user. This will be always null.
    status str
    The status of a user.
    id String
    The user ID.
    name String
    The user name.
    orgId String
    The organization ID that the user belongs to. Null if the user is not a member of any organization.
    orgRole String
    The role of the user in the organization (member or owner). Null if the user is not a member of any organization.
    password String
    The password of the user. This will be always null.
    status String
    The status of a user.

    Package Details

    Repository
    influxdb komminarlabs/pulumi-influxdb
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the influxdb Terraform Provider.
    influxdb logo
    InfluxDB v1.5.0 published on Wednesday, Jul 2, 2025 by komminarlabs