tencentcloud-sdk-nodejs 4.0.755 → 4.0.756
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 +147 -0
- package/SERVICE_CHANGELOG.md +217 -51
- package/package.json +1 -1
- package/products.md +14 -13
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdwdoris/index.ts +5 -0
- package/src/services/cdwdoris/v20211228/cdwdoris_client.ts +73 -0
- package/src/services/cdwdoris/v20211228/cdwdoris_models.ts +498 -0
- package/src/services/cdwdoris/v20211228/index.ts +6 -0
- package/src/services/csip/v20221121/csip_client.ts +15 -2
- package/src/services/csip/v20221121/csip_models.ts +173 -20
- package/src/services/domain/v20180808/domain_models.ts +11 -11
- package/src/services/ess/v20201111/ess_models.ts +12 -7
- package/src/services/essbasic/v20210526/essbasic_client.ts +6 -3
- package/src/services/essbasic/v20210526/essbasic_models.ts +37 -36
- package/src/services/index.ts +1 -0
- package/src/services/lcic/v20220817/lcic_models.ts +6 -1
- package/src/services/monitor/v20180724/monitor_client.ts +5 -5
- package/src/services/monitor/v20180724/monitor_models.ts +30 -21
- package/src/services/privatedns/v20201028/privatedns_models.ts +1 -1
- package/src/services/pts/v20210728/pts_models.ts +29 -29
- package/src/services/ssm/v20190923/ssm_models.ts +15 -9
- package/src/services/tcr/v20190924/tcr_client.ts +4 -19
- package/src/services/tcr/v20190924/tcr_models.ts +36 -126
- package/src/services/tke/v20180525/tke_client.ts +46 -22
- package/src/services/tke/v20180525/tke_models.ts +65 -0
- package/src/services/waf/v20180125/waf_models.ts +4 -4
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdwdoris/index.d.ts +6 -0
- package/tencentcloud/services/cdwdoris/index.js +7 -0
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.d.ts +22 -0
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_client.js +49 -0
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +470 -0
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.js +18 -0
- package/tencentcloud/services/cdwdoris/v20211228/index.d.ts +6 -0
- package/tencentcloud/services/cdwdoris/v20211228/index.js +9 -0
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +5 -1
- package/tencentcloud/services/csip/v20221121/csip_client.js +6 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +170 -20
- package/tencentcloud/services/domain/v20180808/domain_models.d.ts +11 -11
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +12 -7
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +5 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +5 -2
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +37 -36
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +6 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +5 -5
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +5 -5
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +30 -21
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +1 -1
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +29 -29
- package/tencentcloud/services/ssm/v20190923/ssm_models.d.ts +15 -9
- package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +1 -7
- package/tencentcloud/services/tcr/v20190924/tcr_client.js +0 -8
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +36 -123
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +17 -9
- package/tencentcloud/services/tke/v20180525/tke_client.js +24 -12
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +61 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +4 -4
- package/test/cdwdoris.v20211228.test.js +51 -0
- package/test/csip.v20221121.test.js +10 -0
- package/test/tcr.v20190924.test.js +0 -10
- package/test/tke.v20180525.test.js +34 -14
|
@@ -368,11 +368,11 @@ export interface CreatePrometheusMultiTenantInstancePostPayModeRequest {
|
|
|
368
368
|
*/
|
|
369
369
|
InstanceName: string
|
|
370
370
|
/**
|
|
371
|
-
* VPC ID
|
|
371
|
+
* VPC ID(可通过 vpc:DescribeVpcs 接口获取,与实例同地域)
|
|
372
372
|
*/
|
|
373
373
|
VpcId: string
|
|
374
374
|
/**
|
|
375
|
-
* 子网 ID
|
|
375
|
+
* 子网 ID(可通过 vpc:DescribeSubnets 接口获取)
|
|
376
376
|
*/
|
|
377
377
|
SubnetId: string
|
|
378
378
|
/**
|
|
@@ -380,7 +380,7 @@ export interface CreatePrometheusMultiTenantInstancePostPayModeRequest {
|
|
|
380
380
|
*/
|
|
381
381
|
DataRetentionTime: number
|
|
382
382
|
/**
|
|
383
|
-
* 可用区
|
|
383
|
+
* 可用区(与子网同可用区)
|
|
384
384
|
*/
|
|
385
385
|
Zone: string
|
|
386
386
|
/**
|
|
@@ -665,7 +665,7 @@ export interface CreatePrometheusMultiTenantInstancePostPayModeResponse {
|
|
|
665
665
|
/**
|
|
666
666
|
* 实例 ID
|
|
667
667
|
*/
|
|
668
|
-
InstanceId
|
|
668
|
+
InstanceId?: string
|
|
669
669
|
/**
|
|
670
670
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
671
671
|
*/
|
|
@@ -944,7 +944,7 @@ export interface DeleteExporterIntegrationRequest {
|
|
|
944
944
|
*/
|
|
945
945
|
InstanceId: string
|
|
946
946
|
/**
|
|
947
|
-
* 类型
|
|
947
|
+
* 类型(可通过 DescribeExporterIntegrations获取)
|
|
948
948
|
*/
|
|
949
949
|
Kind: string
|
|
950
950
|
/**
|
|
@@ -954,12 +954,12 @@ export interface DeleteExporterIntegrationRequest {
|
|
|
954
954
|
/**
|
|
955
955
|
* Kubernetes 集群类型,取值如下:
|
|
956
956
|
<li> 1= 容器集群(TKE) </li>
|
|
957
|
-
<li> 2
|
|
958
|
-
<li> 3= Prometheus
|
|
957
|
+
<li> 2=弹性集群(EKS) </li>
|
|
958
|
+
<li> 3= Prometheus管理的弹性集群(MEKS) </li>
|
|
959
959
|
*/
|
|
960
960
|
KubeType?: number
|
|
961
961
|
/**
|
|
962
|
-
* 集群 ID
|
|
962
|
+
* 集群 ID,可不填
|
|
963
963
|
*/
|
|
964
964
|
ClusterId?: string
|
|
965
965
|
}
|
|
@@ -1496,11 +1496,11 @@ export interface DeletePrometheusScrapeJobsRequest {
|
|
|
1496
1496
|
*/
|
|
1497
1497
|
InstanceId: string
|
|
1498
1498
|
/**
|
|
1499
|
-
* Agent ID
|
|
1499
|
+
* Agent ID(可通过 DescribePrometheusAgents 接口获取)
|
|
1500
1500
|
*/
|
|
1501
1501
|
AgentId: string
|
|
1502
1502
|
/**
|
|
1503
|
-
* 任务 ID 列表
|
|
1503
|
+
* 任务 ID 列表(可通过 DescribePrometheusScrapeJobs 接口获取)
|
|
1504
1504
|
*/
|
|
1505
1505
|
JobIds: Array<string>
|
|
1506
1506
|
}
|
|
@@ -2699,7 +2699,7 @@ export interface CreateExporterIntegrationResponse {
|
|
|
2699
2699
|
/**
|
|
2700
2700
|
* 返回创建成功的集成名称列表
|
|
2701
2701
|
*/
|
|
2702
|
-
Names
|
|
2702
|
+
Names?: Array<string>
|
|
2703
2703
|
/**
|
|
2704
2704
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2705
2705
|
*/
|
|
@@ -3283,7 +3283,7 @@ export interface CreatePrometheusScrapeJobResponse {
|
|
|
3283
3283
|
/**
|
|
3284
3284
|
* 成功创建抓取任务 Id
|
|
3285
3285
|
*/
|
|
3286
|
-
JobId
|
|
3286
|
+
JobId?: string
|
|
3287
3287
|
/**
|
|
3288
3288
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3289
3289
|
*/
|
|
@@ -5207,7 +5207,7 @@ export interface CreateExporterIntegrationRequest {
|
|
|
5207
5207
|
*/
|
|
5208
5208
|
InstanceId: string
|
|
5209
5209
|
/**
|
|
5210
|
-
* 类型
|
|
5210
|
+
* 类型(可通过 DescribePrometheusIntegrations 接口获取,取每一项中的 ExporterType 字段)
|
|
5211
5211
|
*/
|
|
5212
5212
|
Kind: string
|
|
5213
5213
|
/**
|
|
@@ -5215,14 +5215,14 @@ export interface CreateExporterIntegrationRequest {
|
|
|
5215
5215
|
*/
|
|
5216
5216
|
Content: string
|
|
5217
5217
|
/**
|
|
5218
|
-
* Kubernetes
|
|
5218
|
+
* Kubernetes 集群类型,可不填,取值如下:
|
|
5219
5219
|
<li> 1= 容器集群(TKE) </li>
|
|
5220
|
-
<li> 2
|
|
5221
|
-
<li> 3= Prometheus
|
|
5220
|
+
<li> 2=弹性集群(EKS) </li>
|
|
5221
|
+
<li> 3= Prometheus管理的弹性集群(MEKS) </li>
|
|
5222
5222
|
*/
|
|
5223
5223
|
KubeType?: number
|
|
5224
5224
|
/**
|
|
5225
|
-
* 集群 ID
|
|
5225
|
+
* 集群 ID,可不填
|
|
5226
5226
|
*/
|
|
5227
5227
|
ClusterId?: string
|
|
5228
5228
|
}
|
|
@@ -5669,7 +5669,7 @@ export interface CreateRecordingRuleRequest {
|
|
|
5669
5669
|
*/
|
|
5670
5670
|
Name: string
|
|
5671
5671
|
/**
|
|
5672
|
-
* 聚合规则组内容,格式为 yaml
|
|
5672
|
+
* 聚合规则组内容,格式为 yaml,通过 base64 进行编码。
|
|
5673
5673
|
*/
|
|
5674
5674
|
Group: string
|
|
5675
5675
|
/**
|
|
@@ -7698,15 +7698,15 @@ export interface CreatePolicyGroupRequest {
|
|
|
7698
7698
|
*/
|
|
7699
7699
|
export interface CreatePrometheusScrapeJobRequest {
|
|
7700
7700
|
/**
|
|
7701
|
-
* Prometheus 实例 ID
|
|
7701
|
+
* Prometheus 实例 ID
|
|
7702
7702
|
*/
|
|
7703
7703
|
InstanceId: string
|
|
7704
7704
|
/**
|
|
7705
|
-
* Agent ID
|
|
7705
|
+
* Agent ID(可通过DescribePrometheusAgents 接口获取)
|
|
7706
7706
|
*/
|
|
7707
7707
|
AgentId: string
|
|
7708
7708
|
/**
|
|
7709
|
-
*
|
|
7709
|
+
* 抓取任务配置
|
|
7710
7710
|
*/
|
|
7711
7711
|
Config?: string
|
|
7712
7712
|
}
|
|
@@ -8054,6 +8054,13 @@ export interface UpgradeGrafanaDashboardRequest {
|
|
|
8054
8054
|
InstanceId: string
|
|
8055
8055
|
/**
|
|
8056
8056
|
* Prometheus 集成项 Code,升级对应的 Dashboard,取值如下:
|
|
8057
|
+
<li>qcloud</li>
|
|
8058
|
+
<li>cvm_process_exporter</li>
|
|
8059
|
+
<li>cvm_node_exporter</li>
|
|
8060
|
+
<li>cvm</li>
|
|
8061
|
+
<li>kubernetes</li>
|
|
8062
|
+
<li>cdwch</li>
|
|
8063
|
+
<li>rocketmq</li>
|
|
8057
8064
|
<li>spring_mvc</li>
|
|
8058
8065
|
<li>mysql</li>
|
|
8059
8066
|
<li>go</li>
|
|
@@ -8071,6 +8078,8 @@ export interface UpgradeGrafanaDashboardRequest {
|
|
|
8071
8078
|
<li>tps</li>
|
|
8072
8079
|
<li>istio</li>
|
|
8073
8080
|
<li>etcd</li>
|
|
8081
|
+
<li>pts</li>
|
|
8082
|
+
<li>kong</li>
|
|
8074
8083
|
*/
|
|
8075
8084
|
IntegrationCodes?: Array<string>
|
|
8076
8085
|
}
|
|
@@ -93,7 +93,7 @@ export interface DescribeSampleMatrixQueryResponse {
|
|
|
93
93
|
* 指标矩阵
|
|
94
94
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
95
95
|
*/
|
|
96
|
-
MetricSampleMatrix
|
|
96
|
+
MetricSampleMatrix?: CustomSampleMatrix
|
|
97
97
|
/**
|
|
98
98
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
99
99
|
*/
|
|
@@ -175,7 +175,7 @@ export interface DescribeSampleLogsRequest {
|
|
|
175
175
|
*/
|
|
176
176
|
export interface DeleteJobsRequest {
|
|
177
177
|
/**
|
|
178
|
-
*
|
|
178
|
+
* 待删除的任务的 ID(所有任务的 ID 可以从 DescribeJobs 获取)
|
|
179
179
|
*/
|
|
180
180
|
JobIds: Array<string>
|
|
181
181
|
/**
|
|
@@ -300,11 +300,11 @@ export interface DescribeLabelValuesRequest {
|
|
|
300
300
|
*/
|
|
301
301
|
ScenarioId: string
|
|
302
302
|
/**
|
|
303
|
-
*
|
|
303
|
+
* 指标名。取值范围参见 DescribeMetricLabelWithValues 接口返回的所有指标名
|
|
304
304
|
*/
|
|
305
305
|
Metric: string
|
|
306
306
|
/**
|
|
307
|
-
*
|
|
307
|
+
* 标签名。取值范围参见 DescribeMetricLabelWithValues 接口返回的指标及其支持的标签名
|
|
308
308
|
*/
|
|
309
309
|
LabelName: string
|
|
310
310
|
/**
|
|
@@ -615,7 +615,7 @@ export interface UpdateScenarioRequest {
|
|
|
615
615
|
*/
|
|
616
616
|
Description?: string
|
|
617
617
|
/**
|
|
618
|
-
*
|
|
618
|
+
* 压测场景的模式类型。取值范围:pts-http 代表简单模式,pts-js 代表脚本模式,pts-jmeter 代表 JMeter 模式。
|
|
619
619
|
*/
|
|
620
620
|
Type?: string
|
|
621
621
|
/**
|
|
@@ -912,7 +912,7 @@ export interface AdjustJobSpeedRequest {
|
|
|
912
912
|
*/
|
|
913
913
|
JobId: string
|
|
914
914
|
/**
|
|
915
|
-
* 目标RPS
|
|
915
|
+
* 目标 RPS。其取值应大于起始 RPS,并且小于最大 RPS
|
|
916
916
|
*/
|
|
917
917
|
TargetRequestsPerSecond: number
|
|
918
918
|
}
|
|
@@ -1008,11 +1008,11 @@ export interface LabelWithValues {
|
|
|
1008
1008
|
*/
|
|
1009
1009
|
export interface Label {
|
|
1010
1010
|
/**
|
|
1011
|
-
*
|
|
1011
|
+
* 标签名
|
|
1012
1012
|
*/
|
|
1013
1013
|
LabelName: string
|
|
1014
1014
|
/**
|
|
1015
|
-
*
|
|
1015
|
+
* 标签值
|
|
1016
1016
|
*/
|
|
1017
1017
|
LabelValue: string
|
|
1018
1018
|
}
|
|
@@ -1190,7 +1190,7 @@ export interface DescribeLabelValuesResponse {
|
|
|
1190
1190
|
* 标签值数组
|
|
1191
1191
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1192
1192
|
*/
|
|
1193
|
-
LabelValueSet
|
|
1193
|
+
LabelValueSet?: Array<string>
|
|
1194
1194
|
/**
|
|
1195
1195
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1196
1196
|
*/
|
|
@@ -1206,7 +1206,7 @@ export interface InternalMetricQuery {
|
|
|
1206
1206
|
*/
|
|
1207
1207
|
Metric: string
|
|
1208
1208
|
/**
|
|
1209
|
-
*
|
|
1209
|
+
* 聚合函数。取值范围:Rate,Count,Avg,P90,P95,P99,Gauge
|
|
1210
1210
|
*/
|
|
1211
1211
|
Aggregation: string
|
|
1212
1212
|
/**
|
|
@@ -1214,7 +1214,7 @@ export interface InternalMetricQuery {
|
|
|
1214
1214
|
*/
|
|
1215
1215
|
Labels?: Array<Label>
|
|
1216
1216
|
/**
|
|
1217
|
-
*
|
|
1217
|
+
* 用标签过滤规则来过滤指标,规则中包含标签名 LabelName、标签值 LabelValue、操作符 Operator(0代表相等,1代表不等)
|
|
1218
1218
|
*/
|
|
1219
1219
|
Filters?: Array<Filter>
|
|
1220
1220
|
/**
|
|
@@ -1482,15 +1482,15 @@ export interface DescribeSampleMatrixQueryRequest {
|
|
|
1482
1482
|
*/
|
|
1483
1483
|
ScenarioId: string
|
|
1484
1484
|
/**
|
|
1485
|
-
*
|
|
1485
|
+
* 指标名。取值范围参见 DescribeMetricLabelWithValues 接口返回的所有指标名
|
|
1486
1486
|
*/
|
|
1487
1487
|
Metric: string
|
|
1488
1488
|
/**
|
|
1489
|
-
*
|
|
1489
|
+
* 聚合函数。取值范围:Rate,Count,Avg,P90,P95,P99,Gauge
|
|
1490
1490
|
*/
|
|
1491
1491
|
Aggregation: string
|
|
1492
1492
|
/**
|
|
1493
|
-
*
|
|
1493
|
+
* 用标签过滤规则来过滤指标,规则中包含标签名 LabelName、标签值 LabelValue、操作符 Operator(0代表相等,1代表不等)
|
|
1494
1494
|
*/
|
|
1495
1495
|
Filters?: Array<Filter>
|
|
1496
1496
|
/**
|
|
@@ -1580,7 +1580,7 @@ export interface DeleteProjectsRequest {
|
|
|
1580
1580
|
*/
|
|
1581
1581
|
export interface UpdateFileScenarioRelationRequest {
|
|
1582
1582
|
/**
|
|
1583
|
-
* 文件 ID
|
|
1583
|
+
* 文件 ID。其值应为前序步骤上传该文件到 cos 桶后,文件在 cos 桶中的相应目录
|
|
1584
1584
|
*/
|
|
1585
1585
|
FileId: string
|
|
1586
1586
|
/**
|
|
@@ -1708,11 +1708,11 @@ export interface DescribeSampleQueryRequest {
|
|
|
1708
1708
|
*/
|
|
1709
1709
|
ScenarioId: string
|
|
1710
1710
|
/**
|
|
1711
|
-
*
|
|
1711
|
+
* 指标名。取值范围参见 DescribeMetricLabelWithValues 接口返回的所有指标名
|
|
1712
1712
|
*/
|
|
1713
1713
|
Metric: string
|
|
1714
1714
|
/**
|
|
1715
|
-
*
|
|
1715
|
+
* 聚合函数。取值范围:Rate,Count,Avg,P90,P95,P99,Gauge
|
|
1716
1716
|
*/
|
|
1717
1717
|
Aggregation: string
|
|
1718
1718
|
/**
|
|
@@ -1720,7 +1720,7 @@ export interface DescribeSampleQueryRequest {
|
|
|
1720
1720
|
*/
|
|
1721
1721
|
ProjectId: string
|
|
1722
1722
|
/**
|
|
1723
|
-
*
|
|
1723
|
+
* 标签过滤条件。各指标支持的标签参见 DescribeMetricLabelWithValues 接口返回的所有指标及其支持的标签
|
|
1724
1724
|
*/
|
|
1725
1725
|
Labels?: Array<Label>
|
|
1726
1726
|
}
|
|
@@ -1897,7 +1897,7 @@ export interface DeleteFilesRequest {
|
|
|
1897
1897
|
*/
|
|
1898
1898
|
ProjectId: string
|
|
1899
1899
|
/**
|
|
1900
|
-
*
|
|
1900
|
+
* 待删除的文件的 ID(所有文件 ID 可从接口 DescribeFiles 获取)
|
|
1901
1901
|
*/
|
|
1902
1902
|
FileIds: Array<string>
|
|
1903
1903
|
}
|
|
@@ -2053,11 +2053,11 @@ export interface Notification {
|
|
|
2053
2053
|
*/
|
|
2054
2054
|
export interface DescribeSampleBatchQueryRequest {
|
|
2055
2055
|
/**
|
|
2056
|
-
*
|
|
2056
|
+
* 压测任务的 ID
|
|
2057
2057
|
*/
|
|
2058
2058
|
JobId: string
|
|
2059
2059
|
/**
|
|
2060
|
-
*
|
|
2060
|
+
* 场景的 ID
|
|
2061
2061
|
*/
|
|
2062
2062
|
ScenarioId: string
|
|
2063
2063
|
/**
|
|
@@ -2065,7 +2065,7 @@ export interface DescribeSampleBatchQueryRequest {
|
|
|
2065
2065
|
*/
|
|
2066
2066
|
Queries: Array<InternalMetricQuery>
|
|
2067
2067
|
/**
|
|
2068
|
-
*
|
|
2068
|
+
* 项目的 ID
|
|
2069
2069
|
*/
|
|
2070
2070
|
ProjectId: string
|
|
2071
2071
|
}
|
|
@@ -2152,7 +2152,7 @@ export interface MetricInfo {
|
|
|
2152
2152
|
*/
|
|
2153
2153
|
export interface CreateAlertChannelRequest {
|
|
2154
2154
|
/**
|
|
2155
|
-
*
|
|
2155
|
+
* monitor 服务的告警通知模板的 NoticeId,可从 monitor 服务的云 API 的 DescribeAlarmNotices 接口响应里的 Id 字段获取。(CreateAlertChannel 接口的入参里用于标识一个告警通知模板的 AMPConsumerId 与 NoticeId 二选一即可)
|
|
2156
2156
|
*/
|
|
2157
2157
|
NoticeId: string
|
|
2158
2158
|
/**
|
|
@@ -2160,7 +2160,7 @@ export interface CreateAlertChannelRequest {
|
|
|
2160
2160
|
*/
|
|
2161
2161
|
ProjectId: string
|
|
2162
2162
|
/**
|
|
2163
|
-
*
|
|
2163
|
+
* monitor 服务的告警通知模板的 AMPConsumerId,可从 monitor 服务的云 API 的 DescribeAlarmNotices 接口响应里的 AMPConsumerId 字段获取。(CreateAlertChannel 接口的入参里用于标识一个告警通知模板的 AMPConsumerId 与 NoticeId 二选一即可)
|
|
2164
2164
|
*/
|
|
2165
2165
|
AMPConsumerId?: string
|
|
2166
2166
|
}
|
|
@@ -2630,7 +2630,7 @@ export interface Load {
|
|
|
2630
2630
|
*/
|
|
2631
2631
|
export interface CreateFileRequest {
|
|
2632
2632
|
/**
|
|
2633
|
-
* 文件 ID
|
|
2633
|
+
* 文件 ID。其值应为前序步骤上传该文件到 cos 桶后,文件在 cos 桶中的相应目录
|
|
2634
2634
|
*/
|
|
2635
2635
|
FileId: string
|
|
2636
2636
|
/**
|
|
@@ -3018,7 +3018,7 @@ export interface DescribeSampleQueryResponse {
|
|
|
3018
3018
|
* 返回指标内容
|
|
3019
3019
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3020
3020
|
*/
|
|
3021
|
-
MetricSample
|
|
3021
|
+
MetricSample?: CustomSample
|
|
3022
3022
|
/**
|
|
3023
3023
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3024
3024
|
*/
|
|
@@ -3480,7 +3480,7 @@ export interface CreateScenarioResponse {
|
|
|
3480
3480
|
*/
|
|
3481
3481
|
export interface AbortJobRequest {
|
|
3482
3482
|
/**
|
|
3483
|
-
*
|
|
3483
|
+
* 待停止的压测任务的 ID(所有的压测任务 ID 可以从 DescribeJobs 接口获取)
|
|
3484
3484
|
*/
|
|
3485
3485
|
JobId: string
|
|
3486
3486
|
/**
|
|
@@ -3603,7 +3603,7 @@ export interface DescribeSampleBatchQueryResponse {
|
|
|
3603
3603
|
* 返回指标内容
|
|
3604
3604
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3605
3605
|
*/
|
|
3606
|
-
MetricSampleSet
|
|
3606
|
+
MetricSampleSet?: Array<CustomSample>
|
|
3607
3607
|
/**
|
|
3608
3608
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3609
3609
|
*/
|
|
@@ -3747,7 +3747,7 @@ export interface DeleteAlertChannelRequest {
|
|
|
3747
3747
|
*/
|
|
3748
3748
|
ProjectId: string
|
|
3749
3749
|
/**
|
|
3750
|
-
* Notice ID
|
|
3750
|
+
* 待删除的通知渠道的 Notice ID(所有通知渠道的 Notice ID 可以从 DescribeAlertChannels 接口获取)
|
|
3751
3751
|
*/
|
|
3752
3752
|
NoticeId: string
|
|
3753
3753
|
}
|
|
@@ -94,7 +94,7 @@ export interface DescribeSecretResponse {
|
|
|
94
94
|
*/
|
|
95
95
|
CreateTime?: number
|
|
96
96
|
/**
|
|
97
|
-
* 0 -- 用户自定义凭据类型;1 -- 数据库凭据类型;2 -- SSH
|
|
97
|
+
* 0 -- 用户自定义凭据类型;1 -- 数据库凭据类型;2 -- SSH密钥对凭据类型;3 -- 云API密钥(AKSK)凭据类型(使用此功能需要联系云助手单独开启白名单);4 -- Redis类型凭据。
|
|
98
98
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
99
99
|
*/
|
|
100
100
|
SecretType?: number
|
|
@@ -355,13 +355,18 @@ export interface GetRegionsResponse {
|
|
|
355
355
|
*/
|
|
356
356
|
export interface DescribeSupportedProductsResponse {
|
|
357
357
|
/**
|
|
358
|
-
*
|
|
358
|
+
* 支持的所有云产品列表。
|
|
359
|
+
每种云产品与凭据类型的对应关系如下:
|
|
360
|
+
当SecretType为1时,支持的云产品列表包括:Mysql、Tdsql-mysql、Tdsql_C_Mysql;
|
|
361
|
+
当SecretType为2时,支持的产品列表为:Cvm;
|
|
362
|
+
当SecretType为3时,支持的产品列表为:Cam(此功能的使用需要联系云助手单独开始白名单);
|
|
363
|
+
当SecretType为4时,支持的产品列表为:Redis。
|
|
359
364
|
*/
|
|
360
|
-
Products
|
|
365
|
+
Products?: Array<string>
|
|
361
366
|
/**
|
|
362
367
|
* 支持的产品个数
|
|
363
368
|
*/
|
|
364
|
-
TotalCount
|
|
369
|
+
TotalCount?: number
|
|
365
370
|
/**
|
|
366
371
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
367
372
|
*/
|
|
@@ -664,9 +669,10 @@ export interface ListSecretsRequest {
|
|
|
664
669
|
/**
|
|
665
670
|
* 此参数仅在SecretType参数值为1时生效,
|
|
666
671
|
当SecretType值为1时:
|
|
667
|
-
如果ProductName
|
|
668
|
-
如果ProductName
|
|
669
|
-
如果ProductName
|
|
672
|
+
如果ProductName值为空,则表示查询所有类型的云产品凭据;
|
|
673
|
+
如果ProductName值为某个指定的云产品值如Mysql时,则表示查询Mysql数据库凭据;
|
|
674
|
+
如果ProductName值为多个云产品值,如:Mysql,Tdsql-mysql,Tdsql_C_Mysql(多个值以英文逗号,分隔开)则表示查询三种云产品类型的凭据;
|
|
675
|
+
支持的云产品列表请通过接口:DescribeSupportedProducts进行查询。
|
|
670
676
|
*/
|
|
671
677
|
ProductName?: string
|
|
672
678
|
}
|
|
@@ -1155,11 +1161,11 @@ export interface ListSecretsResponse {
|
|
|
1155
1161
|
/**
|
|
1156
1162
|
* 根据State和SearchSecretName 筛选的凭据总数。
|
|
1157
1163
|
*/
|
|
1158
|
-
TotalCount
|
|
1164
|
+
TotalCount?: number
|
|
1159
1165
|
/**
|
|
1160
1166
|
* 返回凭据信息列表。
|
|
1161
1167
|
*/
|
|
1162
|
-
SecretMetadatas
|
|
1168
|
+
SecretMetadatas?: Array<SecretMetadata>
|
|
1163
1169
|
/**
|
|
1164
1170
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1165
1171
|
*/
|
|
@@ -98,7 +98,6 @@ import {
|
|
|
98
98
|
SearchUserRepositoryResp,
|
|
99
99
|
CreateTagRetentionRuleRequest,
|
|
100
100
|
DuplicateImagePersonalResponse,
|
|
101
|
-
DescribeCustomAccountsRequest,
|
|
102
101
|
DescribeImageLifecyclePersonalResponse,
|
|
103
102
|
DescribeInstanceStatusResponse,
|
|
104
103
|
CreateImageAccelerationServiceRequest,
|
|
@@ -126,20 +125,19 @@ import {
|
|
|
126
125
|
DeleteNamespaceResponse,
|
|
127
126
|
DeleteNamespacePersonalResponse,
|
|
128
127
|
Favors,
|
|
129
|
-
|
|
128
|
+
CreateSignatureRequest,
|
|
130
129
|
DescribeRepositoryPersonalResponse,
|
|
131
130
|
CreateSecurityPolicyResponse,
|
|
132
131
|
DescribeRepositoriesRequest,
|
|
133
132
|
CreateUserPersonalRequest,
|
|
134
133
|
DeleteServiceAccountResponse,
|
|
135
|
-
ValidateRepositoryExistPersonalResponse,
|
|
136
134
|
ModifyNamespaceResponse,
|
|
137
135
|
ValidateRepositoryExistPersonalRequest,
|
|
138
136
|
ModifyUserPasswordPersonalResponse,
|
|
139
137
|
TcrNamespaceInfo,
|
|
140
138
|
DescribeImagesResponse,
|
|
141
139
|
ModifyRepositoryInfoPersonalResponse,
|
|
142
|
-
|
|
140
|
+
DescribeWebhookTriggerLogRequest,
|
|
143
141
|
RenewInstanceRequest,
|
|
144
142
|
DescribeImageFilterPersonalRequest,
|
|
145
143
|
DescribeTagRetentionExecutionTaskRequest,
|
|
@@ -194,7 +192,7 @@ import {
|
|
|
194
192
|
GCJobInfo,
|
|
195
193
|
Registry,
|
|
196
194
|
DescribeChartDownloadInfoRequest,
|
|
197
|
-
|
|
195
|
+
ValidateRepositoryExistPersonalResponse,
|
|
198
196
|
DeleteImageAccelerateServiceRequest,
|
|
199
197
|
CheckInstanceResponse,
|
|
200
198
|
NamespaceIsExistsResp,
|
|
@@ -204,7 +202,6 @@ import {
|
|
|
204
202
|
DescribeImmutableTagRulesRequest,
|
|
205
203
|
Filter,
|
|
206
204
|
RetentionExecution,
|
|
207
|
-
DescribeWebhookTriggerLogRequest,
|
|
208
205
|
DuplicateImageResponse,
|
|
209
206
|
DescribeReplicationInstanceCreateTasksRequest,
|
|
210
207
|
ModifyWebhookTriggerResponse,
|
|
@@ -227,7 +224,7 @@ import {
|
|
|
227
224
|
DescribeReplicationInstancesResponse,
|
|
228
225
|
CreateSecurityPolicyRequest,
|
|
229
226
|
ManageReplicationResponse,
|
|
230
|
-
|
|
227
|
+
CreateWebhookTriggerRequest,
|
|
231
228
|
DeleteImageAccelerateServiceResponse,
|
|
232
229
|
CVEWhitelistItem,
|
|
233
230
|
ModifyRepositoryInfoPersonalRequest,
|
|
@@ -885,18 +882,6 @@ export class Client extends AbstractClient {
|
|
|
885
882
|
return this.request("CreateUserPersonal", req, cb)
|
|
886
883
|
}
|
|
887
884
|
|
|
888
|
-
/**
|
|
889
|
-
* 接口未使用
|
|
890
|
-
|
|
891
|
-
查询自定义账号
|
|
892
|
-
*/
|
|
893
|
-
async DescribeCustomAccounts(
|
|
894
|
-
req: DescribeCustomAccountsRequest,
|
|
895
|
-
cb?: (error: string, rep: DescribeCustomAccountsResponse) => void
|
|
896
|
-
): Promise<DescribeCustomAccountsResponse> {
|
|
897
|
-
return this.request("DescribeCustomAccounts", req, cb)
|
|
898
|
-
}
|
|
899
|
-
|
|
900
885
|
/**
|
|
901
886
|
* 查询实例自定义域名列表
|
|
902
887
|
*/
|