lib/v20201016/models.rb in tencentcloud-sdk-cls-3.0.851 vs lib/v20201016/models.rb in tencentcloud-sdk-cls-3.0.852
- old
+ new
@@ -1739,11 +1739,11 @@
# @type Name: String
# @param AlarmTargets: 监控对象列表。
# @type AlarmTargets: Array
# @param MonitorTime: 监控任务运行时间点。
# @type MonitorTime: :class:`Tencentcloud::Cls.v20201016.models.MonitorTime`
- # @param TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10。
+ # @param TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为2000。
# @type TriggerCount: Integer
# @param AlarmPeriod: 告警重复的周期,单位是分钟。取值范围是0~1440。
# @type AlarmPeriod: Integer
# @param AlarmNoticeIds: 关联的告警通知模板列表。
# @type AlarmNoticeIds: Array
@@ -7394,11 +7394,11 @@
# @param MultiConditions: 多触发条件。
# 注意:
# - Condition和AlarmLevel是一组配置,MultiConditions是另一组配置,2组配置互斥。
# @type MultiConditions: Array
- # @param TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为10。
+ # @param TriggerCount: 持续周期。持续满足触发条件TriggerCount个周期后,再进行告警;最小值为1,最大值为2000。
# @type TriggerCount: Integer
# @param AlarmPeriod: 告警重复的周期。单位是分钟。取值范围是0~1440。
# @type AlarmPeriod: Integer
# @param AlarmNoticeIds: 关联的告警通知模板列表。
# @type AlarmNoticeIds: Array
@@ -8563,26 +8563,29 @@
# 非0:开启日志沉降后标准存储的天数。HotPeriod需要大于等于7,且小于Period。仅在StorageType为 hot 时生效
# @type HotPeriod: Integer
# @param IsWebTracking: 免鉴权开关。 false:关闭; true:开启。
# 开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
# @type IsWebTracking: Boolean
+ # @param Extends: 日志主题扩展信息
+ # @type Extends: :class:`Tencentcloud::Cls.v20201016.models.TopicExtendInfo`
# @param PartitionCount: 日志主题分区数量
# @type PartitionCount: Integer
- attr_accessor :TopicId, :TopicName, :Tags, :Status, :AutoSplit, :MaxSplitPartitions, :Period, :Describes, :HotPeriod, :IsWebTracking, :PartitionCount
+ attr_accessor :TopicId, :TopicName, :Tags, :Status, :AutoSplit, :MaxSplitPartitions, :Period, :Describes, :HotPeriod, :IsWebTracking, :Extends, :PartitionCount
- def initialize(topicid=nil, topicname=nil, tags=nil, status=nil, autosplit=nil, maxsplitpartitions=nil, period=nil, describes=nil, hotperiod=nil, iswebtracking=nil, partitioncount=nil)
+ def initialize(topicid=nil, topicname=nil, tags=nil, status=nil, autosplit=nil, maxsplitpartitions=nil, period=nil, describes=nil, hotperiod=nil, iswebtracking=nil, extends=nil, partitioncount=nil)
@TopicId = topicid
@TopicName = topicname
@Tags = tags
@Status = status
@AutoSplit = autosplit
@MaxSplitPartitions = maxsplitpartitions
@Period = period
@Describes = describes
@HotPeriod = hotperiod
@IsWebTracking = iswebtracking
+ @Extends = extends
@PartitionCount = partitioncount
end
def deserialize(params)
@TopicId = params['TopicId']
@@ -8600,10 +8603,14 @@
@MaxSplitPartitions = params['MaxSplitPartitions']
@Period = params['Period']
@Describes = params['Describes']
@HotPeriod = params['HotPeriod']
@IsWebTracking = params['IsWebTracking']
+ unless params['Extends'].nil?
+ @Extends = TopicExtendInfo.new
+ @Extends.deserialize(params['Extends'])
+ end
@PartitionCount = params['PartitionCount']
end
end
# ModifyTopic返回参数结构体
@@ -8622,16 +8629,17 @@
end
end
# 告警策略中监控任务的执行时间点
class MonitorTime < TencentCloud::Common::AbstractModel
- # @param Type: 执行周期, 可选值:Period;Fixed。
+ # @param Type: 执行周期, 可选值:`Period`、`Fixed`。
# - Period:固定频率
# - Fixed:固定时间
# @type Type: String
# @param Time: 执行的周期,或者定制执行的时间节点。单位为分钟,取值范围为1~1440。
+ # 当type为`Period`,`Fixed`时,time字段生效。
# @type Time: Integer
attr_accessor :Type, :Time
def initialize(type=nil, time=nil)
@@ -10240,14 +10248,17 @@
# @type BizType: Integer
# @param IsWebTracking: 免鉴权开关。 false:关闭; true:开启。
# 开启后将支持指定操作匿名访问该日志主题。详情请参见[日志主题](https://cloud.tencent.com/document/product/614/41035)。
# 注意:此字段可能返回 null,表示取不到有效值。
# @type IsWebTracking: Boolean
+ # @param Extends: 日志主题扩展信息
+ # 注意:此字段可能返回 null,表示取不到有效值。
+ # @type Extends: :class:`Tencentcloud::Cls.v20201016.models.TopicExtendInfo`
- attr_accessor :LogsetId, :TopicId, :TopicName, :PartitionCount, :Index, :AssumerName, :CreateTime, :Status, :Tags, :AutoSplit, :MaxSplitPartitions, :StorageType, :Period, :SubAssumerName, :Describes, :HotPeriod, :BizType, :IsWebTracking
+ attr_accessor :LogsetId, :TopicId, :TopicName, :PartitionCount, :Index, :AssumerName, :CreateTime, :Status, :Tags, :AutoSplit, :MaxSplitPartitions, :StorageType, :Period, :SubAssumerName, :Describes, :HotPeriod, :BizType, :IsWebTracking, :Extends
- def initialize(logsetid=nil, topicid=nil, topicname=nil, partitioncount=nil, index=nil, assumername=nil, createtime=nil, status=nil, tags=nil, autosplit=nil, maxsplitpartitions=nil, storagetype=nil, period=nil, subassumername=nil, describes=nil, hotperiod=nil, biztype=nil, iswebtracking=nil)
+ def initialize(logsetid=nil, topicid=nil, topicname=nil, partitioncount=nil, index=nil, assumername=nil, createtime=nil, status=nil, tags=nil, autosplit=nil, maxsplitpartitions=nil, storagetype=nil, period=nil, subassumername=nil, describes=nil, hotperiod=nil, biztype=nil, iswebtracking=nil, extends=nil)
@LogsetId = logsetid
@TopicId = topicid
@TopicName = topicname
@PartitionCount = partitioncount
@Index = index
@@ -10262,10 +10273,11 @@
@SubAssumerName = subassumername
@Describes = describes
@HotPeriod = hotperiod
@BizType = biztype
@IsWebTracking = iswebtracking
+ @Extends = extends
end
def deserialize(params)
@LogsetId = params['LogsetId']
@TopicId = params['TopicId']
@@ -10290,9 +10302,13 @@
@SubAssumerName = params['SubAssumerName']
@Describes = params['Describes']
@HotPeriod = params['HotPeriod']
@BizType = params['BizType']
@IsWebTracking = params['IsWebTracking']
+ unless params['Extends'].nil?
+ @Extends = TopicExtendInfo.new
+ @Extends.deserialize(params['Extends'])
+ end
end
end
# UploadLog请求参数结构体
class UploadLogRequest < TencentCloud::Common::AbstractModel