public class RegisterUserRequest
extends com.aliyun.tea.TeaModel
| 限定符和类型 | 字段和说明 |
|---|---|
String |
mobile
The mobile number of the user.
|
String |
roleNames
The role that you want to assign to the user.
|
Long |
tid
The ID of the tenant.
|
String |
uid
The UID of the Alibaba Cloud account of the user that you want to register.
|
String |
userNick
The nickname of the user.
|
| 构造器和说明 |
|---|
RegisterUserRequest() |
| 限定符和类型 | 方法和说明 |
|---|---|
static RegisterUserRequest |
build(Map<String,?> map) |
String |
getMobile() |
String |
getRoleNames() |
Long |
getTid() |
String |
getUid() |
String |
getUserNick() |
RegisterUserRequest |
setMobile(String mobile) |
RegisterUserRequest |
setRoleNames(String roleNames) |
RegisterUserRequest |
setTid(Long tid) |
RegisterUserRequest |
setUid(String uid) |
RegisterUserRequest |
setUserNick(String userNick) |
@NameInMap(value="Mobile") public String mobile
The mobile number of the user.
example:130000000xx
@NameInMap(value="RoleNames") public String roleNames
The role that you want to assign to the user. Valid values:
example:If you do not specify this parameter, the regular user role is assigned to the user by default. You can assign one or more roles to the user. Separate multiple roles with commas (,).
USER,DBA
@NameInMap(value="Tid") public Long tid
The ID of the tenant.
example:To query ID of the tenant, move the pointer over the profile picture in the upper-right corner of the DMS console. For more information, see the "View information about the current tenant" section of the Manage DMS tenants topic.
-1
@NameInMap(value="Uid") public String uid
The UID of the Alibaba Cloud account of the user that you want to register.
This parameter is required.
example:12345678
@NameInMap(value="UserNick") public String userNick
The nickname of the user.
example:dmstest
public static RegisterUserRequest build(Map<String,?> map) throws Exception
Exceptionpublic RegisterUserRequest setMobile(String mobile)
public String getMobile()
public RegisterUserRequest setRoleNames(String roleNames)
public String getRoleNames()
public RegisterUserRequest setTid(Long tid)
public Long getTid()
public RegisterUserRequest setUid(String uid)
public String getUid()
public RegisterUserRequest setUserNick(String userNick)
public String getUserNick()
Copyright © 2025. All rights reserved.