tencentcloud-sdk-monitor 3.0.389 → 3.0.390

Sign up to get free protection for your applications and to get access to all the features.
@@ -910,6 +910,38 @@ module TencentCloud
910
910
  end
911
911
  end
912
912
 
913
+ # CleanGrafanaInstance请求参数结构体
914
+ class CleanGrafanaInstanceRequest < TencentCloud::Common::AbstractModel
915
+ # @param InstanceId: 实例名
916
+ # @type InstanceId: String
917
+
918
+ attr_accessor :InstanceId
919
+
920
+ def initialize(instanceid=nil)
921
+ @InstanceId = instanceid
922
+ end
923
+
924
+ def deserialize(params)
925
+ @InstanceId = params['InstanceId']
926
+ end
927
+ end
928
+
929
+ # CleanGrafanaInstance返回参数结构体
930
+ class CleanGrafanaInstanceResponse < TencentCloud::Common::AbstractModel
931
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
932
+ # @type RequestId: String
933
+
934
+ attr_accessor :RequestId
935
+
936
+ def initialize(requestid=nil)
937
+ @RequestId = requestid
938
+ end
939
+
940
+ def deserialize(params)
941
+ @RequestId = params['RequestId']
942
+ end
943
+ end
944
+
913
945
  # 统一的命名空间信息
914
946
  class CommonNamespace < TencentCloud::Common::AbstractModel
915
947
  # @param Id: 命名空间标示
@@ -1373,6 +1405,157 @@ module TencentCloud
1373
1405
  end
1374
1406
  end
1375
1407
 
1408
+ # CreateGrafanaInstance请求参数结构体
1409
+ class CreateGrafanaInstanceRequest < TencentCloud::Common::AbstractModel
1410
+ # @param InstanceName: 实例名
1411
+ # @type InstanceName: String
1412
+ # @param VpcId: VPC ID
1413
+ # @type VpcId: String
1414
+ # @param SubnetIds: 子网 ID 数组
1415
+ # @type SubnetIds: Array
1416
+ # @param GrafanaInitPassword: Grafana 初始密码
1417
+ # @type GrafanaInitPassword: String
1418
+ # @param EnableInternet: 是否启用外网
1419
+ # @type EnableInternet: Boolean
1420
+ # @param TagSpecification: 标签
1421
+ # @type TagSpecification: Array
1422
+
1423
+ attr_accessor :InstanceName, :VpcId, :SubnetIds, :GrafanaInitPassword, :EnableInternet, :TagSpecification
1424
+
1425
+ def initialize(instancename=nil, vpcid=nil, subnetids=nil, grafanainitpassword=nil, enableinternet=nil, tagspecification=nil)
1426
+ @InstanceName = instancename
1427
+ @VpcId = vpcid
1428
+ @SubnetIds = subnetids
1429
+ @GrafanaInitPassword = grafanainitpassword
1430
+ @EnableInternet = enableinternet
1431
+ @TagSpecification = tagspecification
1432
+ end
1433
+
1434
+ def deserialize(params)
1435
+ @InstanceName = params['InstanceName']
1436
+ @VpcId = params['VpcId']
1437
+ @SubnetIds = params['SubnetIds']
1438
+ @GrafanaInitPassword = params['GrafanaInitPassword']
1439
+ @EnableInternet = params['EnableInternet']
1440
+ unless params['TagSpecification'].nil?
1441
+ @TagSpecification = []
1442
+ params['TagSpecification'].each do |i|
1443
+ prometheustag_tmp = PrometheusTag.new
1444
+ prometheustag_tmp.deserialize(i)
1445
+ @TagSpecification << prometheustag_tmp
1446
+ end
1447
+ end
1448
+ end
1449
+ end
1450
+
1451
+ # CreateGrafanaInstance返回参数结构体
1452
+ class CreateGrafanaInstanceResponse < TencentCloud::Common::AbstractModel
1453
+ # @param InstanceId: 实例名
1454
+ # @type InstanceId: String
1455
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1456
+ # @type RequestId: String
1457
+
1458
+ attr_accessor :InstanceId, :RequestId
1459
+
1460
+ def initialize(instanceid=nil, requestid=nil)
1461
+ @InstanceId = instanceid
1462
+ @RequestId = requestid
1463
+ end
1464
+
1465
+ def deserialize(params)
1466
+ @InstanceId = params['InstanceId']
1467
+ @RequestId = params['RequestId']
1468
+ end
1469
+ end
1470
+
1471
+ # CreateGrafanaIntegration请求参数结构体
1472
+ class CreateGrafanaIntegrationRequest < TencentCloud::Common::AbstractModel
1473
+ # @param InstanceId: 实例名
1474
+ # @type InstanceId: String
1475
+ # @param Kind: 类型
1476
+ # @type Kind: String
1477
+ # @param Content: 配置
1478
+ # @type Content: String
1479
+
1480
+ attr_accessor :InstanceId, :Kind, :Content
1481
+
1482
+ def initialize(instanceid=nil, kind=nil, content=nil)
1483
+ @InstanceId = instanceid
1484
+ @Kind = kind
1485
+ @Content = content
1486
+ end
1487
+
1488
+ def deserialize(params)
1489
+ @InstanceId = params['InstanceId']
1490
+ @Kind = params['Kind']
1491
+ @Content = params['Content']
1492
+ end
1493
+ end
1494
+
1495
+ # CreateGrafanaIntegration返回参数结构体
1496
+ class CreateGrafanaIntegrationResponse < TencentCloud::Common::AbstractModel
1497
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1498
+ # @type RequestId: String
1499
+
1500
+ attr_accessor :RequestId
1501
+
1502
+ def initialize(requestid=nil)
1503
+ @RequestId = requestid
1504
+ end
1505
+
1506
+ def deserialize(params)
1507
+ @RequestId = params['RequestId']
1508
+ end
1509
+ end
1510
+
1511
+ # CreateGrafanaNotificationChannel请求参数结构体
1512
+ class CreateGrafanaNotificationChannelRequest < TencentCloud::Common::AbstractModel
1513
+ # @param InstanceId: 实例名
1514
+ # @type InstanceId: String
1515
+ # @param ChannelName: 渠道名
1516
+ # @type ChannelName: String
1517
+ # @param OrgId: 组织 ID
1518
+ # @type OrgId: Integer
1519
+ # @param Receivers: 接受告警通道 ID 数组
1520
+ # @type Receivers: Array
1521
+ # @param ExtraOrgIds: 额外组织 ID 数组
1522
+ # @type ExtraOrgIds: Array
1523
+
1524
+ attr_accessor :InstanceId, :ChannelName, :OrgId, :Receivers, :ExtraOrgIds
1525
+
1526
+ def initialize(instanceid=nil, channelname=nil, orgid=nil, receivers=nil, extraorgids=nil)
1527
+ @InstanceId = instanceid
1528
+ @ChannelName = channelname
1529
+ @OrgId = orgid
1530
+ @Receivers = receivers
1531
+ @ExtraOrgIds = extraorgids
1532
+ end
1533
+
1534
+ def deserialize(params)
1535
+ @InstanceId = params['InstanceId']
1536
+ @ChannelName = params['ChannelName']
1537
+ @OrgId = params['OrgId']
1538
+ @Receivers = params['Receivers']
1539
+ @ExtraOrgIds = params['ExtraOrgIds']
1540
+ end
1541
+ end
1542
+
1543
+ # CreateGrafanaNotificationChannel返回参数结构体
1544
+ class CreateGrafanaNotificationChannelResponse < TencentCloud::Common::AbstractModel
1545
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1546
+ # @type RequestId: String
1547
+
1548
+ attr_accessor :RequestId
1549
+
1550
+ def initialize(requestid=nil)
1551
+ @RequestId = requestid
1552
+ end
1553
+
1554
+ def deserialize(params)
1555
+ @RequestId = params['RequestId']
1556
+ end
1557
+ end
1558
+
1376
1559
  # 创建策略传入的阈值告警条件
1377
1560
  class CreatePolicyGroupCondition < TencentCloud::Common::AbstractModel
1378
1561
  # @param MetricId: 指标Id
@@ -1743,6 +1926,57 @@ module TencentCloud
1743
1926
  end
1744
1927
  end
1745
1928
 
1929
+ # CreateSSOAccount请求参数结构体
1930
+ class CreateSSOAccountRequest < TencentCloud::Common::AbstractModel
1931
+ # @param InstanceId: 实例ID
1932
+ # @type InstanceId: String
1933
+ # @param UserId: 用户账号ID
1934
+ # @type UserId: String
1935
+ # @param Role: 权限
1936
+ # @type Role: Array
1937
+ # @param Notes: 备注
1938
+ # @type Notes: String
1939
+
1940
+ attr_accessor :InstanceId, :UserId, :Role, :Notes
1941
+
1942
+ def initialize(instanceid=nil, userid=nil, role=nil, notes=nil)
1943
+ @InstanceId = instanceid
1944
+ @UserId = userid
1945
+ @Role = role
1946
+ @Notes = notes
1947
+ end
1948
+
1949
+ def deserialize(params)
1950
+ @InstanceId = params['InstanceId']
1951
+ @UserId = params['UserId']
1952
+ unless params['Role'].nil?
1953
+ @Role = []
1954
+ params['Role'].each do |i|
1955
+ grafanaaccountrole_tmp = GrafanaAccountRole.new
1956
+ grafanaaccountrole_tmp.deserialize(i)
1957
+ @Role << grafanaaccountrole_tmp
1958
+ end
1959
+ end
1960
+ @Notes = params['Notes']
1961
+ end
1962
+ end
1963
+
1964
+ # CreateSSOAccount返回参数结构体
1965
+ class CreateSSOAccountResponse < TencentCloud::Common::AbstractModel
1966
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1967
+ # @type RequestId: String
1968
+
1969
+ attr_accessor :RequestId
1970
+
1971
+ def initialize(requestid=nil)
1972
+ @RequestId = requestid
1973
+ end
1974
+
1975
+ def deserialize(params)
1976
+ @RequestId = params['RequestId']
1977
+ end
1978
+ end
1979
+
1746
1980
  # CreateServiceDiscovery请求参数结构体
1747
1981
  class CreateServiceDiscoveryRequest < TencentCloud::Common::AbstractModel
1748
1982
  # @param InstanceId: Prometheus 实例 ID
@@ -1945,6 +2179,10 @@ module TencentCloud
1945
2179
  class DeleteExporterIntegrationRequest < TencentCloud::Common::AbstractModel
1946
2180
  # @param InstanceId: 实例 ID
1947
2181
  # @type InstanceId: String
2182
+ # @param Kind: 类型
2183
+ # @type Kind: String
2184
+ # @param Name: 名字
2185
+ # @type Name: String
1948
2186
  # @param KubeType: Kubernetes 集群类型,取值如下:
1949
2187
  # <li> 1= 容器集群(TKE) </li>
1950
2188
  # <li> 2=弹性集群<EKS> </li>
@@ -1952,27 +2190,23 @@ module TencentCloud
1952
2190
  # @type KubeType: Integer
1953
2191
  # @param ClusterId: 集群 ID
1954
2192
  # @type ClusterId: String
1955
- # @param Kind: 类型
1956
- # @type Kind: String
1957
- # @param Name: 名字
1958
- # @type Name: String
1959
2193
 
1960
- attr_accessor :InstanceId, :KubeType, :ClusterId, :Kind, :Name
2194
+ attr_accessor :InstanceId, :Kind, :Name, :KubeType, :ClusterId
1961
2195
 
1962
- def initialize(instanceid=nil, kubetype=nil, clusterid=nil, kind=nil, name=nil)
2196
+ def initialize(instanceid=nil, kind=nil, name=nil, kubetype=nil, clusterid=nil)
1963
2197
  @InstanceId = instanceid
1964
- @KubeType = kubetype
1965
- @ClusterId = clusterid
1966
2198
  @Kind = kind
1967
2199
  @Name = name
2200
+ @KubeType = kubetype
2201
+ @ClusterId = clusterid
1968
2202
  end
1969
2203
 
1970
2204
  def deserialize(params)
1971
2205
  @InstanceId = params['InstanceId']
1972
- @KubeType = params['KubeType']
1973
- @ClusterId = params['ClusterId']
1974
2206
  @Kind = params['Kind']
1975
2207
  @Name = params['Name']
2208
+ @KubeType = params['KubeType']
2209
+ @ClusterId = params['ClusterId']
1976
2210
  end
1977
2211
  end
1978
2212
 
@@ -1992,6 +2226,110 @@ module TencentCloud
1992
2226
  end
1993
2227
  end
1994
2228
 
2229
+ # DeleteGrafanaInstance请求参数结构体
2230
+ class DeleteGrafanaInstanceRequest < TencentCloud::Common::AbstractModel
2231
+ # @param InstanceIDs: 实例名数组
2232
+ # @type InstanceIDs: Array
2233
+
2234
+ attr_accessor :InstanceIDs
2235
+
2236
+ def initialize(instanceids=nil)
2237
+ @InstanceIDs = instanceids
2238
+ end
2239
+
2240
+ def deserialize(params)
2241
+ @InstanceIDs = params['InstanceIDs']
2242
+ end
2243
+ end
2244
+
2245
+ # DeleteGrafanaInstance返回参数结构体
2246
+ class DeleteGrafanaInstanceResponse < TencentCloud::Common::AbstractModel
2247
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2248
+ # @type RequestId: String
2249
+
2250
+ attr_accessor :RequestId
2251
+
2252
+ def initialize(requestid=nil)
2253
+ @RequestId = requestid
2254
+ end
2255
+
2256
+ def deserialize(params)
2257
+ @RequestId = params['RequestId']
2258
+ end
2259
+ end
2260
+
2261
+ # DeleteGrafanaIntegration请求参数结构体
2262
+ class DeleteGrafanaIntegrationRequest < TencentCloud::Common::AbstractModel
2263
+ # @param InstanceId: 实例 ID
2264
+ # @type InstanceId: String
2265
+ # @param IntegrationId: 集成 ID
2266
+ # @type IntegrationId: String
2267
+
2268
+ attr_accessor :InstanceId, :IntegrationId
2269
+
2270
+ def initialize(instanceid=nil, integrationid=nil)
2271
+ @InstanceId = instanceid
2272
+ @IntegrationId = integrationid
2273
+ end
2274
+
2275
+ def deserialize(params)
2276
+ @InstanceId = params['InstanceId']
2277
+ @IntegrationId = params['IntegrationId']
2278
+ end
2279
+ end
2280
+
2281
+ # DeleteGrafanaIntegration返回参数结构体
2282
+ class DeleteGrafanaIntegrationResponse < TencentCloud::Common::AbstractModel
2283
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2284
+ # @type RequestId: String
2285
+
2286
+ attr_accessor :RequestId
2287
+
2288
+ def initialize(requestid=nil)
2289
+ @RequestId = requestid
2290
+ end
2291
+
2292
+ def deserialize(params)
2293
+ @RequestId = params['RequestId']
2294
+ end
2295
+ end
2296
+
2297
+ # DeleteGrafanaNotificationChannel请求参数结构体
2298
+ class DeleteGrafanaNotificationChannelRequest < TencentCloud::Common::AbstractModel
2299
+ # @param ChannelIDs: 通道 ID 数组
2300
+ # @type ChannelIDs: Array
2301
+ # @param InstanceId: 实例名
2302
+ # @type InstanceId: String
2303
+
2304
+ attr_accessor :ChannelIDs, :InstanceId
2305
+
2306
+ def initialize(channelids=nil, instanceid=nil)
2307
+ @ChannelIDs = channelids
2308
+ @InstanceId = instanceid
2309
+ end
2310
+
2311
+ def deserialize(params)
2312
+ @ChannelIDs = params['ChannelIDs']
2313
+ @InstanceId = params['InstanceId']
2314
+ end
2315
+ end
2316
+
2317
+ # DeleteGrafanaNotificationChannel返回参数结构体
2318
+ class DeleteGrafanaNotificationChannelResponse < TencentCloud::Common::AbstractModel
2319
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2320
+ # @type RequestId: String
2321
+
2322
+ attr_accessor :RequestId
2323
+
2324
+ def initialize(requestid=nil)
2325
+ @RequestId = requestid
2326
+ end
2327
+
2328
+ def deserialize(params)
2329
+ @RequestId = params['RequestId']
2330
+ end
2331
+ end
2332
+
1995
2333
  # DeletePolicyGroup请求参数结构体
1996
2334
  class DeletePolicyGroupRequest < TencentCloud::Common::AbstractModel
1997
2335
  # @param Module: 固定值,为"monitor"
@@ -2104,12 +2442,48 @@ module TencentCloud
2104
2442
  end
2105
2443
  end
2106
2444
 
2107
- # DeleteServiceDiscovery请求参数结构体
2108
- class DeleteServiceDiscoveryRequest < TencentCloud::Common::AbstractModel
2109
- # @param InstanceId: Prometheus 实例 ID
2445
+ # DeleteSSOAccount请求参数结构体
2446
+ class DeleteSSOAccountRequest < TencentCloud::Common::AbstractModel
2447
+ # @param InstanceId: 实例ID
2110
2448
  # @type InstanceId: String
2111
- # @param KubeClusterId: <li>类型是 TKE,为对应的腾讯云容器服务集群 ID</li>
2112
- # @type KubeClusterId: String
2449
+ # @param UserId: 用户账号ID
2450
+ # @type UserId: String
2451
+
2452
+ attr_accessor :InstanceId, :UserId
2453
+
2454
+ def initialize(instanceid=nil, userid=nil)
2455
+ @InstanceId = instanceid
2456
+ @UserId = userid
2457
+ end
2458
+
2459
+ def deserialize(params)
2460
+ @InstanceId = params['InstanceId']
2461
+ @UserId = params['UserId']
2462
+ end
2463
+ end
2464
+
2465
+ # DeleteSSOAccount返回参数结构体
2466
+ class DeleteSSOAccountResponse < TencentCloud::Common::AbstractModel
2467
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2468
+ # @type RequestId: String
2469
+
2470
+ attr_accessor :RequestId
2471
+
2472
+ def initialize(requestid=nil)
2473
+ @RequestId = requestid
2474
+ end
2475
+
2476
+ def deserialize(params)
2477
+ @RequestId = params['RequestId']
2478
+ end
2479
+ end
2480
+
2481
+ # DeleteServiceDiscovery请求参数结构体
2482
+ class DeleteServiceDiscoveryRequest < TencentCloud::Common::AbstractModel
2483
+ # @param InstanceId: Prometheus 实例 ID
2484
+ # @type InstanceId: String
2485
+ # @param KubeClusterId: <li>类型是 TKE,为对应的腾讯云容器服务集群 ID</li>
2486
+ # @type KubeClusterId: String
2113
2487
  # @param KubeType: 用户 Kubernetes 集群类型:
2114
2488
  # <li> 1 = 容器服务集群(TKE) </li>
2115
2489
  # @type KubeType: Integer
@@ -3569,6 +3943,42 @@ module TencentCloud
3569
3943
  end
3570
3944
  end
3571
3945
 
3946
+ # DescribeDNSConfig请求参数结构体
3947
+ class DescribeDNSConfigRequest < TencentCloud::Common::AbstractModel
3948
+ # @param InstanceId: 实例名
3949
+ # @type InstanceId: String
3950
+
3951
+ attr_accessor :InstanceId
3952
+
3953
+ def initialize(instanceid=nil)
3954
+ @InstanceId = instanceid
3955
+ end
3956
+
3957
+ def deserialize(params)
3958
+ @InstanceId = params['InstanceId']
3959
+ end
3960
+ end
3961
+
3962
+ # DescribeDNSConfig返回参数结构体
3963
+ class DescribeDNSConfigResponse < TencentCloud::Common::AbstractModel
3964
+ # @param NameServers: DNS 服务器数组
3965
+ # @type NameServers: Array
3966
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3967
+ # @type RequestId: String
3968
+
3969
+ attr_accessor :NameServers, :RequestId
3970
+
3971
+ def initialize(nameservers=nil, requestid=nil)
3972
+ @NameServers = nameservers
3973
+ @RequestId = requestid
3974
+ end
3975
+
3976
+ def deserialize(params)
3977
+ @NameServers = params['NameServers']
3978
+ @RequestId = params['RequestId']
3979
+ end
3980
+ end
3981
+
3572
3982
  # DescribeExporterIntegrations请求参数结构体
3573
3983
  class DescribeExporterIntegrationsRequest < TencentCloud::Common::AbstractModel
3574
3984
  # @param InstanceId: 实例 ID
@@ -3631,209 +4041,597 @@ module TencentCloud
3631
4041
  end
3632
4042
  end
3633
4043
 
3634
- # DescribeMonitorTypes请求参数结构体
3635
- class DescribeMonitorTypesRequest < TencentCloud::Common::AbstractModel
3636
- # @param Module: 模块名,固定值 monitor
3637
- # @type Module: String
4044
+ # DescribeGrafanaConfig请求参数结构体
4045
+ class DescribeGrafanaConfigRequest < TencentCloud::Common::AbstractModel
4046
+ # @param InstanceId:
4047
+ # @type InstanceId: String
3638
4048
 
3639
- attr_accessor :Module
4049
+ attr_accessor :InstanceId
3640
4050
 
3641
- def initialize(_module=nil)
3642
- @Module = _module
4051
+ def initialize(instanceid=nil)
4052
+ @InstanceId = instanceid
3643
4053
  end
3644
4054
 
3645
4055
  def deserialize(params)
3646
- @Module = params['Module']
4056
+ @InstanceId = params['InstanceId']
3647
4057
  end
3648
4058
  end
3649
4059
 
3650
- # DescribeMonitorTypes返回参数结构体
3651
- class DescribeMonitorTypesResponse < TencentCloud::Common::AbstractModel
3652
- # @param MonitorTypes: 监控类型,云产品监控为 MT_QCE
3653
- # @type MonitorTypes: Array
3654
- # @param MonitorTypeInfos: 监控类型详情
3655
- # @type MonitorTypeInfos: Array
4060
+ # DescribeGrafanaConfig返回参数结构体
4061
+ class DescribeGrafanaConfigResponse < TencentCloud::Common::AbstractModel
4062
+ # @param Config: JSON 编码后的字符串
4063
+ # @type Config: String
3656
4064
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3657
4065
  # @type RequestId: String
3658
4066
 
3659
- attr_accessor :MonitorTypes, :MonitorTypeInfos, :RequestId
4067
+ attr_accessor :Config, :RequestId
3660
4068
 
3661
- def initialize(monitortypes=nil, monitortypeinfos=nil, requestid=nil)
3662
- @MonitorTypes = monitortypes
3663
- @MonitorTypeInfos = monitortypeinfos
4069
+ def initialize(config=nil, requestid=nil)
4070
+ @Config = config
3664
4071
  @RequestId = requestid
3665
4072
  end
3666
4073
 
3667
4074
  def deserialize(params)
3668
- @MonitorTypes = params['MonitorTypes']
3669
- unless params['MonitorTypeInfos'].nil?
3670
- @MonitorTypeInfos = []
3671
- params['MonitorTypeInfos'].each do |i|
3672
- monitortypeinfo_tmp = MonitorTypeInfo.new
3673
- monitortypeinfo_tmp.deserialize(i)
3674
- @MonitorTypeInfos << monitortypeinfo_tmp
3675
- end
3676
- end
4075
+ @Config = params['Config']
3677
4076
  @RequestId = params['RequestId']
3678
4077
  end
3679
4078
  end
3680
4079
 
3681
- # DescribePolicyConditionList策略条件
3682
- class DescribePolicyConditionListCondition < TencentCloud::Common::AbstractModel
3683
- # @param PolicyViewName: 策略视图名称
3684
- # @type PolicyViewName: String
3685
- # @param EventMetrics: 事件告警条件
3686
- # 注意:此字段可能返回 null,表示取不到有效值。
3687
- # @type EventMetrics: Array
3688
- # @param IsSupportMultiRegion: 是否支持多地域
3689
- # @type IsSupportMultiRegion: Boolean
3690
- # @param Metrics: 指标告警条件
3691
- # 注意:此字段可能返回 null,表示取不到有效值。
3692
- # @type Metrics: Array
3693
- # @param Name: 策略类型名称
3694
- # @type Name: String
3695
- # @param SortId: 排序id
3696
- # @type SortId: Integer
3697
- # @param SupportDefault: 是否支持默认策略
3698
- # @type SupportDefault: Boolean
3699
- # @param SupportRegions: 支持该策略类型的地域列表
3700
- # 注意:此字段可能返回 null,表示取不到有效值。
3701
- # @type SupportRegions: Array
4080
+ # DescribeGrafanaEnvironments请求参数结构体
4081
+ class DescribeGrafanaEnvironmentsRequest < TencentCloud::Common::AbstractModel
4082
+ # @param InstanceId: 实例名
4083
+ # @type InstanceId: String
3702
4084
 
3703
- attr_accessor :PolicyViewName, :EventMetrics, :IsSupportMultiRegion, :Metrics, :Name, :SortId, :SupportDefault, :SupportRegions
4085
+ attr_accessor :InstanceId
3704
4086
 
3705
- def initialize(policyviewname=nil, eventmetrics=nil, issupportmultiregion=nil, metrics=nil, name=nil, sortid=nil, supportdefault=nil, supportregions=nil)
3706
- @PolicyViewName = policyviewname
3707
- @EventMetrics = eventmetrics
3708
- @IsSupportMultiRegion = issupportmultiregion
3709
- @Metrics = metrics
3710
- @Name = name
3711
- @SortId = sortid
3712
- @SupportDefault = supportdefault
3713
- @SupportRegions = supportregions
4087
+ def initialize(instanceid=nil)
4088
+ @InstanceId = instanceid
3714
4089
  end
3715
4090
 
3716
4091
  def deserialize(params)
3717
- @PolicyViewName = params['PolicyViewName']
3718
- unless params['EventMetrics'].nil?
3719
- @EventMetrics = []
3720
- params['EventMetrics'].each do |i|
3721
- describepolicyconditionlisteventmetric_tmp = DescribePolicyConditionListEventMetric.new
3722
- describepolicyconditionlisteventmetric_tmp.deserialize(i)
3723
- @EventMetrics << describepolicyconditionlisteventmetric_tmp
3724
- end
3725
- end
3726
- @IsSupportMultiRegion = params['IsSupportMultiRegion']
3727
- unless params['Metrics'].nil?
3728
- @Metrics = []
3729
- params['Metrics'].each do |i|
3730
- describepolicyconditionlistmetric_tmp = DescribePolicyConditionListMetric.new
3731
- describepolicyconditionlistmetric_tmp.deserialize(i)
3732
- @Metrics << describepolicyconditionlistmetric_tmp
3733
- end
3734
- end
3735
- @Name = params['Name']
3736
- @SortId = params['SortId']
3737
- @SupportDefault = params['SupportDefault']
3738
- @SupportRegions = params['SupportRegions']
4092
+ @InstanceId = params['InstanceId']
3739
4093
  end
3740
4094
  end
3741
4095
 
3742
- # DescribePolicyConditionList.ConfigManual
3743
- class DescribePolicyConditionListConfigManual < TencentCloud::Common::AbstractModel
3744
- # @param CalcType: 检测方式
3745
- # 注意:此字段可能返回 null,表示取不到有效值。
3746
- # @type CalcType: :class:`Tencentcloud::Monitor.v20180724.models.DescribePolicyConditionListConfigManualCalcType`
3747
- # @param CalcValue: 检测阈值
3748
- # 注意:此字段可能返回 null,表示取不到有效值。
3749
- # @type CalcValue: :class:`Tencentcloud::Monitor.v20180724.models.DescribePolicyConditionListConfigManualCalcValue`
3750
- # @param ContinueTime: 持续时间
3751
- # 注意:此字段可能返回 null,表示取不到有效值。
3752
- # @type ContinueTime: :class:`Tencentcloud::Monitor.v20180724.models.DescribePolicyConditionListConfigManualContinueTime`
3753
- # @param Period: 数据周期
3754
- # 注意:此字段可能返回 null,表示取不到有效值。
3755
- # @type Period: :class:`Tencentcloud::Monitor.v20180724.models.DescribePolicyConditionListConfigManualPeriod`
3756
- # @param PeriodNum: 持续周期个数
3757
- # 注意:此字段可能返回 null,表示取不到有效值。
3758
- # @type PeriodNum: :class:`Tencentcloud::Monitor.v20180724.models.DescribePolicyConditionListConfigManualPeriodNum`
3759
- # @param StatType: 聚合方式
3760
- # 注意:此字段可能返回 null,表示取不到有效值。
3761
- # @type StatType: :class:`Tencentcloud::Monitor.v20180724.models.DescribePolicyConditionListConfigManualStatType`
4096
+ # DescribeGrafanaEnvironments返回参数结构体
4097
+ class DescribeGrafanaEnvironmentsResponse < TencentCloud::Common::AbstractModel
4098
+ # @param Envs: 环境变量字符串
4099
+ # @type Envs: String
4100
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4101
+ # @type RequestId: String
3762
4102
 
3763
- attr_accessor :CalcType, :CalcValue, :ContinueTime, :Period, :PeriodNum, :StatType
4103
+ attr_accessor :Envs, :RequestId
3764
4104
 
3765
- def initialize(calctype=nil, calcvalue=nil, continuetime=nil, period=nil, periodnum=nil, stattype=nil)
3766
- @CalcType = calctype
3767
- @CalcValue = calcvalue
3768
- @ContinueTime = continuetime
3769
- @Period = period
3770
- @PeriodNum = periodnum
3771
- @StatType = stattype
4105
+ def initialize(envs=nil, requestid=nil)
4106
+ @Envs = envs
4107
+ @RequestId = requestid
3772
4108
  end
3773
4109
 
3774
4110
  def deserialize(params)
3775
- unless params['CalcType'].nil?
3776
- @CalcType = DescribePolicyConditionListConfigManualCalcType.new
3777
- @CalcType.deserialize(params['CalcType'])
3778
- end
3779
- unless params['CalcValue'].nil?
3780
- @CalcValue = DescribePolicyConditionListConfigManualCalcValue.new
3781
- @CalcValue.deserialize(params['CalcValue'])
3782
- end
3783
- unless params['ContinueTime'].nil?
3784
- @ContinueTime = DescribePolicyConditionListConfigManualContinueTime.new
3785
- @ContinueTime.deserialize(params['ContinueTime'])
3786
- end
3787
- unless params['Period'].nil?
3788
- @Period = DescribePolicyConditionListConfigManualPeriod.new
3789
- @Period.deserialize(params['Period'])
3790
- end
3791
- unless params['PeriodNum'].nil?
3792
- @PeriodNum = DescribePolicyConditionListConfigManualPeriodNum.new
3793
- @PeriodNum.deserialize(params['PeriodNum'])
3794
- end
3795
- unless params['StatType'].nil?
3796
- @StatType = DescribePolicyConditionListConfigManualStatType.new
3797
- @StatType.deserialize(params['StatType'])
3798
- end
4111
+ @Envs = params['Envs']
4112
+ @RequestId = params['RequestId']
3799
4113
  end
3800
4114
  end
3801
4115
 
3802
- # DescribePolicyConditionList.ConfigManual.CalcType
3803
- class DescribePolicyConditionListConfigManualCalcType < TencentCloud::Common::AbstractModel
3804
- # @param Keys: CalcType 取值
3805
- # 注意:此字段可能返回 null,表示取不到有效值。
3806
- # @type Keys: Array
3807
- # @param Need: 是否必须
3808
- # @type Need: Boolean
4116
+ # DescribeGrafanaInstances请求参数结构体
4117
+ class DescribeGrafanaInstancesRequest < TencentCloud::Common::AbstractModel
4118
+ # @param Offset: 查询偏移量
4119
+ # @type Offset: Integer
4120
+ # @param Limit: 查询数量
4121
+ # @type Limit: Integer
4122
+ # @param InstanceIds: 实例 ID 数组
4123
+ # @type InstanceIds: Array
4124
+ # @param InstanceName: 实例名,支持前缀模糊搜索
4125
+ # @type InstanceName: String
4126
+ # @param InstanceStatus: 查询状态
4127
+ # @type InstanceStatus: Array
4128
+ # @param TagFilters: 标签过滤数组
4129
+ # @type TagFilters: Array
3809
4130
 
3810
- attr_accessor :Keys, :Need
4131
+ attr_accessor :Offset, :Limit, :InstanceIds, :InstanceName, :InstanceStatus, :TagFilters
3811
4132
 
3812
- def initialize(keys=nil, need=nil)
3813
- @Keys = keys
3814
- @Need = need
4133
+ def initialize(offset=nil, limit=nil, instanceids=nil, instancename=nil, instancestatus=nil, tagfilters=nil)
4134
+ @Offset = offset
4135
+ @Limit = limit
4136
+ @InstanceIds = instanceids
4137
+ @InstanceName = instancename
4138
+ @InstanceStatus = instancestatus
4139
+ @TagFilters = tagfilters
3815
4140
  end
3816
4141
 
3817
4142
  def deserialize(params)
3818
- @Keys = params['Keys']
3819
- @Need = params['Need']
4143
+ @Offset = params['Offset']
4144
+ @Limit = params['Limit']
4145
+ @InstanceIds = params['InstanceIds']
4146
+ @InstanceName = params['InstanceName']
4147
+ @InstanceStatus = params['InstanceStatus']
4148
+ unless params['TagFilters'].nil?
4149
+ @TagFilters = []
4150
+ params['TagFilters'].each do |i|
4151
+ prometheustag_tmp = PrometheusTag.new
4152
+ prometheustag_tmp.deserialize(i)
4153
+ @TagFilters << prometheustag_tmp
4154
+ end
4155
+ end
3820
4156
  end
3821
4157
  end
3822
4158
 
3823
- # DescribePolicyConditionList.ConfigManual.CalcValue
3824
- class DescribePolicyConditionListConfigManualCalcValue < TencentCloud::Common::AbstractModel
3825
- # @param Default: 默认值
3826
- # 注意:此字段可能返回 null,表示取不到有效值。
3827
- # @type Default: String
3828
- # @param Fixed: 固定值
3829
- # 注意:此字段可能返回 null,表示取不到有效值。
3830
- # @type Fixed: String
3831
- # @param Max: 最大值
3832
- # 注意:此字段可能返回 null,表示取不到有效值。
3833
- # @type Max: String
3834
- # @param Min: 最小值
3835
- # 注意:此字段可能返回 null,表示取不到有效值。
3836
- # @type Min: String
4159
+ # DescribeGrafanaInstances返回参数结构体
4160
+ class DescribeGrafanaInstancesResponse < TencentCloud::Common::AbstractModel
4161
+ # @param InstanceSet: 已废弃,请使用 Instances
4162
+ # @type InstanceSet: Array
4163
+ # @param TotalCount: 符合查询条件的实例总数
4164
+ # @type TotalCount: Integer
4165
+ # @param Instances: 实例列表
4166
+ # @type Instances: Array
4167
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4168
+ # @type RequestId: String
4169
+
4170
+ attr_accessor :InstanceSet, :TotalCount, :Instances, :RequestId
4171
+
4172
+ def initialize(instanceset=nil, totalcount=nil, instances=nil, requestid=nil)
4173
+ @InstanceSet = instanceset
4174
+ @TotalCount = totalcount
4175
+ @Instances = instances
4176
+ @RequestId = requestid
4177
+ end
4178
+
4179
+ def deserialize(params)
4180
+ unless params['InstanceSet'].nil?
4181
+ @InstanceSet = []
4182
+ params['InstanceSet'].each do |i|
4183
+ grafanainstanceinfo_tmp = GrafanaInstanceInfo.new
4184
+ grafanainstanceinfo_tmp.deserialize(i)
4185
+ @InstanceSet << grafanainstanceinfo_tmp
4186
+ end
4187
+ end
4188
+ @TotalCount = params['TotalCount']
4189
+ unless params['Instances'].nil?
4190
+ @Instances = []
4191
+ params['Instances'].each do |i|
4192
+ grafanainstanceinfo_tmp = GrafanaInstanceInfo.new
4193
+ grafanainstanceinfo_tmp.deserialize(i)
4194
+ @Instances << grafanainstanceinfo_tmp
4195
+ end
4196
+ end
4197
+ @RequestId = params['RequestId']
4198
+ end
4199
+ end
4200
+
4201
+ # DescribeGrafanaIntegrations请求参数结构体
4202
+ class DescribeGrafanaIntegrationsRequest < TencentCloud::Common::AbstractModel
4203
+ # @param InstanceId: 实例名
4204
+ # @type InstanceId: String
4205
+ # @param IntegrationId: 集成 ID
4206
+ # @type IntegrationId: String
4207
+ # @param Kind: 类型
4208
+ # @type Kind: String
4209
+
4210
+ attr_accessor :InstanceId, :IntegrationId, :Kind
4211
+
4212
+ def initialize(instanceid=nil, integrationid=nil, kind=nil)
4213
+ @InstanceId = instanceid
4214
+ @IntegrationId = integrationid
4215
+ @Kind = kind
4216
+ end
4217
+
4218
+ def deserialize(params)
4219
+ @InstanceId = params['InstanceId']
4220
+ @IntegrationId = params['IntegrationId']
4221
+ @Kind = params['Kind']
4222
+ end
4223
+ end
4224
+
4225
+ # DescribeGrafanaIntegrations返回参数结构体
4226
+ class DescribeGrafanaIntegrationsResponse < TencentCloud::Common::AbstractModel
4227
+ # @param IntegrationSet: 集成数组
4228
+ # @type IntegrationSet: Array
4229
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4230
+ # @type RequestId: String
4231
+
4232
+ attr_accessor :IntegrationSet, :RequestId
4233
+
4234
+ def initialize(integrationset=nil, requestid=nil)
4235
+ @IntegrationSet = integrationset
4236
+ @RequestId = requestid
4237
+ end
4238
+
4239
+ def deserialize(params)
4240
+ unless params['IntegrationSet'].nil?
4241
+ @IntegrationSet = []
4242
+ params['IntegrationSet'].each do |i|
4243
+ grafanaintegrationconfig_tmp = GrafanaIntegrationConfig.new
4244
+ grafanaintegrationconfig_tmp.deserialize(i)
4245
+ @IntegrationSet << grafanaintegrationconfig_tmp
4246
+ end
4247
+ end
4248
+ @RequestId = params['RequestId']
4249
+ end
4250
+ end
4251
+
4252
+ # DescribeGrafanaNotificationChannels请求参数结构体
4253
+ class DescribeGrafanaNotificationChannelsRequest < TencentCloud::Common::AbstractModel
4254
+ # @param InstanceId: 实例名
4255
+ # @type InstanceId: String
4256
+ # @param Offset: 偏移量
4257
+ # @type Offset: Integer
4258
+ # @param Limit: 查询数量
4259
+ # @type Limit: Integer
4260
+ # @param ChannelName: 渠道名
4261
+ # @type ChannelName: String
4262
+ # @param ChannelIDs: 渠道 ID
4263
+ # @type ChannelIDs: Array
4264
+ # @param ChannelState: 状态
4265
+ # @type ChannelState: Integer
4266
+
4267
+ attr_accessor :InstanceId, :Offset, :Limit, :ChannelName, :ChannelIDs, :ChannelState
4268
+
4269
+ def initialize(instanceid=nil, offset=nil, limit=nil, channelname=nil, channelids=nil, channelstate=nil)
4270
+ @InstanceId = instanceid
4271
+ @Offset = offset
4272
+ @Limit = limit
4273
+ @ChannelName = channelname
4274
+ @ChannelIDs = channelids
4275
+ @ChannelState = channelstate
4276
+ end
4277
+
4278
+ def deserialize(params)
4279
+ @InstanceId = params['InstanceId']
4280
+ @Offset = params['Offset']
4281
+ @Limit = params['Limit']
4282
+ @ChannelName = params['ChannelName']
4283
+ @ChannelIDs = params['ChannelIDs']
4284
+ @ChannelState = params['ChannelState']
4285
+ end
4286
+ end
4287
+
4288
+ # DescribeGrafanaNotificationChannels返回参数结构体
4289
+ class DescribeGrafanaNotificationChannelsResponse < TencentCloud::Common::AbstractModel
4290
+ # @param NotificationChannelSet: 告警通道数组
4291
+ # @type NotificationChannelSet: Array
4292
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4293
+ # @type RequestId: String
4294
+
4295
+ attr_accessor :NotificationChannelSet, :RequestId
4296
+
4297
+ def initialize(notificationchannelset=nil, requestid=nil)
4298
+ @NotificationChannelSet = notificationchannelset
4299
+ @RequestId = requestid
4300
+ end
4301
+
4302
+ def deserialize(params)
4303
+ unless params['NotificationChannelSet'].nil?
4304
+ @NotificationChannelSet = []
4305
+ params['NotificationChannelSet'].each do |i|
4306
+ grafananotificationchannel_tmp = GrafanaNotificationChannel.new
4307
+ grafananotificationchannel_tmp.deserialize(i)
4308
+ @NotificationChannelSet << grafananotificationchannel_tmp
4309
+ end
4310
+ end
4311
+ @RequestId = params['RequestId']
4312
+ end
4313
+ end
4314
+
4315
+ # DescribeGrafanaWhiteList请求参数结构体
4316
+ class DescribeGrafanaWhiteListRequest < TencentCloud::Common::AbstractModel
4317
+ # @param InstanceId: 实例名
4318
+ # @type InstanceId: String
4319
+
4320
+ attr_accessor :InstanceId
4321
+
4322
+ def initialize(instanceid=nil)
4323
+ @InstanceId = instanceid
4324
+ end
4325
+
4326
+ def deserialize(params)
4327
+ @InstanceId = params['InstanceId']
4328
+ end
4329
+ end
4330
+
4331
+ # DescribeGrafanaWhiteList返回参数结构体
4332
+ class DescribeGrafanaWhiteListResponse < TencentCloud::Common::AbstractModel
4333
+ # @param WhiteList: 数组
4334
+ # @type WhiteList: Array
4335
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4336
+ # @type RequestId: String
4337
+
4338
+ attr_accessor :WhiteList, :RequestId
4339
+
4340
+ def initialize(whitelist=nil, requestid=nil)
4341
+ @WhiteList = whitelist
4342
+ @RequestId = requestid
4343
+ end
4344
+
4345
+ def deserialize(params)
4346
+ @WhiteList = params['WhiteList']
4347
+ @RequestId = params['RequestId']
4348
+ end
4349
+ end
4350
+
4351
+ # DescribeInstalledPlugins请求参数结构体
4352
+ class DescribeInstalledPluginsRequest < TencentCloud::Common::AbstractModel
4353
+ # @param InstanceId: 实例 ID
4354
+ # @type InstanceId: String
4355
+
4356
+ attr_accessor :InstanceId
4357
+
4358
+ def initialize(instanceid=nil)
4359
+ @InstanceId = instanceid
4360
+ end
4361
+
4362
+ def deserialize(params)
4363
+ @InstanceId = params['InstanceId']
4364
+ end
4365
+ end
4366
+
4367
+ # DescribeInstalledPlugins返回参数结构体
4368
+ class DescribeInstalledPluginsResponse < TencentCloud::Common::AbstractModel
4369
+ # @param PluginSet: 插件列表
4370
+ # @type PluginSet: Array
4371
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4372
+ # @type RequestId: String
4373
+
4374
+ attr_accessor :PluginSet, :RequestId
4375
+
4376
+ def initialize(pluginset=nil, requestid=nil)
4377
+ @PluginSet = pluginset
4378
+ @RequestId = requestid
4379
+ end
4380
+
4381
+ def deserialize(params)
4382
+ unless params['PluginSet'].nil?
4383
+ @PluginSet = []
4384
+ params['PluginSet'].each do |i|
4385
+ grafanaplugin_tmp = GrafanaPlugin.new
4386
+ grafanaplugin_tmp.deserialize(i)
4387
+ @PluginSet << grafanaplugin_tmp
4388
+ end
4389
+ end
4390
+ @RequestId = params['RequestId']
4391
+ end
4392
+ end
4393
+
4394
+ # DescribeMonitorTypes请求参数结构体
4395
+ class DescribeMonitorTypesRequest < TencentCloud::Common::AbstractModel
4396
+ # @param Module: 模块名,固定值 monitor
4397
+ # @type Module: String
4398
+
4399
+ attr_accessor :Module
4400
+
4401
+ def initialize(_module=nil)
4402
+ @Module = _module
4403
+ end
4404
+
4405
+ def deserialize(params)
4406
+ @Module = params['Module']
4407
+ end
4408
+ end
4409
+
4410
+ # DescribeMonitorTypes返回参数结构体
4411
+ class DescribeMonitorTypesResponse < TencentCloud::Common::AbstractModel
4412
+ # @param MonitorTypes: 监控类型,云产品监控为 MT_QCE
4413
+ # @type MonitorTypes: Array
4414
+ # @param MonitorTypeInfos: 监控类型详情
4415
+ # @type MonitorTypeInfos: Array
4416
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4417
+ # @type RequestId: String
4418
+
4419
+ attr_accessor :MonitorTypes, :MonitorTypeInfos, :RequestId
4420
+
4421
+ def initialize(monitortypes=nil, monitortypeinfos=nil, requestid=nil)
4422
+ @MonitorTypes = monitortypes
4423
+ @MonitorTypeInfos = monitortypeinfos
4424
+ @RequestId = requestid
4425
+ end
4426
+
4427
+ def deserialize(params)
4428
+ @MonitorTypes = params['MonitorTypes']
4429
+ unless params['MonitorTypeInfos'].nil?
4430
+ @MonitorTypeInfos = []
4431
+ params['MonitorTypeInfos'].each do |i|
4432
+ monitortypeinfo_tmp = MonitorTypeInfo.new
4433
+ monitortypeinfo_tmp.deserialize(i)
4434
+ @MonitorTypeInfos << monitortypeinfo_tmp
4435
+ end
4436
+ end
4437
+ @RequestId = params['RequestId']
4438
+ end
4439
+ end
4440
+
4441
+ # DescribePluginOverviews请求参数结构体
4442
+ class DescribePluginOverviewsRequest < TencentCloud::Common::AbstractModel
4443
+
4444
+
4445
+ def initialize()
4446
+ end
4447
+
4448
+ def deserialize(params)
4449
+ end
4450
+ end
4451
+
4452
+ # DescribePluginOverviews返回参数结构体
4453
+ class DescribePluginOverviewsResponse < TencentCloud::Common::AbstractModel
4454
+ # @param PluginSet: 插件列表
4455
+ # @type PluginSet: Array
4456
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4457
+ # @type RequestId: String
4458
+
4459
+ attr_accessor :PluginSet, :RequestId
4460
+
4461
+ def initialize(pluginset=nil, requestid=nil)
4462
+ @PluginSet = pluginset
4463
+ @RequestId = requestid
4464
+ end
4465
+
4466
+ def deserialize(params)
4467
+ unless params['PluginSet'].nil?
4468
+ @PluginSet = []
4469
+ params['PluginSet'].each do |i|
4470
+ grafanaplugin_tmp = GrafanaPlugin.new
4471
+ grafanaplugin_tmp.deserialize(i)
4472
+ @PluginSet << grafanaplugin_tmp
4473
+ end
4474
+ end
4475
+ @RequestId = params['RequestId']
4476
+ end
4477
+ end
4478
+
4479
+ # DescribePolicyConditionList策略条件
4480
+ class DescribePolicyConditionListCondition < TencentCloud::Common::AbstractModel
4481
+ # @param PolicyViewName: 策略视图名称
4482
+ # @type PolicyViewName: String
4483
+ # @param EventMetrics: 事件告警条件
4484
+ # 注意:此字段可能返回 null,表示取不到有效值。
4485
+ # @type EventMetrics: Array
4486
+ # @param IsSupportMultiRegion: 是否支持多地域
4487
+ # @type IsSupportMultiRegion: Boolean
4488
+ # @param Metrics: 指标告警条件
4489
+ # 注意:此字段可能返回 null,表示取不到有效值。
4490
+ # @type Metrics: Array
4491
+ # @param Name: 策略类型名称
4492
+ # @type Name: String
4493
+ # @param SortId: 排序id
4494
+ # @type SortId: Integer
4495
+ # @param SupportDefault: 是否支持默认策略
4496
+ # @type SupportDefault: Boolean
4497
+ # @param SupportRegions: 支持该策略类型的地域列表
4498
+ # 注意:此字段可能返回 null,表示取不到有效值。
4499
+ # @type SupportRegions: Array
4500
+
4501
+ attr_accessor :PolicyViewName, :EventMetrics, :IsSupportMultiRegion, :Metrics, :Name, :SortId, :SupportDefault, :SupportRegions
4502
+
4503
+ def initialize(policyviewname=nil, eventmetrics=nil, issupportmultiregion=nil, metrics=nil, name=nil, sortid=nil, supportdefault=nil, supportregions=nil)
4504
+ @PolicyViewName = policyviewname
4505
+ @EventMetrics = eventmetrics
4506
+ @IsSupportMultiRegion = issupportmultiregion
4507
+ @Metrics = metrics
4508
+ @Name = name
4509
+ @SortId = sortid
4510
+ @SupportDefault = supportdefault
4511
+ @SupportRegions = supportregions
4512
+ end
4513
+
4514
+ def deserialize(params)
4515
+ @PolicyViewName = params['PolicyViewName']
4516
+ unless params['EventMetrics'].nil?
4517
+ @EventMetrics = []
4518
+ params['EventMetrics'].each do |i|
4519
+ describepolicyconditionlisteventmetric_tmp = DescribePolicyConditionListEventMetric.new
4520
+ describepolicyconditionlisteventmetric_tmp.deserialize(i)
4521
+ @EventMetrics << describepolicyconditionlisteventmetric_tmp
4522
+ end
4523
+ end
4524
+ @IsSupportMultiRegion = params['IsSupportMultiRegion']
4525
+ unless params['Metrics'].nil?
4526
+ @Metrics = []
4527
+ params['Metrics'].each do |i|
4528
+ describepolicyconditionlistmetric_tmp = DescribePolicyConditionListMetric.new
4529
+ describepolicyconditionlistmetric_tmp.deserialize(i)
4530
+ @Metrics << describepolicyconditionlistmetric_tmp
4531
+ end
4532
+ end
4533
+ @Name = params['Name']
4534
+ @SortId = params['SortId']
4535
+ @SupportDefault = params['SupportDefault']
4536
+ @SupportRegions = params['SupportRegions']
4537
+ end
4538
+ end
4539
+
4540
+ # DescribePolicyConditionList.ConfigManual
4541
+ class DescribePolicyConditionListConfigManual < TencentCloud::Common::AbstractModel
4542
+ # @param CalcType: 检测方式
4543
+ # 注意:此字段可能返回 null,表示取不到有效值。
4544
+ # @type CalcType: :class:`Tencentcloud::Monitor.v20180724.models.DescribePolicyConditionListConfigManualCalcType`
4545
+ # @param CalcValue: 检测阈值
4546
+ # 注意:此字段可能返回 null,表示取不到有效值。
4547
+ # @type CalcValue: :class:`Tencentcloud::Monitor.v20180724.models.DescribePolicyConditionListConfigManualCalcValue`
4548
+ # @param ContinueTime: 持续时间
4549
+ # 注意:此字段可能返回 null,表示取不到有效值。
4550
+ # @type ContinueTime: :class:`Tencentcloud::Monitor.v20180724.models.DescribePolicyConditionListConfigManualContinueTime`
4551
+ # @param Period: 数据周期
4552
+ # 注意:此字段可能返回 null,表示取不到有效值。
4553
+ # @type Period: :class:`Tencentcloud::Monitor.v20180724.models.DescribePolicyConditionListConfigManualPeriod`
4554
+ # @param PeriodNum: 持续周期个数
4555
+ # 注意:此字段可能返回 null,表示取不到有效值。
4556
+ # @type PeriodNum: :class:`Tencentcloud::Monitor.v20180724.models.DescribePolicyConditionListConfigManualPeriodNum`
4557
+ # @param StatType: 聚合方式
4558
+ # 注意:此字段可能返回 null,表示取不到有效值。
4559
+ # @type StatType: :class:`Tencentcloud::Monitor.v20180724.models.DescribePolicyConditionListConfigManualStatType`
4560
+
4561
+ attr_accessor :CalcType, :CalcValue, :ContinueTime, :Period, :PeriodNum, :StatType
4562
+
4563
+ def initialize(calctype=nil, calcvalue=nil, continuetime=nil, period=nil, periodnum=nil, stattype=nil)
4564
+ @CalcType = calctype
4565
+ @CalcValue = calcvalue
4566
+ @ContinueTime = continuetime
4567
+ @Period = period
4568
+ @PeriodNum = periodnum
4569
+ @StatType = stattype
4570
+ end
4571
+
4572
+ def deserialize(params)
4573
+ unless params['CalcType'].nil?
4574
+ @CalcType = DescribePolicyConditionListConfigManualCalcType.new
4575
+ @CalcType.deserialize(params['CalcType'])
4576
+ end
4577
+ unless params['CalcValue'].nil?
4578
+ @CalcValue = DescribePolicyConditionListConfigManualCalcValue.new
4579
+ @CalcValue.deserialize(params['CalcValue'])
4580
+ end
4581
+ unless params['ContinueTime'].nil?
4582
+ @ContinueTime = DescribePolicyConditionListConfigManualContinueTime.new
4583
+ @ContinueTime.deserialize(params['ContinueTime'])
4584
+ end
4585
+ unless params['Period'].nil?
4586
+ @Period = DescribePolicyConditionListConfigManualPeriod.new
4587
+ @Period.deserialize(params['Period'])
4588
+ end
4589
+ unless params['PeriodNum'].nil?
4590
+ @PeriodNum = DescribePolicyConditionListConfigManualPeriodNum.new
4591
+ @PeriodNum.deserialize(params['PeriodNum'])
4592
+ end
4593
+ unless params['StatType'].nil?
4594
+ @StatType = DescribePolicyConditionListConfigManualStatType.new
4595
+ @StatType.deserialize(params['StatType'])
4596
+ end
4597
+ end
4598
+ end
4599
+
4600
+ # DescribePolicyConditionList.ConfigManual.CalcType
4601
+ class DescribePolicyConditionListConfigManualCalcType < TencentCloud::Common::AbstractModel
4602
+ # @param Keys: CalcType 取值
4603
+ # 注意:此字段可能返回 null,表示取不到有效值。
4604
+ # @type Keys: Array
4605
+ # @param Need: 是否必须
4606
+ # @type Need: Boolean
4607
+
4608
+ attr_accessor :Keys, :Need
4609
+
4610
+ def initialize(keys=nil, need=nil)
4611
+ @Keys = keys
4612
+ @Need = need
4613
+ end
4614
+
4615
+ def deserialize(params)
4616
+ @Keys = params['Keys']
4617
+ @Need = params['Need']
4618
+ end
4619
+ end
4620
+
4621
+ # DescribePolicyConditionList.ConfigManual.CalcValue
4622
+ class DescribePolicyConditionListConfigManualCalcValue < TencentCloud::Common::AbstractModel
4623
+ # @param Default: 默认值
4624
+ # 注意:此字段可能返回 null,表示取不到有效值。
4625
+ # @type Default: String
4626
+ # @param Fixed: 固定值
4627
+ # 注意:此字段可能返回 null,表示取不到有效值。
4628
+ # @type Fixed: String
4629
+ # @param Max: 最大值
4630
+ # 注意:此字段可能返回 null,表示取不到有效值。
4631
+ # @type Max: String
4632
+ # @param Min: 最小值
4633
+ # 注意:此字段可能返回 null,表示取不到有效值。
4634
+ # @type Min: String
3837
4635
  # @param Need: 是否必须
3838
4636
  # @type Need: Boolean
3839
4637
 
@@ -5449,6 +6247,50 @@ module TencentCloud
5449
6247
  end
5450
6248
  end
5451
6249
 
6250
+ # DescribeSSOAccount请求参数结构体
6251
+ class DescribeSSOAccountRequest < TencentCloud::Common::AbstractModel
6252
+ # @param InstanceId: 实例ID
6253
+ # @type InstanceId: String
6254
+
6255
+ attr_accessor :InstanceId
6256
+
6257
+ def initialize(instanceid=nil)
6258
+ @InstanceId = instanceid
6259
+ end
6260
+
6261
+ def deserialize(params)
6262
+ @InstanceId = params['InstanceId']
6263
+ end
6264
+ end
6265
+
6266
+ # DescribeSSOAccount返回参数结构体
6267
+ class DescribeSSOAccountResponse < TencentCloud::Common::AbstractModel
6268
+ # @param AccountSet: 授权账号列表
6269
+ # 注意:此字段可能返回 null,表示取不到有效值。
6270
+ # @type AccountSet: Array
6271
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6272
+ # @type RequestId: String
6273
+
6274
+ attr_accessor :AccountSet, :RequestId
6275
+
6276
+ def initialize(accountset=nil, requestid=nil)
6277
+ @AccountSet = accountset
6278
+ @RequestId = requestid
6279
+ end
6280
+
6281
+ def deserialize(params)
6282
+ unless params['AccountSet'].nil?
6283
+ @AccountSet = []
6284
+ params['AccountSet'].each do |i|
6285
+ grafanaaccountinfo_tmp = GrafanaAccountInfo.new
6286
+ grafanaaccountinfo_tmp.deserialize(i)
6287
+ @AccountSet << grafanaaccountinfo_tmp
6288
+ end
6289
+ end
6290
+ @RequestId = params['RequestId']
6291
+ end
6292
+ end
6293
+
5452
6294
  # DescribeServiceDiscovery请求参数结构体
5453
6295
  class DescribeServiceDiscoveryRequest < TencentCloud::Common::AbstractModel
5454
6296
  # @param InstanceId: Prometheus 实例 ID
@@ -5571,50 +6413,158 @@ module TencentCloud
5571
6413
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5572
6414
  # @type RequestId: String
5573
6415
 
5574
- attr_accessor :Period, :StartTime, :EndTime, :Data, :RequestId
6416
+ attr_accessor :Period, :StartTime, :EndTime, :Data, :RequestId
6417
+
6418
+ def initialize(period=nil, starttime=nil, endtime=nil, data=nil, requestid=nil)
6419
+ @Period = period
6420
+ @StartTime = starttime
6421
+ @EndTime = endtime
6422
+ @Data = data
6423
+ @RequestId = requestid
6424
+ end
6425
+
6426
+ def deserialize(params)
6427
+ @Period = params['Period']
6428
+ @StartTime = params['StartTime']
6429
+ @EndTime = params['EndTime']
6430
+ unless params['Data'].nil?
6431
+ @Data = []
6432
+ params['Data'].each do |i|
6433
+ metricdata_tmp = MetricData.new
6434
+ metricdata_tmp.deserialize(i)
6435
+ @Data << metricdata_tmp
6436
+ end
6437
+ end
6438
+ @RequestId = params['RequestId']
6439
+ end
6440
+ end
6441
+
6442
+ # DestroyPrometheusInstance请求参数结构体
6443
+ class DestroyPrometheusInstanceRequest < TencentCloud::Common::AbstractModel
6444
+ # @param InstanceId: 实例 ID,该实例必须先被 terminate
6445
+ # @type InstanceId: String
6446
+
6447
+ attr_accessor :InstanceId
6448
+
6449
+ def initialize(instanceid=nil)
6450
+ @InstanceId = instanceid
6451
+ end
6452
+
6453
+ def deserialize(params)
6454
+ @InstanceId = params['InstanceId']
6455
+ end
6456
+ end
6457
+
6458
+ # DestroyPrometheusInstance返回参数结构体
6459
+ class DestroyPrometheusInstanceResponse < TencentCloud::Common::AbstractModel
6460
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6461
+ # @type RequestId: String
6462
+
6463
+ attr_accessor :RequestId
6464
+
6465
+ def initialize(requestid=nil)
6466
+ @RequestId = requestid
6467
+ end
6468
+
6469
+ def deserialize(params)
6470
+ @RequestId = params['RequestId']
6471
+ end
6472
+ end
6473
+
6474
+ # 实例对象的维度组合
6475
+ class Dimension < TencentCloud::Common::AbstractModel
6476
+ # @param Name: 实例维度名称
6477
+ # @type Name: String
6478
+ # @param Value: 实例维度值
6479
+ # @type Value: String
6480
+
6481
+ attr_accessor :Name, :Value
6482
+
6483
+ def initialize(name=nil, value=nil)
6484
+ @Name = name
6485
+ @Value = value
6486
+ end
6487
+
6488
+ def deserialize(params)
6489
+ @Name = params['Name']
6490
+ @Value = params['Value']
6491
+ end
6492
+ end
6493
+
6494
+ # 维度信息
6495
+ class DimensionsDesc < TencentCloud::Common::AbstractModel
6496
+ # @param Dimensions: 维度名数组
6497
+ # @type Dimensions: Array
6498
+
6499
+ attr_accessor :Dimensions
6500
+
6501
+ def initialize(dimensions=nil)
6502
+ @Dimensions = dimensions
6503
+ end
6504
+
6505
+ def deserialize(params)
6506
+ @Dimensions = params['Dimensions']
6507
+ end
6508
+ end
6509
+
6510
+ # EnableGrafanaInternet请求参数结构体
6511
+ class EnableGrafanaInternetRequest < TencentCloud::Common::AbstractModel
6512
+ # @param InstanceID: 实例 ID
6513
+ # @type InstanceID: String
6514
+ # @param EnableInternet: 开启或关闭
6515
+ # @type EnableInternet: Boolean
6516
+
6517
+ attr_accessor :InstanceID, :EnableInternet
6518
+
6519
+ def initialize(instanceid=nil, enableinternet=nil)
6520
+ @InstanceID = instanceid
6521
+ @EnableInternet = enableinternet
6522
+ end
6523
+
6524
+ def deserialize(params)
6525
+ @InstanceID = params['InstanceID']
6526
+ @EnableInternet = params['EnableInternet']
6527
+ end
6528
+ end
6529
+
6530
+ # EnableGrafanaInternet返回参数结构体
6531
+ class EnableGrafanaInternetResponse < TencentCloud::Common::AbstractModel
6532
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6533
+ # @type RequestId: String
6534
+
6535
+ attr_accessor :RequestId
5575
6536
 
5576
- def initialize(period=nil, starttime=nil, endtime=nil, data=nil, requestid=nil)
5577
- @Period = period
5578
- @StartTime = starttime
5579
- @EndTime = endtime
5580
- @Data = data
6537
+ def initialize(requestid=nil)
5581
6538
  @RequestId = requestid
5582
6539
  end
5583
6540
 
5584
6541
  def deserialize(params)
5585
- @Period = params['Period']
5586
- @StartTime = params['StartTime']
5587
- @EndTime = params['EndTime']
5588
- unless params['Data'].nil?
5589
- @Data = []
5590
- params['Data'].each do |i|
5591
- metricdata_tmp = MetricData.new
5592
- metricdata_tmp.deserialize(i)
5593
- @Data << metricdata_tmp
5594
- end
5595
- end
5596
6542
  @RequestId = params['RequestId']
5597
6543
  end
5598
6544
  end
5599
6545
 
5600
- # DestroyPrometheusInstance请求参数结构体
5601
- class DestroyPrometheusInstanceRequest < TencentCloud::Common::AbstractModel
5602
- # @param InstanceId: 实例 ID,该实例必须先被 terminate
6546
+ # EnableGrafanaSSO请求参数结构体
6547
+ class EnableGrafanaSSORequest < TencentCloud::Common::AbstractModel
6548
+ # @param EnableSSO: 是否开启 SSO
6549
+ # @type EnableSSO: Boolean
6550
+ # @param InstanceId: 实例 ID
5603
6551
  # @type InstanceId: String
5604
6552
 
5605
- attr_accessor :InstanceId
6553
+ attr_accessor :EnableSSO, :InstanceId
5606
6554
 
5607
- def initialize(instanceid=nil)
6555
+ def initialize(enablesso=nil, instanceid=nil)
6556
+ @EnableSSO = enablesso
5608
6557
  @InstanceId = instanceid
5609
6558
  end
5610
6559
 
5611
6560
  def deserialize(params)
6561
+ @EnableSSO = params['EnableSSO']
5612
6562
  @InstanceId = params['InstanceId']
5613
6563
  end
5614
6564
  end
5615
6565
 
5616
- # DestroyPrometheusInstance返回参数结构体
5617
- class DestroyPrometheusInstanceResponse < TencentCloud::Common::AbstractModel
6566
+ # EnableGrafanaSSO返回参数结构体
6567
+ class EnableGrafanaSSOResponse < TencentCloud::Common::AbstractModel
5618
6568
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5619
6569
  # @type RequestId: String
5620
6570
 
@@ -5629,39 +6579,39 @@ module TencentCloud
5629
6579
  end
5630
6580
  end
5631
6581
 
5632
- # 实例对象的维度组合
5633
- class Dimension < TencentCloud::Common::AbstractModel
5634
- # @param Name: 实例维度名称
5635
- # @type Name: String
5636
- # @param Value: 实例维度值
5637
- # @type Value: String
6582
+ # EnableSSOCamCheck请求参数结构体
6583
+ class EnableSSOCamCheckRequest < TencentCloud::Common::AbstractModel
6584
+ # @param InstanceId: 实例ID
6585
+ # @type InstanceId: String
6586
+ # @param EnableSSOCamCheck: 是否开启cam鉴权
6587
+ # @type EnableSSOCamCheck: Boolean
5638
6588
 
5639
- attr_accessor :Name, :Value
6589
+ attr_accessor :InstanceId, :EnableSSOCamCheck
5640
6590
 
5641
- def initialize(name=nil, value=nil)
5642
- @Name = name
5643
- @Value = value
6591
+ def initialize(instanceid=nil, enablessocamcheck=nil)
6592
+ @InstanceId = instanceid
6593
+ @EnableSSOCamCheck = enablessocamcheck
5644
6594
  end
5645
6595
 
5646
6596
  def deserialize(params)
5647
- @Name = params['Name']
5648
- @Value = params['Value']
6597
+ @InstanceId = params['InstanceId']
6598
+ @EnableSSOCamCheck = params['EnableSSOCamCheck']
5649
6599
  end
5650
6600
  end
5651
6601
 
5652
- # 维度信息
5653
- class DimensionsDesc < TencentCloud::Common::AbstractModel
5654
- # @param Dimensions: 维度名数组
5655
- # @type Dimensions: Array
6602
+ # EnableSSOCamCheck返回参数结构体
6603
+ class EnableSSOCamCheckResponse < TencentCloud::Common::AbstractModel
6604
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6605
+ # @type RequestId: String
5656
6606
 
5657
- attr_accessor :Dimensions
6607
+ attr_accessor :RequestId
5658
6608
 
5659
- def initialize(dimensions=nil)
5660
- @Dimensions = dimensions
6609
+ def initialize(requestid=nil)
6610
+ @RequestId = requestid
5661
6611
  end
5662
6612
 
5663
6613
  def deserialize(params)
5664
- @Dimensions = params['Dimensions']
6614
+ @RequestId = params['RequestId']
5665
6615
  end
5666
6616
  end
5667
6617
 
@@ -5828,6 +6778,281 @@ module TencentCloud
5828
6778
  end
5829
6779
  end
5830
6780
 
6781
+ # Grafana可视化服务 授权账户信息
6782
+ class GrafanaAccountInfo < TencentCloud::Common::AbstractModel
6783
+ # @param UserId: 用户账号ID
6784
+ # @type UserId: String
6785
+ # @param Role: 用户权限
6786
+ # @type Role: Array
6787
+ # @param Notes: 备注
6788
+ # @type Notes: String
6789
+ # @param CreateAt: 创建时间
6790
+ # @type CreateAt: String
6791
+
6792
+ attr_accessor :UserId, :Role, :Notes, :CreateAt
6793
+
6794
+ def initialize(userid=nil, role=nil, notes=nil, createat=nil)
6795
+ @UserId = userid
6796
+ @Role = role
6797
+ @Notes = notes
6798
+ @CreateAt = createat
6799
+ end
6800
+
6801
+ def deserialize(params)
6802
+ @UserId = params['UserId']
6803
+ unless params['Role'].nil?
6804
+ @Role = []
6805
+ params['Role'].each do |i|
6806
+ grafanaaccountrole_tmp = GrafanaAccountRole.new
6807
+ grafanaaccountrole_tmp.deserialize(i)
6808
+ @Role << grafanaaccountrole_tmp
6809
+ end
6810
+ end
6811
+ @Notes = params['Notes']
6812
+ @CreateAt = params['CreateAt']
6813
+ end
6814
+ end
6815
+
6816
+ # Grafana可视化服务 账号权限
6817
+ class GrafanaAccountRole < TencentCloud::Common::AbstractModel
6818
+ # @param Organization: 组织
6819
+ # @type Organization: String
6820
+ # @param Role: 权限
6821
+ # @type Role: String
6822
+
6823
+ attr_accessor :Organization, :Role
6824
+
6825
+ def initialize(organization=nil, role=nil)
6826
+ @Organization = organization
6827
+ @Role = role
6828
+ end
6829
+
6830
+ def deserialize(params)
6831
+ @Organization = params['Organization']
6832
+ @Role = params['Role']
6833
+ end
6834
+ end
6835
+
6836
+ # 查询 Grafana 实例时的实例类型
6837
+ class GrafanaInstanceInfo < TencentCloud::Common::AbstractModel
6838
+ # @param InstanceName: 实例名
6839
+ # @type InstanceName: String
6840
+ # @param InstanceId: 实例 ID
6841
+ # @type InstanceId: String
6842
+ # @param Region: 地域
6843
+ # @type Region: String
6844
+ # @param VpcId: VPC ID
6845
+ # @type VpcId: String
6846
+ # @param SubnetIds: 子网 ID 数组
6847
+ # @type SubnetIds: Array
6848
+ # @param InternetUrl: Grafana 内网地址
6849
+ # @type InternetUrl: String
6850
+ # @param InternalUrl: Grafana 公网地址
6851
+ # @type InternalUrl: String
6852
+ # @param CreatedAt: 创建时间
6853
+ # @type CreatedAt: String
6854
+ # @param InstanceStatus: 运行状态(1:正在创建;2:运行中;3:异常;4:重启中;5:停机中; 6:已停机; 7: 已删除)
6855
+ # @type InstanceStatus: Integer
6856
+ # @param TagSpecification: 实例的标签
6857
+ # 注意:此字段可能返回 null,表示取不到有效值。
6858
+ # @type TagSpecification: Array
6859
+ # @param Zone: 实例的可用区
6860
+ # @type Zone: String
6861
+ # @param InstanceChargeType: 计费模式(1:包年包月)
6862
+ # @type InstanceChargeType: Integer
6863
+ # @param VpcName: VPC 名称
6864
+ # @type VpcName: String
6865
+ # @param SubnetName: 子网名称
6866
+ # @type SubnetName: String
6867
+ # @param RegionId: 地域 ID
6868
+ # @type RegionId: Integer
6869
+ # @param RootUrl: 可访问此实例的完整 URL
6870
+ # @type RootUrl: String
6871
+ # @param EnableSSO: 是否开启 SSO
6872
+ # @type EnableSSO: Boolean
6873
+ # @param Version: 版本号
6874
+ # @type Version: String
6875
+ # @param EnableSSOCamCheck: SSO登录时是否开启cam鉴权
6876
+ # @type EnableSSOCamCheck: Boolean
6877
+
6878
+ attr_accessor :InstanceName, :InstanceId, :Region, :VpcId, :SubnetIds, :InternetUrl, :InternalUrl, :CreatedAt, :InstanceStatus, :TagSpecification, :Zone, :InstanceChargeType, :VpcName, :SubnetName, :RegionId, :RootUrl, :EnableSSO, :Version, :EnableSSOCamCheck
6879
+
6880
+ def initialize(instancename=nil, instanceid=nil, region=nil, vpcid=nil, subnetids=nil, interneturl=nil, internalurl=nil, createdat=nil, instancestatus=nil, tagspecification=nil, zone=nil, instancechargetype=nil, vpcname=nil, subnetname=nil, regionid=nil, rooturl=nil, enablesso=nil, version=nil, enablessocamcheck=nil)
6881
+ @InstanceName = instancename
6882
+ @InstanceId = instanceid
6883
+ @Region = region
6884
+ @VpcId = vpcid
6885
+ @SubnetIds = subnetids
6886
+ @InternetUrl = interneturl
6887
+ @InternalUrl = internalurl
6888
+ @CreatedAt = createdat
6889
+ @InstanceStatus = instancestatus
6890
+ @TagSpecification = tagspecification
6891
+ @Zone = zone
6892
+ @InstanceChargeType = instancechargetype
6893
+ @VpcName = vpcname
6894
+ @SubnetName = subnetname
6895
+ @RegionId = regionid
6896
+ @RootUrl = rooturl
6897
+ @EnableSSO = enablesso
6898
+ @Version = version
6899
+ @EnableSSOCamCheck = enablessocamcheck
6900
+ end
6901
+
6902
+ def deserialize(params)
6903
+ @InstanceName = params['InstanceName']
6904
+ @InstanceId = params['InstanceId']
6905
+ @Region = params['Region']
6906
+ @VpcId = params['VpcId']
6907
+ @SubnetIds = params['SubnetIds']
6908
+ @InternetUrl = params['InternetUrl']
6909
+ @InternalUrl = params['InternalUrl']
6910
+ @CreatedAt = params['CreatedAt']
6911
+ @InstanceStatus = params['InstanceStatus']
6912
+ unless params['TagSpecification'].nil?
6913
+ @TagSpecification = []
6914
+ params['TagSpecification'].each do |i|
6915
+ prometheustag_tmp = PrometheusTag.new
6916
+ prometheustag_tmp.deserialize(i)
6917
+ @TagSpecification << prometheustag_tmp
6918
+ end
6919
+ end
6920
+ @Zone = params['Zone']
6921
+ @InstanceChargeType = params['InstanceChargeType']
6922
+ @VpcName = params['VpcName']
6923
+ @SubnetName = params['SubnetName']
6924
+ @RegionId = params['RegionId']
6925
+ @RootUrl = params['RootUrl']
6926
+ @EnableSSO = params['EnableSSO']
6927
+ @Version = params['Version']
6928
+ @EnableSSOCamCheck = params['EnableSSOCamCheck']
6929
+ end
6930
+ end
6931
+
6932
+ # Grafana 集成实例配置
6933
+ class GrafanaIntegrationConfig < TencentCloud::Common::AbstractModel
6934
+ # @param IntegrationId: 集成 ID
6935
+ # @type IntegrationId: String
6936
+ # @param Kind: 集成类型
6937
+ # @type Kind: String
6938
+ # @param Content: 集成内容
6939
+ # @type Content: String
6940
+ # @param Description: 集成描述
6941
+ # @type Description: String
6942
+
6943
+ attr_accessor :IntegrationId, :Kind, :Content, :Description
6944
+
6945
+ def initialize(integrationid=nil, kind=nil, content=nil, description=nil)
6946
+ @IntegrationId = integrationid
6947
+ @Kind = kind
6948
+ @Content = content
6949
+ @Description = description
6950
+ end
6951
+
6952
+ def deserialize(params)
6953
+ @IntegrationId = params['IntegrationId']
6954
+ @Kind = params['Kind']
6955
+ @Content = params['Content']
6956
+ @Description = params['Description']
6957
+ end
6958
+ end
6959
+
6960
+ # Grafana 告警渠道
6961
+ class GrafanaNotificationChannel < TencentCloud::Common::AbstractModel
6962
+ # @param ChannelId: 渠道 ID
6963
+ # @type ChannelId: String
6964
+ # @param ChannelName: 渠道名
6965
+ # @type ChannelName: String
6966
+ # @param Receivers: 告警通道模板 ID 数组
6967
+ # @type Receivers: Array
6968
+ # @param CreatedAt: 创建时间
6969
+ # @type CreatedAt: String
6970
+ # @param UpdatedAt: 更新时间
6971
+ # @type UpdatedAt: String
6972
+
6973
+ attr_accessor :ChannelId, :ChannelName, :Receivers, :CreatedAt, :UpdatedAt
6974
+
6975
+ def initialize(channelid=nil, channelname=nil, receivers=nil, createdat=nil, updatedat=nil)
6976
+ @ChannelId = channelid
6977
+ @ChannelName = channelname
6978
+ @Receivers = receivers
6979
+ @CreatedAt = createdat
6980
+ @UpdatedAt = updatedat
6981
+ end
6982
+
6983
+ def deserialize(params)
6984
+ @ChannelId = params['ChannelId']
6985
+ @ChannelName = params['ChannelName']
6986
+ @Receivers = params['Receivers']
6987
+ @CreatedAt = params['CreatedAt']
6988
+ @UpdatedAt = params['UpdatedAt']
6989
+ end
6990
+ end
6991
+
6992
+ # Grafana 插件
6993
+ class GrafanaPlugin < TencentCloud::Common::AbstractModel
6994
+ # @param PluginId: Grafana 插件 ID
6995
+ # @type PluginId: String
6996
+ # @param Version: Grafana 插件版本
6997
+ # 注意:此字段可能返回 null,表示取不到有效值。
6998
+ # @type Version: String
6999
+
7000
+ attr_accessor :PluginId, :Version
7001
+
7002
+ def initialize(pluginid=nil, version=nil)
7003
+ @PluginId = pluginid
7004
+ @Version = version
7005
+ end
7006
+
7007
+ def deserialize(params)
7008
+ @PluginId = params['PluginId']
7009
+ @Version = params['Version']
7010
+ end
7011
+ end
7012
+
7013
+ # InstallPlugins请求参数结构体
7014
+ class InstallPluginsRequest < TencentCloud::Common::AbstractModel
7015
+ # @param Plugins: 插件信息
7016
+ # @type Plugins: Array
7017
+ # @param InstanceId: 实例 ID
7018
+ # @type InstanceId: String
7019
+
7020
+ attr_accessor :Plugins, :InstanceId
7021
+
7022
+ def initialize(plugins=nil, instanceid=nil)
7023
+ @Plugins = plugins
7024
+ @InstanceId = instanceid
7025
+ end
7026
+
7027
+ def deserialize(params)
7028
+ unless params['Plugins'].nil?
7029
+ @Plugins = []
7030
+ params['Plugins'].each do |i|
7031
+ grafanaplugin_tmp = GrafanaPlugin.new
7032
+ grafanaplugin_tmp.deserialize(i)
7033
+ @Plugins << grafanaplugin_tmp
7034
+ end
7035
+ end
7036
+ @InstanceId = params['InstanceId']
7037
+ end
7038
+ end
7039
+
7040
+ # InstallPlugins返回参数结构体
7041
+ class InstallPluginsResponse < TencentCloud::Common::AbstractModel
7042
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7043
+ # @type RequestId: String
7044
+
7045
+ attr_accessor :RequestId
7046
+
7047
+ def initialize(requestid=nil)
7048
+ @RequestId = requestid
7049
+ end
7050
+
7051
+ def deserialize(params)
7052
+ @RequestId = params['RequestId']
7053
+ end
7054
+ end
7055
+
5831
7056
  # 实例维度组合数组
5832
7057
  class Instance < TencentCloud::Common::AbstractModel
5833
7058
  # @param Dimensions: 实例的维度组合
@@ -6621,6 +7846,42 @@ module TencentCloud
6621
7846
  end
6622
7847
  end
6623
7848
 
7849
+ # ModifyGrafanaInstance请求参数结构体
7850
+ class ModifyGrafanaInstanceRequest < TencentCloud::Common::AbstractModel
7851
+ # @param InstanceId: 实例 ID
7852
+ # @type InstanceId: String
7853
+ # @param InstanceName: 实例名称
7854
+ # @type InstanceName: String
7855
+
7856
+ attr_accessor :InstanceId, :InstanceName
7857
+
7858
+ def initialize(instanceid=nil, instancename=nil)
7859
+ @InstanceId = instanceid
7860
+ @InstanceName = instancename
7861
+ end
7862
+
7863
+ def deserialize(params)
7864
+ @InstanceId = params['InstanceId']
7865
+ @InstanceName = params['InstanceName']
7866
+ end
7867
+ end
7868
+
7869
+ # ModifyGrafanaInstance返回参数结构体
7870
+ class ModifyGrafanaInstanceResponse < TencentCloud::Common::AbstractModel
7871
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
7872
+ # @type RequestId: String
7873
+
7874
+ attr_accessor :RequestId
7875
+
7876
+ def initialize(requestid=nil)
7877
+ @RequestId = requestid
7878
+ end
7879
+
7880
+ def deserialize(params)
7881
+ @RequestId = params['RequestId']
7882
+ end
7883
+ end
7884
+
6624
7885
  # 修改告警策略组传入的指标阈值条件
6625
7886
  class ModifyPolicyGroupCondition < TencentCloud::Common::AbstractModel
6626
7887
  # @param MetricId: 指标id
@@ -7679,13 +8940,45 @@ module TencentCloud
7679
8940
  end
7680
8941
 
7681
8942
  def deserialize(params)
7682
- @RuleId = params['RuleId']
7683
- @RuleState = params['RuleState']
7684
- @Name = params['Name']
7685
- @Group = params['Group']
7686
- @Total = params['Total']
7687
- @CreatedAt = params['CreatedAt']
7688
- @UpdatedAt = params['UpdatedAt']
8943
+ @RuleId = params['RuleId']
8944
+ @RuleState = params['RuleState']
8945
+ @Name = params['Name']
8946
+ @Group = params['Group']
8947
+ @Total = params['Total']
8948
+ @CreatedAt = params['CreatedAt']
8949
+ @UpdatedAt = params['UpdatedAt']
8950
+ end
8951
+ end
8952
+
8953
+ # ResumeGrafanaInstance请求参数结构体
8954
+ class ResumeGrafanaInstanceRequest < TencentCloud::Common::AbstractModel
8955
+ # @param InstanceId: 实例 ID
8956
+ # @type InstanceId: String
8957
+
8958
+ attr_accessor :InstanceId
8959
+
8960
+ def initialize(instanceid=nil)
8961
+ @InstanceId = instanceid
8962
+ end
8963
+
8964
+ def deserialize(params)
8965
+ @InstanceId = params['InstanceId']
8966
+ end
8967
+ end
8968
+
8969
+ # ResumeGrafanaInstance返回参数结构体
8970
+ class ResumeGrafanaInstanceResponse < TencentCloud::Common::AbstractModel
8971
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
8972
+ # @type RequestId: String
8973
+
8974
+ attr_accessor :RequestId
8975
+
8976
+ def initialize(requestid=nil)
8977
+ @RequestId = requestid
8978
+ end
8979
+
8980
+ def deserialize(params)
8981
+ @RequestId = params['RequestId']
7689
8982
  end
7690
8983
  end
7691
8984
 
@@ -8186,6 +9479,42 @@ module TencentCloud
8186
9479
  end
8187
9480
  end
8188
9481
 
9482
+ # UninstallGrafanaPlugins请求参数结构体
9483
+ class UninstallGrafanaPluginsRequest < TencentCloud::Common::AbstractModel
9484
+ # @param PluginIds: 插件 ID 数组
9485
+ # @type PluginIds: Array
9486
+ # @param InstanceId: 实例 ID
9487
+ # @type InstanceId: String
9488
+
9489
+ attr_accessor :PluginIds, :InstanceId
9490
+
9491
+ def initialize(pluginids=nil, instanceid=nil)
9492
+ @PluginIds = pluginids
9493
+ @InstanceId = instanceid
9494
+ end
9495
+
9496
+ def deserialize(params)
9497
+ @PluginIds = params['PluginIds']
9498
+ @InstanceId = params['InstanceId']
9499
+ end
9500
+ end
9501
+
9502
+ # UninstallGrafanaPlugins返回参数结构体
9503
+ class UninstallGrafanaPluginsResponse < TencentCloud::Common::AbstractModel
9504
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9505
+ # @type RequestId: String
9506
+
9507
+ attr_accessor :RequestId
9508
+
9509
+ def initialize(requestid=nil)
9510
+ @RequestId = requestid
9511
+ end
9512
+
9513
+ def deserialize(params)
9514
+ @RequestId = params['RequestId']
9515
+ end
9516
+ end
9517
+
8189
9518
  # UpdateAlertRule请求参数结构体
8190
9519
  class UpdateAlertRuleRequest < TencentCloud::Common::AbstractModel
8191
9520
  # @param RuleId: Prometheus 报警规则 ID
@@ -8321,6 +9650,42 @@ module TencentCloud
8321
9650
  end
8322
9651
  end
8323
9652
 
9653
+ # UpdateDNSConfig请求参数结构体
9654
+ class UpdateDNSConfigRequest < TencentCloud::Common::AbstractModel
9655
+ # @param InstanceId: 实例名
9656
+ # @type InstanceId: String
9657
+ # @param NameServers: DNS 数组
9658
+ # @type NameServers: Array
9659
+
9660
+ attr_accessor :InstanceId, :NameServers
9661
+
9662
+ def initialize(instanceid=nil, nameservers=nil)
9663
+ @InstanceId = instanceid
9664
+ @NameServers = nameservers
9665
+ end
9666
+
9667
+ def deserialize(params)
9668
+ @InstanceId = params['InstanceId']
9669
+ @NameServers = params['NameServers']
9670
+ end
9671
+ end
9672
+
9673
+ # UpdateDNSConfig返回参数结构体
9674
+ class UpdateDNSConfigResponse < TencentCloud::Common::AbstractModel
9675
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9676
+ # @type RequestId: String
9677
+
9678
+ attr_accessor :RequestId
9679
+
9680
+ def initialize(requestid=nil)
9681
+ @RequestId = requestid
9682
+ end
9683
+
9684
+ def deserialize(params)
9685
+ @RequestId = params['RequestId']
9686
+ end
9687
+ end
9688
+
8324
9689
  # UpdateExporterIntegration请求参数结构体
8325
9690
  class UpdateExporterIntegrationRequest < TencentCloud::Common::AbstractModel
8326
9691
  # @param InstanceId: 实例 ID
@@ -8372,6 +9737,206 @@ module TencentCloud
8372
9737
  end
8373
9738
  end
8374
9739
 
9740
+ # UpdateGrafanaConfig请求参数结构体
9741
+ class UpdateGrafanaConfigRequest < TencentCloud::Common::AbstractModel
9742
+ # @param InstanceId: 无
9743
+ # @type InstanceId: String
9744
+ # @param Config: JSON 编码后的字符串
9745
+ # @type Config: String
9746
+
9747
+ attr_accessor :InstanceId, :Config
9748
+
9749
+ def initialize(instanceid=nil, config=nil)
9750
+ @InstanceId = instanceid
9751
+ @Config = config
9752
+ end
9753
+
9754
+ def deserialize(params)
9755
+ @InstanceId = params['InstanceId']
9756
+ @Config = params['Config']
9757
+ end
9758
+ end
9759
+
9760
+ # UpdateGrafanaConfig返回参数结构体
9761
+ class UpdateGrafanaConfigResponse < TencentCloud::Common::AbstractModel
9762
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9763
+ # @type RequestId: String
9764
+
9765
+ attr_accessor :RequestId
9766
+
9767
+ def initialize(requestid=nil)
9768
+ @RequestId = requestid
9769
+ end
9770
+
9771
+ def deserialize(params)
9772
+ @RequestId = params['RequestId']
9773
+ end
9774
+ end
9775
+
9776
+ # UpdateGrafanaEnvironments请求参数结构体
9777
+ class UpdateGrafanaEnvironmentsRequest < TencentCloud::Common::AbstractModel
9778
+ # @param InstanceId: 实例名
9779
+ # @type InstanceId: String
9780
+ # @param Envs: 环境变量字符串
9781
+ # @type Envs: String
9782
+
9783
+ attr_accessor :InstanceId, :Envs
9784
+
9785
+ def initialize(instanceid=nil, envs=nil)
9786
+ @InstanceId = instanceid
9787
+ @Envs = envs
9788
+ end
9789
+
9790
+ def deserialize(params)
9791
+ @InstanceId = params['InstanceId']
9792
+ @Envs = params['Envs']
9793
+ end
9794
+ end
9795
+
9796
+ # UpdateGrafanaEnvironments返回参数结构体
9797
+ class UpdateGrafanaEnvironmentsResponse < TencentCloud::Common::AbstractModel
9798
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9799
+ # @type RequestId: String
9800
+
9801
+ attr_accessor :RequestId
9802
+
9803
+ def initialize(requestid=nil)
9804
+ @RequestId = requestid
9805
+ end
9806
+
9807
+ def deserialize(params)
9808
+ @RequestId = params['RequestId']
9809
+ end
9810
+ end
9811
+
9812
+ # UpdateGrafanaIntegration请求参数结构体
9813
+ class UpdateGrafanaIntegrationRequest < TencentCloud::Common::AbstractModel
9814
+ # @param IntegrationId: 集成 ID
9815
+ # @type IntegrationId: String
9816
+ # @param InstanceId: 实例 ID
9817
+ # @type InstanceId: String
9818
+ # @param Kind: 集成类型
9819
+ # @type Kind: String
9820
+ # @param Content: 集成内容
9821
+ # @type Content: String
9822
+
9823
+ attr_accessor :IntegrationId, :InstanceId, :Kind, :Content
9824
+
9825
+ def initialize(integrationid=nil, instanceid=nil, kind=nil, content=nil)
9826
+ @IntegrationId = integrationid
9827
+ @InstanceId = instanceid
9828
+ @Kind = kind
9829
+ @Content = content
9830
+ end
9831
+
9832
+ def deserialize(params)
9833
+ @IntegrationId = params['IntegrationId']
9834
+ @InstanceId = params['InstanceId']
9835
+ @Kind = params['Kind']
9836
+ @Content = params['Content']
9837
+ end
9838
+ end
9839
+
9840
+ # UpdateGrafanaIntegration返回参数结构体
9841
+ class UpdateGrafanaIntegrationResponse < TencentCloud::Common::AbstractModel
9842
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9843
+ # @type RequestId: String
9844
+
9845
+ attr_accessor :RequestId
9846
+
9847
+ def initialize(requestid=nil)
9848
+ @RequestId = requestid
9849
+ end
9850
+
9851
+ def deserialize(params)
9852
+ @RequestId = params['RequestId']
9853
+ end
9854
+ end
9855
+
9856
+ # UpdateGrafanaNotificationChannel请求参数结构体
9857
+ class UpdateGrafanaNotificationChannelRequest < TencentCloud::Common::AbstractModel
9858
+ # @param ChannelId: 通道 ID
9859
+ # @type ChannelId: String
9860
+ # @param InstanceId: 实例名
9861
+ # @type InstanceId: String
9862
+ # @param ChannelName: 渠道名
9863
+ # @type ChannelName: String
9864
+ # @param Receivers: 接受告警通道 ID 数组
9865
+ # @type Receivers: Array
9866
+ # @param ExtraOrgIds: 额外组织 ID 数组
9867
+ # @type ExtraOrgIds: Array
9868
+
9869
+ attr_accessor :ChannelId, :InstanceId, :ChannelName, :Receivers, :ExtraOrgIds
9870
+
9871
+ def initialize(channelid=nil, instanceid=nil, channelname=nil, receivers=nil, extraorgids=nil)
9872
+ @ChannelId = channelid
9873
+ @InstanceId = instanceid
9874
+ @ChannelName = channelname
9875
+ @Receivers = receivers
9876
+ @ExtraOrgIds = extraorgids
9877
+ end
9878
+
9879
+ def deserialize(params)
9880
+ @ChannelId = params['ChannelId']
9881
+ @InstanceId = params['InstanceId']
9882
+ @ChannelName = params['ChannelName']
9883
+ @Receivers = params['Receivers']
9884
+ @ExtraOrgIds = params['ExtraOrgIds']
9885
+ end
9886
+ end
9887
+
9888
+ # UpdateGrafanaNotificationChannel返回参数结构体
9889
+ class UpdateGrafanaNotificationChannelResponse < TencentCloud::Common::AbstractModel
9890
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9891
+ # @type RequestId: String
9892
+
9893
+ attr_accessor :RequestId
9894
+
9895
+ def initialize(requestid=nil)
9896
+ @RequestId = requestid
9897
+ end
9898
+
9899
+ def deserialize(params)
9900
+ @RequestId = params['RequestId']
9901
+ end
9902
+ end
9903
+
9904
+ # UpdateGrafanaWhiteList请求参数结构体
9905
+ class UpdateGrafanaWhiteListRequest < TencentCloud::Common::AbstractModel
9906
+ # @param InstanceId: 实例名
9907
+ # @type InstanceId: String
9908
+ # @param Whitelist: 白名单数组
9909
+ # @type Whitelist: Array
9910
+
9911
+ attr_accessor :InstanceId, :Whitelist
9912
+
9913
+ def initialize(instanceid=nil, whitelist=nil)
9914
+ @InstanceId = instanceid
9915
+ @Whitelist = whitelist
9916
+ end
9917
+
9918
+ def deserialize(params)
9919
+ @InstanceId = params['InstanceId']
9920
+ @Whitelist = params['Whitelist']
9921
+ end
9922
+ end
9923
+
9924
+ # UpdateGrafanaWhiteList返回参数结构体
9925
+ class UpdateGrafanaWhiteListResponse < TencentCloud::Common::AbstractModel
9926
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9927
+ # @type RequestId: String
9928
+
9929
+ attr_accessor :RequestId
9930
+
9931
+ def initialize(requestid=nil)
9932
+ @RequestId = requestid
9933
+ end
9934
+
9935
+ def deserialize(params)
9936
+ @RequestId = params['RequestId']
9937
+ end
9938
+ end
9939
+
8375
9940
  # UpdatePrometheusAgentStatus请求参数结构体
8376
9941
  class UpdatePrometheusAgentStatusRequest < TencentCloud::Common::AbstractModel
8377
9942
  # @param InstanceId: 实例 ID
@@ -8515,6 +10080,57 @@ module TencentCloud
8515
10080
  end
8516
10081
  end
8517
10082
 
10083
+ # UpdateSSOAccount请求参数结构体
10084
+ class UpdateSSOAccountRequest < TencentCloud::Common::AbstractModel
10085
+ # @param InstanceId: 示例ID
10086
+ # @type InstanceId: String
10087
+ # @param UserId: 用户账号ID
10088
+ # @type UserId: String
10089
+ # @param Role: 权限
10090
+ # @type Role: Array
10091
+ # @param Notes: 备注
10092
+ # @type Notes: String
10093
+
10094
+ attr_accessor :InstanceId, :UserId, :Role, :Notes
10095
+
10096
+ def initialize(instanceid=nil, userid=nil, role=nil, notes=nil)
10097
+ @InstanceId = instanceid
10098
+ @UserId = userid
10099
+ @Role = role
10100
+ @Notes = notes
10101
+ end
10102
+
10103
+ def deserialize(params)
10104
+ @InstanceId = params['InstanceId']
10105
+ @UserId = params['UserId']
10106
+ unless params['Role'].nil?
10107
+ @Role = []
10108
+ params['Role'].each do |i|
10109
+ grafanaaccountrole_tmp = GrafanaAccountRole.new
10110
+ grafanaaccountrole_tmp.deserialize(i)
10111
+ @Role << grafanaaccountrole_tmp
10112
+ end
10113
+ end
10114
+ @Notes = params['Notes']
10115
+ end
10116
+ end
10117
+
10118
+ # UpdateSSOAccount返回参数结构体
10119
+ class UpdateSSOAccountResponse < TencentCloud::Common::AbstractModel
10120
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10121
+ # @type RequestId: String
10122
+
10123
+ attr_accessor :RequestId
10124
+
10125
+ def initialize(requestid=nil)
10126
+ @RequestId = requestid
10127
+ end
10128
+
10129
+ def deserialize(params)
10130
+ @RequestId = params['RequestId']
10131
+ end
10132
+ end
10133
+
8518
10134
  # UpdateServiceDiscovery请求参数结构体
8519
10135
  class UpdateServiceDiscoveryRequest < TencentCloud::Common::AbstractModel
8520
10136
  # @param InstanceId: Prometheus 实例 ID
@@ -8627,6 +10243,42 @@ module TencentCloud
8627
10243
  end
8628
10244
  end
8629
10245
 
10246
+ # UpgradeGrafanaInstance请求参数结构体
10247
+ class UpgradeGrafanaInstanceRequest < TencentCloud::Common::AbstractModel
10248
+ # @param InstanceId: 实例名
10249
+ # @type InstanceId: String
10250
+ # @param Alias: 版本别名
10251
+ # @type Alias: String
10252
+
10253
+ attr_accessor :InstanceId, :Alias
10254
+
10255
+ def initialize(instanceid=nil, _alias=nil)
10256
+ @InstanceId = instanceid
10257
+ @Alias = _alias
10258
+ end
10259
+
10260
+ def deserialize(params)
10261
+ @InstanceId = params['InstanceId']
10262
+ @Alias = params['Alias']
10263
+ end
10264
+ end
10265
+
10266
+ # UpgradeGrafanaInstance返回参数结构体
10267
+ class UpgradeGrafanaInstanceResponse < TencentCloud::Common::AbstractModel
10268
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
10269
+ # @type RequestId: String
10270
+
10271
+ attr_accessor :RequestId
10272
+
10273
+ def initialize(requestid=nil)
10274
+ @RequestId = requestid
10275
+ end
10276
+
10277
+ def deserialize(params)
10278
+ @RequestId = params['RequestId']
10279
+ end
10280
+ end
10281
+
8630
10282
  # 云监控告警通知模板 - 用户通知详情
8631
10283
  class UserNotice < TencentCloud::Common::AbstractModel
8632
10284
  # @param ReceiverType: 接收者类型 USER=用户 GROUP=用户组