UserArgs

data class UserArgs(val email: Output<String>? = null, val endUserId: Output<String>? = null, val password: Output<String>? = null, val phone: Output<String>? = null, val status: Output<String>? = null) : ConvertibleToJava<UserArgs>

Provides a Elastic Desktop Service (ECD) User resource. For information about Elastic Desktop Service (ECD) User and how to use it, see What is User.

NOTE: Available since v1.142.0.

Example Usage

Basic Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.eds.User;
import com.pulumi.alicloud.eds.UserArgs;
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 default_ = new User("default", UserArgs.builder()
.email("tf.example@abc.com")
.endUserId("terraform_example123")
.password("Example_123")
.phone("18888888888")
.build());
}
}

Import

ECD User can be imported using the id, e.g.

$ pulumi import alicloud:eds/user:User example <end_user_id>

Constructors

Link copied to clipboard
fun UserArgs(email: Output<String>? = null, endUserId: Output<String>? = null, password: Output<String>? = null, phone: Output<String>? = null, status: Output<String>? = null)

Functions

Link copied to clipboard
open override fun toJava(): UserArgs

Properties

Link copied to clipboard
val email: Output<String>? = null

The email of the user email.

Link copied to clipboard
val endUserId: Output<String>? = null

The Username. The custom setting is composed of lowercase letters, numbers and underscores, and the length is 3~24 characters.

Link copied to clipboard
val password: Output<String>? = null

The password of the user password.

Link copied to clipboard
val phone: Output<String>? = null

The phone of the mobile phone number.

Link copied to clipboard
val status: Output<String>? = null

The status of the resource. Valid values: Unlocked, Locked.