tencentcloud-sdk-igtm 3.0.1094 → 3.0.1103

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6613324437e7d373dabacef3a4358f1a345ce257
4
- data.tar.gz: 74748c3b096a9f66e7822da9926c6d5867fbebe4
3
+ metadata.gz: 1ef8bad93afbce44694fc09b1647c4fa5b320cc2
4
+ data.tar.gz: a0e149aea67154e02821751ab253f2c7cf73a916
5
5
  SHA512:
6
- metadata.gz: 177221d308879a592b0f90b812a892ed3db9af3a2c36a162b67e2e9ff3cc8df476eafb642c880a031bd0da8b70bf4effe025eb630b79fab3e8963441f2d5fc16
7
- data.tar.gz: 6a8fa84d446650a27b9f7747e27afc718fd7fa83535735e13d30fa354c200f844d8b94973cc6690cbe2349bf68133f951600a9e4ba7122545353eb91e5d8adf0
6
+ metadata.gz: 7052b1353ced50e74bde3055f8e0dbe4e0c3b70bf23c5f02b6de17665690160d1f3bb2d7803863bc351c91b59b8e407afd4e10d71ddcebfdc51c2dde009bae20
7
+ data.tar.gz: d4b231c2a35b0131c6e503ffe844d982b19610800803b7e9973b3774d06f519295d3992725dee7aad59246be657b505956452dbcdc5dc020087f3ae8cd5372ad
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1094
1
+ 3.0.1103
@@ -269,6 +269,54 @@ module TencentCloud
269
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
270
270
  end
271
271
 
272
+ # 探测任务包详情
273
+
274
+ # @param request: Request instance for DescribeDetectPackageDetail.
275
+ # @type request: :class:`Tencentcloud::igtm::V20231024::DescribeDetectPackageDetailRequest`
276
+ # @rtype: :class:`Tencentcloud::igtm::V20231024::DescribeDetectPackageDetailResponse`
277
+ def DescribeDetectPackageDetail(request)
278
+ body = send_request('DescribeDetectPackageDetail', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = DescribeDetectPackageDetailResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
296
+ # 探测任务套餐列表
297
+
298
+ # @param request: Request instance for DescribeDetectTaskPackageList.
299
+ # @type request: :class:`Tencentcloud::igtm::V20231024::DescribeDetectTaskPackageListRequest`
300
+ # @rtype: :class:`Tencentcloud::igtm::V20231024::DescribeDetectTaskPackageListResponse`
301
+ def DescribeDetectTaskPackageList(request)
302
+ body = send_request('DescribeDetectTaskPackageList', request.serialize)
303
+ response = JSON.parse(body)
304
+ if response['Response'].key?('Error') == false
305
+ model = DescribeDetectTaskPackageListResponse.new
306
+ model.deserialize(response['Response'])
307
+ model
308
+ else
309
+ code = response['Response']['Error']['Code']
310
+ message = response['Response']['Error']['Message']
311
+ reqid = response['Response']['RequestId']
312
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
313
+ end
314
+ rescue TencentCloud::Common::TencentCloudSDKException => e
315
+ raise e
316
+ rescue StandardError => e
317
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
318
+ end
319
+
272
320
  # 获取探测节点列表接口
273
321
 
274
322
  # @param request: Request instance for DescribeDetectors.
@@ -365,6 +413,30 @@ module TencentCloud
365
413
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
414
  end
367
415
 
416
+ # 实例套餐列表
417
+
418
+ # @param request: Request instance for DescribeInstancePackageList.
419
+ # @type request: :class:`Tencentcloud::igtm::V20231024::DescribeInstancePackageListRequest`
420
+ # @rtype: :class:`Tencentcloud::igtm::V20231024::DescribeInstancePackageListResponse`
421
+ def DescribeInstancePackageList(request)
422
+ body = send_request('DescribeInstancePackageList', request.serialize)
423
+ response = JSON.parse(body)
424
+ if response['Response'].key?('Error') == false
425
+ model = DescribeInstancePackageListResponse.new
426
+ model.deserialize(response['Response'])
427
+ model
428
+ else
429
+ code = response['Response']['Error']['Code']
430
+ message = response['Response']['Error']['Message']
431
+ reqid = response['Response']['RequestId']
432
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
433
+ end
434
+ rescue TencentCloud::Common::TencentCloudSDKException => e
435
+ raise e
436
+ rescue StandardError => e
437
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
+ end
439
+
368
440
  # 查询监控器详情接口
369
441
 
370
442
  # @param request: Request instance for DescribeMonitorDetail.
@@ -21,28 +21,21 @@ module TencentCloud
21
21
  class Address < TencentCloud::Common::AbstractModel
22
22
  # @param Addr: 地址值:只支持ipv4、ipv6和域名格式;
23
23
  # 不支持回环地址、保留地址、内网地址与腾讯保留网段
24
- # 注意:此字段可能返回 null,表示取不到有效值。
25
24
  # @type Addr: String
26
25
  # @param IsEnable: 是否启用:DISABLED不启用;ENABLED启用
27
- # 注意:此字段可能返回 null,表示取不到有效值。
28
26
  # @type IsEnable: String
29
27
  # @param AddressId: 地址id
30
- # 注意:此字段可能返回 null,表示取不到有效值。
31
28
  # @type AddressId: Integer
32
29
  # @param Location: 地址名称
33
- # 注意:此字段可能返回 null,表示取不到有效值。
34
30
  # @type Location: String
35
31
  # @param Status: OK正常,DOWN故障,WARN风险,UNKNOWN探测中,UNMONITORED未知
36
- # 注意:此字段可能返回 null,表示取不到有效值。
37
32
  # @type Status: String
38
33
  # @param Weight: 权重,流量策略为WEIGHT时,必填;范围1-100
39
34
  # 注意:此字段可能返回 null,表示取不到有效值。
40
35
  # @type Weight: Integer
41
36
  # @param CreatedOn: 创建时间
42
- # 注意:此字段可能返回 null,表示取不到有效值。
43
37
  # @type CreatedOn: String
44
38
  # @param UpdatedOn: 修改时间
45
- # 注意:此字段可能返回 null,表示取不到有效值。
46
39
  # @type UpdatedOn: String
47
40
 
48
41
  attr_accessor :Addr, :IsEnable, :AddressId, :Location, :Status, :Weight, :CreatedOn, :UpdatedOn
@@ -73,10 +66,8 @@ module TencentCloud
73
66
  # 地址所属地域
74
67
  class AddressLocation < TencentCloud::Common::AbstractModel
75
68
  # @param Addr: ip地址
76
- # 注意:此字段可能返回 null,表示取不到有效值。
77
69
  # @type Addr: String
78
70
  # @param Location: 所属地域
79
- # 注意:此字段可能返回 null,表示取不到有效值。
80
71
  # @type Location: String
81
72
 
82
73
  attr_accessor :Addr, :Location
@@ -186,25 +177,19 @@ module TencentCloud
186
177
  # 地址池详情
187
178
  class AddressPoolDetail < TencentCloud::Common::AbstractModel
188
179
  # @param PoolId: 地址池 id
189
- # 注意:此字段可能返回 null,表示取不到有效值。
190
180
  # @type PoolId: Integer
191
181
  # @param PoolName: 地址池名
192
- # 注意:此字段可能返回 null,表示取不到有效值。
193
182
  # @type PoolName: String
194
183
  # @param AddrType: 地址池地址类型:IPV4、IPV6、DOMAIN
195
- # 注意:此字段可能返回 null,表示取不到有效值。
196
184
  # @type AddrType: String
197
185
  # @param TrafficStrategy: 流量策略: WEIGHT负载均衡,ALL解析全部
198
- # 注意:此字段可能返回 null,表示取不到有效值。
199
186
  # @type TrafficStrategy: String
200
187
  # @param MonitorId: 监控器id
201
188
  # 注意:此字段可能返回 null,表示取不到有效值。
202
189
  # @type MonitorId: Integer
203
190
  # @param CreatedOn: 创建时间
204
- # 注意:此字段可能返回 null,表示取不到有效值。
205
191
  # @type CreatedOn: String
206
192
  # @param UpdatedOn: 更新时间
207
- # 注意:此字段可能返回 null,表示取不到有效值。
208
193
  # @type UpdatedOn: String
209
194
 
210
195
  attr_accessor :PoolId, :PoolName, :AddrType, :TrafficStrategy, :MonitorId, :CreatedOn, :UpdatedOn
@@ -230,6 +215,26 @@ module TencentCloud
230
215
  end
231
216
  end
232
217
 
218
+ # 计费项
219
+ class CostItem < TencentCloud::Common::AbstractModel
220
+ # @param CostName: 计费项名称
221
+ # @type CostName: String
222
+ # @param CostValue: 计费项值
223
+ # @type CostValue: Integer
224
+
225
+ attr_accessor :CostName, :CostValue
226
+
227
+ def initialize(costname=nil, costvalue=nil)
228
+ @CostName = costname
229
+ @CostValue = costvalue
230
+ end
231
+
232
+ def deserialize(params)
233
+ @CostName = params['CostName']
234
+ @CostValue = params['CostValue']
235
+ end
236
+ end
237
+
233
238
  # CreateAddressPool请求参数结构体
234
239
  class CreateAddressPoolRequest < TencentCloud::Common::AbstractModel
235
240
  # @param PoolName: 地址池名称,不允许重复
@@ -811,6 +816,147 @@ module TencentCloud
811
816
  end
812
817
  end
813
818
 
819
+ # DescribeDetectPackageDetail请求参数结构体
820
+ class DescribeDetectPackageDetailRequest < TencentCloud::Common::AbstractModel
821
+ # @param ResourceId: 资源id
822
+ # @type ResourceId: String
823
+
824
+ attr_accessor :ResourceId
825
+
826
+ def initialize(resourceid=nil)
827
+ @ResourceId = resourceid
828
+ end
829
+
830
+ def deserialize(params)
831
+ @ResourceId = params['ResourceId']
832
+ end
833
+ end
834
+
835
+ # DescribeDetectPackageDetail返回参数结构体
836
+ class DescribeDetectPackageDetailResponse < TencentCloud::Common::AbstractModel
837
+ # @param ResourceId: 资源id
838
+ # @type ResourceId: String
839
+ # @param ResourceType: 资源类型 TASK 探测任务
840
+ # @type ResourceType: String
841
+ # @param Quota: 额度
842
+ # @type Quota: Integer
843
+ # @param CurrentDeadline: 过期时间
844
+ # @type CurrentDeadline: String
845
+ # @param CreateTime: 创建时间
846
+ # @type CreateTime: String
847
+ # @param IsExpire: 是否过期
848
+ # @type IsExpire: Integer
849
+ # @param Status: 状态 ENABLED: 正常 ISOLATED: 隔离 DESTROYED:销毁 REFUNDED:已退款
850
+ # @type Status: String
851
+ # @param AutoRenewFlag: 是否自动续费0不1是
852
+ # @type AutoRenewFlag: Integer
853
+ # @param Remark: 备注
854
+ # @type Remark: String
855
+ # @param CostItemList: 计费项
856
+ # @type CostItemList: Array
857
+ # @param UsedNum: 使用数量
858
+ # @type UsedNum: Integer
859
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
860
+ # @type RequestId: String
861
+
862
+ attr_accessor :ResourceId, :ResourceType, :Quota, :CurrentDeadline, :CreateTime, :IsExpire, :Status, :AutoRenewFlag, :Remark, :CostItemList, :UsedNum, :RequestId
863
+
864
+ def initialize(resourceid=nil, resourcetype=nil, quota=nil, currentdeadline=nil, createtime=nil, isexpire=nil, status=nil, autorenewflag=nil, remark=nil, costitemlist=nil, usednum=nil, requestid=nil)
865
+ @ResourceId = resourceid
866
+ @ResourceType = resourcetype
867
+ @Quota = quota
868
+ @CurrentDeadline = currentdeadline
869
+ @CreateTime = createtime
870
+ @IsExpire = isexpire
871
+ @Status = status
872
+ @AutoRenewFlag = autorenewflag
873
+ @Remark = remark
874
+ @CostItemList = costitemlist
875
+ @UsedNum = usednum
876
+ @RequestId = requestid
877
+ end
878
+
879
+ def deserialize(params)
880
+ @ResourceId = params['ResourceId']
881
+ @ResourceType = params['ResourceType']
882
+ @Quota = params['Quota']
883
+ @CurrentDeadline = params['CurrentDeadline']
884
+ @CreateTime = params['CreateTime']
885
+ @IsExpire = params['IsExpire']
886
+ @Status = params['Status']
887
+ @AutoRenewFlag = params['AutoRenewFlag']
888
+ @Remark = params['Remark']
889
+ unless params['CostItemList'].nil?
890
+ @CostItemList = []
891
+ params['CostItemList'].each do |i|
892
+ costitem_tmp = CostItem.new
893
+ costitem_tmp.deserialize(i)
894
+ @CostItemList << costitem_tmp
895
+ end
896
+ end
897
+ @UsedNum = params['UsedNum']
898
+ @RequestId = params['RequestId']
899
+ end
900
+ end
901
+
902
+ # DescribeDetectTaskPackageList请求参数结构体
903
+ class DescribeDetectTaskPackageListRequest < TencentCloud::Common::AbstractModel
904
+ # @param Limit: 每页条数
905
+ # @type Limit: Integer
906
+ # @param Filters: 探测任务过滤条件:ResourceId 探测任务的资源id,PeriodStart 最小过期时间,PeriodEnd 最大过期时间
907
+ # @type Filters: Array
908
+
909
+ attr_accessor :Limit, :Filters
910
+
911
+ def initialize(limit=nil, filters=nil)
912
+ @Limit = limit
913
+ @Filters = filters
914
+ end
915
+
916
+ def deserialize(params)
917
+ @Limit = params['Limit']
918
+ unless params['Filters'].nil?
919
+ @Filters = []
920
+ params['Filters'].each do |i|
921
+ resourcefilter_tmp = ResourceFilter.new
922
+ resourcefilter_tmp.deserialize(i)
923
+ @Filters << resourcefilter_tmp
924
+ end
925
+ end
926
+ end
927
+ end
928
+
929
+ # DescribeDetectTaskPackageList返回参数结构体
930
+ class DescribeDetectTaskPackageListResponse < TencentCloud::Common::AbstractModel
931
+ # @param TotalCount: 总数
932
+ # @type TotalCount: Integer
933
+ # @param TaskPackageSet: 探测任务套餐列表
934
+ # @type TaskPackageSet: Array
935
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
936
+ # @type RequestId: String
937
+
938
+ attr_accessor :TotalCount, :TaskPackageSet, :RequestId
939
+
940
+ def initialize(totalcount=nil, taskpackageset=nil, requestid=nil)
941
+ @TotalCount = totalcount
942
+ @TaskPackageSet = taskpackageset
943
+ @RequestId = requestid
944
+ end
945
+
946
+ def deserialize(params)
947
+ @TotalCount = params['TotalCount']
948
+ unless params['TaskPackageSet'].nil?
949
+ @TaskPackageSet = []
950
+ params['TaskPackageSet'].each do |i|
951
+ detecttaskpackage_tmp = DetectTaskPackage.new
952
+ detecttaskpackage_tmp.deserialize(i)
953
+ @TaskPackageSet << detecttaskpackage_tmp
954
+ end
955
+ end
956
+ @RequestId = params['RequestId']
957
+ end
958
+ end
959
+
814
960
  # DescribeDetectors请求参数结构体
815
961
  class DescribeDetectorsRequest < TencentCloud::Common::AbstractModel
816
962
 
@@ -995,6 +1141,68 @@ module TencentCloud
995
1141
  end
996
1142
  end
997
1143
 
1144
+ # DescribeInstancePackageList请求参数结构体
1145
+ class DescribeInstancePackageListRequest < TencentCloud::Common::AbstractModel
1146
+ # @param Limit: 每页条数
1147
+ # @type Limit: Integer
1148
+ # @param Filters: InstanceId实例Id,InstanceName实例名称,ResourceId套餐Id,PackageType套餐类型
1149
+ # @type Filters: Array
1150
+ # @param IsUsed: 是否使用:0未使用1已使用
1151
+ # @type IsUsed: Integer
1152
+
1153
+ attr_accessor :Limit, :Filters, :IsUsed
1154
+
1155
+ def initialize(limit=nil, filters=nil, isused=nil)
1156
+ @Limit = limit
1157
+ @Filters = filters
1158
+ @IsUsed = isused
1159
+ end
1160
+
1161
+ def deserialize(params)
1162
+ @Limit = params['Limit']
1163
+ unless params['Filters'].nil?
1164
+ @Filters = []
1165
+ params['Filters'].each do |i|
1166
+ resourcefilter_tmp = ResourceFilter.new
1167
+ resourcefilter_tmp.deserialize(i)
1168
+ @Filters << resourcefilter_tmp
1169
+ end
1170
+ end
1171
+ @IsUsed = params['IsUsed']
1172
+ end
1173
+ end
1174
+
1175
+ # DescribeInstancePackageList返回参数结构体
1176
+ class DescribeInstancePackageListResponse < TencentCloud::Common::AbstractModel
1177
+ # @param TotalCount: 总数
1178
+ # @type TotalCount: Integer
1179
+ # @param InstanceSet: 实例套餐列表
1180
+ # @type InstanceSet: Array
1181
+ # @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1182
+ # @type RequestId: String
1183
+
1184
+ attr_accessor :TotalCount, :InstanceSet, :RequestId
1185
+
1186
+ def initialize(totalcount=nil, instanceset=nil, requestid=nil)
1187
+ @TotalCount = totalcount
1188
+ @InstanceSet = instanceset
1189
+ @RequestId = requestid
1190
+ end
1191
+
1192
+ def deserialize(params)
1193
+ @TotalCount = params['TotalCount']
1194
+ unless params['InstanceSet'].nil?
1195
+ @InstanceSet = []
1196
+ params['InstanceSet'].each do |i|
1197
+ instancepackage_tmp = InstancePackage.new
1198
+ instancepackage_tmp.deserialize(i)
1199
+ @InstanceSet << instancepackage_tmp
1200
+ end
1201
+ end
1202
+ @RequestId = params['RequestId']
1203
+ end
1204
+ end
1205
+
998
1206
  # DescribeMonitorDetail请求参数结构体
999
1207
  class DescribeMonitorDetailRequest < TencentCloud::Common::AbstractModel
1000
1208
  # @param MonitorId: 监控器id
@@ -1242,6 +1450,75 @@ module TencentCloud
1242
1450
  end
1243
1451
  end
1244
1452
 
1453
+ # 探测任务套餐
1454
+ class DetectTaskPackage < TencentCloud::Common::AbstractModel
1455
+ # @param ResourceId: 资源id
1456
+ # @type ResourceId: String
1457
+ # @param ResourceType: 资源类型
1458
+ # TASK 探测任务
1459
+ # @type ResourceType: String
1460
+ # @param Quota: 额度
1461
+ # @type Quota: Integer
1462
+ # @param CurrentDeadline: 套餐过期时间
1463
+ # @type CurrentDeadline: String
1464
+ # @param CreateTime: 套餐创建时间
1465
+ # @type CreateTime: String
1466
+ # @param IsExpire: 是否过期0否1是
1467
+ # @type IsExpire: Integer
1468
+ # @param Status: 状态
1469
+ # ENABLED: 正常
1470
+ # ISOLATED: 隔离
1471
+ # DESTROYED:销毁
1472
+ # REFUNDED:已退款
1473
+ # @type Status: String
1474
+ # @param AutoRenewFlag: 是否自动续费0不1是
1475
+ # @type AutoRenewFlag: Integer
1476
+ # @param Remark: 备注
1477
+ # @type Remark: String
1478
+ # @param CostItemList: 计费项
1479
+ # @type CostItemList: Array
1480
+ # @param Group: 探测任务类型:100系统设定;200计费;300管理系统;110D监控迁移的免费任务;120容灾切换任务
1481
+ # 注意:此字段可能返回 null,表示取不到有效值。
1482
+ # @type Group: Integer
1483
+
1484
+ attr_accessor :ResourceId, :ResourceType, :Quota, :CurrentDeadline, :CreateTime, :IsExpire, :Status, :AutoRenewFlag, :Remark, :CostItemList, :Group
1485
+
1486
+ def initialize(resourceid=nil, resourcetype=nil, quota=nil, currentdeadline=nil, createtime=nil, isexpire=nil, status=nil, autorenewflag=nil, remark=nil, costitemlist=nil, group=nil)
1487
+ @ResourceId = resourceid
1488
+ @ResourceType = resourcetype
1489
+ @Quota = quota
1490
+ @CurrentDeadline = currentdeadline
1491
+ @CreateTime = createtime
1492
+ @IsExpire = isexpire
1493
+ @Status = status
1494
+ @AutoRenewFlag = autorenewflag
1495
+ @Remark = remark
1496
+ @CostItemList = costitemlist
1497
+ @Group = group
1498
+ end
1499
+
1500
+ def deserialize(params)
1501
+ @ResourceId = params['ResourceId']
1502
+ @ResourceType = params['ResourceType']
1503
+ @Quota = params['Quota']
1504
+ @CurrentDeadline = params['CurrentDeadline']
1505
+ @CreateTime = params['CreateTime']
1506
+ @IsExpire = params['IsExpire']
1507
+ @Status = params['Status']
1508
+ @AutoRenewFlag = params['AutoRenewFlag']
1509
+ @Remark = params['Remark']
1510
+ unless params['CostItemList'].nil?
1511
+ @CostItemList = []
1512
+ params['CostItemList'].each do |i|
1513
+ costitem_tmp = CostItem.new
1514
+ costitem_tmp.deserialize(i)
1515
+ @CostItemList << costitem_tmp
1516
+ end
1517
+ end
1518
+ @Group = params['Group']
1519
+ end
1520
+ end
1521
+
1245
1522
  # 探测组
1246
1523
  class DetectorGroup < TencentCloud::Common::AbstractModel
1247
1524
  # @param Gid: 线路组id GroupLineId
@@ -1278,28 +1555,20 @@ module TencentCloud
1278
1555
  # 线路列表
1279
1556
  class GroupLine < TencentCloud::Common::AbstractModel
1280
1557
  # @param DnsLineId: 分组线路id
1281
- # 注意:此字段可能返回 null,表示取不到有效值。
1282
1558
  # @type DnsLineId: Integer
1283
1559
  # @param Parent: 父节点 0为根节点
1284
- # 注意:此字段可能返回 null,表示取不到有效值。
1285
1560
  # @type Parent: Integer
1286
1561
  # @param LineName: 线路名
1287
- # 注意:此字段可能返回 null,表示取不到有效值。
1288
1562
  # @type LineName: String
1289
1563
  # @param LineId: 10=9 DNSPod 线路 id
1290
- # 注意:此字段可能返回 null,表示取不到有效值。
1291
1564
  # @type LineId: String
1292
1565
  # @param Useful: 是否已使用过
1293
- # 注意:此字段可能返回 null,表示取不到有效值。
1294
1566
  # @type Useful: Boolean
1295
1567
  # @param SubGroup: 0为未使用
1296
- # 注意:此字段可能返回 null,表示取不到有效值。
1297
1568
  # @type SubGroup: Integer
1298
1569
  # @param LinePackage: 权限标识
1299
- # 注意:此字段可能返回 null,表示取不到有效值。
1300
1570
  # @type LinePackage: Integer
1301
1571
  # @param Weight: 1
1302
- # 注意:此字段可能返回 null,表示取不到有效值。
1303
1572
  # @type Weight: Integer
1304
1573
 
1305
1574
  attr_accessor :DnsLineId, :Parent, :LineName, :LineId, :Useful, :SubGroup, :LinePackage, :Weight
@@ -1334,7 +1603,6 @@ module TencentCloud
1334
1603
  # @param InstanceName: 实例名
1335
1604
  # @type InstanceName: String
1336
1605
  # @param ResourceId: 资源 id
1337
- # 注意:此字段可能返回 null,表示取不到有效值。
1338
1606
  # @type ResourceId: String
1339
1607
  # @param Domain: 业务域名
1340
1608
  # @type Domain: String
@@ -1352,39 +1620,28 @@ module TencentCloud
1352
1620
  # FREE: 免费版
1353
1621
  # STANDARD:标准版
1354
1622
  # ULTIMATE:旗舰版
1355
- # 注意:此字段可能返回 null,表示取不到有效值。
1356
1623
  # @type PackageType: String
1357
1624
  # @param WorkingStatus: 实例运行状态
1358
1625
  # NORMAL: 健康
1359
1626
  # FAULTY: 有风险
1360
1627
  # DOWN: 宕机
1361
1628
  # UNKNOWN: 未知
1362
- # 注意:此字段可能返回 null,表示取不到有效值。
1363
1629
  # @type WorkingStatus: String
1364
- # @param Status: 实例状态
1365
- # ENABLED: 正常
1366
- # DISABLED: 禁用
1630
+ # @param Status: 实例状态,ENABLED: 正常,DISABLED: 禁用
1367
1631
  # @type Status: String
1368
1632
  # @param IsCnameConfigured: 是否cname接入:true已接入;false未接入
1369
- # 注意:此字段可能返回 null,表示取不到有效值。
1370
1633
  # @type IsCnameConfigured: Boolean
1371
1634
  # @param Remark: 备注
1372
- # 注意:此字段可能返回 null,表示取不到有效值。
1373
1635
  # @type Remark: String
1374
1636
  # @param StrategyNum: 策略数量
1375
- # 注意:此字段可能返回 null,表示取不到有效值。
1376
1637
  # @type StrategyNum: Integer
1377
1638
  # @param AddressPoolNum: 绑定地址池个数
1378
- # 注意:此字段可能返回 null,表示取不到有效值。
1379
1639
  # @type AddressPoolNum: Integer
1380
1640
  # @param MonitorNum: 绑定监控器数量
1381
- # 注意:此字段可能返回 null,表示取不到有效值。
1382
1641
  # @type MonitorNum: Integer
1383
1642
  # @param PoolId: 地址池id
1384
- # 注意:此字段可能返回 null,表示取不到有效值。
1385
1643
  # @type PoolId: Integer
1386
1644
  # @param PoolName: 地址池名称
1387
- # 注意:此字段可能返回 null,表示取不到有效值。
1388
1645
  # @type PoolName: String
1389
1646
  # @param CreatedOn: 实例创建时间
1390
1647
  # @type CreatedOn: String
@@ -1446,16 +1703,15 @@ module TencentCloud
1446
1703
  # @type InstanceName: String
1447
1704
  # @param Domain: 业务域名
1448
1705
  # @type Domain: String
1449
- # @param AccessType: CUSTOM: 自定义接入域名
1450
- # SYSTEM: 系统接入域名
1706
+ # @param AccessType: CUSTOM: 自定义接入域名,SYSTEM: 系统接入域名
1451
1707
  # @type AccessType: String
1452
1708
  # @param Remark: 备注
1453
1709
  # @type Remark: String
1454
1710
  # @param GlobalTtl: 全局记录过期时间
1455
1711
  # @type GlobalTtl: Integer
1456
- # @param AccessDomain: 接入主域名,自定义接入域名时必填
1712
+ # @param AccessDomain: 接入主域名
1457
1713
  # @type AccessDomain: String
1458
- # @param AccessSubDomain: 接入子域名,自定义接入域名时必填
1714
+ # @param AccessSubDomain: 接入子域名
1459
1715
  # @type AccessSubDomain: String
1460
1716
 
1461
1717
  attr_accessor :InstanceName, :Domain, :AccessType, :Remark, :GlobalTtl, :AccessDomain, :AccessSubDomain
@@ -1503,7 +1759,6 @@ module TencentCloud
1503
1759
  # FREE: 免费版
1504
1760
  # STANDARD:标准版
1505
1761
  # ULTIMATE:旗舰版
1506
- # 注意:此字段可能返回 null,表示取不到有效值。
1507
1762
  # @type PackageType: String
1508
1763
  # @param WorkingStatus: 实例运行状态
1509
1764
  # NORMAL: 健康
@@ -1511,15 +1766,11 @@ module TencentCloud
1511
1766
  # DOWN: 宕机
1512
1767
  # UNKNOWN: 未知
1513
1768
  # @type WorkingStatus: String
1514
- # @param Status: 实例状态
1515
- # ENABLED: 正常
1516
- # DISABLED: 禁用
1769
+ # @param Status: 实例状态,ENABLED: 正常;DISABLED: 禁用
1517
1770
  # @type Status: String
1518
1771
  # @param IsCnameConfigured: cname是否接入:true已接入;false未接入
1519
- # 注意:此字段可能返回 null,表示取不到有效值。
1520
1772
  # @type IsCnameConfigured: Boolean
1521
1773
  # @param Remark: 备注
1522
- # 注意:此字段可能返回 null,表示取不到有效值。
1523
1774
  # @type Remark: String
1524
1775
  # @param StrategyNum: 策略数量
1525
1776
  # @type StrategyNum: Integer
@@ -1528,7 +1779,6 @@ module TencentCloud
1528
1779
  # @param MonitorNum: 绑定监控器数量
1529
1780
  # @type MonitorNum: Integer
1530
1781
  # @param ResourceId: 实例绑定套餐资源id
1531
- # 注意:此字段可能返回 null,表示取不到有效值。
1532
1782
  # @type ResourceId: String
1533
1783
  # @param NotifyEventSet: 订阅事件列表
1534
1784
  # @type NotifyEventSet: Array
@@ -1587,10 +1837,8 @@ module TencentCloud
1587
1837
  # 实例相关信息
1588
1838
  class InstanceInfo < TencentCloud::Common::AbstractModel
1589
1839
  # @param InstanceId: 实例id
1590
- # 注意:此字段可能返回 null,表示取不到有效值。
1591
1840
  # @type InstanceId: String
1592
1841
  # @param InstanceName: 实例名称
1593
- # 注意:此字段可能返回 null,表示取不到有效值。
1594
1842
  # @type InstanceName: String
1595
1843
 
1596
1844
  attr_accessor :InstanceId, :InstanceName
@@ -1606,6 +1854,91 @@ module TencentCloud
1606
1854
  end
1607
1855
  end
1608
1856
 
1857
+ # 实例套餐
1858
+ class InstancePackage < TencentCloud::Common::AbstractModel
1859
+ # @param ResourceId: 实例套餐资源id
1860
+ # 注意:此字段可能返回 null,表示取不到有效值。
1861
+ # @type ResourceId: String
1862
+ # @param InstanceId: 实例id
1863
+ # @type InstanceId: String
1864
+ # @param InstanceName: 实例名
1865
+ # @type InstanceName: String
1866
+ # @param PackageType: 套餐类型
1867
+ # FREE: 免费版
1868
+ # STANDARD:标准版
1869
+ # ULTIMATE:旗舰版
1870
+ # @type PackageType: String
1871
+ # @param CurrentDeadline: 套餐过期时间
1872
+ # @type CurrentDeadline: String
1873
+ # @param CreateTime: 套餐创建时间
1874
+ # @type CreateTime: String
1875
+ # @param IsExpire: 是否过期0否1是
1876
+ # @type IsExpire: Integer
1877
+ # @param Status: 实例状态
1878
+ # ENABLED: 正常
1879
+ # DISABLED: 禁用
1880
+ # @type Status: String
1881
+ # @param AutoRenewFlag: 是否自动续费0不1是
1882
+ # @type AutoRenewFlag: Integer
1883
+ # @param Remark: 备注
1884
+ # @type Remark: String
1885
+ # @param CostItemList: 计费项
1886
+ # @type CostItemList: Array
1887
+ # @param MinCheckInterval: 最小检查间隔时间s
1888
+ # @type MinCheckInterval: Integer
1889
+ # @param MinGlobalTtl: 最小TTL s
1890
+ # @type MinGlobalTtl: Integer
1891
+ # @param TrafficStrategy: 流量策略类型:ALL返回全部,WEIGHT权重
1892
+ # @type TrafficStrategy: Array
1893
+ # @param ScheduleStrategy: 策略类型:LOCATION按地理位置调度,DELAY按延迟调度
1894
+ # @type ScheduleStrategy: Array
1895
+
1896
+ attr_accessor :ResourceId, :InstanceId, :InstanceName, :PackageType, :CurrentDeadline, :CreateTime, :IsExpire, :Status, :AutoRenewFlag, :Remark, :CostItemList, :MinCheckInterval, :MinGlobalTtl, :TrafficStrategy, :ScheduleStrategy
1897
+
1898
+ def initialize(resourceid=nil, instanceid=nil, instancename=nil, packagetype=nil, currentdeadline=nil, createtime=nil, isexpire=nil, status=nil, autorenewflag=nil, remark=nil, costitemlist=nil, mincheckinterval=nil, minglobalttl=nil, trafficstrategy=nil, schedulestrategy=nil)
1899
+ @ResourceId = resourceid
1900
+ @InstanceId = instanceid
1901
+ @InstanceName = instancename
1902
+ @PackageType = packagetype
1903
+ @CurrentDeadline = currentdeadline
1904
+ @CreateTime = createtime
1905
+ @IsExpire = isexpire
1906
+ @Status = status
1907
+ @AutoRenewFlag = autorenewflag
1908
+ @Remark = remark
1909
+ @CostItemList = costitemlist
1910
+ @MinCheckInterval = mincheckinterval
1911
+ @MinGlobalTtl = minglobalttl
1912
+ @TrafficStrategy = trafficstrategy
1913
+ @ScheduleStrategy = schedulestrategy
1914
+ end
1915
+
1916
+ def deserialize(params)
1917
+ @ResourceId = params['ResourceId']
1918
+ @InstanceId = params['InstanceId']
1919
+ @InstanceName = params['InstanceName']
1920
+ @PackageType = params['PackageType']
1921
+ @CurrentDeadline = params['CurrentDeadline']
1922
+ @CreateTime = params['CreateTime']
1923
+ @IsExpire = params['IsExpire']
1924
+ @Status = params['Status']
1925
+ @AutoRenewFlag = params['AutoRenewFlag']
1926
+ @Remark = params['Remark']
1927
+ unless params['CostItemList'].nil?
1928
+ @CostItemList = []
1929
+ params['CostItemList'].each do |i|
1930
+ costitem_tmp = CostItem.new
1931
+ costitem_tmp.deserialize(i)
1932
+ @CostItemList << costitem_tmp
1933
+ end
1934
+ end
1935
+ @MinCheckInterval = params['MinCheckInterval']
1936
+ @MinGlobalTtl = params['MinGlobalTtl']
1937
+ @TrafficStrategy = params['TrafficStrategy']
1938
+ @ScheduleStrategy = params['ScheduleStrategy']
1939
+ end
1940
+ end
1941
+
1609
1942
  # 主力地址池
1610
1943
  class MainAddressPool < TencentCloud::Common::AbstractModel
1611
1944
  # @param AddressPools: 集合中的地址池id与权重,数组
@@ -1648,7 +1981,6 @@ module TencentCloud
1648
1981
  # 主力地址池id与权重
1649
1982
  class MainPoolWeight < TencentCloud::Common::AbstractModel
1650
1983
  # @param PoolId: 地址池id
1651
- # 注意:此字段可能返回 null,表示取不到有效值。
1652
1984
  # @type PoolId: Integer
1653
1985
  # @param Weight: 权重
1654
1986
  # 注意:此字段可能返回 null,表示取不到有效值。
@@ -1969,69 +2301,48 @@ module TencentCloud
1969
2301
  # @param MonitorId: 探测规则id
1970
2302
  # @type MonitorId: Integer
1971
2303
  # @param MonitorName: 监控器名称
1972
- # 注意:此字段可能返回 null,表示取不到有效值。
1973
2304
  # @type MonitorName: String
1974
2305
  # @param Uin: 所属用户
1975
- # 注意:此字段可能返回 null,表示取不到有效值。
1976
2306
  # @type Uin: String
1977
2307
  # @param DetectorGroupIds: 监控节点id组
1978
- # 注意:此字段可能返回 null,表示取不到有效值。
1979
2308
  # @type DetectorGroupIds: Array
1980
2309
  # @param CheckProtocol: 探测协议 PING TCP HTTP HTTPS
1981
- # 注意:此字段可能返回 null,表示取不到有效值。
1982
2310
  # @type CheckProtocol: String
1983
2311
  # @param CheckInterval: 探测周期
1984
- # 注意:此字段可能返回 null,表示取不到有效值。
1985
2312
  # @type CheckInterval: Integer
1986
2313
  # @param PingNum: 发包数量
1987
- # 注意:此字段可能返回 null,表示取不到有效值。
1988
2314
  # @type PingNum: Integer
1989
2315
  # @param TcpPort: tcp端口
1990
- # 注意:此字段可能返回 null,表示取不到有效值。
1991
2316
  # @type TcpPort: Integer
1992
2317
  # @param Host: 探测 host
1993
- # 注意:此字段可能返回 null,表示取不到有效值。
1994
2318
  # @type Host: String
1995
2319
  # @param Path: 探测路径
1996
- # 注意:此字段可能返回 null,表示取不到有效值。
1997
2320
  # @type Path: String
1998
2321
  # @param ReturnCodeThreshold: 返回值阈值
1999
- # 注意:此字段可能返回 null,表示取不到有效值。
2000
2322
  # @type ReturnCodeThreshold: Integer
2001
2323
  # @param EnableRedirect: 是否开启3xx重定向跟随 ENABLED DISABLED
2002
- # 注意:此字段可能返回 null,表示取不到有效值。
2003
2324
  # @type EnableRedirect: String
2004
2325
  # @param EnableSni: 是否启用 sni
2005
2326
  # ENABLED DISABLED
2006
- # 注意:此字段可能返回 null,表示取不到有效值。
2007
2327
  # @type EnableSni: String
2008
2328
  # @param PacketLossRate: 丢包率上限
2009
- # 注意:此字段可能返回 null,表示取不到有效值。
2010
2329
  # @type PacketLossRate: Integer
2011
2330
  # @param Timeout: 探测超时
2012
- # 注意:此字段可能返回 null,表示取不到有效值。
2013
2331
  # @type Timeout: Integer
2014
2332
  # @param FailTimes: 失败次数
2015
- # 注意:此字段可能返回 null,表示取不到有效值。
2016
2333
  # @type FailTimes: Integer
2017
2334
  # @param FailRate: 失败率上限100
2018
- # 注意:此字段可能返回 null,表示取不到有效值。
2019
2335
  # @type FailRate: Integer
2020
2336
  # @param CreatedOn: 创建时间
2021
- # 注意:此字段可能返回 null,表示取不到有效值。
2022
2337
  # @type CreatedOn: String
2023
2338
  # @param UpdatedOn: 更新时间
2024
- # 注意:此字段可能返回 null,表示取不到有效值。
2025
2339
  # @type UpdatedOn: String
2026
2340
  # @param DetectorStyle: 监控节点类型
2027
2341
  # AUTO INTERNAL OVERSEAS IPV6 ALL
2028
- # 注意:此字段可能返回 null,表示取不到有效值。
2029
2342
  # @type DetectorStyle: String
2030
2343
  # @param DetectNum: 探测次数
2031
- # 注意:此字段可能返回 null,表示取不到有效值。
2032
2344
  # @type DetectNum: Integer
2033
2345
  # @param ContinuePeriod: 持续周期数
2034
- # 注意:此字段可能返回 null,表示取不到有效值。
2035
2346
  # @type ContinuePeriod: Integer
2036
2347
 
2037
2348
  attr_accessor :MonitorId, :MonitorName, :Uin, :DetectorGroupIds, :CheckProtocol, :CheckInterval, :PingNum, :TcpPort, :Host, :Path, :ReturnCodeThreshold, :EnableRedirect, :EnableSni, :PacketLossRate, :Timeout, :FailTimes, :FailRate, :CreatedOn, :UpdatedOn, :DetectorStyle, :DetectNum, :ContinuePeriod
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-igtm
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1094
4
+ version: 3.0.1103
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-05 00:00:00.000000000 Z
11
+ date: 2025-07-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common