flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
flexibleengine.getIdentityUsers
Explore with Pulumi AI
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud
Use this data source to query the IAM user list within FlexibleEngine.
You must have IAM read privileges to use this data source.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";
const all = flexibleengine.getIdentityUsers({});
const one = flexibleengine.getIdentityUsers({
name: "user_name",
});
import pulumi
import pulumi_flexibleengine as flexibleengine
all = flexibleengine.get_identity_users()
one = flexibleengine.get_identity_users(name="user_name")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := flexibleengine.GetIdentityUsers(ctx, &flexibleengine.GetIdentityUsersArgs{}, nil)
if err != nil {
return err
}
_, err = flexibleengine.GetIdentityUsers(ctx, &flexibleengine.GetIdentityUsersArgs{
Name: pulumi.StringRef("user_name"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;
return await Deployment.RunAsync(() =>
{
var all = Flexibleengine.GetIdentityUsers.Invoke();
var one = Flexibleengine.GetIdentityUsers.Invoke(new()
{
Name = "user_name",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.FlexibleengineFunctions;
import com.pulumi.flexibleengine.inputs.GetIdentityUsersArgs;
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 all = FlexibleengineFunctions.getIdentityUsers();
final var one = FlexibleengineFunctions.getIdentityUsers(GetIdentityUsersArgs.builder()
.name("user_name")
.build());
}
}
variables:
all:
fn::invoke:
function: flexibleengine:getIdentityUsers
arguments: {}
one:
fn::invoke:
function: flexibleengine:getIdentityUsers
arguments:
name: user_name
Using getIdentityUsers
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 getIdentityUsers(args: GetIdentityUsersArgs, opts?: InvokeOptions): Promise<GetIdentityUsersResult>
function getIdentityUsersOutput(args: GetIdentityUsersOutputArgs, opts?: InvokeOptions): Output<GetIdentityUsersResult>
def get_identity_users(enabled: Optional[bool] = None,
id: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIdentityUsersResult
def get_identity_users_output(enabled: Optional[pulumi.Input[bool]] = None,
id: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIdentityUsersResult]
func GetIdentityUsers(ctx *Context, args *GetIdentityUsersArgs, opts ...InvokeOption) (*GetIdentityUsersResult, error)
func GetIdentityUsersOutput(ctx *Context, args *GetIdentityUsersOutputArgs, opts ...InvokeOption) GetIdentityUsersResultOutput
> Note: This function is named GetIdentityUsers
in the Go SDK.
public static class GetIdentityUsers
{
public static Task<GetIdentityUsersResult> InvokeAsync(GetIdentityUsersArgs args, InvokeOptions? opts = null)
public static Output<GetIdentityUsersResult> Invoke(GetIdentityUsersInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetIdentityUsersResult> getIdentityUsers(GetIdentityUsersArgs args, InvokeOptions options)
public static Output<GetIdentityUsersResult> getIdentityUsers(GetIdentityUsersArgs args, InvokeOptions options)
fn::invoke:
function: flexibleengine:index/getIdentityUsers:getIdentityUsers
arguments:
# arguments dictionary
The following arguments are supported:
getIdentityUsers Result
The following output properties are available:
- Id string
- Indicates the ID of the User.
- Users
List<Get
Identity Users User> - The details of the queried IAM users. The structure is documented below.
- Enabled bool
- Indicates the whether the IAM user is enabled.
- Name string
- Indicates the IAM user name.
- Id string
- Indicates the ID of the User.
- Users
[]Get
Identity Users User - The details of the queried IAM users. The structure is documented below.
- Enabled bool
- Indicates the whether the IAM user is enabled.
- Name string
- Indicates the IAM user name.
- id String
- Indicates the ID of the User.
- users
List<Get
Identity Users User> - The details of the queried IAM users. The structure is documented below.
- enabled Boolean
- Indicates the whether the IAM user is enabled.
- name String
- Indicates the IAM user name.
- id string
- Indicates the ID of the User.
- users
Get
Identity Users User[] - The details of the queried IAM users. The structure is documented below.
- enabled boolean
- Indicates the whether the IAM user is enabled.
- name string
- Indicates the IAM user name.
- id str
- Indicates the ID of the User.
- users
Sequence[Get
Identity Users User] - The details of the queried IAM users. The structure is documented below.
- enabled bool
- Indicates the whether the IAM user is enabled.
- name str
- Indicates the IAM user name.
- id String
- Indicates the ID of the User.
- users List<Property Map>
- The details of the queried IAM users. The structure is documented below.
- enabled Boolean
- Indicates the whether the IAM user is enabled.
- name String
- Indicates the IAM user name.
Supporting Types
GetIdentityUsersUser
- Description string
- Indicates the description of the IAM user.
- Enabled bool
- Specifies the status of the IAM user, the default value is true.
- Groups List<string>
- Indicates the user groups to which an IAM user belongs.
- Id string
- Indicates the ID of the User.
- Name string
- Specifies the IAM user name.
- Password
Expires stringAt - Indicates the time when the password will expire. Null indicates that the password has unlimited validity.
- Password
Status bool - Indicates the password status. True means that the password needs to be changed, and false means that the password is normal.
- Description string
- Indicates the description of the IAM user.
- Enabled bool
- Specifies the status of the IAM user, the default value is true.
- Groups []string
- Indicates the user groups to which an IAM user belongs.
- Id string
- Indicates the ID of the User.
- Name string
- Specifies the IAM user name.
- Password
Expires stringAt - Indicates the time when the password will expire. Null indicates that the password has unlimited validity.
- Password
Status bool - Indicates the password status. True means that the password needs to be changed, and false means that the password is normal.
- description String
- Indicates the description of the IAM user.
- enabled Boolean
- Specifies the status of the IAM user, the default value is true.
- groups List<String>
- Indicates the user groups to which an IAM user belongs.
- id String
- Indicates the ID of the User.
- name String
- Specifies the IAM user name.
- password
Expires StringAt - Indicates the time when the password will expire. Null indicates that the password has unlimited validity.
- password
Status Boolean - Indicates the password status. True means that the password needs to be changed, and false means that the password is normal.
- description string
- Indicates the description of the IAM user.
- enabled boolean
- Specifies the status of the IAM user, the default value is true.
- groups string[]
- Indicates the user groups to which an IAM user belongs.
- id string
- Indicates the ID of the User.
- name string
- Specifies the IAM user name.
- password
Expires stringAt - Indicates the time when the password will expire. Null indicates that the password has unlimited validity.
- password
Status boolean - Indicates the password status. True means that the password needs to be changed, and false means that the password is normal.
- description str
- Indicates the description of the IAM user.
- enabled bool
- Specifies the status of the IAM user, the default value is true.
- groups Sequence[str]
- Indicates the user groups to which an IAM user belongs.
- id str
- Indicates the ID of the User.
- name str
- Specifies the IAM user name.
- password_
expires_ strat - Indicates the time when the password will expire. Null indicates that the password has unlimited validity.
- password_
status bool - Indicates the password status. True means that the password needs to be changed, and false means that the password is normal.
- description String
- Indicates the description of the IAM user.
- enabled Boolean
- Specifies the status of the IAM user, the default value is true.
- groups List<String>
- Indicates the user groups to which an IAM user belongs.
- id String
- Indicates the ID of the User.
- name String
- Specifies the IAM user name.
- password
Expires StringAt - Indicates the time when the password will expire. Null indicates that the password has unlimited validity.
- password
Status Boolean - Indicates the password status. True means that the password needs to be changed, and false means that the password is normal.
Package Details
- Repository
- flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
- License
- Notes
- This Pulumi package is based on the
flexibleengine
Terraform Provider.
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud