Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Volcengine v0.0.45 published on Tuesday, Feb 10, 2026 by Volcengine
Use this data source to query detailed information of iam user group attachments
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.iam.getUserGroupAttachments({
userGroupName: "xRqElT",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.iam.get_user_group_attachments(user_group_name="xRqElT")
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.GetUserGroupAttachments(ctx, &iam.GetUserGroupAttachmentsArgs{
UserGroupName: "xRqElT",
}, 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.GetUserGroupAttachments.Invoke(new()
{
UserGroupName = "xRqElT",
});
});
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.GetUserGroupAttachmentsArgs;
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.getUserGroupAttachments(GetUserGroupAttachmentsArgs.builder()
.userGroupName("xRqElT")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:iam:getUserGroupAttachments
Arguments:
userGroupName: xRqElT
Using getUserGroupAttachments
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 getUserGroupAttachments(args: GetUserGroupAttachmentsArgs, opts?: InvokeOptions): Promise<GetUserGroupAttachmentsResult>
function getUserGroupAttachmentsOutput(args: GetUserGroupAttachmentsOutputArgs, opts?: InvokeOptions): Output<GetUserGroupAttachmentsResult>def get_user_group_attachments(output_file: Optional[str] = None,
user_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserGroupAttachmentsResult
def get_user_group_attachments_output(output_file: Optional[pulumi.Input[str]] = None,
user_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserGroupAttachmentsResult]func GetUserGroupAttachments(ctx *Context, args *GetUserGroupAttachmentsArgs, opts ...InvokeOption) (*GetUserGroupAttachmentsResult, error)
func GetUserGroupAttachmentsOutput(ctx *Context, args *GetUserGroupAttachmentsOutputArgs, opts ...InvokeOption) GetUserGroupAttachmentsResultOutput> Note: This function is named GetUserGroupAttachments in the Go SDK.
public static class GetUserGroupAttachments
{
public static Task<GetUserGroupAttachmentsResult> InvokeAsync(GetUserGroupAttachmentsArgs args, InvokeOptions? opts = null)
public static Output<GetUserGroupAttachmentsResult> Invoke(GetUserGroupAttachmentsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUserGroupAttachmentsResult> getUserGroupAttachments(GetUserGroupAttachmentsArgs args, InvokeOptions options)
public static Output<GetUserGroupAttachmentsResult> getUserGroupAttachments(GetUserGroupAttachmentsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:iam/getUserGroupAttachments:getUserGroupAttachments
arguments:
# arguments dictionaryThe following arguments are supported:
- User
Group stringName - The name of user group.
- Output
File string - File name where to save data source results.
- User
Group stringName - The name of user group.
- Output
File string - File name where to save data source results.
- user
Group StringName - The name of user group.
- output
File String - File name where to save data source results.
- user
Group stringName - The name of user group.
- output
File string - File name where to save data source results.
- user_
group_ strname - The name of user group.
- output_
file str - File name where to save data source results.
- user
Group StringName - The name of user group.
- output
File String - File name where to save data source results.
getUserGroupAttachments 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
Group stringName - Users
List<Get
User Group Attachments User> - The collection of user.
- Output
File string
- Id string
- The provider-assigned unique ID for this managed resource.
- Total
Count int - The total count of query.
- User
Group stringName - Users
[]Get
User Group Attachments User - The collection of user.
- Output
File string
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Integer - The total count of query.
- user
Group StringName - users
List<Get
User Group Attachments User> - The collection of user.
- output
File String
- id string
- The provider-assigned unique ID for this managed resource.
- total
Count number - The total count of query.
- user
Group stringName - users
Get
User Group Attachments User[] - The collection of user.
- output
File string
- id str
- The provider-assigned unique ID for this managed resource.
- total_
count int - The total count of query.
- user_
group_ strname - users
Sequence[Get
User Group Attachments User] - The collection of user.
- output_
file str
- id String
- The provider-assigned unique ID for this managed resource.
- total
Count Number - The total count of query.
- user
Group StringName - users List<Property Map>
- The collection of user.
- output
File String
Supporting Types
GetUserGroupAttachmentsUser
- Description string
- The description of the user.
- Display
Name string - The display name of the user.
- Join
Date string - The join date of the user.
- User
Id int - The id of the user.
- User
Name string - The name of the user.
- Description string
- The description of the user.
- Display
Name string - The display name of the user.
- Join
Date string - The join date of the user.
- User
Id int - The id of the user.
- User
Name string - The name of the user.
- description String
- The description of the user.
- display
Name String - The display name of the user.
- join
Date String - The join date of the user.
- user
Id Integer - The id of the user.
- user
Name String - The name of the user.
- description string
- The description of the user.
- display
Name string - The display name of the user.
- join
Date string - The join date of the user.
- user
Id number - The id of the user.
- user
Name string - The name of the user.
- description str
- The description of the user.
- display_
name str - The display name of the user.
- join_
date str - The join date of the user.
- user_
id int - The id of the user.
- user_
name str - The name of the user.
- description String
- The description of the user.
- display
Name String - The display name of the user.
- join
Date String - The join date of the user.
- user
Id Number - The id of the user.
- user
Name String - The name of the user.
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
