Class: TencentCloud::Postgres::V20170312::ResetAccountPasswordRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Postgres::V20170312::ResetAccountPasswordRequest
- Defined in:
- lib/v20170312/models.rb
Overview
ResetAccountPassword请求参数结构体
Instance Attribute Summary collapse
-
#DBInstanceId ⇒ Object
密码设置规则如下: - 长度8~ 32位,推荐使用12位以上的密码 - 不能以“ / ”开头 - 必须包含以下四项: 1.
-
#Password ⇒ Object
密码设置规则如下: - 长度8~ 32位,推荐使用12位以上的密码 - 不能以“ / ”开头 - 必须包含以下四项: 1.
-
#UserName ⇒ Object
密码设置规则如下: - 长度8~ 32位,推荐使用12位以上的密码 - 不能以“ / ”开头 - 必须包含以下四项: 1.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(dbinstanceid = nil, username = nil, password = nil) ⇒ ResetAccountPasswordRequest
constructor
A new instance of ResetAccountPasswordRequest.
Constructor Details
#initialize(dbinstanceid = nil, username = nil, password = nil) ⇒ ResetAccountPasswordRequest
Returns a new instance of ResetAccountPasswordRequest.
7112 7113 7114 7115 7116 |
# File 'lib/v20170312/models.rb', line 7112 def initialize(dbinstanceid=nil, username=nil, password=nil) @DBInstanceId = dbinstanceid @UserName = username @Password = password end |
Instance Attribute Details
#DBInstanceId ⇒ Object
密码设置规则如下:
-
长度8~ 32位,推荐使用12位以上的密码
-
不能以“ / ”开头
-
必须包含以下四项:
-
小写字母a ~ z
-
大写字母 A ~ Z
-
数字 0 ~ 9
-
特殊字符 ()‘~!@#$%^&*-+=_|{}[]:<>,.?/
-
7110 7111 7112 |
# File 'lib/v20170312/models.rb', line 7110 def DBInstanceId @DBInstanceId end |
#Password ⇒ Object
密码设置规则如下:
-
长度8~ 32位,推荐使用12位以上的密码
-
不能以“ / ”开头
-
必须包含以下四项:
-
小写字母a ~ z
-
大写字母 A ~ Z
-
数字 0 ~ 9
-
特殊字符 ()‘~!@#$%^&*-+=_|{}[]:<>,.?/
-
7110 7111 7112 |
# File 'lib/v20170312/models.rb', line 7110 def Password @Password end |
#UserName ⇒ Object
密码设置规则如下:
-
长度8~ 32位,推荐使用12位以上的密码
-
不能以“ / ”开头
-
必须包含以下四项:
-
小写字母a ~ z
-
大写字母 A ~ Z
-
数字 0 ~ 9
-
特殊字符 ()‘~!@#$%^&*-+=_|{}[]:<>,.?/
-
7110 7111 7112 |
# File 'lib/v20170312/models.rb', line 7110 def UserName @UserName end |
Instance Method Details
#deserialize(params) ⇒ Object
7118 7119 7120 7121 7122 |
# File 'lib/v20170312/models.rb', line 7118 def deserialize(params) @DBInstanceId = params['DBInstanceId'] @UserName = params['UserName'] @Password = params['Password'] end |