tencentcloud-sdk-monitor 1.0.318 → 1.0.319

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180724/models.rb +41 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6fde5d88af5d1ed9ccab44aa5650d9e147362ef8
4
- data.tar.gz: dbe8eccc955b46290d85ce267ec50016c48f768f
3
+ metadata.gz: 891df0e22178049bc27769d662661949a1ad473f
4
+ data.tar.gz: 37eb6197e2b339d6a8348e646f55f93bcc1957f4
5
5
  SHA512:
6
- metadata.gz: 33b643cbcba35a156d1734ab2018b7c0599e61d0468fc8457ffb602ba61a7aec2a879bfe65a76930f28e08127d66fe857487ee999a67b918be21ea124c53563c
7
- data.tar.gz: a4b336288d883ca56c1f26874a45188252ba65b6a782db79a8412e4059a52b0778a971325a009df258e8abedde9a0e7eae154bb04d42013adb9c95a82327115b
6
+ metadata.gz: bdc8e91d42e3fd01946793106742e2c77a2a1cbe0fb60f5948cf492cf1a09a2ff0e285bba8ce3535fe9bd13f9d21a25c9fd77686a2c6d819b4e2e0ad1ab1567b
7
+ data.tar.gz: 3a1d89c41359df94cd89004472a086d4300e0a98b3c22e329ed3a68881cd71ca5b76ac03a4796b4d597d534416ef468e13e2b1cc60e3ca3cd98d2e068db61d7c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.318
1
+ 1.0.319
@@ -386,10 +386,13 @@ module TencentCloud
386
386
  # @param OneClickStatus: 一键告警策略是否开启
387
387
  # 注意:此字段可能返回 null,表示取不到有效值。
388
388
  # @type OneClickStatus: Integer
389
+ # @param AdvancedMetricNumber: 高级指标数量
390
+ # 注意:此字段可能返回 null,表示取不到有效值。
391
+ # @type AdvancedMetricNumber: Integer
389
392
 
390
- attr_accessor :PolicyId, :PolicyName, :Remark, :MonitorType, :Enable, :UseSum, :ProjectId, :ProjectName, :Namespace, :ConditionTemplateId, :Condition, :EventCondition, :NoticeIds, :Notices, :TriggerTasks, :ConditionsTemp, :LastEditUin, :UpdateTime, :InsertTime, :Region, :NamespaceShowName, :IsDefault, :CanSetDefault, :InstanceGroupId, :InstanceSum, :InstanceGroupName, :RuleType, :OriginId, :TagInstances, :FilterDimensionsParam, :IsOneClick, :OneClickStatus
393
+ attr_accessor :PolicyId, :PolicyName, :Remark, :MonitorType, :Enable, :UseSum, :ProjectId, :ProjectName, :Namespace, :ConditionTemplateId, :Condition, :EventCondition, :NoticeIds, :Notices, :TriggerTasks, :ConditionsTemp, :LastEditUin, :UpdateTime, :InsertTime, :Region, :NamespaceShowName, :IsDefault, :CanSetDefault, :InstanceGroupId, :InstanceSum, :InstanceGroupName, :RuleType, :OriginId, :TagInstances, :FilterDimensionsParam, :IsOneClick, :OneClickStatus, :AdvancedMetricNumber
391
394
 
392
- def initialize(policyid=nil, policyname=nil, remark=nil, monitortype=nil, enable=nil, usesum=nil, projectid=nil, projectname=nil, namespace=nil, conditiontemplateid=nil, condition=nil, eventcondition=nil, noticeids=nil, notices=nil, triggertasks=nil, conditionstemp=nil, lastedituin=nil, updatetime=nil, inserttime=nil, region=nil, namespaceshowname=nil, isdefault=nil, cansetdefault=nil, instancegroupid=nil, instancesum=nil, instancegroupname=nil, ruletype=nil, originid=nil, taginstances=nil, filterdimensionsparam=nil, isoneclick=nil, oneclickstatus=nil)
395
+ def initialize(policyid=nil, policyname=nil, remark=nil, monitortype=nil, enable=nil, usesum=nil, projectid=nil, projectname=nil, namespace=nil, conditiontemplateid=nil, condition=nil, eventcondition=nil, noticeids=nil, notices=nil, triggertasks=nil, conditionstemp=nil, lastedituin=nil, updatetime=nil, inserttime=nil, region=nil, namespaceshowname=nil, isdefault=nil, cansetdefault=nil, instancegroupid=nil, instancesum=nil, instancegroupname=nil, ruletype=nil, originid=nil, taginstances=nil, filterdimensionsparam=nil, isoneclick=nil, oneclickstatus=nil, advancedmetricnumber=nil)
393
396
  @PolicyId = policyid
394
397
  @PolicyName = policyname
395
398
  @Remark = remark
@@ -422,6 +425,7 @@ module TencentCloud
422
425
  @FilterDimensionsParam = filterdimensionsparam
423
426
  @IsOneClick = isoneclick
424
427
  @OneClickStatus = oneclickstatus
428
+ @AdvancedMetricNumber = advancedmetricnumber
425
429
  end
426
430
 
427
431
  def deserialize(params)
@@ -487,6 +491,7 @@ module TencentCloud
487
491
  @FilterDimensionsParam = params['FilterDimensionsParam']
488
492
  @IsOneClick = params['IsOneClick']
489
493
  @OneClickStatus = params['OneClickStatus']
494
+ @AdvancedMetricNumber = params['AdvancedMetricNumber']
490
495
  end
491
496
  end
492
497
 
@@ -618,10 +623,19 @@ module TencentCloud
618
623
  # @param RuleType: 触发条件类型 STATIC=静态阈值 DYNAMIC=动态阈值。创建或编辑策略时,如不填则默认为 STATIC。
619
624
  # 注意:此字段可能返回 null,表示取不到有效值。
620
625
  # @type RuleType: String
626
+ # @param IsAdvanced: 是否为高级指标,0否,1是
627
+ # 注意:此字段可能返回 null,表示取不到有效值。
628
+ # @type IsAdvanced: Integer
629
+ # @param IsOpen: 高级指标是否开通,0否,1是
630
+ # 注意:此字段可能返回 null,表示取不到有效值。
631
+ # @type IsOpen: Integer
632
+ # @param ProductId: 集成中心产品ID
633
+ # 注意:此字段可能返回 null,表示取不到有效值。
634
+ # @type ProductId: String
621
635
 
622
- attr_accessor :MetricName, :Period, :Operator, :Value, :ContinuePeriod, :NoticeFrequency, :IsPowerNotice, :Filter, :Description, :Unit, :RuleType
636
+ attr_accessor :MetricName, :Period, :Operator, :Value, :ContinuePeriod, :NoticeFrequency, :IsPowerNotice, :Filter, :Description, :Unit, :RuleType, :IsAdvanced, :IsOpen, :ProductId
623
637
 
624
- def initialize(metricname=nil, period=nil, operator=nil, value=nil, continueperiod=nil, noticefrequency=nil, ispowernotice=nil, filter=nil, description=nil, unit=nil, ruletype=nil)
638
+ def initialize(metricname=nil, period=nil, operator=nil, value=nil, continueperiod=nil, noticefrequency=nil, ispowernotice=nil, filter=nil, description=nil, unit=nil, ruletype=nil, isadvanced=nil, isopen=nil, productid=nil)
625
639
  @MetricName = metricname
626
640
  @Period = period
627
641
  @Operator = operator
@@ -633,6 +647,9 @@ module TencentCloud
633
647
  @Description = description
634
648
  @Unit = unit
635
649
  @RuleType = ruletype
650
+ @IsAdvanced = isadvanced
651
+ @IsOpen = isopen
652
+ @ProductId = productid
636
653
  end
637
654
 
638
655
  def deserialize(params)
@@ -650,6 +667,9 @@ module TencentCloud
650
667
  @Description = params['Description']
651
668
  @Unit = params['Unit']
652
669
  @RuleType = params['RuleType']
670
+ @IsAdvanced = params['IsAdvanced']
671
+ @IsOpen = params['IsOpen']
672
+ @ProductId = params['ProductId']
653
673
  end
654
674
  end
655
675
 
@@ -5108,10 +5128,19 @@ module TencentCloud
5108
5128
  # @param MetricConfig: 指标配置
5109
5129
  # 注意:此字段可能返回 null,表示取不到有效值。
5110
5130
  # @type MetricConfig: :class:`Tencentcloud::Monitor.v20180724.models.MetricConfig`
5131
+ # @param IsAdvanced: 是否为高级指标。1是 0否
5132
+ # 注意:此字段可能返回 null,表示取不到有效值。
5133
+ # @type IsAdvanced: Integer
5134
+ # @param IsOpen: 高级指标是否开通。1是 0否
5135
+ # 注意:此字段可能返回 null,表示取不到有效值。
5136
+ # @type IsOpen: Integer
5137
+ # @param ProductId: 集成中心产品ID
5138
+ # 注意:此字段可能返回 null,表示取不到有效值。
5139
+ # @type ProductId: Integer
5111
5140
 
5112
- attr_accessor :Namespace, :MetricName, :Description, :Min, :Max, :Dimensions, :Unit, :MetricConfig
5141
+ attr_accessor :Namespace, :MetricName, :Description, :Min, :Max, :Dimensions, :Unit, :MetricConfig, :IsAdvanced, :IsOpen, :ProductId
5113
5142
 
5114
- def initialize(namespace=nil, metricname=nil, description=nil, min=nil, max=nil, dimensions=nil, unit=nil, metricconfig=nil)
5143
+ def initialize(namespace=nil, metricname=nil, description=nil, min=nil, max=nil, dimensions=nil, unit=nil, metricconfig=nil, isadvanced=nil, isopen=nil, productid=nil)
5115
5144
  @Namespace = namespace
5116
5145
  @MetricName = metricname
5117
5146
  @Description = description
@@ -5120,6 +5149,9 @@ module TencentCloud
5120
5149
  @Dimensions = dimensions
5121
5150
  @Unit = unit
5122
5151
  @MetricConfig = metricconfig
5152
+ @IsAdvanced = isadvanced
5153
+ @IsOpen = isopen
5154
+ @ProductId = productid
5123
5155
  end
5124
5156
 
5125
5157
  def deserialize(params)
@@ -5134,6 +5166,9 @@ module TencentCloud
5134
5166
  @MetricConfig = MetricConfig.new
5135
5167
  @MetricConfig.deserialize(params['MetricConfig'])
5136
5168
  end
5169
+ @IsAdvanced = params['IsAdvanced']
5170
+ @IsOpen = params['IsOpen']
5171
+ @ProductId = params['ProductId']
5137
5172
  end
5138
5173
  end
5139
5174
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.318
4
+ version: 1.0.319
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-05-23 00:00:00.000000000 Z
11
+ date: 2022-05-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common