Class: TencentCloud::Dbbrain::V20210527::ModifyUserAutonomyProfileRequest

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

Overview

ModifyUserAutonomyProfile请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(profiletype = nil, instanceid = nil, product = nil, newprofileinfo = nil) ⇒ ModifyUserAutonomyProfileRequest

Returns a new instance of ModifyUserAutonomyProfileRequest.



6232
6233
6234
6235
6236
6237
# File 'lib/v20210527/models.rb', line 6232

def initialize(profiletype=nil, instanceid=nil, product=nil, newprofileinfo=nil)
  @ProfileType = profiletype
  @InstanceId = instanceid
  @Product = product
  @NewProfileInfo = newprofileinfo
end

Instance Attribute Details

#InstanceIdObject

Parameters:

  • ProfileType:

    配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)

  • InstanceId:

    实例 ID。可通过 DescribeDiagDBInstances 接口获取。

  • Product:

    服务产品类型,支持值包括: "redis" - 云数据库 Redis。

  • NewProfileInfo:

    自治功能相关配置,标准JSON字符串格式。



6230
6231
6232
# File 'lib/v20210527/models.rb', line 6230

def InstanceId
  @InstanceId
end

#NewProfileInfoObject

Parameters:

  • ProfileType:

    配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)

  • InstanceId:

    实例 ID。可通过 DescribeDiagDBInstances 接口获取。

  • Product:

    服务产品类型,支持值包括: "redis" - 云数据库 Redis。

  • NewProfileInfo:

    自治功能相关配置,标准JSON字符串格式。



6230
6231
6232
# File 'lib/v20210527/models.rb', line 6230

def NewProfileInfo
  @NewProfileInfo
end

#ProductObject

Parameters:

  • ProfileType:

    配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)

  • InstanceId:

    实例 ID。可通过 DescribeDiagDBInstances 接口获取。

  • Product:

    服务产品类型,支持值包括: "redis" - 云数据库 Redis。

  • NewProfileInfo:

    自治功能相关配置,标准JSON字符串格式。



6230
6231
6232
# File 'lib/v20210527/models.rb', line 6230

def Product
  @Product
end

#ProfileTypeObject

Parameters:

  • ProfileType:

    配置类型,为需要配置的功能枚举值,目前包含一下枚举值:AutonomyGlobal(自治功能全局配置)、RedisAutoScaleUp(Redis自治扩容配置)

  • InstanceId:

    实例 ID。可通过 DescribeDiagDBInstances 接口获取。

  • Product:

    服务产品类型,支持值包括: "redis" - 云数据库 Redis。

  • NewProfileInfo:

    自治功能相关配置,标准JSON字符串格式。



6230
6231
6232
# File 'lib/v20210527/models.rb', line 6230

def ProfileType
  @ProfileType
end

Instance Method Details

#deserialize(params) ⇒ Object



6239
6240
6241
6242
6243
6244
# File 'lib/v20210527/models.rb', line 6239

def deserialize(params)
  @ProfileType = params['ProfileType']
  @InstanceId = params['InstanceId']
  @Product = params['Product']
  @NewProfileInfo = params['NewProfileInfo']
end