1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. IdentityUserV3
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.IdentityUserV3

Explore with Pulumi AI

Manages a User resource within FlexibleEngine IAM service.

You must have admin privileges in your FlexibleEngine cloud to use this resource.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";

const user1 = new flexibleengine.IdentityUserV3("user1", {
    description: "A user",
    password: "password123!",
});
Copy
import pulumi
import pulumi_flexibleengine as flexibleengine

user1 = flexibleengine.IdentityUserV3("user1",
    description="A user",
    password="password123!")
Copy
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.NewIdentityUserV3(ctx, "user1", &flexibleengine.IdentityUserV3Args{
			Description: pulumi.String("A user"),
			Password:    pulumi.String("password123!"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;

return await Deployment.RunAsync(() => 
{
    var user1 = new Flexibleengine.IdentityUserV3("user1", new()
    {
        Description = "A user",
        Password = "password123!",
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.IdentityUserV3;
import com.pulumi.flexibleengine.IdentityUserV3Args;
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) {
        var user1 = new IdentityUserV3("user1", IdentityUserV3Args.builder()
            .description("A user")
            .password("password123!")
            .build());

    }
}
Copy
resources:
  user1:
    type: flexibleengine:IdentityUserV3
    properties:
      description: A user
      password: password123!
Copy

Create IdentityUserV3 Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new IdentityUserV3(name: string, args?: IdentityUserV3Args, opts?: CustomResourceOptions);
@overload
def IdentityUserV3(resource_name: str,
                   args: Optional[IdentityUserV3Args] = None,
                   opts: Optional[ResourceOptions] = None)

@overload
def IdentityUserV3(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   country_code: Optional[str] = None,
                   description: Optional[str] = None,
                   email: Optional[str] = None,
                   enabled: Optional[bool] = None,
                   identity_user_v3_id: Optional[str] = None,
                   name: Optional[str] = None,
                   password: Optional[str] = None,
                   phone: Optional[str] = None)
func NewIdentityUserV3(ctx *Context, name string, args *IdentityUserV3Args, opts ...ResourceOption) (*IdentityUserV3, error)
public IdentityUserV3(string name, IdentityUserV3Args? args = null, CustomResourceOptions? opts = null)
public IdentityUserV3(String name, IdentityUserV3Args args)
public IdentityUserV3(String name, IdentityUserV3Args args, CustomResourceOptions options)
type: flexibleengine:IdentityUserV3
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args IdentityUserV3Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args IdentityUserV3Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args IdentityUserV3Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args IdentityUserV3Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. IdentityUserV3Args
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var identityUserV3Resource = new Flexibleengine.IdentityUserV3("identityUserV3Resource", new()
{
    CountryCode = "string",
    Description = "string",
    Email = "string",
    Enabled = false,
    IdentityUserV3Id = "string",
    Name = "string",
    Password = "string",
    Phone = "string",
});
Copy
example, err := flexibleengine.NewIdentityUserV3(ctx, "identityUserV3Resource", &flexibleengine.IdentityUserV3Args{
	CountryCode:      pulumi.String("string"),
	Description:      pulumi.String("string"),
	Email:            pulumi.String("string"),
	Enabled:          pulumi.Bool(false),
	IdentityUserV3Id: pulumi.String("string"),
	Name:             pulumi.String("string"),
	Password:         pulumi.String("string"),
	Phone:            pulumi.String("string"),
})
Copy
var identityUserV3Resource = new IdentityUserV3("identityUserV3Resource", IdentityUserV3Args.builder()
    .countryCode("string")
    .description("string")
    .email("string")
    .enabled(false)
    .identityUserV3Id("string")
    .name("string")
    .password("string")
    .phone("string")
    .build());
Copy
identity_user_v3_resource = flexibleengine.IdentityUserV3("identityUserV3Resource",
    country_code="string",
    description="string",
    email="string",
    enabled=False,
    identity_user_v3_id="string",
    name="string",
    password="string",
    phone="string")
Copy
const identityUserV3Resource = new flexibleengine.IdentityUserV3("identityUserV3Resource", {
    countryCode: "string",
    description: "string",
    email: "string",
    enabled: false,
    identityUserV3Id: "string",
    name: "string",
    password: "string",
    phone: "string",
});
Copy
type: flexibleengine:IdentityUserV3
properties:
    countryCode: string
    description: string
    email: string
    enabled: false
    identityUserV3Id: string
    name: string
    password: string
    phone: string
Copy

IdentityUserV3 Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The IdentityUserV3 resource accepts the following input properties:

CountryCode string
Specifies the country code. The country code of the Chinese mainland is 0086. This parameter must be used together with phone.
Description string
Specifies the description of the user.
Email string
Specifies the email address with a maximum of 255 characters.
Enabled bool
Specifies whether the user is enabled or disabled. Valid values are true and false.
IdentityUserV3Id string
The resource ID in UUID format.
Name string
Specifies the name of the user. The user name consists of 5 to 32 characters. It can contain only uppercase letters, lowercase letters, digits, spaces, and special characters (-_) and cannot start with a digit.
Password string
Specifies the password for the user with 6 to 32 characters. It must contain at least two of the following character types: uppercase letters, lowercase letters, digits, and special characters.
Phone string
Specifies the mobile number with a maximum of 32 digits. This parameter must be used together with country_code.
CountryCode string
Specifies the country code. The country code of the Chinese mainland is 0086. This parameter must be used together with phone.
Description string
Specifies the description of the user.
Email string
Specifies the email address with a maximum of 255 characters.
Enabled bool
Specifies whether the user is enabled or disabled. Valid values are true and false.
IdentityUserV3Id string
The resource ID in UUID format.
Name string
Specifies the name of the user. The user name consists of 5 to 32 characters. It can contain only uppercase letters, lowercase letters, digits, spaces, and special characters (-_) and cannot start with a digit.
Password string
Specifies the password for the user with 6 to 32 characters. It must contain at least two of the following character types: uppercase letters, lowercase letters, digits, and special characters.
Phone string
Specifies the mobile number with a maximum of 32 digits. This parameter must be used together with country_code.
countryCode String
Specifies the country code. The country code of the Chinese mainland is 0086. This parameter must be used together with phone.
description String
Specifies the description of the user.
email String
Specifies the email address with a maximum of 255 characters.
enabled Boolean
Specifies whether the user is enabled or disabled. Valid values are true and false.
identityUserV3Id String
The resource ID in UUID format.
name String
Specifies the name of the user. The user name consists of 5 to 32 characters. It can contain only uppercase letters, lowercase letters, digits, spaces, and special characters (-_) and cannot start with a digit.
password String
Specifies the password for the user with 6 to 32 characters. It must contain at least two of the following character types: uppercase letters, lowercase letters, digits, and special characters.
phone String
Specifies the mobile number with a maximum of 32 digits. This parameter must be used together with country_code.
countryCode string
Specifies the country code. The country code of the Chinese mainland is 0086. This parameter must be used together with phone.
description string
Specifies the description of the user.
email string
Specifies the email address with a maximum of 255 characters.
enabled boolean
Specifies whether the user is enabled or disabled. Valid values are true and false.
identityUserV3Id string
The resource ID in UUID format.
name string
Specifies the name of the user. The user name consists of 5 to 32 characters. It can contain only uppercase letters, lowercase letters, digits, spaces, and special characters (-_) and cannot start with a digit.
password string
Specifies the password for the user with 6 to 32 characters. It must contain at least two of the following character types: uppercase letters, lowercase letters, digits, and special characters.
phone string
Specifies the mobile number with a maximum of 32 digits. This parameter must be used together with country_code.
country_code str
Specifies the country code. The country code of the Chinese mainland is 0086. This parameter must be used together with phone.
description str
Specifies the description of the user.
email str
Specifies the email address with a maximum of 255 characters.
enabled bool
Specifies whether the user is enabled or disabled. Valid values are true and false.
identity_user_v3_id str
The resource ID in UUID format.
name str
Specifies the name of the user. The user name consists of 5 to 32 characters. It can contain only uppercase letters, lowercase letters, digits, spaces, and special characters (-_) and cannot start with a digit.
password str
Specifies the password for the user with 6 to 32 characters. It must contain at least two of the following character types: uppercase letters, lowercase letters, digits, and special characters.
phone str
Specifies the mobile number with a maximum of 32 digits. This parameter must be used together with country_code.
countryCode String
Specifies the country code. The country code of the Chinese mainland is 0086. This parameter must be used together with phone.
description String
Specifies the description of the user.
email String
Specifies the email address with a maximum of 255 characters.
enabled Boolean
Specifies whether the user is enabled or disabled. Valid values are true and false.
identityUserV3Id String
The resource ID in UUID format.
name String
Specifies the name of the user. The user name consists of 5 to 32 characters. It can contain only uppercase letters, lowercase letters, digits, spaces, and special characters (-_) and cannot start with a digit.
password String
Specifies the password for the user with 6 to 32 characters. It must contain at least two of the following character types: uppercase letters, lowercase letters, digits, and special characters.
phone String
Specifies the mobile number with a maximum of 32 digits. This parameter must be used together with country_code.

Outputs

All input properties are implicitly available as output properties. Additionally, the IdentityUserV3 resource produces the following output properties:

CreateTime string
The time when the IAM user was created.
Id string
The provider-assigned unique ID for this managed resource.
LastLogin string
The tiem when the IAM user last login.
PasswordStrength string
Indicates the password strength.
CreateTime string
The time when the IAM user was created.
Id string
The provider-assigned unique ID for this managed resource.
LastLogin string
The tiem when the IAM user last login.
PasswordStrength string
Indicates the password strength.
createTime String
The time when the IAM user was created.
id String
The provider-assigned unique ID for this managed resource.
lastLogin String
The tiem when the IAM user last login.
passwordStrength String
Indicates the password strength.
createTime string
The time when the IAM user was created.
id string
The provider-assigned unique ID for this managed resource.
lastLogin string
The tiem when the IAM user last login.
passwordStrength string
Indicates the password strength.
create_time str
The time when the IAM user was created.
id str
The provider-assigned unique ID for this managed resource.
last_login str
The tiem when the IAM user last login.
password_strength str
Indicates the password strength.
createTime String
The time when the IAM user was created.
id String
The provider-assigned unique ID for this managed resource.
lastLogin String
The tiem when the IAM user last login.
passwordStrength String
Indicates the password strength.

Look up Existing IdentityUserV3 Resource

Get an existing IdentityUserV3 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: IdentityUserV3State, opts?: CustomResourceOptions): IdentityUserV3
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        country_code: Optional[str] = None,
        create_time: Optional[str] = None,
        description: Optional[str] = None,
        email: Optional[str] = None,
        enabled: Optional[bool] = None,
        identity_user_v3_id: Optional[str] = None,
        last_login: Optional[str] = None,
        name: Optional[str] = None,
        password: Optional[str] = None,
        password_strength: Optional[str] = None,
        phone: Optional[str] = None) -> IdentityUserV3
func GetIdentityUserV3(ctx *Context, name string, id IDInput, state *IdentityUserV3State, opts ...ResourceOption) (*IdentityUserV3, error)
public static IdentityUserV3 Get(string name, Input<string> id, IdentityUserV3State? state, CustomResourceOptions? opts = null)
public static IdentityUserV3 get(String name, Output<String> id, IdentityUserV3State state, CustomResourceOptions options)
resources:  _:    type: flexibleengine:IdentityUserV3    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CountryCode string
Specifies the country code. The country code of the Chinese mainland is 0086. This parameter must be used together with phone.
CreateTime string
The time when the IAM user was created.
Description string
Specifies the description of the user.
Email string
Specifies the email address with a maximum of 255 characters.
Enabled bool
Specifies whether the user is enabled or disabled. Valid values are true and false.
IdentityUserV3Id string
The resource ID in UUID format.
LastLogin string
The tiem when the IAM user last login.
Name string
Specifies the name of the user. The user name consists of 5 to 32 characters. It can contain only uppercase letters, lowercase letters, digits, spaces, and special characters (-_) and cannot start with a digit.
Password string
Specifies the password for the user with 6 to 32 characters. It must contain at least two of the following character types: uppercase letters, lowercase letters, digits, and special characters.
PasswordStrength string
Indicates the password strength.
Phone string
Specifies the mobile number with a maximum of 32 digits. This parameter must be used together with country_code.
CountryCode string
Specifies the country code. The country code of the Chinese mainland is 0086. This parameter must be used together with phone.
CreateTime string
The time when the IAM user was created.
Description string
Specifies the description of the user.
Email string
Specifies the email address with a maximum of 255 characters.
Enabled bool
Specifies whether the user is enabled or disabled. Valid values are true and false.
IdentityUserV3Id string
The resource ID in UUID format.
LastLogin string
The tiem when the IAM user last login.
Name string
Specifies the name of the user. The user name consists of 5 to 32 characters. It can contain only uppercase letters, lowercase letters, digits, spaces, and special characters (-_) and cannot start with a digit.
Password string
Specifies the password for the user with 6 to 32 characters. It must contain at least two of the following character types: uppercase letters, lowercase letters, digits, and special characters.
PasswordStrength string
Indicates the password strength.
Phone string
Specifies the mobile number with a maximum of 32 digits. This parameter must be used together with country_code.
countryCode String
Specifies the country code. The country code of the Chinese mainland is 0086. This parameter must be used together with phone.
createTime String
The time when the IAM user was created.
description String
Specifies the description of the user.
email String
Specifies the email address with a maximum of 255 characters.
enabled Boolean
Specifies whether the user is enabled or disabled. Valid values are true and false.
identityUserV3Id String
The resource ID in UUID format.
lastLogin String
The tiem when the IAM user last login.
name String
Specifies the name of the user. The user name consists of 5 to 32 characters. It can contain only uppercase letters, lowercase letters, digits, spaces, and special characters (-_) and cannot start with a digit.
password String
Specifies the password for the user with 6 to 32 characters. It must contain at least two of the following character types: uppercase letters, lowercase letters, digits, and special characters.
passwordStrength String
Indicates the password strength.
phone String
Specifies the mobile number with a maximum of 32 digits. This parameter must be used together with country_code.
countryCode string
Specifies the country code. The country code of the Chinese mainland is 0086. This parameter must be used together with phone.
createTime string
The time when the IAM user was created.
description string
Specifies the description of the user.
email string
Specifies the email address with a maximum of 255 characters.
enabled boolean
Specifies whether the user is enabled or disabled. Valid values are true and false.
identityUserV3Id string
The resource ID in UUID format.
lastLogin string
The tiem when the IAM user last login.
name string
Specifies the name of the user. The user name consists of 5 to 32 characters. It can contain only uppercase letters, lowercase letters, digits, spaces, and special characters (-_) and cannot start with a digit.
password string
Specifies the password for the user with 6 to 32 characters. It must contain at least two of the following character types: uppercase letters, lowercase letters, digits, and special characters.
passwordStrength string
Indicates the password strength.
phone string
Specifies the mobile number with a maximum of 32 digits. This parameter must be used together with country_code.
country_code str
Specifies the country code. The country code of the Chinese mainland is 0086. This parameter must be used together with phone.
create_time str
The time when the IAM user was created.
description str
Specifies the description of the user.
email str
Specifies the email address with a maximum of 255 characters.
enabled bool
Specifies whether the user is enabled or disabled. Valid values are true and false.
identity_user_v3_id str
The resource ID in UUID format.
last_login str
The tiem when the IAM user last login.
name str
Specifies the name of the user. The user name consists of 5 to 32 characters. It can contain only uppercase letters, lowercase letters, digits, spaces, and special characters (-_) and cannot start with a digit.
password str
Specifies the password for the user with 6 to 32 characters. It must contain at least two of the following character types: uppercase letters, lowercase letters, digits, and special characters.
password_strength str
Indicates the password strength.
phone str
Specifies the mobile number with a maximum of 32 digits. This parameter must be used together with country_code.
countryCode String
Specifies the country code. The country code of the Chinese mainland is 0086. This parameter must be used together with phone.
createTime String
The time when the IAM user was created.
description String
Specifies the description of the user.
email String
Specifies the email address with a maximum of 255 characters.
enabled Boolean
Specifies whether the user is enabled or disabled. Valid values are true and false.
identityUserV3Id String
The resource ID in UUID format.
lastLogin String
The tiem when the IAM user last login.
name String
Specifies the name of the user. The user name consists of 5 to 32 characters. It can contain only uppercase letters, lowercase letters, digits, spaces, and special characters (-_) and cannot start with a digit.
password String
Specifies the password for the user with 6 to 32 characters. It must contain at least two of the following character types: uppercase letters, lowercase letters, digits, and special characters.
passwordStrength String
Indicates the password strength.
phone String
Specifies the mobile number with a maximum of 32 digits. This parameter must be used together with country_code.

Import

Users can be imported using the id, e.g.

$ pulumi import flexibleengine:index/identityUserV3:IdentityUserV3 user_1 89c60255-9bd6-460c-822a-e2b959ede9d2
Copy

But due to the security reason, password can not be imported, you can ignore it as below.

hcl

resource “flexibleengine_identity_user_v3” “user_1” {

lifecycle {

ignore_changes = [

  "password",

]

}

}

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
License
Notes
This Pulumi package is based on the flexibleengine Terraform Provider.