tencentcloud-sdk-nodejs 4.0.814 → 4.0.816
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +229 -0
- package/SERVICE_CHANGELOG.md +332 -131
- package/package.json +1 -1
- package/products.md +192 -192
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cfs/v20190719/cfs_models.ts +3 -4
- package/src/services/cls/v20201016/cls_models.ts +1 -1
- package/src/services/ess/v20201111/ess_client.ts +21 -5
- package/src/services/ess/v20201111/ess_models.ts +103 -32
- package/src/services/essbasic/v20210526/essbasic_client.ts +26 -5
- package/src/services/essbasic/v20210526/essbasic_models.ts +97 -20
- package/src/services/live/v20180801/live_models.ts +4 -0
- package/src/services/monitor/v20180724/monitor_client.ts +45 -8
- package/src/services/monitor/v20180724/monitor_models.ts +346 -228
- package/src/services/tat/v20201028/tat_models.ts +9 -7
- package/src/services/teo/v20220901/teo_models.ts +3 -2
- package/src/services/tke/v20180525/tke_models.ts +8 -3
- package/src/services/trtc/v20190722/trtc_models.ts +1 -1
- package/src/services/vpc/v20170312/vpc_models.ts +11 -11
- package/src/services/waf/v20180125/waf_client.ts +4 -4
- package/src/services/waf/v20180125/waf_models.ts +83 -30
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +3 -4
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +1 -1
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +12 -5
- package/tencentcloud/services/ess/v20201111/ess_client.js +13 -4
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +100 -32
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +17 -5
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +18 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +94 -20
- package/tencentcloud/services/live/v20180801/live_models.d.ts +4 -0
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +13 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +18 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +338 -227
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +9 -7
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +3 -2
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +8 -3
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +11 -11
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +4 -4
- package/tencentcloud/services/waf/v20180125/waf_client.js +4 -4
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +83 -30
- package/test/ess.v20201111.test.js +10 -0
- package/test/essbasic.v20210526.test.js +10 -0
- package/test/monitor.v20180724.test.js +30 -0
|
@@ -1310,85 +1310,13 @@ export interface DescribeBindingPolicyObjectListResponse {
|
|
|
1310
1310
|
}
|
|
1311
1311
|
|
|
1312
1312
|
/**
|
|
1313
|
-
*
|
|
1313
|
+
* DescribeAlarmSmsQuota请求参数结构体
|
|
1314
1314
|
*/
|
|
1315
|
-
export interface
|
|
1316
|
-
/**
|
|
1317
|
-
* 实例ID
|
|
1318
|
-
*/
|
|
1319
|
-
InstanceId: string
|
|
1320
|
-
/**
|
|
1321
|
-
* 实例名
|
|
1322
|
-
*/
|
|
1323
|
-
InstanceName: string
|
|
1324
|
-
/**
|
|
1325
|
-
* VPC ID
|
|
1326
|
-
*/
|
|
1327
|
-
VpcId: string
|
|
1328
|
-
/**
|
|
1329
|
-
* 子网ID
|
|
1330
|
-
*/
|
|
1331
|
-
SubnetId: string
|
|
1332
|
-
/**
|
|
1333
|
-
* 运行状态(1:正在创建;2:运行中;3:异常;4:重启中;5:销毁中; 6:已停机; 7: 已删除)
|
|
1334
|
-
*/
|
|
1335
|
-
InstanceStatus: number
|
|
1336
|
-
/**
|
|
1337
|
-
* 计费状态(1:正常;2:过期; 3:销毁; 4:分配中; 5:分配失败)
|
|
1338
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1339
|
-
*/
|
|
1340
|
-
ChargeStatus: number
|
|
1341
|
-
/**
|
|
1342
|
-
* 是否开启 Grafana(0:不开启,1:开启)
|
|
1343
|
-
*/
|
|
1344
|
-
EnableGrafana: number
|
|
1345
|
-
/**
|
|
1346
|
-
* Grafana 面板 URL
|
|
1347
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1348
|
-
*/
|
|
1349
|
-
GrafanaURL: string
|
|
1350
|
-
/**
|
|
1351
|
-
* 实例付费类型(1:试用版;2:预付费)
|
|
1352
|
-
*/
|
|
1353
|
-
InstanceChargeType: number
|
|
1354
|
-
/**
|
|
1355
|
-
* 规格名称
|
|
1356
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1357
|
-
*/
|
|
1358
|
-
SpecName: string
|
|
1359
|
-
/**
|
|
1360
|
-
* 存储周期
|
|
1361
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1362
|
-
*/
|
|
1363
|
-
DataRetentionTime: number
|
|
1364
|
-
/**
|
|
1365
|
-
* 购买的实例过期时间
|
|
1366
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1367
|
-
*/
|
|
1368
|
-
ExpireTime: string
|
|
1369
|
-
/**
|
|
1370
|
-
* 自动续费标记(0:不自动续费;1:开启自动续费;2:禁止自动续费;-1:无效)
|
|
1371
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1372
|
-
*/
|
|
1373
|
-
AutoRenewFlag: number
|
|
1374
|
-
/**
|
|
1375
|
-
* 绑定集群总数
|
|
1376
|
-
*/
|
|
1377
|
-
BoundTotal: number
|
|
1378
|
-
/**
|
|
1379
|
-
* 绑定集群正常状态总数
|
|
1380
|
-
*/
|
|
1381
|
-
BoundNormal: number
|
|
1315
|
+
export interface DescribeAlarmSmsQuotaRequest {
|
|
1382
1316
|
/**
|
|
1383
|
-
*
|
|
1384
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1385
|
-
*/
|
|
1386
|
-
ResourcePackageStatus?: number
|
|
1387
|
-
/**
|
|
1388
|
-
* 资源包规格名称
|
|
1389
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
1317
|
+
* 固定值,为"monitor"
|
|
1390
1318
|
*/
|
|
1391
|
-
|
|
1319
|
+
Module: string
|
|
1392
1320
|
}
|
|
1393
1321
|
|
|
1394
1322
|
/**
|
|
@@ -1448,6 +1376,32 @@ export interface DescribeProductEventListResponse {
|
|
|
1448
1376
|
RequestId?: string
|
|
1449
1377
|
}
|
|
1450
1378
|
|
|
1379
|
+
/**
|
|
1380
|
+
* 抓取目标数
|
|
1381
|
+
*/
|
|
1382
|
+
export interface Targets {
|
|
1383
|
+
/**
|
|
1384
|
+
* 总数
|
|
1385
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1386
|
+
*/
|
|
1387
|
+
Total?: number
|
|
1388
|
+
/**
|
|
1389
|
+
* 在线数
|
|
1390
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1391
|
+
*/
|
|
1392
|
+
Up?: number
|
|
1393
|
+
/**
|
|
1394
|
+
* 不在线数
|
|
1395
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1396
|
+
*/
|
|
1397
|
+
Down?: number
|
|
1398
|
+
/**
|
|
1399
|
+
* 未知状态数
|
|
1400
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1401
|
+
*/
|
|
1402
|
+
Unknown?: number
|
|
1403
|
+
}
|
|
1404
|
+
|
|
1451
1405
|
/**
|
|
1452
1406
|
* 聚合条件
|
|
1453
1407
|
*/
|
|
@@ -2115,67 +2069,33 @@ export interface PolicyGroupReceiverInfo {
|
|
|
2115
2069
|
}
|
|
2116
2070
|
|
|
2117
2071
|
/**
|
|
2118
|
-
*
|
|
2072
|
+
* CreateGrafanaNotificationChannel请求参数结构体
|
|
2119
2073
|
*/
|
|
2120
|
-
export interface
|
|
2121
|
-
/**
|
|
2122
|
-
* 告警策略类型
|
|
2123
|
-
*/
|
|
2124
|
-
Namespace: string
|
|
2125
|
-
/**
|
|
2126
|
-
* 指标名
|
|
2127
|
-
*/
|
|
2128
|
-
MetricName: string
|
|
2129
|
-
/**
|
|
2130
|
-
* 指标展示名
|
|
2131
|
-
*/
|
|
2132
|
-
Description: string
|
|
2133
|
-
/**
|
|
2134
|
-
* 最小值
|
|
2135
|
-
*/
|
|
2136
|
-
Min: number
|
|
2137
|
-
/**
|
|
2138
|
-
* 最大值
|
|
2139
|
-
*/
|
|
2140
|
-
Max: number
|
|
2141
|
-
/**
|
|
2142
|
-
* 维度列表
|
|
2143
|
-
*/
|
|
2144
|
-
Dimensions: Array<string>
|
|
2145
|
-
/**
|
|
2146
|
-
* 单位
|
|
2147
|
-
*/
|
|
2148
|
-
Unit: string
|
|
2074
|
+
export interface CreateGrafanaNotificationChannelRequest {
|
|
2149
2075
|
/**
|
|
2150
|
-
*
|
|
2151
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2076
|
+
* Grafana 实例 ID,例如:grafana-abcdefgh
|
|
2152
2077
|
*/
|
|
2153
|
-
|
|
2078
|
+
InstanceId: string
|
|
2154
2079
|
/**
|
|
2155
|
-
*
|
|
2156
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2080
|
+
* 告警通道名称,例如:test
|
|
2157
2081
|
*/
|
|
2158
|
-
|
|
2082
|
+
ChannelName: string
|
|
2159
2083
|
/**
|
|
2160
|
-
*
|
|
2161
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2084
|
+
* 接受告警通道 ID 数组,值为告警管理/基础配置/通知模板中的模板 ID
|
|
2162
2085
|
*/
|
|
2163
|
-
|
|
2086
|
+
Receivers: Array<string>
|
|
2164
2087
|
/**
|
|
2165
|
-
*
|
|
2166
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2088
|
+
* 默认为1,建议使用 OrganizationIds
|
|
2167
2089
|
*/
|
|
2168
|
-
|
|
2090
|
+
OrgId?: number
|
|
2169
2091
|
/**
|
|
2170
|
-
*
|
|
2171
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2092
|
+
* 额外组织 ID 数组,已废弃,请使用 OrganizationIds
|
|
2172
2093
|
*/
|
|
2173
|
-
|
|
2094
|
+
ExtraOrgIds?: Array<string>
|
|
2174
2095
|
/**
|
|
2175
|
-
*
|
|
2176
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
2096
|
+
* 生效的所有组织 ID 数组,默认为 ["1"]
|
|
2177
2097
|
*/
|
|
2178
|
-
|
|
2098
|
+
OrganizationIds?: Array<string>
|
|
2179
2099
|
}
|
|
2180
2100
|
|
|
2181
2101
|
/**
|
|
@@ -2794,33 +2714,41 @@ export interface AlarmPolicyCondition {
|
|
|
2794
2714
|
}
|
|
2795
2715
|
|
|
2796
2716
|
/**
|
|
2797
|
-
*
|
|
2717
|
+
* 修改告警策略组传入的指标阈值条件
|
|
2798
2718
|
*/
|
|
2799
|
-
export interface
|
|
2719
|
+
export interface ModifyPolicyGroupCondition {
|
|
2800
2720
|
/**
|
|
2801
|
-
*
|
|
2721
|
+
* 指标id
|
|
2802
2722
|
*/
|
|
2803
|
-
|
|
2723
|
+
MetricId: number
|
|
2804
2724
|
/**
|
|
2805
|
-
*
|
|
2725
|
+
* 比较类型,1表示大于,2表示大于等于,3表示小于,4表示小于等于,5表示相等,6表示不相等
|
|
2806
2726
|
*/
|
|
2807
|
-
|
|
2727
|
+
CalcType: number
|
|
2808
2728
|
/**
|
|
2809
|
-
*
|
|
2729
|
+
* 检测阈值
|
|
2810
2730
|
*/
|
|
2811
|
-
|
|
2731
|
+
CalcValue: string
|
|
2812
2732
|
/**
|
|
2813
|
-
*
|
|
2733
|
+
* 检测指标的数据周期
|
|
2814
2734
|
*/
|
|
2815
|
-
|
|
2735
|
+
CalcPeriod: number
|
|
2816
2736
|
/**
|
|
2817
|
-
*
|
|
2737
|
+
* 持续周期个数
|
|
2818
2738
|
*/
|
|
2819
|
-
|
|
2739
|
+
ContinuePeriod: number
|
|
2820
2740
|
/**
|
|
2821
|
-
*
|
|
2741
|
+
* 告警发送收敛类型。0连续告警,1指数告警
|
|
2822
2742
|
*/
|
|
2823
|
-
|
|
2743
|
+
AlarmNotifyType: number
|
|
2744
|
+
/**
|
|
2745
|
+
* 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次
|
|
2746
|
+
*/
|
|
2747
|
+
AlarmNotifyPeriod: number
|
|
2748
|
+
/**
|
|
2749
|
+
* 规则id,不填表示新增,填写了ruleId表示在已存在的规则基础上进行修改
|
|
2750
|
+
*/
|
|
2751
|
+
RuleId?: number
|
|
2824
2752
|
}
|
|
2825
2753
|
|
|
2826
2754
|
/**
|
|
@@ -3455,6 +3383,32 @@ webhook -- vpc内webhook地址
|
|
|
3455
3383
|
ClusterType?: string
|
|
3456
3384
|
}
|
|
3457
3385
|
|
|
3386
|
+
/**
|
|
3387
|
+
* DescribeAlarmSmsQuota接口的配额信息
|
|
3388
|
+
*/
|
|
3389
|
+
export interface DescribeAlarmSmsQuotaQuota {
|
|
3390
|
+
/**
|
|
3391
|
+
* 配额类型
|
|
3392
|
+
*/
|
|
3393
|
+
Type: string
|
|
3394
|
+
/**
|
|
3395
|
+
* 配额名称
|
|
3396
|
+
*/
|
|
3397
|
+
Name: string
|
|
3398
|
+
/**
|
|
3399
|
+
* 免费配额剩余量
|
|
3400
|
+
*/
|
|
3401
|
+
FreeLeft: number
|
|
3402
|
+
/**
|
|
3403
|
+
* 付费配额剩余量
|
|
3404
|
+
*/
|
|
3405
|
+
PurchaseLeft: number
|
|
3406
|
+
/**
|
|
3407
|
+
* 已使用量
|
|
3408
|
+
*/
|
|
3409
|
+
Used: number
|
|
3410
|
+
}
|
|
3411
|
+
|
|
3458
3412
|
/**
|
|
3459
3413
|
* ModifyPrometheusAlertPolicy请求参数结构体
|
|
3460
3414
|
*/
|
|
@@ -4006,6 +3960,29 @@ export interface DescribeExporterIntegrationsRequest {
|
|
|
4006
3960
|
Name?: string
|
|
4007
3961
|
}
|
|
4008
3962
|
|
|
3963
|
+
/**
|
|
3964
|
+
* DescribeAlarmSmsQuota返回参数结构体
|
|
3965
|
+
*/
|
|
3966
|
+
export interface DescribeAlarmSmsQuotaResponse {
|
|
3967
|
+
/**
|
|
3968
|
+
* 配额总数
|
|
3969
|
+
*/
|
|
3970
|
+
Total?: number
|
|
3971
|
+
/**
|
|
3972
|
+
* 总使用量
|
|
3973
|
+
*/
|
|
3974
|
+
Used?: number
|
|
3975
|
+
/**
|
|
3976
|
+
* 短信配额信息列表
|
|
3977
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3978
|
+
*/
|
|
3979
|
+
QuotaList?: Array<DescribeAlarmSmsQuotaQuota>
|
|
3980
|
+
/**
|
|
3981
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3982
|
+
*/
|
|
3983
|
+
RequestId?: string
|
|
3984
|
+
}
|
|
3985
|
+
|
|
4009
3986
|
/**
|
|
4010
3987
|
* DescribePrometheusInstanceDetail返回参数结构体
|
|
4011
3988
|
*/
|
|
@@ -4137,33 +4114,67 @@ export interface ModifyPolicyGroupEventCondition {
|
|
|
4137
4114
|
}
|
|
4138
4115
|
|
|
4139
4116
|
/**
|
|
4140
|
-
*
|
|
4117
|
+
* 指标,可用于设置告警、查询数据
|
|
4141
4118
|
*/
|
|
4142
|
-
export interface
|
|
4119
|
+
export interface Metric {
|
|
4143
4120
|
/**
|
|
4144
|
-
*
|
|
4121
|
+
* 告警策略类型
|
|
4145
4122
|
*/
|
|
4146
|
-
|
|
4123
|
+
Namespace: string
|
|
4124
|
+
/**
|
|
4125
|
+
* 指标名
|
|
4126
|
+
*/
|
|
4127
|
+
MetricName: string
|
|
4128
|
+
/**
|
|
4129
|
+
* 指标展示名
|
|
4130
|
+
*/
|
|
4131
|
+
Description: string
|
|
4132
|
+
/**
|
|
4133
|
+
* 最小值
|
|
4134
|
+
*/
|
|
4135
|
+
Min: number
|
|
4136
|
+
/**
|
|
4137
|
+
* 最大值
|
|
4138
|
+
*/
|
|
4139
|
+
Max: number
|
|
4140
|
+
/**
|
|
4141
|
+
* 维度列表
|
|
4142
|
+
*/
|
|
4143
|
+
Dimensions: Array<string>
|
|
4144
|
+
/**
|
|
4145
|
+
* 单位
|
|
4146
|
+
*/
|
|
4147
|
+
Unit: string
|
|
4148
|
+
/**
|
|
4149
|
+
* 指标配置
|
|
4150
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4151
|
+
*/
|
|
4152
|
+
MetricConfig: MetricConfig
|
|
4147
4153
|
/**
|
|
4148
|
-
*
|
|
4154
|
+
* 是否为高级指标。1是 0否
|
|
4155
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4149
4156
|
*/
|
|
4150
|
-
|
|
4157
|
+
IsAdvanced: number
|
|
4151
4158
|
/**
|
|
4152
|
-
*
|
|
4159
|
+
* 高级指标是否开通。1是 0否
|
|
4160
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4153
4161
|
*/
|
|
4154
|
-
|
|
4162
|
+
IsOpen: number
|
|
4155
4163
|
/**
|
|
4156
|
-
*
|
|
4164
|
+
* 集成中心产品ID
|
|
4165
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4157
4166
|
*/
|
|
4158
|
-
|
|
4167
|
+
ProductId: number
|
|
4159
4168
|
/**
|
|
4160
|
-
*
|
|
4169
|
+
* 匹配运算符
|
|
4170
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4161
4171
|
*/
|
|
4162
|
-
|
|
4172
|
+
Operators?: Array<Operator>
|
|
4163
4173
|
/**
|
|
4164
|
-
*
|
|
4174
|
+
* 指标触发
|
|
4175
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4165
4176
|
*/
|
|
4166
|
-
|
|
4177
|
+
Periods?: Array<number | bigint>
|
|
4167
4178
|
}
|
|
4168
4179
|
|
|
4169
4180
|
/**
|
|
@@ -4941,13 +4952,28 @@ export interface GrafanaAccountInfo {
|
|
|
4941
4952
|
}
|
|
4942
4953
|
|
|
4943
4954
|
/**
|
|
4944
|
-
*
|
|
4955
|
+
* DescribePrometheusTargetsTMP请求参数结构体
|
|
4945
4956
|
*/
|
|
4946
|
-
export interface
|
|
4957
|
+
export interface DescribePrometheusTargetsTMPRequest {
|
|
4947
4958
|
/**
|
|
4948
|
-
*
|
|
4959
|
+
* 实例id
|
|
4949
4960
|
*/
|
|
4950
|
-
|
|
4961
|
+
InstanceId: string
|
|
4962
|
+
/**
|
|
4963
|
+
* 集成容器服务填绑定的集群id;
|
|
4964
|
+
集成中心填 non-cluster
|
|
4965
|
+
*/
|
|
4966
|
+
ClusterId: string
|
|
4967
|
+
/**
|
|
4968
|
+
* 集群类型(可不填)
|
|
4969
|
+
*/
|
|
4970
|
+
ClusterType?: string
|
|
4971
|
+
/**
|
|
4972
|
+
* 过滤条件,当前支持
|
|
4973
|
+
Name=state
|
|
4974
|
+
Value=up, down, unknown
|
|
4975
|
+
*/
|
|
4976
|
+
Filters?: Array<Filter>
|
|
4951
4977
|
}
|
|
4952
4978
|
|
|
4953
4979
|
/**
|
|
@@ -5340,6 +5366,36 @@ export interface LogFilterInfo {
|
|
|
5340
5366
|
Value: string
|
|
5341
5367
|
}
|
|
5342
5368
|
|
|
5369
|
+
/**
|
|
5370
|
+
* DescribeGrafanaChannels请求参数结构体
|
|
5371
|
+
*/
|
|
5372
|
+
export interface DescribeGrafanaChannelsRequest {
|
|
5373
|
+
/**
|
|
5374
|
+
* Grafana 实例 ID,例如:grafana-12345678
|
|
5375
|
+
*/
|
|
5376
|
+
InstanceId: string
|
|
5377
|
+
/**
|
|
5378
|
+
* 偏移量
|
|
5379
|
+
*/
|
|
5380
|
+
Offset: number
|
|
5381
|
+
/**
|
|
5382
|
+
* 查询数量
|
|
5383
|
+
*/
|
|
5384
|
+
Limit: number
|
|
5385
|
+
/**
|
|
5386
|
+
* 告警通道名称,例如:test
|
|
5387
|
+
*/
|
|
5388
|
+
ChannelName?: string
|
|
5389
|
+
/**
|
|
5390
|
+
* 告警通道 ID,例如:nchannel-abcd1234
|
|
5391
|
+
*/
|
|
5392
|
+
ChannelIds?: Array<string>
|
|
5393
|
+
/**
|
|
5394
|
+
* 告警通道状态(不用填写,目前只有可用和删除状态,默认只能查询可用的告警通道)
|
|
5395
|
+
*/
|
|
5396
|
+
ChannelState?: number
|
|
5397
|
+
}
|
|
5398
|
+
|
|
5343
5399
|
/**
|
|
5344
5400
|
* BindingPolicyTag返回参数结构体
|
|
5345
5401
|
*/
|
|
@@ -5887,6 +5943,11 @@ export interface ModifyPrometheusConfigRequest {
|
|
|
5887
5943
|
UpdateImage?: number
|
|
5888
5944
|
}
|
|
5889
5945
|
|
|
5946
|
+
/**
|
|
5947
|
+
* DescribeMonitorResourceInfo请求参数结构体
|
|
5948
|
+
*/
|
|
5949
|
+
export type DescribeMonitorResourceInfoRequest = null
|
|
5950
|
+
|
|
5890
5951
|
/**
|
|
5891
5952
|
* DescribeGrafanaEnvironments返回参数结构体
|
|
5892
5953
|
*/
|
|
@@ -5983,28 +6044,17 @@ export interface ModifyPrometheusAlertPolicyResponse {
|
|
|
5983
6044
|
}
|
|
5984
6045
|
|
|
5985
6046
|
/**
|
|
5986
|
-
*
|
|
6047
|
+
* DescribePhoneAlarmFlowTotalCount返回参数结构体
|
|
5987
6048
|
*/
|
|
5988
|
-
export interface
|
|
5989
|
-
/**
|
|
5990
|
-
* 实例id
|
|
5991
|
-
*/
|
|
5992
|
-
InstanceId: string
|
|
6049
|
+
export interface DescribePhoneAlarmFlowTotalCountResponse {
|
|
5993
6050
|
/**
|
|
5994
|
-
*
|
|
5995
|
-
集成中心填 non-cluster
|
|
5996
|
-
*/
|
|
5997
|
-
ClusterId: string
|
|
5998
|
-
/**
|
|
5999
|
-
* 集群类型(可不填)
|
|
6051
|
+
* 电话流水总数
|
|
6000
6052
|
*/
|
|
6001
|
-
|
|
6053
|
+
Count: number
|
|
6002
6054
|
/**
|
|
6003
|
-
*
|
|
6004
|
-
Name=state
|
|
6005
|
-
Value=up, down, unknown
|
|
6055
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
6006
6056
|
*/
|
|
6007
|
-
|
|
6057
|
+
RequestId?: string
|
|
6008
6058
|
}
|
|
6009
6059
|
|
|
6010
6060
|
/**
|
|
@@ -7524,29 +7574,85 @@ export interface MetricConfig {
|
|
|
7524
7574
|
}
|
|
7525
7575
|
|
|
7526
7576
|
/**
|
|
7527
|
-
*
|
|
7577
|
+
* 托管prometheusV2实例概览
|
|
7528
7578
|
*/
|
|
7529
|
-
export interface
|
|
7579
|
+
export interface PrometheusInstancesOverview {
|
|
7530
7580
|
/**
|
|
7531
|
-
*
|
|
7581
|
+
* 实例ID
|
|
7582
|
+
*/
|
|
7583
|
+
InstanceId: string
|
|
7584
|
+
/**
|
|
7585
|
+
* 实例名
|
|
7586
|
+
*/
|
|
7587
|
+
InstanceName: string
|
|
7588
|
+
/**
|
|
7589
|
+
* VPC ID
|
|
7590
|
+
*/
|
|
7591
|
+
VpcId: string
|
|
7592
|
+
/**
|
|
7593
|
+
* 子网ID
|
|
7594
|
+
*/
|
|
7595
|
+
SubnetId: string
|
|
7596
|
+
/**
|
|
7597
|
+
* 运行状态(1:正在创建;2:运行中;3:异常;4:重启中;5:销毁中; 6:已停机; 7: 已删除)
|
|
7598
|
+
*/
|
|
7599
|
+
InstanceStatus: number
|
|
7600
|
+
/**
|
|
7601
|
+
* 计费状态(1:正常;2:过期; 3:销毁; 4:分配中; 5:分配失败)
|
|
7532
7602
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7533
7603
|
*/
|
|
7534
|
-
|
|
7604
|
+
ChargeStatus: number
|
|
7535
7605
|
/**
|
|
7536
|
-
*
|
|
7606
|
+
* 是否开启 Grafana(0:不开启,1:开启)
|
|
7607
|
+
*/
|
|
7608
|
+
EnableGrafana: number
|
|
7609
|
+
/**
|
|
7610
|
+
* Grafana 面板 URL
|
|
7537
7611
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7538
7612
|
*/
|
|
7539
|
-
|
|
7613
|
+
GrafanaURL: string
|
|
7540
7614
|
/**
|
|
7541
|
-
*
|
|
7615
|
+
* 实例付费类型(1:试用版;2:预付费)
|
|
7616
|
+
*/
|
|
7617
|
+
InstanceChargeType: number
|
|
7618
|
+
/**
|
|
7619
|
+
* 规格名称
|
|
7542
7620
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7543
7621
|
*/
|
|
7544
|
-
|
|
7622
|
+
SpecName: string
|
|
7545
7623
|
/**
|
|
7546
|
-
*
|
|
7624
|
+
* 存储周期
|
|
7547
7625
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
7548
7626
|
*/
|
|
7549
|
-
|
|
7627
|
+
DataRetentionTime: number
|
|
7628
|
+
/**
|
|
7629
|
+
* 购买的实例过期时间
|
|
7630
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7631
|
+
*/
|
|
7632
|
+
ExpireTime: string
|
|
7633
|
+
/**
|
|
7634
|
+
* 自动续费标记(0:不自动续费;1:开启自动续费;2:禁止自动续费;-1:无效)
|
|
7635
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7636
|
+
*/
|
|
7637
|
+
AutoRenewFlag: number
|
|
7638
|
+
/**
|
|
7639
|
+
* 绑定集群总数
|
|
7640
|
+
*/
|
|
7641
|
+
BoundTotal: number
|
|
7642
|
+
/**
|
|
7643
|
+
* 绑定集群正常状态总数
|
|
7644
|
+
*/
|
|
7645
|
+
BoundNormal: number
|
|
7646
|
+
/**
|
|
7647
|
+
* 资源包状态,0-无可用资源包,1-有可用资源包
|
|
7648
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7649
|
+
*/
|
|
7650
|
+
ResourcePackageStatus?: number
|
|
7651
|
+
/**
|
|
7652
|
+
* 资源包规格名称
|
|
7653
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7654
|
+
*/
|
|
7655
|
+
ResourcePackageSpecName?: string
|
|
7550
7656
|
}
|
|
7551
7657
|
|
|
7552
7658
|
/**
|
|
@@ -8434,31 +8540,31 @@ export interface PrometheusRegionItem {
|
|
|
8434
8540
|
/**
|
|
8435
8541
|
* 区域
|
|
8436
8542
|
*/
|
|
8437
|
-
Region
|
|
8543
|
+
Region?: string
|
|
8438
8544
|
/**
|
|
8439
8545
|
* 区域 ID
|
|
8440
8546
|
*/
|
|
8441
|
-
RegionId
|
|
8547
|
+
RegionId?: number
|
|
8442
8548
|
/**
|
|
8443
8549
|
* 区域状态( 0: 不可用;1: 可用)
|
|
8444
8550
|
*/
|
|
8445
|
-
RegionState
|
|
8551
|
+
RegionState?: number
|
|
8446
8552
|
/**
|
|
8447
8553
|
* 区域名(中文)
|
|
8448
8554
|
*/
|
|
8449
|
-
RegionName
|
|
8555
|
+
RegionName?: string
|
|
8450
8556
|
/**
|
|
8451
8557
|
* 区域名(英文缩写)
|
|
8452
8558
|
*/
|
|
8453
|
-
RegionShortName
|
|
8559
|
+
RegionShortName?: string
|
|
8454
8560
|
/**
|
|
8455
8561
|
* 区域所在大区名
|
|
8456
8562
|
*/
|
|
8457
|
-
Area
|
|
8563
|
+
Area?: string
|
|
8458
8564
|
/**
|
|
8459
8565
|
* 1-仅支持预付费,2-仅支持后付费,3-支持两种计费模式实例
|
|
8460
8566
|
*/
|
|
8461
|
-
RegionPayMode
|
|
8567
|
+
RegionPayMode?: number
|
|
8462
8568
|
}
|
|
8463
8569
|
|
|
8464
8570
|
/**
|
|
@@ -8751,6 +8857,16 @@ export interface DeletePrometheusAlertPolicyResponse {
|
|
|
8751
8857
|
RequestId?: string
|
|
8752
8858
|
}
|
|
8753
8859
|
|
|
8860
|
+
/**
|
|
8861
|
+
* DescribePrometheusRegions请求参数结构体
|
|
8862
|
+
*/
|
|
8863
|
+
export interface DescribePrometheusRegionsRequest {
|
|
8864
|
+
/**
|
|
8865
|
+
* 1-预付费,2-后付费,3-全地域(不填默认全地域)
|
|
8866
|
+
*/
|
|
8867
|
+
PayMode?: number
|
|
8868
|
+
}
|
|
8869
|
+
|
|
8754
8870
|
/**
|
|
8755
8871
|
* DescribeProductEventList的入参Dimensions
|
|
8756
8872
|
*/
|
|
@@ -9475,44 +9591,6 @@ export interface DescribePrometheusAlertGroupsRequest {
|
|
|
9475
9591
|
GroupName?: string
|
|
9476
9592
|
}
|
|
9477
9593
|
|
|
9478
|
-
/**
|
|
9479
|
-
* 修改告警策略组传入的指标阈值条件
|
|
9480
|
-
*/
|
|
9481
|
-
export interface ModifyPolicyGroupCondition {
|
|
9482
|
-
/**
|
|
9483
|
-
* 指标id
|
|
9484
|
-
*/
|
|
9485
|
-
MetricId: number
|
|
9486
|
-
/**
|
|
9487
|
-
* 比较类型,1表示大于,2表示大于等于,3表示小于,4表示小于等于,5表示相等,6表示不相等
|
|
9488
|
-
*/
|
|
9489
|
-
CalcType: number
|
|
9490
|
-
/**
|
|
9491
|
-
* 检测阈值
|
|
9492
|
-
*/
|
|
9493
|
-
CalcValue: string
|
|
9494
|
-
/**
|
|
9495
|
-
* 检测指标的数据周期
|
|
9496
|
-
*/
|
|
9497
|
-
CalcPeriod: number
|
|
9498
|
-
/**
|
|
9499
|
-
* 持续周期个数
|
|
9500
|
-
*/
|
|
9501
|
-
ContinuePeriod: number
|
|
9502
|
-
/**
|
|
9503
|
-
* 告警发送收敛类型。0连续告警,1指数告警
|
|
9504
|
-
*/
|
|
9505
|
-
AlarmNotifyType: number
|
|
9506
|
-
/**
|
|
9507
|
-
* 告警发送周期单位秒。<0 不触发, 0 只触发一次, >0 每隔triggerTime秒触发一次
|
|
9508
|
-
*/
|
|
9509
|
-
AlarmNotifyPeriod: number
|
|
9510
|
-
/**
|
|
9511
|
-
* 规则id,不填表示新增,填写了ruleId表示在已存在的规则基础上进行修改
|
|
9512
|
-
*/
|
|
9513
|
-
RuleId?: number
|
|
9514
|
-
}
|
|
9515
|
-
|
|
9516
9594
|
/**
|
|
9517
9595
|
* ModifyPolicyGroup请求参数结构体
|
|
9518
9596
|
*/
|
|
@@ -9569,6 +9647,20 @@ export interface DescribeBaseMetricsRequest {
|
|
|
9569
9647
|
Dimensions?: Array<string>
|
|
9570
9648
|
}
|
|
9571
9649
|
|
|
9650
|
+
/**
|
|
9651
|
+
* DescribePhoneAlarmFlowTotalCount请求参数结构体
|
|
9652
|
+
*/
|
|
9653
|
+
export interface DescribePhoneAlarmFlowTotalCountRequest {
|
|
9654
|
+
/**
|
|
9655
|
+
* 默认monitor
|
|
9656
|
+
*/
|
|
9657
|
+
Module: string
|
|
9658
|
+
/**
|
|
9659
|
+
* unix时间戳,单位:s
|
|
9660
|
+
*/
|
|
9661
|
+
QueryTime: number
|
|
9662
|
+
}
|
|
9663
|
+
|
|
9572
9664
|
/**
|
|
9573
9665
|
* DeletePrometheusConfig请求参数结构体
|
|
9574
9666
|
*/
|
|
@@ -10760,6 +10852,32 @@ export interface TerminatePrometheusInstancesResponse {
|
|
|
10760
10852
|
RequestId?: string
|
|
10761
10853
|
}
|
|
10762
10854
|
|
|
10855
|
+
/**
|
|
10856
|
+
* DescribeMonitorResourceInfo返回参数结构体
|
|
10857
|
+
*/
|
|
10858
|
+
export interface DescribeMonitorResourceInfoResponse {
|
|
10859
|
+
/**
|
|
10860
|
+
* 电话告警数量
|
|
10861
|
+
*/
|
|
10862
|
+
PhoneAlarmNumber: number
|
|
10863
|
+
/**
|
|
10864
|
+
* 高级指标数量
|
|
10865
|
+
*/
|
|
10866
|
+
AdvancedMetricNumber: number
|
|
10867
|
+
/**
|
|
10868
|
+
* API调用量
|
|
10869
|
+
*/
|
|
10870
|
+
APIUsageNumber: number
|
|
10871
|
+
/**
|
|
10872
|
+
* 告警短信数量
|
|
10873
|
+
*/
|
|
10874
|
+
AlarmSMSNumber: number
|
|
10875
|
+
/**
|
|
10876
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10877
|
+
*/
|
|
10878
|
+
RequestId?: string
|
|
10879
|
+
}
|
|
10880
|
+
|
|
10763
10881
|
/**
|
|
10764
10882
|
* UpdateSSOAccount返回参数结构体
|
|
10765
10883
|
*/
|