Alibaba Cloud v3.87.0 published on Saturday, Oct 18, 2025 by Pulumi
alicloud.quickbi.getUsers
This data source provides the Quick BI Users of the current Alibaba Cloud user.
NOTE: Available in v1.136.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const ids = alicloud.quickbi.getUsers({
ids: ["example_id"],
});
export const quickBiUserId1 = ids.then(ids => ids.users?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
ids = alicloud.quickbi.get_users(ids=["example_id"])
pulumi.export("quickBiUserId1", ids.users[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/quickbi"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
ids, err := quickbi.GetUsers(ctx, &quickbi.GetUsersArgs{
Ids: []string{
"example_id",
},
}, nil)
if err != nil {
return err
}
ctx.Export("quickBiUserId1", ids.Users[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var ids = AliCloud.QuickBI.GetUsers.Invoke(new()
{
Ids = new[]
{
"example_id",
},
});
return new Dictionary<string, object?>
{
["quickBiUserId1"] = ids.Apply(getUsersResult => getUsersResult.Users[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.quickbi.QuickbiFunctions;
import com.pulumi.alicloud.quickbi.inputs.GetUsersArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var ids = QuickbiFunctions.getUsers(GetUsersArgs.builder()
.ids("example_id")
.build());
ctx.export("quickBiUserId1", ids.users()[0].id());
}
}
variables:
ids:
fn::invoke:
function: alicloud:quickbi:getUsers
arguments:
ids:
- example_id
outputs:
quickBiUserId1: ${ids.users[0].id}
Using getUsers
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 getUsers(args: GetUsersArgs, opts?: InvokeOptions): Promise<GetUsersResult>
function getUsersOutput(args: GetUsersOutputArgs, opts?: InvokeOptions): Output<GetUsersResult>
def get_users(enable_details: Optional[bool] = None,
ids: Optional[Sequence[str]] = None,
keyword: Optional[str] = None,
output_file: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUsersResult
def get_users_output(enable_details: Optional[pulumi.Input[bool]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
keyword: Optional[pulumi.Input[str]] = None,
output_file: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUsersResult]
func GetUsers(ctx *Context, args *GetUsersArgs, opts ...InvokeOption) (*GetUsersResult, error)
func GetUsersOutput(ctx *Context, args *GetUsersOutputArgs, opts ...InvokeOption) GetUsersResultOutput
> Note: This function is named GetUsers
in the Go SDK.
public static class GetUsers
{
public static Task<GetUsersResult> InvokeAsync(GetUsersArgs args, InvokeOptions? opts = null)
public static Output<GetUsersResult> Invoke(GetUsersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetUsersResult> getUsers(GetUsersArgs args, InvokeOptions options)
public static Output<GetUsersResult> getUsers(GetUsersArgs args, InvokeOptions options)
fn::invoke:
function: alicloud:quickbi/getUsers:getUsers
arguments:
# arguments dictionary
The following arguments are supported:
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids List<string>
- A list of User IDs.
- Keyword string
- The keywords of the nicknames or usernames of the members of the organization.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- Enable
Details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - Ids []string
- A list of User IDs.
- Keyword string
- The keywords of the nicknames or usernames of the members of the organization.
- Output
File string - File name where to save data source results (after running
pulumi preview
).
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids List<String>
- A list of User IDs.
- keyword String
- The keywords of the nicknames or usernames of the members of the organization.
- output
File String - File name where to save data source results (after running
pulumi preview
).
- enable
Details boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids string[]
- A list of User IDs.
- keyword string
- The keywords of the nicknames or usernames of the members of the organization.
- output
File string - File name where to save data source results (after running
pulumi preview
).
- enable_
details bool - Default to
false
. Set it totrue
can output more details about resource attributes. - ids Sequence[str]
- A list of User IDs.
- keyword str
- The keywords of the nicknames or usernames of the members of the organization.
- output_
file str - File name where to save data source results (after running
pulumi preview
).
- enable
Details Boolean - Default to
false
. Set it totrue
can output more details about resource attributes. - ids List<String>
- A list of User IDs.
- keyword String
- The keywords of the nicknames or usernames of the members of the organization.
- output
File String - File name where to save data source results (after running
pulumi preview
).
getUsers Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Users
List<Pulumi.
Ali Cloud. Quick BI. Outputs. Get Users User> - Enable
Details bool - Keyword string
- Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Ids []string
- Users
[]Get
Users User - Enable
Details bool - Keyword string
- Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- users
List<Get
Users User> - enable
Details Boolean - keyword String
- output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- ids string[]
- users
Get
Users User[] - enable
Details boolean - keyword string
- output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- users
Sequence[Get
Users User] - enable_
details bool - keyword str
- output_
file str
- id String
- The provider-assigned unique ID for this managed resource.
- ids List<String>
- users List<Property Map>
- enable
Details Boolean - keyword String
- output
File String
Supporting Types
GetUsersUser
- Account
Id string - Alibaba Cloud account ID.
- Account
Name string - An Alibaba Cloud account, Alibaba Cloud name.
- Admin
User bool - Whether it is the administrator. Valid values:
true
andfalse
. - Auth
Admin boolUser - Whether this is a permissions administrator. Valid values:
true
andfalse
. - Email string
- The email of the user.
- Id string
- The ID of the User.
- Nick
Name string - The nickname of the user.
- Phone string
- The phone number of the user.
- User
Id string - The ID of the User.
- User
Type string - The members of the organization of the type of role separately. Valid values:
Analyst
,Developer
andVisitor
.
- Account
Id string - Alibaba Cloud account ID.
- Account
Name string - An Alibaba Cloud account, Alibaba Cloud name.
- Admin
User bool - Whether it is the administrator. Valid values:
true
andfalse
. - Auth
Admin boolUser - Whether this is a permissions administrator. Valid values:
true
andfalse
. - Email string
- The email of the user.
- Id string
- The ID of the User.
- Nick
Name string - The nickname of the user.
- Phone string
- The phone number of the user.
- User
Id string - The ID of the User.
- User
Type string - The members of the organization of the type of role separately. Valid values:
Analyst
,Developer
andVisitor
.
- account
Id String - Alibaba Cloud account ID.
- account
Name String - An Alibaba Cloud account, Alibaba Cloud name.
- admin
User Boolean - Whether it is the administrator. Valid values:
true
andfalse
. - auth
Admin BooleanUser - Whether this is a permissions administrator. Valid values:
true
andfalse
. - email String
- The email of the user.
- id String
- The ID of the User.
- nick
Name String - The nickname of the user.
- phone String
- The phone number of the user.
- user
Id String - The ID of the User.
- user
Type String - The members of the organization of the type of role separately. Valid values:
Analyst
,Developer
andVisitor
.
- account
Id string - Alibaba Cloud account ID.
- account
Name string - An Alibaba Cloud account, Alibaba Cloud name.
- admin
User boolean - Whether it is the administrator. Valid values:
true
andfalse
. - auth
Admin booleanUser - Whether this is a permissions administrator. Valid values:
true
andfalse
. - email string
- The email of the user.
- id string
- The ID of the User.
- nick
Name string - The nickname of the user.
- phone string
- The phone number of the user.
- user
Id string - The ID of the User.
- user
Type string - The members of the organization of the type of role separately. Valid values:
Analyst
,Developer
andVisitor
.
- account_
id str - Alibaba Cloud account ID.
- account_
name str - An Alibaba Cloud account, Alibaba Cloud name.
- admin_
user bool - Whether it is the administrator. Valid values:
true
andfalse
. - auth_
admin_ booluser - Whether this is a permissions administrator. Valid values:
true
andfalse
. - email str
- The email of the user.
- id str
- The ID of the User.
- nick_
name str - The nickname of the user.
- phone str
- The phone number of the user.
- user_
id str - The ID of the User.
- user_
type str - The members of the organization of the type of role separately. Valid values:
Analyst
,Developer
andVisitor
.
- account
Id String - Alibaba Cloud account ID.
- account
Name String - An Alibaba Cloud account, Alibaba Cloud name.
- admin
User Boolean - Whether it is the administrator. Valid values:
true
andfalse
. - auth
Admin BooleanUser - Whether this is a permissions administrator. Valid values:
true
andfalse
. - email String
- The email of the user.
- id String
- The ID of the User.
- nick
Name String - The nickname of the user.
- phone String
- The phone number of the user.
- user
Id String - The ID of the User.
- user
Type String - The members of the organization of the type of role separately. Valid values:
Analyst
,Developer
andVisitor
.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.