Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Deprecated: volcengine.iam.GroupUsers has been deprecated in favor of volcengine.iam.getGroupUsers
Use this data source to query detailed information of iam group users
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.iam.getGroupUsers({
userName: "jonny",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.iam.get_group_users(user_name="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.GetGroupUsers(ctx, &iam.GetGroupUsersArgs{
UserName: "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.GetGroupUsers.Invoke(new()
{
UserName = "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.GetGroupUsersArgs;
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.getGroupUsers(GetGroupUsersArgs.builder()
.userName("jonny")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:iam:getGroupUsers
Arguments:
userName: jonny
Using GroupUsers
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 groupUsers(args: GroupUsersArgs, opts?: InvokeOptions): Promise<GroupUsersResult>
function groupUsersOutput(args: GroupUsersOutputArgs, opts?: InvokeOptions): Output<GroupUsersResult>def group_users(output_file: Optional[str] = None,
query: Optional[str] = None,
user_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GroupUsersResult
def group_users_output(output_file: Optional[pulumi.Input[str]] = None,
query: Optional[pulumi.Input[str]] = None,
user_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GroupUsersResult]func GroupUsers(ctx *Context, args *GroupUsersArgs, opts ...InvokeOption) (*GroupUsersResult, error)
func GroupUsersOutput(ctx *Context, args *GroupUsersOutputArgs, opts ...InvokeOption) GroupUsersResultOutputpublic static class GroupUsers
{
public static Task<GroupUsersResult> InvokeAsync(GroupUsersArgs args, InvokeOptions? opts = null)
public static Output<GroupUsersResult> Invoke(GroupUsersInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GroupUsersResult> groupUsers(GroupUsersArgs args, InvokeOptions options)
public static Output<GroupUsersResult> groupUsers(GroupUsersArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:iam:GroupUsers
arguments:
# arguments dictionaryThe following arguments are supported:
- User
Name string - The name of user.
- Output
File string - File name where to save data source results.
- Query string
- Fuzzy search, supports searching for user group names, display names, and remarks.
- User
Name string - The name of user.
- Output
File string - File name where to save data source results.
- Query string
- Fuzzy search, supports searching for user group names, display names, and remarks.
- user
Name String - The name of user.
- output
File String - File name where to save data source results.
- query String
- Fuzzy search, supports searching for user group names, display names, and remarks.
- user
Name string - The name of user.
- output
File string - File name where to save data source results.
- query string
- Fuzzy search, supports searching for user group names, display names, and remarks.
- user_
name str - The name of user.
- output_
file str - File name where to save data source results.
- query str
- Fuzzy search, supports searching for user group names, display names, and remarks.
- user
Name String - The name of user.
- output
File String - File name where to save data source results.
- query String
- Fuzzy search, supports searching for user group names, display names, and remarks.
GroupUsers 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 query.
- User
Groups List<GroupUsers User Group> - The collection of user group.
- User
Name string - Output
File string - Query string
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- User
Groups []GroupUsers User Group - The collection of user group.
- User
Name string - Output
File string - Query string
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- user
Groups List<GroupUsers User Group> - The collection of user group.
- user
Name String - output
File String - query String
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- user
Groups GroupUsers User Group[] - The collection of user group.
- user
Name string - output
File string - query string
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- user_
groups Sequence[GroupUsers User Group] - The collection of user group.
- user_
name str - output_
file str - query str
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- user
Groups List<Property Map> - The collection of user group.
- user
Name String - output
File String - query String
Supporting Types
GroupUsersUserGroup
- Description string
- The description of the user group.
- Display
Name string - The display name of the user group.
- Join
Date string - The join date of the user group.
- User
Group intId - The id of the user group.
- User
Group stringName - The name of the user group.
- Description string
- The description of the user group.
- Display
Name string - The display name of the user group.
- Join
Date string - The join date of the user group.
- User
Group intId - The id of the user group.
- User
Group stringName - The name of the user group.
- description String
- The description of the user group.
- display
Name String - The display name of the user group.
- join
Date String - The join date of the user group.
- user
Group IntegerId - The id of the user group.
- user
Group StringName - The name of the user group.
- description string
- The description of the user group.
- display
Name string - The display name of the user group.
- join
Date string - The join date of the user group.
- user
Group numberId - The id of the user group.
- user
Group stringName - The name of the user group.
- description str
- The description of the user group.
- display_
name str - The display name of the user group.
- join_
date str - The join date of the user group.
- user_
group_ intid - The id of the user group.
- user_
group_ strname - The name of the user group.
- description String
- The description of the user group.
- display
Name String - The display name of the user group.
- join
Date String - The join date of the user group.
- user
Group NumberId - The id of the user group.
- user
Group StringName - The name of the user group.
Package Details
- Repository
- volcengine volcengine/pulumi-volcengine
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
volcengineTerraform Provider.
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
