User

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.ram.User;
import com.pulumi.alicloud.ram.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 user = new User("user", UserArgs.builder()
.comments("yoyoyo")
.displayName("user_display_name")
.email("hello.uuu@aaa.com")
.force(true)
.mobile("86-18688888888")
.build());
}
}

Import

RAM user can be imported using the id, e.g.

$ pulumi import alicloud:ram/user:User example 123456789xxx

Properties

Link copied to clipboard
val comments: Output<String>?

Comment of the RAM user. This parameter can have a string of 1 to 128 characters.

Link copied to clipboard
val displayName: Output<String>?

Name of the RAM user which for display. This name can have a string of 1 to 128 characters or Chinese characters, must contain only alphanumeric characters or Chinese characters or hyphens, such as "-",".", and must not end with a hyphen.

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

Email of the RAM user.

Link copied to clipboard
val force: Output<Boolean>?

This parameter is used for resource destroy. Default value is false.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val mobile: Output<String>?

Phone number of the RAM user. This number must contain an international area code prefix, just look like this: 86-18600008888.

Link copied to clipboard
val name: Output<String>

Name of the RAM user. This name can have a string of 1 to 64 characters, must contain only alphanumeric characters or hyphens, such as "-",".","_", and must not begin with a hyphen.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>