AppUserProps
Properties for defining a AppUser.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-sag-appuser
Initializer
import "github.com/alibabacloud-go/ros-cdk/alicloudroscdksag"
&alicloudroscdksag.AppUserProps {
Bandwidth: interface{},
SmartAgId: interface{},
UserMail: interface{},
ClientIp: interface{},
Disable: interface{},
Password: interface{},
UserName: interface{},
}
Properties
| Name | Type | Description |
|---|---|---|
Bandwidth | interface{} | Property bandwidth: The maximum bandwidth value. |
SmartAgId | interface{} | Property smartAgId: The ID of the SAG APP instance. |
UserMail | interface{} | Property userMail: The email address of the user. |
ClientIp | interface{} | Property clientIp: After this feature is enabled, you must specify the IP address of SAG APP. |
Disable | interface{} | Property disable: Disable user or not. |
Password | interface{} | Property password: The password that is used to log on to the SAG app. |
UserName | interface{} | Property userName: The username of the client account. |
BandwidthRequired
Bandwidth interface{}
- Type: interface{}
Property bandwidth: The maximum bandwidth value.
Unit: Kbit/s. Valid values: 1 to 20000. Default value: 2000.
SmartAgIdRequired
SmartAgId interface{}
- Type: interface{}
Property smartAgId: The ID of the SAG APP instance.
UserMailRequired
UserMail interface{}
- Type: interface{}
Property userMail: The email address of the user.
The username and password are sent to the specified email address.
ClientIpOptional
ClientIp interface{}
- Type: interface{}
Property clientIp: After this feature is enabled, you must specify the IP address of SAG APP.
In this case, SAG APP connects to Alibaba Cloud through the specified IP address. Note The IP address must fall into the CIDR block of the private network. After this feature is disabled, an IP address within the CIDR block of the private network is assigned to SAG APP. Each connection to Alibaba Cloud uses a different IP address.
DisableOptional
Disable interface{}
- Type: interface{}
Property disable: Disable user or not.
PasswordOptional
Password interface{}
- Type: interface{}
Property password: The password that is used to log on to the SAG app.
The password must be 8 to 32 characters in length. It can contain letters, digits, underscores (_), at signs (@), and hyphens (-). It must start with a letter or a digit.
UserNameOptional
UserName interface{}
- Type: interface{}
Property userName: The username of the client account.
The usernames of client accounts added to the same SAG app instance must be unique. The username must be 7 to 33 characters in length, and can contain letters, digits, underscores (_), at signs (@), periods (.), and hyphens (-). It must start with a letter or a digit.
For a client account, if you specify the username, you must also specify the password. If you specify the password, you must specify the username.