Class: TencentCloud::Tdcpg::V20211118::ResetAccountPasswordRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20211118/models.rb

Overview

ResetAccountPassword请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, accountname = nil, accountpassword = nil) ⇒ ResetAccountPasswordRequest

Returns a new instance of ResetAccountPasswordRequest.



1537
1538
1539
1540
1541
# File 'lib/v20211118/models.rb', line 1537

def initialize(clusterid=nil, accountname=nil, accountpassword=nil)
  @ClusterId = clusterid
  @AccountName = accountname
  @AccountPassword = accountpassword
end

Instance Attribute Details

#AccountNameObject

Parameters:

  • ClusterId:

    集群ID

  • AccountName:

    账号名字

  • AccountPassword:

    数据库用户密码,必须满足 8-64个字符,至少包含 大写字母、小写字母、数字和符号~!@#$%^&*_-+=‘|(){}[]:;’<>,.?/中的任意三种



1535
1536
1537
# File 'lib/v20211118/models.rb', line 1535

def AccountName
  @AccountName
end

#AccountPasswordObject

Parameters:

  • ClusterId:

    集群ID

  • AccountName:

    账号名字

  • AccountPassword:

    数据库用户密码,必须满足 8-64个字符,至少包含 大写字母、小写字母、数字和符号~!@#$%^&*_-+=‘|(){}[]:;’<>,.?/中的任意三种



1535
1536
1537
# File 'lib/v20211118/models.rb', line 1535

def AccountPassword
  @AccountPassword
end

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • AccountName:

    账号名字

  • AccountPassword:

    数据库用户密码,必须满足 8-64个字符,至少包含 大写字母、小写字母、数字和符号~!@#$%^&*_-+=‘|(){}[]:;’<>,.?/中的任意三种



1535
1536
1537
# File 'lib/v20211118/models.rb', line 1535

def ClusterId
  @ClusterId
end

Instance Method Details

#deserialize(params) ⇒ Object



1543
1544
1545
1546
1547
# File 'lib/v20211118/models.rb', line 1543

def deserialize(params)
  @ClusterId = params['ClusterId']
  @AccountName = params['AccountName']
  @AccountPassword = params['AccountPassword']
end