Class: TencentCloud::Keewidb::V20220308::ClearInstanceRequest

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

Overview

ClearInstance请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(instanceid = nil, password = nil) ⇒ ClearInstanceRequest

Returns a new instance of ClearInstanceRequest.



214
215
216
217
# File 'lib/v20220308/models.rb', line 214

def initialize(instanceid=nil, password=nil)
  @InstanceId = instanceid
  @Password = password
end

Instance Attribute Details

#InstanceIdObject

实例为免密访问,则无需设置该参数。

Parameters:

  • InstanceId:

    实例 ID,如:kee-6ubhg****。

  • Password:

    实例访问密码。



212
213
214
# File 'lib/v20220308/models.rb', line 212

def InstanceId
  @InstanceId
end

#PasswordObject

实例为免密访问,则无需设置该参数。

Parameters:

  • InstanceId:

    实例 ID,如:kee-6ubhg****。

  • Password:

    实例访问密码。



212
213
214
# File 'lib/v20220308/models.rb', line 212

def Password
  @Password
end

Instance Method Details

#deserialize(params) ⇒ Object



219
220
221
222
# File 'lib/v20220308/models.rb', line 219

def deserialize(params)
  @InstanceId = params['InstanceId']
  @Password = params['Password']
end