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 a user.
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 user01 = outscale.getUser({
filters: [{
name: "user_ids",
values: ["XXXXXXXXXXXXXXXX"],
}],
});
import pulumi
import pulumi_outscale as outscale
user01 = outscale.get_user(filters=[{
"name": "user_ids",
"values": ["XXXXXXXXXXXXXXXX"],
}])
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.LookupUser(ctx, &outscale.LookupUserArgs{
Filters: []outscale.GetUserFilter{
{
Name: "user_ids",
Values: []string{
"XXXXXXXXXXXXXXXX",
},
},
},
}, 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 user01 = Outscale.GetUser.Invoke(new()
{
Filters = new[]
{
new Outscale.Inputs.GetUserFilterInputArgs
{
Name = "user_ids",
Values = new[]
{
"XXXXXXXXXXXXXXXX",
},
},
},
});
});
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.GetUserArgs;
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 user01 = OutscaleFunctions.getUser(GetUserArgs.builder()
.filters(GetUserFilterArgs.builder()
.name("user_ids")
.values("XXXXXXXXXXXXXXXX")
.build())
.build());
}
}
variables:
user01:
fn::invoke:
function: outscale:getUser
arguments:
filters:
- name: user_ids
values:
- XXXXXXXXXXXXXXXX
Using getUser
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 getUser(args: GetUserArgs, opts?: InvokeOptions): Promise<GetUserResult>
function getUserOutput(args: GetUserOutputArgs, opts?: InvokeOptions): Output<GetUserResult>def get_user(filters: Optional[Sequence[GetUserFilter]] = None,
id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetUserResult
def get_user_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetUserFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetUserResult]func LookupUser(ctx *Context, args *LookupUserArgs, opts ...InvokeOption) (*LookupUserResult, error)
func LookupUserOutput(ctx *Context, args *LookupUserOutputArgs, opts ...InvokeOption) LookupUserResultOutput> Note: This function is named LookupUser in the Go SDK.
public static class GetUser
{
public static Task<GetUserResult> InvokeAsync(GetUserArgs args, InvokeOptions? opts = null)
public static Output<GetUserResult> Invoke(GetUserInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
public static Output<GetUserResult> getUser(GetUserArgs args, InvokeOptions options)
fn::invoke:
function: outscale:index/getUser:getUser
arguments:
# arguments dictionaryThe following arguments are supported:
- Filters
List<Get
User Filter> - Id string
- Filters
[]Get
User Filter - Id string
- filters
List<Get
User Filter> - id String
- filters
Get
User Filter[] - id string
- filters List<Property Map>
- id String
getUser Result
The following output properties are available:
- Creation
Date string - The date and time (UTC) of creation of the EIM user.
- Id string
- Last
Modification stringDate - The date and time (UTC) of the last modification of the EIM user.
- Path string
- The path to the EIM user.
- User
Email string - The email address of the EIM user.
- User
Id string - The ID of the EIM user.
- User
Name string - The name of the EIM user.
- Filters
List<Get
User Filter>
- Creation
Date string - The date and time (UTC) of creation of the EIM user.
- Id string
- Last
Modification stringDate - The date and time (UTC) of the last modification of the EIM user.
- Path string
- The path to the EIM user.
- User
Email string - The email address of the EIM user.
- User
Id string - The ID of the EIM user.
- User
Name string - The name of the EIM user.
- Filters
[]Get
User Filter
- creation
Date String - The date and time (UTC) of creation of the EIM user.
- id String
- last
Modification StringDate - The date and time (UTC) of the last modification of the EIM user.
- path String
- The path to the EIM user.
- user
Email String - The email address of the EIM user.
- user
Id String - The ID of the EIM user.
- user
Name String - The name of the EIM user.
- filters
List<Get
User Filter>
- creation
Date string - The date and time (UTC) of creation of the EIM user.
- id string
- last
Modification stringDate - The date and time (UTC) of the last modification of the EIM user.
- path string
- The path to the EIM user.
- user
Email string - The email address of the EIM user.
- user
Id string - The ID of the EIM user.
- user
Name string - The name of the EIM user.
- filters
Get
User Filter[]
- creation_
date str - The date and time (UTC) of creation of the EIM user.
- id str
- last_
modification_ strdate - The date and time (UTC) of the last modification of the EIM user.
- path str
- The path to the EIM user.
- user_
email str - The email address of the EIM user.
- user_
id str - The ID of the EIM user.
- user_
name str - The name of the EIM user.
- filters
Sequence[Get
User Filter]
- creation
Date String - The date and time (UTC) of creation of the EIM user.
- id String
- last
Modification StringDate - The date and time (UTC) of the last modification of the EIM user.
- path String
- The path to the EIM user.
- user
Email String - The email address of the EIM user.
- user
Id String - The ID of the EIM user.
- user
Name String - The name of the EIM user.
- filters List<Property Map>
Supporting Types
GetUserFilter
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
