Viewing docs for outscale 1.4.0
published on Tuesday, Feb 24, 2026 by outscale
published on Tuesday, Feb 24, 2026 by outscale
Viewing docs for outscale 1.4.0
published on Tuesday, Feb 24, 2026 by outscale
published on Tuesday, Feb 24, 2026 by outscale
Provides information about groups that a specified user belongs to.
For more information on this resource, see the User Guide.
For more information on this resource actions, see the API documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";
const userGroupsPerUser01 = outscale.getUserGroupsPerUser({
userName: "user_name",
userPath: "/",
});
import pulumi
import pulumi_outscale as outscale
user_groups_per_user01 = outscale.get_user_groups_per_user(user_name="user_name",
user_path="/")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := outscale.GetUserGroupsPerUser(ctx, &outscale.GetUserGroupsPerUserArgs{
UserName: "user_name",
UserPath: pulumi.StringRef("/"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;
return await Deployment.RunAsync(() =>
{
var userGroupsPerUser01 = Outscale.GetUserGroupsPerUser.Invoke(new()
{
UserName = "user_name",
UserPath = "/",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.OutscaleFunctions;
import com.pulumi.outscale.inputs.GetUserGroupsPerUserArgs;
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 userGroupsPerUser01 = OutscaleFunctions.getUserGroupsPerUser(GetUserGroupsPerUserArgs.builder()
.userName("user_name")
.userPath("/")
.build());
}
}
variables:
userGroupsPerUser01:
fn::invoke:
function: outscale:getUserGroupsPerUser
arguments:
userName: user_name
userPath: /
Using getUserGroupsPerUser
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 getUserGroupsPerUser(args: GetUserGroupsPerUserArgs, opts?: InvokeOptions): Promise<GetUserGroupsPerUserResult>
function getUserGroupsPerUserOutput(args: GetUserGroupsPerUserOutputArgs, opts?: InvokeOptions): Output<GetUserGroupsPerUserResult>def get_user_groups_per_user(id: Optional[str] = None,
user_name: Optional[str] = None,
user_path: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserGroupsPerUserResult
def get_user_groups_per_user_output(id: Optional[pulumi.Input[str]] = None,
user_name: Optional[pulumi.Input[str]] = None,
user_path: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserGroupsPerUserResult]func GetUserGroupsPerUser(ctx *Context, args *GetUserGroupsPerUserArgs, opts ...InvokeOption) (*GetUserGroupsPerUserResult, error)
func GetUserGroupsPerUserOutput(ctx *Context, args *GetUserGroupsPerUserOutputArgs, opts ...InvokeOption) GetUserGroupsPerUserResultOutput> Note: This function is named GetUserGroupsPerUser in the Go SDK.
public static class GetUserGroupsPerUser
{
public static Task<GetUserGroupsPerUserResult> InvokeAsync(GetUserGroupsPerUserArgs args, InvokeOptions? opts = null)
public static Output<GetUserGroupsPerUserResult> Invoke(GetUserGroupsPerUserInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUserGroupsPerUserResult> getUserGroupsPerUser(GetUserGroupsPerUserArgs args, InvokeOptions options)
public static Output<GetUserGroupsPerUserResult> getUserGroupsPerUser(GetUserGroupsPerUserArgs args, InvokeOptions options)
fn::invoke:
function: outscale:index/getUserGroupsPerUser:getUserGroupsPerUser
arguments:
# arguments dictionaryThe following arguments are supported:
getUserGroupsPerUser Result
The following output properties are available:
- Id string
- User
Groups List<GetUser Groups Per User User Group> - User
Name string - User
Path string
- Id string
- User
Groups []GetUser Groups Per User User Group - User
Name string - User
Path string
- id String
- user
Groups List<GetUser Groups Per User User Group> - user
Name String - user
Path String
- id string
- user
Groups GetUser Groups Per User User Group[] - user
Name string - user
Path string
- id String
- user
Groups List<Property Map> - user
Name String - user
Path String
Supporting Types
GetUserGroupsPerUserUserGroup
- Creation
Date string - The date and time (UTC) of creation of the user group.
- Last
Modification stringDate - The date and time (UTC) of the last modification of the user group.
- Orn string
- The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
- Path string
- The path to the user group.
- User
Group stringId - The ID of the user group.
- User
Group stringName
- Creation
Date string - The date and time (UTC) of creation of the user group.
- Last
Modification stringDate - The date and time (UTC) of the last modification of the user group.
- Orn string
- The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
- Path string
- The path to the user group.
- User
Group stringId - The ID of the user group.
- User
Group stringName
- creation
Date String - The date and time (UTC) of creation of the user group.
- last
Modification StringDate - The date and time (UTC) of the last modification of the user group.
- orn String
- The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
- path String
- The path to the user group.
- user
Group StringId - The ID of the user group.
- user
Group StringName
- creation
Date string - The date and time (UTC) of creation of the user group.
- last
Modification stringDate - The date and time (UTC) of the last modification of the user group.
- orn string
- The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
- path string
- The path to the user group.
- user
Group stringId - The ID of the user group.
- user
Group stringName
- creation_
date str - The date and time (UTC) of creation of the user group.
- last_
modification_ strdate - The date and time (UTC) of the last modification of the user group.
- orn str
- The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
- path str
- The path to the user group.
- user_
group_ strid - The ID of the user group.
- user_
group_ strname
- creation
Date String - The date and time (UTC) of creation of the user group.
- last
Modification StringDate - The date and time (UTC) of the last modification of the user group.
- orn String
- The Outscale Resource Name (ORN) of the user group. For more information, see Resource Identifiers.
- path String
- The path to the user group.
- user
Group StringId - The ID of the user group.
- user
Group StringName
Package Details
- Repository
- outscale outscale/terraform-provider-outscale
- License
- Notes
- This Pulumi package is based on the
outscaleTerraform Provider.
Viewing docs for outscale 1.4.0
published on Tuesday, Feb 24, 2026 by outscale
published on Tuesday, Feb 24, 2026 by outscale
