Class: TencentCloud::Cynosdb::V20190107::ParamDetail

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

Overview

实例参数详细描述

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(paramname = nil, paramtype = nil, supportfunc = nil, default = nil, description = nil, currentvalue = nil, needreboot = nil, max = nil, min = nil, enumvalue = nil, isglobal = nil, matchtype = nil, matchvalue = nil, isfunc = nil, func = nil, modifiableinfo = nil, funcpattern = nil) ⇒ ParamDetail

Returns a new instance of ParamDetail.



12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
# File 'lib/v20190107/models.rb', line 12100

def initialize(paramname=nil, paramtype=nil, supportfunc=nil, default=nil, description=nil, currentvalue=nil, needreboot=nil, max=nil, min=nil, enumvalue=nil, isglobal=nil, matchtype=nil, matchvalue=nil, isfunc=nil, func=nil, modifiableinfo=nil, funcpattern=nil)
  @ParamName = paramname
  @ParamType = paramtype
  @SupportFunc = supportfunc
  @Default = default
  @Description = description
  @CurrentValue = currentvalue
  @NeedReboot = needreboot
  @Max = max
  @Min = min
  @EnumValue = enumvalue
  @IsGlobal = isglobal
  @MatchType = matchtype
  @MatchValue = matchvalue
  @IsFunc = isfunc
  @Func = func
  @ModifiableInfo = modifiableinfo
  @FuncPattern = funcpattern
end

Instance Attribute Details

#CurrentValueObject

Parameters:

  • ParamName:

    参数名称

  • ParamType:

    参数类型:integer,enum,float,string,func

  • SupportFunc:

    true-支持“func”,false-不支持公式

  • Default:

    默认值

  • Description:

    参数描述

  • CurrentValue:

    参数当前值

  • NeedReboot:

    修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。

  • Max:

    参数容许的最大值

  • Min:

    参数容许的最小值

  • EnumValue:

    参数的可选枚举值。如果为非枚举值,则为空

  • IsGlobal:

    1:全局参数,0:非全局参数

  • MatchType:

    匹配类型,multiVal

  • MatchValue:

    匹配目标值,当multiVal时,各个key用,分割

  • IsFunc:

    true-为公式,false-非公式

  • Func:

    参数设置为公式时,Func返回设置的公式内容

  • ModifiableInfo:

    参数是否可修改

  • FuncPattern:

    支持公式的参数的默认公式样式



12098
12099
12100
# File 'lib/v20190107/models.rb', line 12098

def CurrentValue
  @CurrentValue
end

#DefaultObject

Parameters:

  • ParamName:

    参数名称

  • ParamType:

    参数类型:integer,enum,float,string,func

  • SupportFunc:

    true-支持“func”,false-不支持公式

  • Default:

    默认值

  • Description:

    参数描述

  • CurrentValue:

    参数当前值

  • NeedReboot:

    修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。

  • Max:

    参数容许的最大值

  • Min:

    参数容许的最小值

  • EnumValue:

    参数的可选枚举值。如果为非枚举值,则为空

  • IsGlobal:

    1:全局参数,0:非全局参数

  • MatchType:

    匹配类型,multiVal

  • MatchValue:

    匹配目标值,当multiVal时,各个key用,分割

  • IsFunc:

    true-为公式,false-非公式

  • Func:

    参数设置为公式时,Func返回设置的公式内容

  • ModifiableInfo:

    参数是否可修改

  • FuncPattern:

    支持公式的参数的默认公式样式



12098
12099
12100
# File 'lib/v20190107/models.rb', line 12098

def Default
  @Default
end

#DescriptionObject

Parameters:

  • ParamName:

    参数名称

  • ParamType:

    参数类型:integer,enum,float,string,func

  • SupportFunc:

    true-支持“func”,false-不支持公式

  • Default:

    默认值

  • Description:

    参数描述

  • CurrentValue:

    参数当前值

  • NeedReboot:

    修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。

  • Max:

    参数容许的最大值

  • Min:

    参数容许的最小值

  • EnumValue:

    参数的可选枚举值。如果为非枚举值,则为空

  • IsGlobal:

    1:全局参数,0:非全局参数

  • MatchType:

    匹配类型,multiVal

  • MatchValue:

    匹配目标值,当multiVal时,各个key用,分割

  • IsFunc:

    true-为公式,false-非公式

  • Func:

    参数设置为公式时,Func返回设置的公式内容

  • ModifiableInfo:

    参数是否可修改

  • FuncPattern:

    支持公式的参数的默认公式样式



12098
12099
12100
# File 'lib/v20190107/models.rb', line 12098

def Description
  @Description
end

#EnumValueObject

Parameters:

  • ParamName:

    参数名称

  • ParamType:

    参数类型:integer,enum,float,string,func

  • SupportFunc:

    true-支持“func”,false-不支持公式

  • Default:

    默认值

  • Description:

    参数描述

  • CurrentValue:

    参数当前值

  • NeedReboot:

    修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。

  • Max:

    参数容许的最大值

  • Min:

    参数容许的最小值

  • EnumValue:

    参数的可选枚举值。如果为非枚举值,则为空

  • IsGlobal:

    1:全局参数,0:非全局参数

  • MatchType:

    匹配类型,multiVal

  • MatchValue:

    匹配目标值,当multiVal时,各个key用,分割

  • IsFunc:

    true-为公式,false-非公式

  • Func:

    参数设置为公式时,Func返回设置的公式内容

  • ModifiableInfo:

    参数是否可修改

  • FuncPattern:

    支持公式的参数的默认公式样式



12098
12099
12100
# File 'lib/v20190107/models.rb', line 12098

def EnumValue
  @EnumValue
end

#FuncObject

Parameters:

  • ParamName:

    参数名称

  • ParamType:

    参数类型:integer,enum,float,string,func

  • SupportFunc:

    true-支持“func”,false-不支持公式

  • Default:

    默认值

  • Description:

    参数描述

  • CurrentValue:

    参数当前值

  • NeedReboot:

    修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。

  • Max:

    参数容许的最大值

  • Min:

    参数容许的最小值

  • EnumValue:

    参数的可选枚举值。如果为非枚举值,则为空

  • IsGlobal:

    1:全局参数,0:非全局参数

  • MatchType:

    匹配类型,multiVal

  • MatchValue:

    匹配目标值,当multiVal时,各个key用,分割

  • IsFunc:

    true-为公式,false-非公式

  • Func:

    参数设置为公式时,Func返回设置的公式内容

  • ModifiableInfo:

    参数是否可修改

  • FuncPattern:

    支持公式的参数的默认公式样式



12098
12099
12100
# File 'lib/v20190107/models.rb', line 12098

def Func
  @Func
end

#FuncPatternObject

Parameters:

  • ParamName:

    参数名称

  • ParamType:

    参数类型:integer,enum,float,string,func

  • SupportFunc:

    true-支持“func”,false-不支持公式

  • Default:

    默认值

  • Description:

    参数描述

  • CurrentValue:

    参数当前值

  • NeedReboot:

    修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。

  • Max:

    参数容许的最大值

  • Min:

    参数容许的最小值

  • EnumValue:

    参数的可选枚举值。如果为非枚举值,则为空

  • IsGlobal:

    1:全局参数,0:非全局参数

  • MatchType:

    匹配类型,multiVal

  • MatchValue:

    匹配目标值,当multiVal时,各个key用,分割

  • IsFunc:

    true-为公式,false-非公式

  • Func:

    参数设置为公式时,Func返回设置的公式内容

  • ModifiableInfo:

    参数是否可修改

  • FuncPattern:

    支持公式的参数的默认公式样式



12098
12099
12100
# File 'lib/v20190107/models.rb', line 12098

def FuncPattern
  @FuncPattern
end

#IsFuncObject

Parameters:

  • ParamName:

    参数名称

  • ParamType:

    参数类型:integer,enum,float,string,func

  • SupportFunc:

    true-支持“func”,false-不支持公式

  • Default:

    默认值

  • Description:

    参数描述

  • CurrentValue:

    参数当前值

  • NeedReboot:

    修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。

  • Max:

    参数容许的最大值

  • Min:

    参数容许的最小值

  • EnumValue:

    参数的可选枚举值。如果为非枚举值,则为空

  • IsGlobal:

    1:全局参数,0:非全局参数

  • MatchType:

    匹配类型,multiVal

  • MatchValue:

    匹配目标值,当multiVal时,各个key用,分割

  • IsFunc:

    true-为公式,false-非公式

  • Func:

    参数设置为公式时,Func返回设置的公式内容

  • ModifiableInfo:

    参数是否可修改

  • FuncPattern:

    支持公式的参数的默认公式样式



12098
12099
12100
# File 'lib/v20190107/models.rb', line 12098

def IsFunc
  @IsFunc
end

#IsGlobalObject

Parameters:

  • ParamName:

    参数名称

  • ParamType:

    参数类型:integer,enum,float,string,func

  • SupportFunc:

    true-支持“func”,false-不支持公式

  • Default:

    默认值

  • Description:

    参数描述

  • CurrentValue:

    参数当前值

  • NeedReboot:

    修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。

  • Max:

    参数容许的最大值

  • Min:

    参数容许的最小值

  • EnumValue:

    参数的可选枚举值。如果为非枚举值,则为空

  • IsGlobal:

    1:全局参数,0:非全局参数

  • MatchType:

    匹配类型,multiVal

  • MatchValue:

    匹配目标值,当multiVal时,各个key用,分割

  • IsFunc:

    true-为公式,false-非公式

  • Func:

    参数设置为公式时,Func返回设置的公式内容

  • ModifiableInfo:

    参数是否可修改

  • FuncPattern:

    支持公式的参数的默认公式样式



12098
12099
12100
# File 'lib/v20190107/models.rb', line 12098

def IsGlobal
  @IsGlobal
end

#MatchTypeObject

Parameters:

  • ParamName:

    参数名称

  • ParamType:

    参数类型:integer,enum,float,string,func

  • SupportFunc:

    true-支持“func”,false-不支持公式

  • Default:

    默认值

  • Description:

    参数描述

  • CurrentValue:

    参数当前值

  • NeedReboot:

    修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。

  • Max:

    参数容许的最大值

  • Min:

    参数容许的最小值

  • EnumValue:

    参数的可选枚举值。如果为非枚举值,则为空

  • IsGlobal:

    1:全局参数,0:非全局参数

  • MatchType:

    匹配类型,multiVal

  • MatchValue:

    匹配目标值,当multiVal时,各个key用,分割

  • IsFunc:

    true-为公式,false-非公式

  • Func:

    参数设置为公式时,Func返回设置的公式内容

  • ModifiableInfo:

    参数是否可修改

  • FuncPattern:

    支持公式的参数的默认公式样式



12098
12099
12100
# File 'lib/v20190107/models.rb', line 12098

def MatchType
  @MatchType
end

#MatchValueObject

Parameters:

  • ParamName:

    参数名称

  • ParamType:

    参数类型:integer,enum,float,string,func

  • SupportFunc:

    true-支持“func”,false-不支持公式

  • Default:

    默认值

  • Description:

    参数描述

  • CurrentValue:

    参数当前值

  • NeedReboot:

    修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。

  • Max:

    参数容许的最大值

  • Min:

    参数容许的最小值

  • EnumValue:

    参数的可选枚举值。如果为非枚举值,则为空

  • IsGlobal:

    1:全局参数,0:非全局参数

  • MatchType:

    匹配类型,multiVal

  • MatchValue:

    匹配目标值,当multiVal时,各个key用,分割

  • IsFunc:

    true-为公式,false-非公式

  • Func:

    参数设置为公式时,Func返回设置的公式内容

  • ModifiableInfo:

    参数是否可修改

  • FuncPattern:

    支持公式的参数的默认公式样式



12098
12099
12100
# File 'lib/v20190107/models.rb', line 12098

def MatchValue
  @MatchValue
end

#MaxObject

Parameters:

  • ParamName:

    参数名称

  • ParamType:

    参数类型:integer,enum,float,string,func

  • SupportFunc:

    true-支持“func”,false-不支持公式

  • Default:

    默认值

  • Description:

    参数描述

  • CurrentValue:

    参数当前值

  • NeedReboot:

    修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。

  • Max:

    参数容许的最大值

  • Min:

    参数容许的最小值

  • EnumValue:

    参数的可选枚举值。如果为非枚举值,则为空

  • IsGlobal:

    1:全局参数,0:非全局参数

  • MatchType:

    匹配类型,multiVal

  • MatchValue:

    匹配目标值,当multiVal时,各个key用,分割

  • IsFunc:

    true-为公式,false-非公式

  • Func:

    参数设置为公式时,Func返回设置的公式内容

  • ModifiableInfo:

    参数是否可修改

  • FuncPattern:

    支持公式的参数的默认公式样式



12098
12099
12100
# File 'lib/v20190107/models.rb', line 12098

def Max
  @Max
end

#MinObject

Parameters:

  • ParamName:

    参数名称

  • ParamType:

    参数类型:integer,enum,float,string,func

  • SupportFunc:

    true-支持“func”,false-不支持公式

  • Default:

    默认值

  • Description:

    参数描述

  • CurrentValue:

    参数当前值

  • NeedReboot:

    修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。

  • Max:

    参数容许的最大值

  • Min:

    参数容许的最小值

  • EnumValue:

    参数的可选枚举值。如果为非枚举值,则为空

  • IsGlobal:

    1:全局参数,0:非全局参数

  • MatchType:

    匹配类型,multiVal

  • MatchValue:

    匹配目标值,当multiVal时,各个key用,分割

  • IsFunc:

    true-为公式,false-非公式

  • Func:

    参数设置为公式时,Func返回设置的公式内容

  • ModifiableInfo:

    参数是否可修改

  • FuncPattern:

    支持公式的参数的默认公式样式



12098
12099
12100
# File 'lib/v20190107/models.rb', line 12098

def Min
  @Min
end

#ModifiableInfoObject

Parameters:

  • ParamName:

    参数名称

  • ParamType:

    参数类型:integer,enum,float,string,func

  • SupportFunc:

    true-支持“func”,false-不支持公式

  • Default:

    默认值

  • Description:

    参数描述

  • CurrentValue:

    参数当前值

  • NeedReboot:

    修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。

  • Max:

    参数容许的最大值

  • Min:

    参数容许的最小值

  • EnumValue:

    参数的可选枚举值。如果为非枚举值,则为空

  • IsGlobal:

    1:全局参数,0:非全局参数

  • MatchType:

    匹配类型,multiVal

  • MatchValue:

    匹配目标值,当multiVal时,各个key用,分割

  • IsFunc:

    true-为公式,false-非公式

  • Func:

    参数设置为公式时,Func返回设置的公式内容

  • ModifiableInfo:

    参数是否可修改

  • FuncPattern:

    支持公式的参数的默认公式样式



12098
12099
12100
# File 'lib/v20190107/models.rb', line 12098

def ModifiableInfo
  @ModifiableInfo
end

#NeedRebootObject

Parameters:

  • ParamName:

    参数名称

  • ParamType:

    参数类型:integer,enum,float,string,func

  • SupportFunc:

    true-支持“func”,false-不支持公式

  • Default:

    默认值

  • Description:

    参数描述

  • CurrentValue:

    参数当前值

  • NeedReboot:

    修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。

  • Max:

    参数容许的最大值

  • Min:

    参数容许的最小值

  • EnumValue:

    参数的可选枚举值。如果为非枚举值,则为空

  • IsGlobal:

    1:全局参数,0:非全局参数

  • MatchType:

    匹配类型,multiVal

  • MatchValue:

    匹配目标值,当multiVal时,各个key用,分割

  • IsFunc:

    true-为公式,false-非公式

  • Func:

    参数设置为公式时,Func返回设置的公式内容

  • ModifiableInfo:

    参数是否可修改

  • FuncPattern:

    支持公式的参数的默认公式样式



12098
12099
12100
# File 'lib/v20190107/models.rb', line 12098

def NeedReboot
  @NeedReboot
end

#ParamNameObject

Parameters:

  • ParamName:

    参数名称

  • ParamType:

    参数类型:integer,enum,float,string,func

  • SupportFunc:

    true-支持“func”,false-不支持公式

  • Default:

    默认值

  • Description:

    参数描述

  • CurrentValue:

    参数当前值

  • NeedReboot:

    修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。

  • Max:

    参数容许的最大值

  • Min:

    参数容许的最小值

  • EnumValue:

    参数的可选枚举值。如果为非枚举值,则为空

  • IsGlobal:

    1:全局参数,0:非全局参数

  • MatchType:

    匹配类型,multiVal

  • MatchValue:

    匹配目标值,当multiVal时,各个key用,分割

  • IsFunc:

    true-为公式,false-非公式

  • Func:

    参数设置为公式时,Func返回设置的公式内容

  • ModifiableInfo:

    参数是否可修改

  • FuncPattern:

    支持公式的参数的默认公式样式



12098
12099
12100
# File 'lib/v20190107/models.rb', line 12098

def ParamName
  @ParamName
end

#ParamTypeObject

Parameters:

  • ParamName:

    参数名称

  • ParamType:

    参数类型:integer,enum,float,string,func

  • SupportFunc:

    true-支持“func”,false-不支持公式

  • Default:

    默认值

  • Description:

    参数描述

  • CurrentValue:

    参数当前值

  • NeedReboot:

    修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。

  • Max:

    参数容许的最大值

  • Min:

    参数容许的最小值

  • EnumValue:

    参数的可选枚举值。如果为非枚举值,则为空

  • IsGlobal:

    1:全局参数,0:非全局参数

  • MatchType:

    匹配类型,multiVal

  • MatchValue:

    匹配目标值,当multiVal时,各个key用,分割

  • IsFunc:

    true-为公式,false-非公式

  • Func:

    参数设置为公式时,Func返回设置的公式内容

  • ModifiableInfo:

    参数是否可修改

  • FuncPattern:

    支持公式的参数的默认公式样式



12098
12099
12100
# File 'lib/v20190107/models.rb', line 12098

def ParamType
  @ParamType
end

#SupportFuncObject

Parameters:

  • ParamName:

    参数名称

  • ParamType:

    参数类型:integer,enum,float,string,func

  • SupportFunc:

    true-支持“func”,false-不支持公式

  • Default:

    默认值

  • Description:

    参数描述

  • CurrentValue:

    参数当前值

  • NeedReboot:

    修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。

  • Max:

    参数容许的最大值

  • Min:

    参数容许的最小值

  • EnumValue:

    参数的可选枚举值。如果为非枚举值,则为空

  • IsGlobal:

    1:全局参数,0:非全局参数

  • MatchType:

    匹配类型,multiVal

  • MatchValue:

    匹配目标值,当multiVal时,各个key用,分割

  • IsFunc:

    true-为公式,false-非公式

  • Func:

    参数设置为公式时,Func返回设置的公式内容

  • ModifiableInfo:

    参数是否可修改

  • FuncPattern:

    支持公式的参数的默认公式样式



12098
12099
12100
# File 'lib/v20190107/models.rb', line 12098

def SupportFunc
  @SupportFunc
end

Instance Method Details

#deserialize(params) ⇒ Object



12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
# File 'lib/v20190107/models.rb', line 12120

def deserialize(params)
  @ParamName = params['ParamName']
  @ParamType = params['ParamType']
  @SupportFunc = params['SupportFunc']
  @Default = params['Default']
  @Description = params['Description']
  @CurrentValue = params['CurrentValue']
  @NeedReboot = params['NeedReboot']
  @Max = params['Max']
  @Min = params['Min']
  @EnumValue = params['EnumValue']
  @IsGlobal = params['IsGlobal']
  @MatchType = params['MatchType']
  @MatchValue = params['MatchValue']
  @IsFunc = params['IsFunc']
  @Func = params['Func']
  unless params['ModifiableInfo'].nil?
    @ModifiableInfo = ModifiableInfo.new
    @ModifiableInfo.deserialize(params['ModifiableInfo'])
  end
  @FuncPattern = params['FuncPattern']
end