Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
Use this data source to query detailed information of iam users
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.iam.getUsers({
query: "jonny",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.iam.get_users(query="jonny")
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/iam"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := iam.GetUsers(ctx, &iam.GetUsersArgs{
Query: pulumi.StringRef("jonny"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Volcengine = Pulumi.Volcengine;
return await Deployment.RunAsync(() =>
{
var @default = Volcengine.Iam.GetUsers.Invoke(new()
{
Query = "jonny",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.volcengine.iam.IamFunctions;
import com.pulumi.volcengine.iam.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 default = IamFunctions.getUsers(GetUsersArgs.builder()
.query("jonny")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:iam:getUsers
Arguments:
query: jonny
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(output_file: Optional[str] = None,
query: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUsersResult
def get_users_output(output_file: Optional[pulumi.Input[str]] = None,
query: 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: volcengine:iam/getUsers:getUsers
arguments:
# arguments dictionaryThe following arguments are supported:
- Output
File string - File name where to save data source results.
- Query string
- Fuzzy query. Can query by user name, display name or description.
- Output
File string - File name where to save data source results.
- Query string
- Fuzzy query. Can query by user name, display name or description.
- output
File String - File name where to save data source results.
- query String
- Fuzzy query. Can query by user name, display name or description.
- output
File string - File name where to save data source results.
- query string
- Fuzzy query. Can query by user name, display name or description.
- output_
file str - File name where to save data source results.
- query str
- Fuzzy query. Can query by user name, display name or description.
- output
File String - File name where to save data source results.
- query String
- Fuzzy query. Can query by user name, display name or description.
getUsers Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of user query.
- Users
List<Get
Users User> - The collection of user.
- Output
File string - Query string
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of user query.
- Users
[]Get
Users User - The collection of user.
- Output
File string - Query string
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of user query.
- users
List<Get
Users User> - The collection of user.
- output
File String - query String
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of user query.
- users
Get
Users User[] - The collection of user.
- output
File string - query string
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of user query.
- users
Sequence[Get
Users User] - The collection of user.
- output_
file str - query str
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of user query.
- users List<Property Map>
- The collection of user.
- output
File String - query String
Supporting Types
GetUsersUser
- Account
Id string - Main account ID to which the sub-user belongs.
- Create
Date string - The create date of the user.
- Description string
- The description of the user.
- Display
Name string - The display name of the user.
- Email string
- The email of the user.
- Email
Is boolVerify - Whether the email has been verified.
- Mobile
Phone string - The mobile phone of the user.
- Mobile
Phone boolIs Verify - Whether the phone number has been verified.
- Trn string
- The trn of the user.
- Update
Date string - The update date of the user.
- User
Id string - The id of the user.
- User
Name string - The name of the user.
-
List<Get
Users User Tag> - Tags.
- Account
Id string - Main account ID to which the sub-user belongs.
- Create
Date string - The create date of the user.
- Description string
- The description of the user.
- Display
Name string - The display name of the user.
- Email string
- The email of the user.
- Email
Is boolVerify - Whether the email has been verified.
- Mobile
Phone string - The mobile phone of the user.
- Mobile
Phone boolIs Verify - Whether the phone number has been verified.
- Trn string
- The trn of the user.
- Update
Date string - The update date of the user.
- User
Id string - The id of the user.
- User
Name string - The name of the user.
-
[]Get
Users User Tag - Tags.
- account
Id String - Main account ID to which the sub-user belongs.
- create
Date String - The create date of the user.
- description String
- The description of the user.
- display
Name String - The display name of the user.
- email String
- The email of the user.
- email
Is BooleanVerify - Whether the email has been verified.
- mobile
Phone String - The mobile phone of the user.
- mobile
Phone BooleanIs Verify - Whether the phone number has been verified.
- trn String
- The trn of the user.
- update
Date String - The update date of the user.
- user
Id String - The id of the user.
- user
Name String - The name of the user.
-
List<Get
Users User Tag> - Tags.
- account
Id string - Main account ID to which the sub-user belongs.
- create
Date string - The create date of the user.
- description string
- The description of the user.
- display
Name string - The display name of the user.
- email string
- The email of the user.
- email
Is booleanVerify - Whether the email has been verified.
- mobile
Phone string - The mobile phone of the user.
- mobile
Phone booleanIs Verify - Whether the phone number has been verified.
- trn string
- The trn of the user.
- update
Date string - The update date of the user.
- user
Id string - The id of the user.
- user
Name string - The name of the user.
-
Get
Users User Tag[] - Tags.
- account_
id str - Main account ID to which the sub-user belongs.
- create_
date str - The create date of the user.
- description str
- The description of the user.
- display_
name str - The display name of the user.
- email str
- The email of the user.
- email_
is_ boolverify - Whether the email has been verified.
- mobile_
phone str - The mobile phone of the user.
- mobile_
phone_ boolis_ verify - Whether the phone number has been verified.
- trn str
- The trn of the user.
- update_
date str - The update date of the user.
- user_
id str - The id of the user.
- user_
name str - The name of the user.
-
Sequence[Get
Users User Tag] - Tags.
- account
Id String - Main account ID to which the sub-user belongs.
- create
Date String - The create date of the user.
- description String
- The description of the user.
- display
Name String - The display name of the user.
- email String
- The email of the user.
- email
Is BooleanVerify - Whether the email has been verified.
- mobile
Phone String - The mobile phone of the user.
- mobile
Phone BooleanIs Verify - Whether the phone number has been verified.
- trn String
- The trn of the user.
- update
Date String - The update date of the user.
- user
Id String - The id of the user.
- user
Name String - The name of the user.
- List<Property Map>
- Tags.
GetUsersUserTag
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
