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
Deprecated: volcengine.iam.UserGroups has been deprecated in favor of volcengine.iam.getUserGroups
Use this data source to query detailed information of iam user groups
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as volcengine from "@pulumi/volcengine";
const default = volcengine.iam.getUserGroups({
query: "xRqElT",
});
import pulumi
import pulumi_volcengine as volcengine
default = volcengine.iam.get_user_groups(query="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.GetUserGroups(ctx, &iam.GetUserGroupsArgs{
Query: pulumi.StringRef("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.GetUserGroups.Invoke(new()
{
Query = "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.GetUserGroupsArgs;
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.getUserGroups(GetUserGroupsArgs.builder()
.query("xRqElT")
.build());
}
}
variables:
default:
fn::invoke:
Function: volcengine:iam:getUserGroups
Arguments:
query: xRqElT
Using UserGroups
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 userGroups(args: UserGroupsArgs, opts?: InvokeOptions): Promise<UserGroupsResult>
function userGroupsOutput(args: UserGroupsOutputArgs, opts?: InvokeOptions): Output<UserGroupsResult>def user_groups(output_file: Optional[str] = None,
query: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> UserGroupsResult
def user_groups_output(output_file: Optional[pulumi.Input[str]] = None,
query: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[UserGroupsResult]func UserGroups(ctx *Context, args *UserGroupsArgs, opts ...InvokeOption) (*UserGroupsResult, error)
func UserGroupsOutput(ctx *Context, args *UserGroupsOutputArgs, opts ...InvokeOption) UserGroupsResultOutputpublic static class UserGroups
{
public static Task<UserGroupsResult> InvokeAsync(UserGroupsArgs args, InvokeOptions? opts = null)
public static Output<UserGroupsResult> Invoke(UserGroupsInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<UserGroupsResult> userGroups(UserGroupsArgs args, InvokeOptions options)
public static Output<UserGroupsResult> userGroups(UserGroupsArgs args, InvokeOptions options)
fn::invoke:
function: volcengine:iam:UserGroups
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 group name, display name or description.
- Output
File string - File name where to save data source results.
- Query string
- Fuzzy query. Can query by user group name, display name or description.
- output
File String - File name where to save data source results.
- query String
- Fuzzy query. Can query by user group name, display name or description.
- output
File string - File name where to save data source results.
- query string
- Fuzzy query. Can query by user group name, display name or description.
- output_
file str - File name where to save data source results.
- query str
- Fuzzy query. Can query by user group name, display name or description.
- output
File String - File name where to save data source results.
- query String
- Fuzzy query. Can query by user group name, display name or description.
UserGroups 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<UserGroups User Group> - The collection of query.
- 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 []UserGroups User Group - The collection of query.
- 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<UserGroups User Group> - The collection of query.
- 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 UserGroups User Group[] - The collection of query.
- 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[UserGroups User Group] - The collection of query.
- 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 query.
- output
File String - query String
Supporting Types
UserGroupsUserGroup
- Account
Id int - The id of the account.
- Create
Date string - The creation date of the user group.
- Description string
- The description of the user group.
- Display
Name string - The display name of the user group.
- Update
Date string - The update date of the user group.
- User
Group intId - The id of the user group.
- User
Group stringName - The name of the user group.
- Account
Id int - The id of the account.
- Create
Date string - The creation date of the user group.
- Description string
- The description of the user group.
- Display
Name string - The display name of the user group.
- Update
Date string - The update date of the user group.
- User
Group intId - The id of the user group.
- User
Group stringName - The name of the user group.
- account
Id Integer - The id of the account.
- create
Date String - The creation date of the user group.
- description String
- The description of the user group.
- display
Name String - The display name of the user group.
- update
Date String - The update date of the user group.
- user
Group IntegerId - The id of the user group.
- user
Group StringName - The name of the user group.
- account
Id number - The id of the account.
- create
Date string - The creation date of the user group.
- description string
- The description of the user group.
- display
Name string - The display name of the user group.
- update
Date string - The update date of the user group.
- user
Group numberId - The id of the user group.
- user
Group stringName - The name of the user group.
- account_
id int - The id of the account.
- create_
date str - The creation date of the user group.
- description str
- The description of the user group.
- display_
name str - The display name of the user group.
- update_
date str - The update date of the user group.
- user_
group_ intid - The id of the user group.
- user_
group_ strname - The name of the user group.
- account
Id Number - The id of the account.
- create
Date String - The creation date of the user group.
- description String
- The description of the user group.
- display
Name String - The display name of the user group.
- update
Date String - The update 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.
Viewing docs for Volcengine v0.0.47
published on Friday, Mar 13, 2026 by Volcengine
published on Friday, Mar 13, 2026 by Volcengine
