tencentcloud-sdk-monitor 1.0.267 → 1.0.270
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180724/client.rb +1 -1
- data/lib/v20180724/models.rb +9 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ec5d1fd8ccc2222bb0e4437cc4c3d19e81141e4
|
4
|
+
data.tar.gz: bbbc7230d8a9e60e00666a3bdc27e540e0fa2c4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8f2e3b55ac8dfebe7407c9bf0b64ebfe6c1c576d0437bf25f6212b05b3cb7374918f86be6d615e79ef47ff5567b379ec6f1a6d773ce27b4a086d953f65d2eb3
|
7
|
+
data.tar.gz: 6a67b5822307c811283d5a77a92035561790be8074cdeb9fa6af1a54de677a0f236808938911f5370ee67a5efaaede9151fccfbbc20886ec5c33b58da354f6bf
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.270
|
data/lib/v20180724/client.rb
CHANGED
@@ -101,7 +101,7 @@ module TencentCloud
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
102
|
end
|
103
103
|
|
104
|
-
#
|
104
|
+
# 创建云监控告警策略
|
105
105
|
|
106
106
|
# @param request: Request instance for CreateAlarmPolicy.
|
107
107
|
# @type request: :class:`Tencentcloud::monitor::V20180724::CreateAlarmPolicyRequest`
|
data/lib/v20180724/models.rb
CHANGED
@@ -1011,7 +1011,7 @@ module TencentCloud
|
|
1011
1011
|
# @type Enable: Integer
|
1012
1012
|
# @param ProjectId: 项目 Id,对于区分项目的产品必须传入非 -1 的值。 -1=无项目 0=默认项目,如不传 默认为 -1。支持的项目 Id 可以在控制台 [账号中心-项目管理](https://console.cloud.tencent.com/project) 中查看。
|
1013
1013
|
# @type ProjectId: Integer
|
1014
|
-
# @param ConditionTemplateId: 触发条件模板 Id
|
1014
|
+
# @param ConditionTemplateId: 触发条件模板 Id,该参数与 Condition 参数二选一。如果策略绑定触发条件模板,则传该参数;否则不传该参数,而是传 Condition 参数。触发条件模板 Id 可以从 [DescribeConditionsTemplateList](https://cloud.tencent.com/document/api/248/70250) 接口获取。
|
1015
1015
|
# @type ConditionTemplateId: Integer
|
1016
1016
|
# @param Condition: 指标触发条件,支持的指标可以从 [DescribeAlarmMetrics](https://cloud.tencent.com/document/product/248/51283) 查询。
|
1017
1017
|
# @type Condition: :class:`Tencentcloud::Monitor.v20180724.models.AlarmPolicyCondition`
|
@@ -4573,10 +4573,14 @@ module TencentCloud
|
|
4573
4573
|
# @type Limit: Integer
|
4574
4574
|
# @param Offset: 偏移量,默认为0。
|
4575
4575
|
# @type Offset: Integer
|
4576
|
+
# @param InstanceChargeType: 按照【计费类型】进行过滤。
|
4577
|
+
# <li>2:包年包月</li>
|
4578
|
+
# <li>3:按量</li>
|
4579
|
+
# @type InstanceChargeType: Integer
|
4576
4580
|
|
4577
|
-
attr_accessor :InstanceIds, :InstanceStatus, :InstanceName, :Zones, :TagFilters, :IPv4Address, :Limit, :Offset
|
4581
|
+
attr_accessor :InstanceIds, :InstanceStatus, :InstanceName, :Zones, :TagFilters, :IPv4Address, :Limit, :Offset, :InstanceChargeType
|
4578
4582
|
|
4579
|
-
def initialize(instanceids=nil, instancestatus=nil, instancename=nil, zones=nil, tagfilters=nil, ipv4address=nil, limit=nil, offset=nil)
|
4583
|
+
def initialize(instanceids=nil, instancestatus=nil, instancename=nil, zones=nil, tagfilters=nil, ipv4address=nil, limit=nil, offset=nil, instancechargetype=nil)
|
4580
4584
|
@InstanceIds = instanceids
|
4581
4585
|
@InstanceStatus = instancestatus
|
4582
4586
|
@InstanceName = instancename
|
@@ -4585,6 +4589,7 @@ module TencentCloud
|
|
4585
4589
|
@IPv4Address = ipv4address
|
4586
4590
|
@Limit = limit
|
4587
4591
|
@Offset = offset
|
4592
|
+
@InstanceChargeType = instancechargetype
|
4588
4593
|
end
|
4589
4594
|
|
4590
4595
|
def deserialize(params)
|
@@ -4603,6 +4608,7 @@ module TencentCloud
|
|
4603
4608
|
@IPv4Address = params['IPv4Address']
|
4604
4609
|
@Limit = params['Limit']
|
4605
4610
|
@Offset = params['Offset']
|
4611
|
+
@InstanceChargeType = params['InstanceChargeType']
|
4606
4612
|
end
|
4607
4613
|
end
|
4608
4614
|
|
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.
|
4
|
+
version: 1.0.270
|
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-03-
|
11
|
+
date: 2022-03-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|