EnterpriseUser

Provides a DMS Enterprise User resource. For information about Alidms Enterprise User and how to use it, see What is Resource Alidms Enterprise User.

NOTE: Available in 1.90.0+.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.dms.EnterpriseUser;
import com.pulumi.alicloud.dms.EnterpriseUserArgs;
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 example = new EnterpriseUser("example", EnterpriseUserArgs.builder()
.mobile("1591066xxxx")
.roleNames("DBA")
.uid("uid")
.userName("tf-test")
.build());
}
}

Import

DMS Enterprise User can be imported using the id, e.g.

$ pulumi import alicloud:dms/enterpriseUser:EnterpriseUser example 24356xxx

Properties

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

Maximum number of inquiries on the day.

Link copied to clipboard
val maxResultCount: Output<Int>?

Query the maximum number of rows on the day.

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

The DingTalk number or mobile number of the user.

Link copied to clipboard
val nickName: Output<String>

It has been deprecated from 1.100.0 and use user_name instead.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val roleNames: Output<List<String>>?

The roles that the user plays.

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

The state of DMS Enterprise User. Valid values: NORMAL, DISABLE.

Link copied to clipboard
val tid: Output<Int>?

The tenant ID.

Link copied to clipboard
val uid: Output<String>

The Alibaba Cloud unique ID (UID) of the user to add.

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

The nickname of the user.