tencentcloud-sdk-monitor 1.0.340 → 1.0.341

Sign up to get free protection for your applications and to get access to all the features.
@@ -695,6 +695,42 @@ module TencentCloud
695
695
  end
696
696
  end
697
697
 
698
+ # BindPrometheusManagedGrafana请求参数结构体
699
+ class BindPrometheusManagedGrafanaRequest < TencentCloud::Common::AbstractModel
700
+ # @param InstanceId: Prometheus 实例 ID
701
+ # @type InstanceId: String
702
+ # @param GrafanaId: Grafana 可视化服务实例 ID
703
+ # @type GrafanaId: String
704
+
705
+ attr_accessor :InstanceId, :GrafanaId
706
+
707
+ def initialize(instanceid=nil, grafanaid=nil)
708
+ @InstanceId = instanceid
709
+ @GrafanaId = grafanaid
710
+ end
711
+
712
+ def deserialize(params)
713
+ @InstanceId = params['InstanceId']
714
+ @GrafanaId = params['GrafanaId']
715
+ end
716
+ end
717
+
718
+ # BindPrometheusManagedGrafana返回参数结构体
719
+ class BindPrometheusManagedGrafanaResponse < TencentCloud::Common::AbstractModel
720
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
721
+ # @type RequestId: String
722
+
723
+ attr_accessor :RequestId
724
+
725
+ def initialize(requestid=nil)
726
+ @RequestId = requestid
727
+ end
728
+
729
+ def deserialize(params)
730
+ @RequestId = params['RequestId']
731
+ end
732
+ end
733
+
698
734
  # 策略绑定实例维度信息
699
735
  class BindingPolicyObjectDimension < TencentCloud::Common::AbstractModel
700
736
  # @param Region: 地域名
@@ -1282,6 +1318,57 @@ module TencentCloud
1282
1318
  end
1283
1319
  end
1284
1320
 
1321
+ # CreateExporterIntegration请求参数结构体
1322
+ class CreateExporterIntegrationRequest < TencentCloud::Common::AbstractModel
1323
+ # @param InstanceId: 实例 ID
1324
+ # @type InstanceId: String
1325
+ # @param KubeType: Kubernetes 集群类型,取值如下:
1326
+ # <li> 1= 容器集群(TKE) </li>
1327
+ # <li> 2=弹性集群<EKS> </li>
1328
+ # <li> 3= Prometheus管理的弹性集群<MEKS> </li>
1329
+ # @type KubeType: Integer
1330
+ # @param ClusterId: 集群 ID
1331
+ # @type ClusterId: String
1332
+ # @param Kind: 类型
1333
+ # @type Kind: String
1334
+ # @param Content: 集成配置
1335
+ # @type Content: String
1336
+
1337
+ attr_accessor :InstanceId, :KubeType, :ClusterId, :Kind, :Content
1338
+
1339
+ def initialize(instanceid=nil, kubetype=nil, clusterid=nil, kind=nil, content=nil)
1340
+ @InstanceId = instanceid
1341
+ @KubeType = kubetype
1342
+ @ClusterId = clusterid
1343
+ @Kind = kind
1344
+ @Content = content
1345
+ end
1346
+
1347
+ def deserialize(params)
1348
+ @InstanceId = params['InstanceId']
1349
+ @KubeType = params['KubeType']
1350
+ @ClusterId = params['ClusterId']
1351
+ @Kind = params['Kind']
1352
+ @Content = params['Content']
1353
+ end
1354
+ end
1355
+
1356
+ # CreateExporterIntegration返回参数结构体
1357
+ class CreateExporterIntegrationResponse < TencentCloud::Common::AbstractModel
1358
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1359
+ # @type RequestId: String
1360
+
1361
+ attr_accessor :RequestId
1362
+
1363
+ def initialize(requestid=nil)
1364
+ @RequestId = requestid
1365
+ end
1366
+
1367
+ def deserialize(params)
1368
+ @RequestId = params['RequestId']
1369
+ end
1370
+ end
1371
+
1285
1372
  # 创建策略传入的阈值告警条件
1286
1373
  class CreatePolicyGroupCondition < TencentCloud::Common::AbstractModel
1287
1374
  # @param MetricId: 指标Id
@@ -1448,6 +1535,82 @@ module TencentCloud
1448
1535
  end
1449
1536
  end
1450
1537
 
1538
+ # CreatePrometheusAgent请求参数结构体
1539
+ class CreatePrometheusAgentRequest < TencentCloud::Common::AbstractModel
1540
+ # @param InstanceId: 实例 ID
1541
+ # @type InstanceId: String
1542
+ # @param Name: Agent 名称
1543
+ # @type Name: String
1544
+
1545
+ attr_accessor :InstanceId, :Name
1546
+
1547
+ def initialize(instanceid=nil, name=nil)
1548
+ @InstanceId = instanceid
1549
+ @Name = name
1550
+ end
1551
+
1552
+ def deserialize(params)
1553
+ @InstanceId = params['InstanceId']
1554
+ @Name = params['Name']
1555
+ end
1556
+ end
1557
+
1558
+ # CreatePrometheusAgent返回参数结构体
1559
+ class CreatePrometheusAgentResponse < TencentCloud::Common::AbstractModel
1560
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1561
+ # @type RequestId: String
1562
+
1563
+ attr_accessor :RequestId
1564
+
1565
+ def initialize(requestid=nil)
1566
+ @RequestId = requestid
1567
+ end
1568
+
1569
+ def deserialize(params)
1570
+ @RequestId = params['RequestId']
1571
+ end
1572
+ end
1573
+
1574
+ # CreatePrometheusScrapeJob请求参数结构体
1575
+ class CreatePrometheusScrapeJobRequest < TencentCloud::Common::AbstractModel
1576
+ # @param InstanceId: 实例 ID
1577
+ # @type InstanceId: String
1578
+ # @param AgentId: Agent ID
1579
+ # @type AgentId: String
1580
+ # @param Config: 任务内容
1581
+ # @type Config: String
1582
+
1583
+ attr_accessor :InstanceId, :AgentId, :Config
1584
+
1585
+ def initialize(instanceid=nil, agentid=nil, config=nil)
1586
+ @InstanceId = instanceid
1587
+ @AgentId = agentid
1588
+ @Config = config
1589
+ end
1590
+
1591
+ def deserialize(params)
1592
+ @InstanceId = params['InstanceId']
1593
+ @AgentId = params['AgentId']
1594
+ @Config = params['Config']
1595
+ end
1596
+ end
1597
+
1598
+ # CreatePrometheusScrapeJob返回参数结构体
1599
+ class CreatePrometheusScrapeJobResponse < TencentCloud::Common::AbstractModel
1600
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1601
+ # @type RequestId: String
1602
+
1603
+ attr_accessor :RequestId
1604
+
1605
+ def initialize(requestid=nil)
1606
+ @RequestId = requestid
1607
+ end
1608
+
1609
+ def deserialize(params)
1610
+ @RequestId = params['RequestId']
1611
+ end
1612
+ end
1613
+
1451
1614
  # CreateServiceDiscovery请求参数结构体
1452
1615
  class CreateServiceDiscoveryRequest < TencentCloud::Common::AbstractModel
1453
1616
  # @param InstanceId: Prometheus 实例 ID
@@ -1646,6 +1809,57 @@ module TencentCloud
1646
1809
  end
1647
1810
  end
1648
1811
 
1812
+ # DeleteExporterIntegration请求参数结构体
1813
+ class DeleteExporterIntegrationRequest < TencentCloud::Common::AbstractModel
1814
+ # @param InstanceId: 实例 ID
1815
+ # @type InstanceId: String
1816
+ # @param KubeType: Kubernetes 集群类型,取值如下:
1817
+ # <li> 1= 容器集群(TKE) </li>
1818
+ # <li> 2=弹性集群<EKS> </li>
1819
+ # <li> 3= Prometheus管理的弹性集群<MEKS> </li>
1820
+ # @type KubeType: Integer
1821
+ # @param ClusterId: 集群 ID
1822
+ # @type ClusterId: String
1823
+ # @param Kind: 类型
1824
+ # @type Kind: String
1825
+ # @param Name: 名字
1826
+ # @type Name: String
1827
+
1828
+ attr_accessor :InstanceId, :KubeType, :ClusterId, :Kind, :Name
1829
+
1830
+ def initialize(instanceid=nil, kubetype=nil, clusterid=nil, kind=nil, name=nil)
1831
+ @InstanceId = instanceid
1832
+ @KubeType = kubetype
1833
+ @ClusterId = clusterid
1834
+ @Kind = kind
1835
+ @Name = name
1836
+ end
1837
+
1838
+ def deserialize(params)
1839
+ @InstanceId = params['InstanceId']
1840
+ @KubeType = params['KubeType']
1841
+ @ClusterId = params['ClusterId']
1842
+ @Kind = params['Kind']
1843
+ @Name = params['Name']
1844
+ end
1845
+ end
1846
+
1847
+ # DeleteExporterIntegration返回参数结构体
1848
+ class DeleteExporterIntegrationResponse < TencentCloud::Common::AbstractModel
1849
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1850
+ # @type RequestId: String
1851
+
1852
+ attr_accessor :RequestId
1853
+
1854
+ def initialize(requestid=nil)
1855
+ @RequestId = requestid
1856
+ end
1857
+
1858
+ def deserialize(params)
1859
+ @RequestId = params['RequestId']
1860
+ end
1861
+ end
1862
+
1649
1863
  # DeletePolicyGroup请求参数结构体
1650
1864
  class DeletePolicyGroupRequest < TencentCloud::Common::AbstractModel
1651
1865
  # @param Module: 固定值,为"monitor"
@@ -1682,6 +1896,46 @@ module TencentCloud
1682
1896
  end
1683
1897
  end
1684
1898
 
1899
+ # DeletePrometheusScrapeJobs请求参数结构体
1900
+ class DeletePrometheusScrapeJobsRequest < TencentCloud::Common::AbstractModel
1901
+ # @param InstanceId: 实例 ID
1902
+ # @type InstanceId: String
1903
+ # @param AgentId: Agent ID
1904
+ # @type AgentId: String
1905
+ # @param JobIds: 任务 ID 列表
1906
+ # @type JobIds: Array
1907
+
1908
+ attr_accessor :InstanceId, :AgentId, :JobIds
1909
+
1910
+ def initialize(instanceid=nil, agentid=nil, jobids=nil)
1911
+ @InstanceId = instanceid
1912
+ @AgentId = agentid
1913
+ @JobIds = jobids
1914
+ end
1915
+
1916
+ def deserialize(params)
1917
+ @InstanceId = params['InstanceId']
1918
+ @AgentId = params['AgentId']
1919
+ @JobIds = params['JobIds']
1920
+ end
1921
+ end
1922
+
1923
+ # DeletePrometheusScrapeJobs返回参数结构体
1924
+ class DeletePrometheusScrapeJobsResponse < TencentCloud::Common::AbstractModel
1925
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1926
+ # @type RequestId: String
1927
+
1928
+ attr_accessor :RequestId
1929
+
1930
+ def initialize(requestid=nil)
1931
+ @RequestId = requestid
1932
+ end
1933
+
1934
+ def deserialize(params)
1935
+ @RequestId = params['RequestId']
1936
+ end
1937
+ end
1938
+
1685
1939
  # DeleteServiceDiscovery请求参数结构体
1686
1940
  class DeleteServiceDiscoveryRequest < TencentCloud::Common::AbstractModel
1687
1941
  # @param InstanceId: Prometheus 实例 ID
@@ -3147,6 +3401,68 @@ module TencentCloud
3147
3401
  end
3148
3402
  end
3149
3403
 
3404
+ # DescribeExporterIntegrations请求参数结构体
3405
+ class DescribeExporterIntegrationsRequest < TencentCloud::Common::AbstractModel
3406
+ # @param InstanceId: 实例 ID
3407
+ # @type InstanceId: String
3408
+ # @param KubeType: Kubernetes 集群类型,取值如下:
3409
+ # <li> 1= 容器集群(TKE) </li>
3410
+ # <li> 2=弹性集群<EKS> </li>
3411
+ # <li> 3= Prometheus管理的弹性集群<MEKS> </li>
3412
+ # @type KubeType: Integer
3413
+ # @param ClusterId: 集群 ID
3414
+ # @type ClusterId: String
3415
+ # @param Kind: 类型
3416
+ # @type Kind: String
3417
+ # @param Name: 名字
3418
+ # @type Name: String
3419
+
3420
+ attr_accessor :InstanceId, :KubeType, :ClusterId, :Kind, :Name
3421
+
3422
+ def initialize(instanceid=nil, kubetype=nil, clusterid=nil, kind=nil, name=nil)
3423
+ @InstanceId = instanceid
3424
+ @KubeType = kubetype
3425
+ @ClusterId = clusterid
3426
+ @Kind = kind
3427
+ @Name = name
3428
+ end
3429
+
3430
+ def deserialize(params)
3431
+ @InstanceId = params['InstanceId']
3432
+ @KubeType = params['KubeType']
3433
+ @ClusterId = params['ClusterId']
3434
+ @Kind = params['Kind']
3435
+ @Name = params['Name']
3436
+ end
3437
+ end
3438
+
3439
+ # DescribeExporterIntegrations返回参数结构体
3440
+ class DescribeExporterIntegrationsResponse < TencentCloud::Common::AbstractModel
3441
+ # @param IntegrationSet: 集成配置列表
3442
+ # @type IntegrationSet: Array
3443
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3444
+ # @type RequestId: String
3445
+
3446
+ attr_accessor :IntegrationSet, :RequestId
3447
+
3448
+ def initialize(integrationset=nil, requestid=nil)
3449
+ @IntegrationSet = integrationset
3450
+ @RequestId = requestid
3451
+ end
3452
+
3453
+ def deserialize(params)
3454
+ unless params['IntegrationSet'].nil?
3455
+ @IntegrationSet = []
3456
+ params['IntegrationSet'].each do |i|
3457
+ integrationconfiguration_tmp = IntegrationConfiguration.new
3458
+ integrationconfiguration_tmp.deserialize(i)
3459
+ @IntegrationSet << integrationconfiguration_tmp
3460
+ end
3461
+ end
3462
+ @RequestId = params['RequestId']
3463
+ end
3464
+ end
3465
+
3150
3466
  # DescribeMonitorTypes请求参数结构体
3151
3467
  class DescribeMonitorTypesRequest < TencentCloud::Common::AbstractModel
3152
3468
  # @param Module: 模块名,固定值 monitor
@@ -4652,6 +4968,70 @@ module TencentCloud
4652
4968
  end
4653
4969
  end
4654
4970
 
4971
+ # DescribePrometheusAgents请求参数结构体
4972
+ class DescribePrometheusAgentsRequest < TencentCloud::Common::AbstractModel
4973
+ # @param InstanceId: 实例 ID
4974
+ # @type InstanceId: String
4975
+ # @param Name: Agent 名称
4976
+ # @type Name: String
4977
+ # @param AgentIds: Agent ID 列表
4978
+ # @type AgentIds: Array
4979
+ # @param Offset: 偏移量,默认为0
4980
+ # @type Offset: Integer
4981
+ # @param Limit: 返回数量,默认为20,最大值为100
4982
+ # @type Limit: Integer
4983
+
4984
+ attr_accessor :InstanceId, :Name, :AgentIds, :Offset, :Limit
4985
+
4986
+ def initialize(instanceid=nil, name=nil, agentids=nil, offset=nil, limit=nil)
4987
+ @InstanceId = instanceid
4988
+ @Name = name
4989
+ @AgentIds = agentids
4990
+ @Offset = offset
4991
+ @Limit = limit
4992
+ end
4993
+
4994
+ def deserialize(params)
4995
+ @InstanceId = params['InstanceId']
4996
+ @Name = params['Name']
4997
+ @AgentIds = params['AgentIds']
4998
+ @Offset = params['Offset']
4999
+ @Limit = params['Limit']
5000
+ end
5001
+ end
5002
+
5003
+ # DescribePrometheusAgents返回参数结构体
5004
+ class DescribePrometheusAgentsResponse < TencentCloud::Common::AbstractModel
5005
+ # @param AgentSet: Agent 列表
5006
+ # 注意:此字段可能返回 null,表示取不到有效值。
5007
+ # @type AgentSet: Array
5008
+ # @param TotalCount: Agent 总量
5009
+ # @type TotalCount: Integer
5010
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5011
+ # @type RequestId: String
5012
+
5013
+ attr_accessor :AgentSet, :TotalCount, :RequestId
5014
+
5015
+ def initialize(agentset=nil, totalcount=nil, requestid=nil)
5016
+ @AgentSet = agentset
5017
+ @TotalCount = totalcount
5018
+ @RequestId = requestid
5019
+ end
5020
+
5021
+ def deserialize(params)
5022
+ unless params['AgentSet'].nil?
5023
+ @AgentSet = []
5024
+ params['AgentSet'].each do |i|
5025
+ prometheusagent_tmp = PrometheusAgent.new
5026
+ prometheusagent_tmp.deserialize(i)
5027
+ @AgentSet << prometheusagent_tmp
5028
+ end
5029
+ end
5030
+ @TotalCount = params['TotalCount']
5031
+ @RequestId = params['RequestId']
5032
+ end
5033
+ end
5034
+
4655
5035
  # DescribePrometheusInstances请求参数结构体
4656
5036
  class DescribePrometheusInstancesRequest < TencentCloud::Common::AbstractModel
4657
5037
  # @param InstanceIds: 按照一个或者多个实例ID查询。实例ID形如:prom-xxxxxxxx。请求的实例的上限为100。
@@ -4751,16 +5131,84 @@ module TencentCloud
4751
5131
  end
4752
5132
  end
4753
5133
 
4754
- # DescribeServiceDiscovery请求参数结构体
4755
- class DescribeServiceDiscoveryRequest < TencentCloud::Common::AbstractModel
4756
- # @param InstanceId: Prometheus 实例 ID
5134
+ # DescribePrometheusScrapeJobs请求参数结构体
5135
+ class DescribePrometheusScrapeJobsRequest < TencentCloud::Common::AbstractModel
5136
+ # @param InstanceId: 实例 ID
4757
5137
  # @type InstanceId: String
4758
- # @param KubeClusterId: <li>类型是 TKE,为对应的腾讯云容器服务集群 ID</li>
4759
- # @type KubeClusterId: String
4760
- # @param KubeType: 用户 Kubernetes 集群类型:
4761
- # <li> 1 = 容器服务集群(TKE) </li>
4762
- # @type KubeType: Integer
4763
-
5138
+ # @param AgentId: Agent ID
5139
+ # @type AgentId: String
5140
+ # @param Name: 任务名
5141
+ # @type Name: String
5142
+ # @param JobIds: 任务 ID 列表
5143
+ # @type JobIds: Array
5144
+ # @param Offset: 偏移量,默认为0
5145
+ # @type Offset: Integer
5146
+ # @param Limit: 返回数量,默认为20,最大值为100
5147
+ # @type Limit: Integer
5148
+
5149
+ attr_accessor :InstanceId, :AgentId, :Name, :JobIds, :Offset, :Limit
5150
+
5151
+ def initialize(instanceid=nil, agentid=nil, name=nil, jobids=nil, offset=nil, limit=nil)
5152
+ @InstanceId = instanceid
5153
+ @AgentId = agentid
5154
+ @Name = name
5155
+ @JobIds = jobids
5156
+ @Offset = offset
5157
+ @Limit = limit
5158
+ end
5159
+
5160
+ def deserialize(params)
5161
+ @InstanceId = params['InstanceId']
5162
+ @AgentId = params['AgentId']
5163
+ @Name = params['Name']
5164
+ @JobIds = params['JobIds']
5165
+ @Offset = params['Offset']
5166
+ @Limit = params['Limit']
5167
+ end
5168
+ end
5169
+
5170
+ # DescribePrometheusScrapeJobs返回参数结构体
5171
+ class DescribePrometheusScrapeJobsResponse < TencentCloud::Common::AbstractModel
5172
+ # @param ScrapeJobSet: 任务列表
5173
+ # 注意:此字段可能返回 null,表示取不到有效值。
5174
+ # @type ScrapeJobSet: Array
5175
+ # @param TotalCount: 任务总量
5176
+ # @type TotalCount: Integer
5177
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5178
+ # @type RequestId: String
5179
+
5180
+ attr_accessor :ScrapeJobSet, :TotalCount, :RequestId
5181
+
5182
+ def initialize(scrapejobset=nil, totalcount=nil, requestid=nil)
5183
+ @ScrapeJobSet = scrapejobset
5184
+ @TotalCount = totalcount
5185
+ @RequestId = requestid
5186
+ end
5187
+
5188
+ def deserialize(params)
5189
+ unless params['ScrapeJobSet'].nil?
5190
+ @ScrapeJobSet = []
5191
+ params['ScrapeJobSet'].each do |i|
5192
+ prometheusscrapejob_tmp = PrometheusScrapeJob.new
5193
+ prometheusscrapejob_tmp.deserialize(i)
5194
+ @ScrapeJobSet << prometheusscrapejob_tmp
5195
+ end
5196
+ end
5197
+ @TotalCount = params['TotalCount']
5198
+ @RequestId = params['RequestId']
5199
+ end
5200
+ end
5201
+
5202
+ # DescribeServiceDiscovery请求参数结构体
5203
+ class DescribeServiceDiscoveryRequest < TencentCloud::Common::AbstractModel
5204
+ # @param InstanceId: Prometheus 实例 ID
5205
+ # @type InstanceId: String
5206
+ # @param KubeClusterId: <li>类型是 TKE,为对应的腾讯云容器服务集群 ID</li>
5207
+ # @type KubeClusterId: String
5208
+ # @param KubeType: 用户 Kubernetes 集群类型:
5209
+ # <li> 1 = 容器服务集群(TKE) </li>
5210
+ # @type KubeType: Integer
5211
+
4764
5212
  attr_accessor :InstanceId, :KubeClusterId, :KubeType
4765
5213
 
4766
5214
  def initialize(instanceid=nil, kubeclusterid=nil, kubetype=nil)
@@ -4899,6 +5347,38 @@ module TencentCloud
4899
5347
  end
4900
5348
  end
4901
5349
 
5350
+ # DestroyPrometheusInstance请求参数结构体
5351
+ class DestroyPrometheusInstanceRequest < TencentCloud::Common::AbstractModel
5352
+ # @param InstanceId: 实例 ID,该实例必须先被 terminate
5353
+ # @type InstanceId: String
5354
+
5355
+ attr_accessor :InstanceId
5356
+
5357
+ def initialize(instanceid=nil)
5358
+ @InstanceId = instanceid
5359
+ end
5360
+
5361
+ def deserialize(params)
5362
+ @InstanceId = params['InstanceId']
5363
+ end
5364
+ end
5365
+
5366
+ # DestroyPrometheusInstance返回参数结构体
5367
+ class DestroyPrometheusInstanceResponse < TencentCloud::Common::AbstractModel
5368
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5369
+ # @type RequestId: String
5370
+
5371
+ attr_accessor :RequestId
5372
+
5373
+ def initialize(requestid=nil)
5374
+ @RequestId = requestid
5375
+ end
5376
+
5377
+ def deserialize(params)
5378
+ @RequestId = params['RequestId']
5379
+ end
5380
+ end
5381
+
4902
5382
  # 实例对象的维度组合
4903
5383
  class Dimension < TencentCloud::Common::AbstractModel
4904
5384
  # @param Name: 实例维度名称
@@ -5055,6 +5535,49 @@ module TencentCloud
5055
5535
  end
5056
5536
  end
5057
5537
 
5538
+ # GetPrometheusAgentManagementCommand请求参数结构体
5539
+ class GetPrometheusAgentManagementCommandRequest < TencentCloud::Common::AbstractModel
5540
+ # @param InstanceId: Prometheus 实例 ID
5541
+ # @type InstanceId: String
5542
+ # @param AgentId: Prometheus Agent ID
5543
+ # @type AgentId: String
5544
+
5545
+ attr_accessor :InstanceId, :AgentId
5546
+
5547
+ def initialize(instanceid=nil, agentid=nil)
5548
+ @InstanceId = instanceid
5549
+ @AgentId = agentid
5550
+ end
5551
+
5552
+ def deserialize(params)
5553
+ @InstanceId = params['InstanceId']
5554
+ @AgentId = params['AgentId']
5555
+ end
5556
+ end
5557
+
5558
+ # GetPrometheusAgentManagementCommand返回参数结构体
5559
+ class GetPrometheusAgentManagementCommandResponse < TencentCloud::Common::AbstractModel
5560
+ # @param Command: Agent 管理命令
5561
+ # @type Command: :class:`Tencentcloud::Monitor.v20180724.models.ManagementCommand`
5562
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5563
+ # @type RequestId: String
5564
+
5565
+ attr_accessor :Command, :RequestId
5566
+
5567
+ def initialize(command=nil, requestid=nil)
5568
+ @Command = command
5569
+ @RequestId = requestid
5570
+ end
5571
+
5572
+ def deserialize(params)
5573
+ unless params['Command'].nil?
5574
+ @Command = ManagementCommand.new
5575
+ @Command.deserialize(params['Command'])
5576
+ end
5577
+ @RequestId = params['RequestId']
5578
+ end
5579
+ end
5580
+
5058
5581
  # 实例维度组合数组
5059
5582
  class Instance < TencentCloud::Common::AbstractModel
5060
5583
  # @param Dimensions: 实例的维度组合
@@ -5120,6 +5643,83 @@ module TencentCloud
5120
5643
  end
5121
5644
  end
5122
5645
 
5646
+ # export 集成配置
5647
+ class IntegrationConfiguration < TencentCloud::Common::AbstractModel
5648
+ # @param Name: 名字
5649
+ # @type Name: String
5650
+ # @param Kind: 类型
5651
+ # @type Kind: String
5652
+ # @param Content: 内容
5653
+ # @type Content: String
5654
+ # @param Status: 状态
5655
+ # @type Status: Integer
5656
+ # @param Category: 实例类型
5657
+ # @type Category: String
5658
+ # @param InstanceDesc: 实例描述
5659
+ # @type InstanceDesc: String
5660
+ # @param GrafanaDashboardURL: dashboard 的 URL
5661
+ # @type GrafanaDashboardURL: String
5662
+
5663
+ attr_accessor :Name, :Kind, :Content, :Status, :Category, :InstanceDesc, :GrafanaDashboardURL
5664
+
5665
+ def initialize(name=nil, kind=nil, content=nil, status=nil, category=nil, instancedesc=nil, grafanadashboardurl=nil)
5666
+ @Name = name
5667
+ @Kind = kind
5668
+ @Content = content
5669
+ @Status = status
5670
+ @Category = category
5671
+ @InstanceDesc = instancedesc
5672
+ @GrafanaDashboardURL = grafanadashboardurl
5673
+ end
5674
+
5675
+ def deserialize(params)
5676
+ @Name = params['Name']
5677
+ @Kind = params['Kind']
5678
+ @Content = params['Content']
5679
+ @Status = params['Status']
5680
+ @Category = params['Category']
5681
+ @InstanceDesc = params['InstanceDesc']
5682
+ @GrafanaDashboardURL = params['GrafanaDashboardURL']
5683
+ end
5684
+ end
5685
+
5686
+ # Prometheus Agent 管理命令行
5687
+ class ManagementCommand < TencentCloud::Common::AbstractModel
5688
+ # @param Install: Agent 安装命令
5689
+ # 注意:此字段可能返回 null,表示取不到有效值。
5690
+ # @type Install: String
5691
+ # @param Restart: Agent 重启命令
5692
+ # 注意:此字段可能返回 null,表示取不到有效值。
5693
+ # @type Restart: String
5694
+ # @param Stop: Agent 停止命令
5695
+ # 注意:此字段可能返回 null,表示取不到有效值。
5696
+ # @type Stop: String
5697
+ # @param StatusCheck: Agent 状态检测命令
5698
+ # 注意:此字段可能返回 null,表示取不到有效值。
5699
+ # @type StatusCheck: String
5700
+ # @param LogCheck: Agent 日志检测命令
5701
+ # 注意:此字段可能返回 null,表示取不到有效值。
5702
+ # @type LogCheck: String
5703
+
5704
+ attr_accessor :Install, :Restart, :Stop, :StatusCheck, :LogCheck
5705
+
5706
+ def initialize(install=nil, restart=nil, stop=nil, statuscheck=nil, logcheck=nil)
5707
+ @Install = install
5708
+ @Restart = restart
5709
+ @Stop = stop
5710
+ @StatusCheck = statuscheck
5711
+ @LogCheck = logcheck
5712
+ end
5713
+
5714
+ def deserialize(params)
5715
+ @Install = params['Install']
5716
+ @Restart = params['Restart']
5717
+ @Stop = params['Stop']
5718
+ @StatusCheck = params['StatusCheck']
5719
+ @LogCheck = params['LogCheck']
5720
+ end
5721
+ end
5722
+
5123
5723
  # 指标,可用于设置告警、查询数据
5124
5724
  class Metric < TencentCloud::Common::AbstractModel
5125
5725
  # @param Namespace: 告警策略类型
@@ -5921,6 +6521,46 @@ module TencentCloud
5921
6521
  end
5922
6522
  end
5923
6523
 
6524
+ # ModifyPrometheusInstanceAttributes请求参数结构体
6525
+ class ModifyPrometheusInstanceAttributesRequest < TencentCloud::Common::AbstractModel
6526
+ # @param InstanceName: 实例名称
6527
+ # @type InstanceName: String
6528
+ # @param InstanceId: 实例 ID
6529
+ # @type InstanceId: String
6530
+ # @param DataRetentionTime: 存储时长(取值为 15、30、45。此参数不适用于包年包月实例)
6531
+ # @type DataRetentionTime: Integer
6532
+
6533
+ attr_accessor :InstanceName, :InstanceId, :DataRetentionTime
6534
+
6535
+ def initialize(instancename=nil, instanceid=nil, dataretentiontime=nil)
6536
+ @InstanceName = instancename
6537
+ @InstanceId = instanceid
6538
+ @DataRetentionTime = dataretentiontime
6539
+ end
6540
+
6541
+ def deserialize(params)
6542
+ @InstanceName = params['InstanceName']
6543
+ @InstanceId = params['InstanceId']
6544
+ @DataRetentionTime = params['DataRetentionTime']
6545
+ end
6546
+ end
6547
+
6548
+ # ModifyPrometheusInstanceAttributes返回参数结构体
6549
+ class ModifyPrometheusInstanceAttributesResponse < TencentCloud::Common::AbstractModel
6550
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6551
+ # @type RequestId: String
6552
+
6553
+ attr_accessor :RequestId
6554
+
6555
+ def initialize(requestid=nil)
6556
+ @RequestId = requestid
6557
+ end
6558
+
6559
+ def deserialize(params)
6560
+ @RequestId = params['RequestId']
6561
+ end
6562
+ end
6563
+
5924
6564
  # 策略类型
5925
6565
  class MonitorTypeNamespace < TencentCloud::Common::AbstractModel
5926
6566
  # @param MonitorType: 监控类型
@@ -6181,6 +6821,55 @@ module TencentCloud
6181
6821
  end
6182
6822
  end
6183
6823
 
6824
+ # prometheus agent
6825
+ class PrometheusAgent < TencentCloud::Common::AbstractModel
6826
+ # @param Name: Agent 名
6827
+ # 注意:此字段可能返回 null,表示取不到有效值。
6828
+ # @type Name: String
6829
+ # @param AgentId: Agent ID
6830
+ # @type AgentId: String
6831
+ # @param InstanceId: 实例 ID
6832
+ # @type InstanceId: String
6833
+ # @param Ipv4: Agent IP
6834
+ # 注意:此字段可能返回 null,表示取不到有效值。
6835
+ # @type Ipv4: String
6836
+ # @param HeartbeatTime: 心跳时间
6837
+ # 注意:此字段可能返回 null,表示取不到有效值。
6838
+ # @type HeartbeatTime: String
6839
+ # @param LastError: 最近一次错误
6840
+ # 注意:此字段可能返回 null,表示取不到有效值。
6841
+ # @type LastError: String
6842
+ # @param AgentVersion: Agent 版本
6843
+ # 注意:此字段可能返回 null,表示取不到有效值。
6844
+ # @type AgentVersion: String
6845
+ # @param Status: Agent 状态
6846
+ # @type Status: Integer
6847
+
6848
+ attr_accessor :Name, :AgentId, :InstanceId, :Ipv4, :HeartbeatTime, :LastError, :AgentVersion, :Status
6849
+
6850
+ def initialize(name=nil, agentid=nil, instanceid=nil, ipv4=nil, heartbeattime=nil, lasterror=nil, agentversion=nil, status=nil)
6851
+ @Name = name
6852
+ @AgentId = agentid
6853
+ @InstanceId = instanceid
6854
+ @Ipv4 = ipv4
6855
+ @HeartbeatTime = heartbeattime
6856
+ @LastError = lasterror
6857
+ @AgentVersion = agentversion
6858
+ @Status = status
6859
+ end
6860
+
6861
+ def deserialize(params)
6862
+ @Name = params['Name']
6863
+ @AgentId = params['AgentId']
6864
+ @InstanceId = params['InstanceId']
6865
+ @Ipv4 = params['Ipv4']
6866
+ @HeartbeatTime = params['HeartbeatTime']
6867
+ @LastError = params['LastError']
6868
+ @AgentVersion = params['AgentVersion']
6869
+ @Status = params['Status']
6870
+ end
6871
+ end
6872
+
6184
6873
  # 实例的授权信息
6185
6874
  class PrometheusInstanceGrantInfo < TencentCloud::Common::AbstractModel
6186
6875
  # @param HasChargeOperation: 是否有计费操作权限(1=有,2=无)
@@ -6512,6 +7201,36 @@ module TencentCloud
6512
7201
  end
6513
7202
  end
6514
7203
 
7204
+ # Prometheus 抓取任务
7205
+ class PrometheusScrapeJob < TencentCloud::Common::AbstractModel
7206
+ # @param Name: 任务名
7207
+ # 注意:此字段可能返回 null,表示取不到有效值。
7208
+ # @type Name: String
7209
+ # @param AgentId: Agent ID
7210
+ # @type AgentId: String
7211
+ # @param JobId: 任务 ID
7212
+ # @type JobId: String
7213
+ # @param Config: 配置
7214
+ # 注意:此字段可能返回 null,表示取不到有效值。
7215
+ # @type Config: String
7216
+
7217
+ attr_accessor :Name, :AgentId, :JobId, :Config
7218
+
7219
+ def initialize(name=nil, agentid=nil, jobid=nil, config=nil)
7220
+ @Name = name
7221
+ @AgentId = agentid
7222
+ @JobId = jobid
7223
+ @Config = config
7224
+ end
7225
+
7226
+ def deserialize(params)
7227
+ @Name = params['Name']
7228
+ @AgentId = params['AgentId']
7229
+ @JobId = params['JobId']
7230
+ @Config = params['Config']
7231
+ end
7232
+ end
7233
+
6515
7234
  # Prometheus 托管服务标签
6516
7235
  class PrometheusTag < TencentCloud::Common::AbstractModel
6517
7236
  # @param Key: 标签的健值
@@ -6902,6 +7621,38 @@ module TencentCloud
6902
7621
  end
6903
7622
  end
6904
7623
 
7624
+ # TerminatePrometheusInstances请求参数结构体
7625
+ class TerminatePrometheusInstancesRequest < TencentCloud::Common::AbstractModel
7626
+ # @param InstanceIds: 实例 ID 列表
7627
+ # @type InstanceIds: Array
7628
+
7629
+ attr_accessor :InstanceIds
7630
+
7631
+ def initialize(instanceids=nil)
7632
+ @InstanceIds = instanceids
7633
+ end
7634
+
7635
+ def deserialize(params)
7636
+ @InstanceIds = params['InstanceIds']
7637
+ end
7638
+ end
7639
+
7640
+ # TerminatePrometheusInstances返回参数结构体
7641
+ class TerminatePrometheusInstancesResponse < TencentCloud::Common::AbstractModel
7642
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7643
+ # @type RequestId: String
7644
+
7645
+ attr_accessor :RequestId
7646
+
7647
+ def initialize(requestid=nil)
7648
+ @RequestId = requestid
7649
+ end
7650
+
7651
+ def deserialize(params)
7652
+ @RequestId = params['RequestId']
7653
+ end
7654
+ end
7655
+
6905
7656
  # 云监控告警通知模板 - 回调通知详情
6906
7657
  class URLNotice < TencentCloud::Common::AbstractModel
6907
7658
  # @param URL: 回调 url(限长256字符)
@@ -7032,6 +7783,95 @@ module TencentCloud
7032
7783
  end
7033
7784
  end
7034
7785
 
7786
+ # UnbindPrometheusManagedGrafana请求参数结构体
7787
+ class UnbindPrometheusManagedGrafanaRequest < TencentCloud::Common::AbstractModel
7788
+ # @param InstanceId: Prometheus 实例 ID
7789
+ # @type InstanceId: String
7790
+ # @param GrafanaId: Grafana 实例 ID
7791
+ # @type GrafanaId: String
7792
+
7793
+ attr_accessor :InstanceId, :GrafanaId
7794
+
7795
+ def initialize(instanceid=nil, grafanaid=nil)
7796
+ @InstanceId = instanceid
7797
+ @GrafanaId = grafanaid
7798
+ end
7799
+
7800
+ def deserialize(params)
7801
+ @InstanceId = params['InstanceId']
7802
+ @GrafanaId = params['GrafanaId']
7803
+ end
7804
+ end
7805
+
7806
+ # UnbindPrometheusManagedGrafana返回参数结构体
7807
+ class UnbindPrometheusManagedGrafanaResponse < TencentCloud::Common::AbstractModel
7808
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7809
+ # @type RequestId: String
7810
+
7811
+ attr_accessor :RequestId
7812
+
7813
+ def initialize(requestid=nil)
7814
+ @RequestId = requestid
7815
+ end
7816
+
7817
+ def deserialize(params)
7818
+ @RequestId = params['RequestId']
7819
+ end
7820
+ end
7821
+
7822
+ # UninstallGrafanaDashboard请求参数结构体
7823
+ class UninstallGrafanaDashboardRequest < TencentCloud::Common::AbstractModel
7824
+ # @param InstanceId: 实例 ID
7825
+ # @type InstanceId: String
7826
+ # @param IntegrationCodes: Prometheus 集成项 Code,删除对应的 Dashboard,Code 如下:
7827
+ # <li>spring_mvc</li>
7828
+ # <li>mysql</li>
7829
+ # <li>go</li>
7830
+ # <li>redis</li>
7831
+ # <li>jvm</li>
7832
+ # <li>pgsql</li>
7833
+ # <li>mongo</li>
7834
+ # <li>kafka</li>
7835
+ # <li>es</li>
7836
+ # <li>flink</li>
7837
+ # <li>blackbox</li>
7838
+ # <li>consule</li>
7839
+ # <li>memcached</li>
7840
+ # <li>zk</li>
7841
+ # <li>tps</li>
7842
+ # <li>istio</li>
7843
+ # <li>etcd</li>
7844
+ # @type IntegrationCodes: Array
7845
+
7846
+ attr_accessor :InstanceId, :IntegrationCodes
7847
+
7848
+ def initialize(instanceid=nil, integrationcodes=nil)
7849
+ @InstanceId = instanceid
7850
+ @IntegrationCodes = integrationcodes
7851
+ end
7852
+
7853
+ def deserialize(params)
7854
+ @InstanceId = params['InstanceId']
7855
+ @IntegrationCodes = params['IntegrationCodes']
7856
+ end
7857
+ end
7858
+
7859
+ # UninstallGrafanaDashboard返回参数结构体
7860
+ class UninstallGrafanaDashboardResponse < TencentCloud::Common::AbstractModel
7861
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7862
+ # @type RequestId: String
7863
+
7864
+ attr_accessor :RequestId
7865
+
7866
+ def initialize(requestid=nil)
7867
+ @RequestId = requestid
7868
+ end
7869
+
7870
+ def deserialize(params)
7871
+ @RequestId = params['RequestId']
7872
+ end
7873
+ end
7874
+
7035
7875
  # UpdateAlertRule请求参数结构体
7036
7876
  class UpdateAlertRuleRequest < TencentCloud::Common::AbstractModel
7037
7877
  # @param RuleId: Prometheus 报警规则 ID
@@ -7167,6 +8007,143 @@ module TencentCloud
7167
8007
  end
7168
8008
  end
7169
8009
 
8010
+ # UpdateExporterIntegration请求参数结构体
8011
+ class UpdateExporterIntegrationRequest < TencentCloud::Common::AbstractModel
8012
+ # @param InstanceId: 实例 ID
8013
+ # @type InstanceId: String
8014
+ # @param KubeType: Kubernetes 集群类型,取值如下:
8015
+ # <li> 1= 容器集群(TKE) </li>
8016
+ # <li> 2=弹性集群<EKS> </li>
8017
+ # <li> 3= Prometheus管理的弹性集群<MEKS> </li>
8018
+ # @type KubeType: Integer
8019
+ # @param ClusterId: 集群 ID
8020
+ # @type ClusterId: String
8021
+ # @param Kind: 类型
8022
+ # @type Kind: String
8023
+ # @param Content: 配置内容
8024
+ # @type Content: String
8025
+
8026
+ attr_accessor :InstanceId, :KubeType, :ClusterId, :Kind, :Content
8027
+
8028
+ def initialize(instanceid=nil, kubetype=nil, clusterid=nil, kind=nil, content=nil)
8029
+ @InstanceId = instanceid
8030
+ @KubeType = kubetype
8031
+ @ClusterId = clusterid
8032
+ @Kind = kind
8033
+ @Content = content
8034
+ end
8035
+
8036
+ def deserialize(params)
8037
+ @InstanceId = params['InstanceId']
8038
+ @KubeType = params['KubeType']
8039
+ @ClusterId = params['ClusterId']
8040
+ @Kind = params['Kind']
8041
+ @Content = params['Content']
8042
+ end
8043
+ end
8044
+
8045
+ # UpdateExporterIntegration返回参数结构体
8046
+ class UpdateExporterIntegrationResponse < TencentCloud::Common::AbstractModel
8047
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8048
+ # @type RequestId: String
8049
+
8050
+ attr_accessor :RequestId
8051
+
8052
+ def initialize(requestid=nil)
8053
+ @RequestId = requestid
8054
+ end
8055
+
8056
+ def deserialize(params)
8057
+ @RequestId = params['RequestId']
8058
+ end
8059
+ end
8060
+
8061
+ # UpdatePrometheusAgentStatus请求参数结构体
8062
+ class UpdatePrometheusAgentStatusRequest < TencentCloud::Common::AbstractModel
8063
+ # @param InstanceId: 实例 ID
8064
+ # @type InstanceId: String
8065
+ # @param AgentIds: Agent ID 列表
8066
+ # @type AgentIds: Array
8067
+ # @param Status: 要更新的状态
8068
+ # <li> 1= 开启 </li>
8069
+ # <li> 2= 关闭 </li>
8070
+ # @type Status: Integer
8071
+
8072
+ attr_accessor :InstanceId, :AgentIds, :Status
8073
+
8074
+ def initialize(instanceid=nil, agentids=nil, status=nil)
8075
+ @InstanceId = instanceid
8076
+ @AgentIds = agentids
8077
+ @Status = status
8078
+ end
8079
+
8080
+ def deserialize(params)
8081
+ @InstanceId = params['InstanceId']
8082
+ @AgentIds = params['AgentIds']
8083
+ @Status = params['Status']
8084
+ end
8085
+ end
8086
+
8087
+ # UpdatePrometheusAgentStatus返回参数结构体
8088
+ class UpdatePrometheusAgentStatusResponse < TencentCloud::Common::AbstractModel
8089
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8090
+ # @type RequestId: String
8091
+
8092
+ attr_accessor :RequestId
8093
+
8094
+ def initialize(requestid=nil)
8095
+ @RequestId = requestid
8096
+ end
8097
+
8098
+ def deserialize(params)
8099
+ @RequestId = params['RequestId']
8100
+ end
8101
+ end
8102
+
8103
+ # UpdatePrometheusScrapeJob请求参数结构体
8104
+ class UpdatePrometheusScrapeJobRequest < TencentCloud::Common::AbstractModel
8105
+ # @param InstanceId: 实例 ID
8106
+ # @type InstanceId: String
8107
+ # @param AgentId: Agent ID
8108
+ # @type AgentId: String
8109
+ # @param JobId: 抓取任务 ID
8110
+ # @type JobId: String
8111
+ # @param Config: 抓取任务配置
8112
+ # @type Config: String
8113
+
8114
+ attr_accessor :InstanceId, :AgentId, :JobId, :Config
8115
+
8116
+ def initialize(instanceid=nil, agentid=nil, jobid=nil, config=nil)
8117
+ @InstanceId = instanceid
8118
+ @AgentId = agentid
8119
+ @JobId = jobid
8120
+ @Config = config
8121
+ end
8122
+
8123
+ def deserialize(params)
8124
+ @InstanceId = params['InstanceId']
8125
+ @AgentId = params['AgentId']
8126
+ @JobId = params['JobId']
8127
+ @Config = params['Config']
8128
+ end
8129
+ end
8130
+
8131
+ # UpdatePrometheusScrapeJob返回参数结构体
8132
+ class UpdatePrometheusScrapeJobResponse < TencentCloud::Common::AbstractModel
8133
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8134
+ # @type RequestId: String
8135
+
8136
+ attr_accessor :RequestId
8137
+
8138
+ def initialize(requestid=nil)
8139
+ @RequestId = requestid
8140
+ end
8141
+
8142
+ def deserialize(params)
8143
+ @RequestId = params['RequestId']
8144
+ end
8145
+ end
8146
+
7170
8147
  # UpdateServiceDiscovery请求参数结构体
7171
8148
  class UpdateServiceDiscoveryRequest < TencentCloud::Common::AbstractModel
7172
8149
  # @param InstanceId: Prometheus 实例 ID
@@ -7226,6 +8203,59 @@ module TencentCloud
7226
8203
  end
7227
8204
  end
7228
8205
 
8206
+ # UpgradeGrafanaDashboard请求参数结构体
8207
+ class UpgradeGrafanaDashboardRequest < TencentCloud::Common::AbstractModel
8208
+ # @param InstanceId: 实例 ID
8209
+ # @type InstanceId: String
8210
+ # @param IntegrationCodes: Prometheus 集成项 Code,升级对应的 Dashboard,取值如下:
8211
+ # <li>spring_mvc</li>
8212
+ # <li>mysql</li>
8213
+ # <li>go</li>
8214
+ # <li>redis</li>
8215
+ # <li>jvm</li>
8216
+ # <li>pgsql</li>
8217
+ # <li>mongo</li>
8218
+ # <li>kafka</li>
8219
+ # <li>es</li>
8220
+ # <li>flink</li>
8221
+ # <li>blackbox</li>
8222
+ # <li>consule</li>
8223
+ # <li>memcached</li>
8224
+ # <li>zk</li>
8225
+ # <li>tps</li>
8226
+ # <li>istio</li>
8227
+ # <li>etcd</li>
8228
+ # @type IntegrationCodes: Array
8229
+
8230
+ attr_accessor :InstanceId, :IntegrationCodes
8231
+
8232
+ def initialize(instanceid=nil, integrationcodes=nil)
8233
+ @InstanceId = instanceid
8234
+ @IntegrationCodes = integrationcodes
8235
+ end
8236
+
8237
+ def deserialize(params)
8238
+ @InstanceId = params['InstanceId']
8239
+ @IntegrationCodes = params['IntegrationCodes']
8240
+ end
8241
+ end
8242
+
8243
+ # UpgradeGrafanaDashboard返回参数结构体
8244
+ class UpgradeGrafanaDashboardResponse < TencentCloud::Common::AbstractModel
8245
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8246
+ # @type RequestId: String
8247
+
8248
+ attr_accessor :RequestId
8249
+
8250
+ def initialize(requestid=nil)
8251
+ @RequestId = requestid
8252
+ end
8253
+
8254
+ def deserialize(params)
8255
+ @RequestId = params['RequestId']
8256
+ end
8257
+ end
8258
+
7229
8259
  # 云监控告警通知模板 - 用户通知详情
7230
8260
  class UserNotice < TencentCloud::Common::AbstractModel
7231
8261
  # @param ReceiverType: 接收者类型 USER=用户 GROUP=用户组