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.



6095
6096
6097
6098
6099
6100
# File 'lib/v20210527/models.rb', line 6095

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](cloud.tencent.com/document/api/1130/57798) 接口获取。

  • Product:

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

  • NewProfileInfo:

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



6093
6094
6095
# File 'lib/v20210527/models.rb', line 6093

def InstanceId
  @InstanceId
end

#NewProfileInfoObject

Parameters:

  • ProfileType:

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

  • InstanceId:

    实例 ID。可通过 [DescribeDiagDBInstances](cloud.tencent.com/document/api/1130/57798) 接口获取。

  • Product:

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

  • NewProfileInfo:

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



6093
6094
6095
# File 'lib/v20210527/models.rb', line 6093

def NewProfileInfo
  @NewProfileInfo
end

#ProductObject

Parameters:

  • ProfileType:

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

  • InstanceId:

    实例 ID。可通过 [DescribeDiagDBInstances](cloud.tencent.com/document/api/1130/57798) 接口获取。

  • Product:

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

  • NewProfileInfo:

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



6093
6094
6095
# File 'lib/v20210527/models.rb', line 6093

def Product
  @Product
end

#ProfileTypeObject

Parameters:

  • ProfileType:

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

  • InstanceId:

    实例 ID。可通过 [DescribeDiagDBInstances](cloud.tencent.com/document/api/1130/57798) 接口获取。

  • Product:

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

  • NewProfileInfo:

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



6093
6094
6095
# File 'lib/v20210527/models.rb', line 6093

def ProfileType
  @ProfileType
end

Instance Method Details

#deserialize(params) ⇒ Object



6102
6103
6104
6105
6106
6107
# File 'lib/v20210527/models.rb', line 6102

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