tencentcloud-sdk-nodejs 4.0.506 → 4.0.508
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 +458 -0
- package/SERVICE_CHANGELOG.md +444 -45
- package/package.json +1 -1
- package/products.md +22 -21
- package/src/common/sdk_version.ts +1 -1
- package/src/services/anicloud/index.ts +5 -0
- package/src/services/anicloud/v20220923/anicloud_client.ts +69 -0
- package/src/services/anicloud/v20220923/anicloud_models.ts +278 -0
- package/src/services/anicloud/v20220923/index.ts +6 -0
- package/src/services/antiddos/v20200309/antiddos_client.ts +14 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +121 -6
- package/src/services/cam/v20190116/cam_client.ts +1 -1
- package/src/services/cam/v20190116/cam_models.ts +6 -6
- package/src/services/cdb/v20170320/cdb_client.ts +24 -0
- package/src/services/cdb/v20170320/cdb_models.ts +151 -0
- package/src/services/cdn/v20180606/cdn_models.ts +1 -1
- package/src/services/cdwch/v20200915/cdwch_client.ts +48 -19
- package/src/services/cdwch/v20200915/cdwch_models.ts +614 -202
- package/src/services/ckafka/v20190819/ckafka_client.ts +2 -0
- package/src/services/ckafka/v20190819/ckafka_models.ts +73 -0
- package/src/services/essbasic/v20210526/essbasic_models.ts +14 -0
- package/src/services/gs/v20191118/gs_models.ts +9 -2
- package/src/services/index.ts +1 -0
- package/src/services/irp/v20220805/irp_models.ts +5 -5
- package/src/services/lighthouse/v20200324/lighthouse_client.ts +105 -23
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +408 -140
- package/src/services/monitor/v20180724/monitor_client.ts +14 -1
- package/src/services/monitor/v20180724/monitor_models.ts +75 -4
- package/src/services/ocr/v20181119/ocr_models.ts +5 -0
- package/src/services/rum/v20210622/rum_client.ts +12 -0
- package/src/services/rum/v20210622/rum_models.ts +20 -0
- package/src/services/ssl/v20191205/ssl_models.ts +5 -0
- package/src/services/teo/v20220901/teo_client.ts +0 -12
- package/src/services/teo/v20220901/teo_models.ts +6 -32
- package/src/services/thpc/v20220401/thpc_client.ts +42 -6
- package/src/services/thpc/v20220401/thpc_models.ts +70 -0
- package/src/services/tione/v20211111/tione_models.ts +1 -1
- package/src/services/vod/v20180717/vod_client.ts +83 -29
- package/src/services/vod/v20180717/vod_models.ts +429 -24
- package/src/services/waf/v20180125/waf_models.ts +67 -1
- package/tencentcloud/common/abstract_client.js +2 -2
- package/tencentcloud/common/cvm_role_credential.d.ts +6 -6
- package/tencentcloud/common/cvm_role_credential.js +3 -3
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/anicloud/index.d.ts +6 -0
- package/tencentcloud/services/anicloud/index.js +7 -0
- package/tencentcloud/services/anicloud/v20220923/anicloud_client.d.ts +22 -0
- package/tencentcloud/services/anicloud/v20220923/anicloud_client.js +49 -0
- package/tencentcloud/services/anicloud/v20220923/anicloud_models.d.ts +223 -0
- package/tencentcloud/services/anicloud/v20220923/anicloud_models.js +18 -0
- package/tencentcloud/services/anicloud/v20220923/index.d.ts +6 -0
- package/tencentcloud/services/anicloud/v20220923/index.js +9 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +5 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +6 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +101 -6
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +1 -1
- package/tencentcloud/services/cam/v20190116/cam_client.js +1 -1
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +6 -6
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +9 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +12 -0
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +125 -0
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +1 -1
- package/tencentcloud/services/cdwch/v20200915/cdwch_client.d.ts +11 -3
- package/tencentcloud/services/cdwch/v20200915/cdwch_client.js +15 -3
- package/tencentcloud/services/cdwch/v20200915/cdwch_models.d.ts +484 -138
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +62 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +12 -0
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +8 -2
- package/tencentcloud/services/index.d.ts +1 -0
- package/tencentcloud/services/index.js +2 -0
- package/tencentcloud/services/irp/v20220805/irp_models.d.ts +5 -5
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.d.ts +39 -7
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_client.js +51 -7
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +361 -128
- package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +5 -1
- package/tencentcloud/services/monitor/v20180724/monitor_client.js +6 -0
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +65 -4
- package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +4 -0
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +5 -1
- package/tencentcloud/services/rum/v20210622/rum_client.js +6 -0
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +18 -0
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +4 -0
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +1 -5
- package/tencentcloud/services/teo/v20220901/teo_client.js +0 -6
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +5 -28
- package/tencentcloud/services/thpc/v20220401/thpc_client.d.ts +15 -3
- package/tencentcloud/services/thpc/v20220401/thpc_client.js +21 -3
- package/tencentcloud/services/thpc/v20220401/thpc_models.d.ts +62 -0
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +1 -1
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +38 -21
- package/tencentcloud/services/vod/v20180717/vod_client.js +47 -22
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +372 -20
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +57 -1
- package/test/anicloud.v20220923.test.js +51 -0
- package/test/antiddos.v20200309.test.js +10 -0
- package/test/cdb.v20170320.test.js +20 -0
- package/test/cdwch.v20200915.test.js +22 -2
- package/test/lighthouse.v20200324.test.js +62 -2
- package/test/monitor.v20180724.test.js +10 -0
- package/test/rum.v20210622.test.js +10 -0
- package/test/teo.v20220901.test.js +0 -10
- package/test/thpc.v20220401.test.js +32 -2
- package/test/vod.v20180717.test.js +44 -4
|
@@ -61,6 +61,7 @@ import {
|
|
|
61
61
|
CreateExporterIntegrationRequest,
|
|
62
62
|
DescribeAlarmEventsResponse,
|
|
63
63
|
DescribeProductEventListDimensions,
|
|
64
|
+
UpdateExporterIntegrationResponse,
|
|
64
65
|
DescribePolicyGroupInfoResponse,
|
|
65
66
|
Operator,
|
|
66
67
|
ModifyAlarmPolicyNoticeRequest,
|
|
@@ -179,7 +180,7 @@ import {
|
|
|
179
180
|
UpgradeGrafanaInstanceRequest,
|
|
180
181
|
DescribeAlarmNoticeCallbacksRequest,
|
|
181
182
|
DescribeAlarmNoticeCallbacksResponse,
|
|
182
|
-
|
|
183
|
+
DescribePrometheusInstanceUsageRequest,
|
|
183
184
|
ModifyAlarmPolicyConditionRequest,
|
|
184
185
|
DeleteSSOAccountRequest,
|
|
185
186
|
PrometheusScrapeJob,
|
|
@@ -192,6 +193,7 @@ import {
|
|
|
192
193
|
CreateGrafanaInstanceRequest,
|
|
193
194
|
UpdateAlertRuleStateResponse,
|
|
194
195
|
BindingPolicyObjectDimension,
|
|
196
|
+
DescribePrometheusInstanceUsageResponse,
|
|
195
197
|
UnbindPrometheusManagedGrafanaResponse,
|
|
196
198
|
DescribeBasicAlarmListAlarms,
|
|
197
199
|
DescribeGrafanaChannelsResponse,
|
|
@@ -307,6 +309,7 @@ import {
|
|
|
307
309
|
DescribeSSOAccountRequest,
|
|
308
310
|
Tag,
|
|
309
311
|
DescribeAlarmNoticeRequest,
|
|
312
|
+
PrometheusInstanceTenantUsage,
|
|
310
313
|
UninstallGrafanaDashboardRequest,
|
|
311
314
|
GrafanaNotificationChannel,
|
|
312
315
|
CreatePrometheusAgentRequest,
|
|
@@ -400,6 +403,16 @@ export class Client extends AbstractClient {
|
|
|
400
403
|
return this.request("UpdateAlertRule", req, cb)
|
|
401
404
|
}
|
|
402
405
|
|
|
406
|
+
/**
|
|
407
|
+
* 查询Prometheus按量实例用量
|
|
408
|
+
*/
|
|
409
|
+
async DescribePrometheusInstanceUsage(
|
|
410
|
+
req: DescribePrometheusInstanceUsageRequest,
|
|
411
|
+
cb?: (error: string, rep: DescribePrometheusInstanceUsageResponse) => void
|
|
412
|
+
): Promise<DescribePrometheusInstanceUsageResponse> {
|
|
413
|
+
return this.request("DescribePrometheusInstanceUsage", req, cb)
|
|
414
|
+
}
|
|
415
|
+
|
|
403
416
|
/**
|
|
404
417
|
* 修改告警接收人
|
|
405
418
|
*/
|
|
@@ -1060,6 +1060,16 @@ export interface DescribeProductEventListDimensions {
|
|
|
1060
1060
|
Value: string
|
|
1061
1061
|
}
|
|
1062
1062
|
|
|
1063
|
+
/**
|
|
1064
|
+
* UpdateExporterIntegration返回参数结构体
|
|
1065
|
+
*/
|
|
1066
|
+
export interface UpdateExporterIntegrationResponse {
|
|
1067
|
+
/**
|
|
1068
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1069
|
+
*/
|
|
1070
|
+
RequestId?: string
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1063
1073
|
/**
|
|
1064
1074
|
* DescribePolicyGroupInfo返回参数结构体
|
|
1065
1075
|
*/
|
|
@@ -4192,13 +4202,23 @@ export interface DescribeAlarmNoticeCallbacksResponse {
|
|
|
4192
4202
|
}
|
|
4193
4203
|
|
|
4194
4204
|
/**
|
|
4195
|
-
*
|
|
4205
|
+
* DescribePrometheusInstanceUsage请求参数结构体
|
|
4196
4206
|
*/
|
|
4197
|
-
export interface
|
|
4207
|
+
export interface DescribePrometheusInstanceUsageRequest {
|
|
4198
4208
|
/**
|
|
4199
|
-
*
|
|
4209
|
+
* 按照一个或者多个实例ID查询。实例ID形如:prom-xxxxxxxx。请求的实例的上限为100。
|
|
4200
4210
|
*/
|
|
4201
|
-
|
|
4211
|
+
InstanceIds: Array<string>
|
|
4212
|
+
|
|
4213
|
+
/**
|
|
4214
|
+
* 开始时间
|
|
4215
|
+
*/
|
|
4216
|
+
StartCalcDate: string
|
|
4217
|
+
|
|
4218
|
+
/**
|
|
4219
|
+
* 结束时间
|
|
4220
|
+
*/
|
|
4221
|
+
EndCalcDate: string
|
|
4202
4222
|
}
|
|
4203
4223
|
|
|
4204
4224
|
/**
|
|
@@ -4455,6 +4475,22 @@ export interface BindingPolicyObjectDimension {
|
|
|
4455
4475
|
EventDimensions?: string
|
|
4456
4476
|
}
|
|
4457
4477
|
|
|
4478
|
+
/**
|
|
4479
|
+
* DescribePrometheusInstanceUsage返回参数结构体
|
|
4480
|
+
*/
|
|
4481
|
+
export interface DescribePrometheusInstanceUsageResponse {
|
|
4482
|
+
/**
|
|
4483
|
+
* 用量列表
|
|
4484
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4485
|
+
*/
|
|
4486
|
+
UsageSet: Array<PrometheusInstanceTenantUsage>
|
|
4487
|
+
|
|
4488
|
+
/**
|
|
4489
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4490
|
+
*/
|
|
4491
|
+
RequestId?: string
|
|
4492
|
+
}
|
|
4493
|
+
|
|
4458
4494
|
/**
|
|
4459
4495
|
* UnbindPrometheusManagedGrafana返回参数结构体
|
|
4460
4496
|
*/
|
|
@@ -8049,6 +8085,41 @@ export interface DescribeAlarmNoticeRequest {
|
|
|
8049
8085
|
NoticeId: string
|
|
8050
8086
|
}
|
|
8051
8087
|
|
|
8088
|
+
/**
|
|
8089
|
+
* Prometheus用量信息
|
|
8090
|
+
*/
|
|
8091
|
+
export interface PrometheusInstanceTenantUsage {
|
|
8092
|
+
/**
|
|
8093
|
+
* 实例ID
|
|
8094
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8095
|
+
*/
|
|
8096
|
+
InstanceId: string
|
|
8097
|
+
|
|
8098
|
+
/**
|
|
8099
|
+
* 计费周期
|
|
8100
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8101
|
+
*/
|
|
8102
|
+
CalcDate: string
|
|
8103
|
+
|
|
8104
|
+
/**
|
|
8105
|
+
* 总用量
|
|
8106
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8107
|
+
*/
|
|
8108
|
+
Total: number
|
|
8109
|
+
|
|
8110
|
+
/**
|
|
8111
|
+
* 基础指标用量
|
|
8112
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8113
|
+
*/
|
|
8114
|
+
Basic: number
|
|
8115
|
+
|
|
8116
|
+
/**
|
|
8117
|
+
* 付费指标用量
|
|
8118
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8119
|
+
*/
|
|
8120
|
+
Fee: number
|
|
8121
|
+
}
|
|
8122
|
+
|
|
8052
8123
|
/**
|
|
8053
8124
|
* UninstallGrafanaDashboard请求参数结构体
|
|
8054
8125
|
*/
|
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
DescribeTawInstancesRequest,
|
|
28
28
|
DeleteOfflineLogConfigResponse,
|
|
29
29
|
DescribeDataPvUrlInfoResponse,
|
|
30
|
+
StopProjectResponse,
|
|
30
31
|
DescribeDataFetchUrlResponse,
|
|
31
32
|
DescribeErrorRequest,
|
|
32
33
|
StopInstanceRequest,
|
|
@@ -57,6 +58,7 @@ import {
|
|
|
57
58
|
DescribeUvListRequest,
|
|
58
59
|
DescribeTawAreasResponse,
|
|
59
60
|
DescribeDataRequest,
|
|
61
|
+
StopProjectRequest,
|
|
60
62
|
CreateOfflineLogConfigResponse,
|
|
61
63
|
ModifyProjectLimitRequest,
|
|
62
64
|
DeleteInstanceResponse,
|
|
@@ -458,6 +460,16 @@ export class Client extends AbstractClient {
|
|
|
458
460
|
return this.request("DescribeProjects", req, cb)
|
|
459
461
|
}
|
|
460
462
|
|
|
463
|
+
/**
|
|
464
|
+
* 停止项目使用与上报数据
|
|
465
|
+
*/
|
|
466
|
+
async StopProject(
|
|
467
|
+
req: StopProjectRequest,
|
|
468
|
+
cb?: (error: string, rep: StopProjectResponse) => void
|
|
469
|
+
): Promise<StopProjectResponse> {
|
|
470
|
+
return this.request("StopProject", req, cb)
|
|
471
|
+
}
|
|
472
|
+
|
|
461
473
|
/**
|
|
462
474
|
* 个人用户添加星标项目
|
|
463
475
|
*/
|
|
@@ -346,6 +346,16 @@ export interface DescribeDataPvUrlInfoResponse {
|
|
|
346
346
|
RequestId?: string
|
|
347
347
|
}
|
|
348
348
|
|
|
349
|
+
/**
|
|
350
|
+
* StopProject返回参数结构体
|
|
351
|
+
*/
|
|
352
|
+
export interface StopProjectResponse {
|
|
353
|
+
/**
|
|
354
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
355
|
+
*/
|
|
356
|
+
RequestId?: string
|
|
357
|
+
}
|
|
358
|
+
|
|
349
359
|
/**
|
|
350
360
|
* DescribeDataFetchUrl返回参数结构体
|
|
351
361
|
*/
|
|
@@ -1142,6 +1152,16 @@ export interface DescribeDataRequest {
|
|
|
1142
1152
|
ID: number
|
|
1143
1153
|
}
|
|
1144
1154
|
|
|
1155
|
+
/**
|
|
1156
|
+
* StopProject请求参数结构体
|
|
1157
|
+
*/
|
|
1158
|
+
export interface StopProjectRequest {
|
|
1159
|
+
/**
|
|
1160
|
+
* 项目 id
|
|
1161
|
+
*/
|
|
1162
|
+
ProjectId: number
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1145
1165
|
/**
|
|
1146
1166
|
* CreateOfflineLogConfig返回参数结构体
|
|
1147
1167
|
*/
|
|
@@ -20,7 +20,6 @@ import { ClientConfig } from "../../../common/interface"
|
|
|
20
20
|
import {
|
|
21
21
|
Compression,
|
|
22
22
|
DescribeOriginGroupResponse,
|
|
23
|
-
ModifyLoadBalancingStatusResponse,
|
|
24
23
|
DescribeBotDataRequest,
|
|
25
24
|
SpeedTestingInfo,
|
|
26
25
|
DescribeSingleL7AnalysisDataRequest,
|
|
@@ -158,7 +157,6 @@ import {
|
|
|
158
157
|
DescribeDnsDataResponse,
|
|
159
158
|
Zone,
|
|
160
159
|
DescribeDDoSAttackSourceEventRequest,
|
|
161
|
-
ModifyLoadBalancingStatusRequest,
|
|
162
160
|
DDoSAttackEvent,
|
|
163
161
|
DropPageDetail,
|
|
164
162
|
SwitchLogTopicTaskResponse,
|
|
@@ -665,16 +663,6 @@ export class Client extends AbstractClient {
|
|
|
665
663
|
return this.request("DeleteApplicationProxyRule", req, cb)
|
|
666
664
|
}
|
|
667
665
|
|
|
668
|
-
/**
|
|
669
|
-
* 修改负载均衡状态
|
|
670
|
-
*/
|
|
671
|
-
async ModifyLoadBalancingStatus(
|
|
672
|
-
req: ModifyLoadBalancingStatusRequest,
|
|
673
|
-
cb?: (error: string, rep: ModifyLoadBalancingStatusResponse) => void
|
|
674
|
-
): Promise<ModifyLoadBalancingStatusResponse> {
|
|
675
|
-
return this.request("ModifyLoadBalancingStatus", req, cb)
|
|
676
|
-
}
|
|
677
|
-
|
|
678
666
|
/**
|
|
679
667
|
* 本接口(DescribeWebProtectionData)用于查询CC防护时序数据。
|
|
680
668
|
*/
|
|
@@ -55,16 +55,6 @@ export interface DescribeOriginGroupResponse {
|
|
|
55
55
|
RequestId?: string
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
/**
|
|
59
|
-
* ModifyLoadBalancingStatus返回参数结构体
|
|
60
|
-
*/
|
|
61
|
-
export interface ModifyLoadBalancingStatusResponse {
|
|
62
|
-
/**
|
|
63
|
-
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
64
|
-
*/
|
|
65
|
-
RequestId?: string
|
|
66
|
-
}
|
|
67
|
-
|
|
68
58
|
/**
|
|
69
59
|
* DescribeBotData请求参数结构体
|
|
70
60
|
*/
|
|
@@ -4299,28 +4289,6 @@ export interface DescribeDDoSAttackSourceEventRequest {
|
|
|
4299
4289
|
Area?: string
|
|
4300
4290
|
}
|
|
4301
4291
|
|
|
4302
|
-
/**
|
|
4303
|
-
* ModifyLoadBalancingStatus请求参数结构体
|
|
4304
|
-
*/
|
|
4305
|
-
export interface ModifyLoadBalancingStatusRequest {
|
|
4306
|
-
/**
|
|
4307
|
-
* 站点ID。
|
|
4308
|
-
*/
|
|
4309
|
-
ZoneId: string
|
|
4310
|
-
|
|
4311
|
-
/**
|
|
4312
|
-
* 负载均衡ID。
|
|
4313
|
-
*/
|
|
4314
|
-
LoadBalancingId: string
|
|
4315
|
-
|
|
4316
|
-
/**
|
|
4317
|
-
* 负载均衡状态,取值有:
|
|
4318
|
-
<li>online:启用;</li>
|
|
4319
|
-
<li>offline:停用。</li>
|
|
4320
|
-
*/
|
|
4321
|
-
Status: string
|
|
4322
|
-
}
|
|
4323
|
-
|
|
4324
4292
|
/**
|
|
4325
4293
|
* DDoS攻击事件对象
|
|
4326
4294
|
*/
|
|
@@ -8733,6 +8701,12 @@ export interface FollowOrigin {
|
|
|
8733
8701
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
8734
8702
|
*/
|
|
8735
8703
|
DefaultCache?: string
|
|
8704
|
+
|
|
8705
|
+
/**
|
|
8706
|
+
* 源站未返回 Cache-Control 头时, 使用/不使用默认缓存策略
|
|
8707
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
8708
|
+
*/
|
|
8709
|
+
DefaultCacheStrategy?: string
|
|
8736
8710
|
}
|
|
8737
8711
|
|
|
8738
8712
|
/**
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
SetAutoScalingConfigurationRequest,
|
|
24
24
|
LoginSettings,
|
|
25
25
|
DeleteNodesResponse,
|
|
26
|
+
AddClusterStorageOptionResponse,
|
|
26
27
|
DeleteClusterResponse,
|
|
27
28
|
ExpansionNodeConfig,
|
|
28
29
|
NodeActivity,
|
|
@@ -33,6 +34,7 @@ import {
|
|
|
33
34
|
CreateClusterResponse,
|
|
34
35
|
SetAutoScalingConfigurationResponse,
|
|
35
36
|
CreateClusterRequest,
|
|
37
|
+
DescribeClusterStorageOptionResponse,
|
|
36
38
|
Tag,
|
|
37
39
|
LoginNode,
|
|
38
40
|
BindAutoScalingGroupResponse,
|
|
@@ -44,14 +46,18 @@ import {
|
|
|
44
46
|
Placement,
|
|
45
47
|
DescribeClusterActivitiesRequest,
|
|
46
48
|
AddNodesRequest,
|
|
49
|
+
DeleteClusterStorageOptionRequest,
|
|
50
|
+
AddClusterStorageOptionRequest,
|
|
47
51
|
BindAutoScalingGroupRequest,
|
|
48
52
|
VirtualPrivateCloud,
|
|
49
53
|
InstanceChargePrepaid,
|
|
54
|
+
DescribeClusterStorageOptionRequest,
|
|
50
55
|
StorageOption,
|
|
51
56
|
InternetAccessible,
|
|
52
57
|
ComputeNode,
|
|
53
58
|
DeleteNodesRequest,
|
|
54
59
|
DescribeClustersResponse,
|
|
60
|
+
DeleteClusterStorageOptionResponse,
|
|
55
61
|
GooseFSOption,
|
|
56
62
|
DescribeClusterActivitiesResponse,
|
|
57
63
|
DataDisk,
|
|
@@ -67,6 +73,16 @@ export class Client extends AbstractClient {
|
|
|
67
73
|
super("thpc.tencentcloudapi.com", "2022-04-01", clientConfig)
|
|
68
74
|
}
|
|
69
75
|
|
|
76
|
+
/**
|
|
77
|
+
* 本接口 (DescribeClusterStorageOption) 用于查询集群存储选项信息。
|
|
78
|
+
*/
|
|
79
|
+
async DescribeClusterStorageOption(
|
|
80
|
+
req: DescribeClusterStorageOptionRequest,
|
|
81
|
+
cb?: (error: string, rep: DescribeClusterStorageOptionResponse) => void
|
|
82
|
+
): Promise<DescribeClusterStorageOptionResponse> {
|
|
83
|
+
return this.request("DescribeClusterStorageOption", req, cb)
|
|
84
|
+
}
|
|
85
|
+
|
|
70
86
|
/**
|
|
71
87
|
* 本接口(DeleteNodes)用于删除指定集群中一个或者多个计算节点或者登录节点。
|
|
72
88
|
*/
|
|
@@ -97,6 +113,16 @@ export class Client extends AbstractClient {
|
|
|
97
113
|
return this.request("CreateCluster", req, cb)
|
|
98
114
|
}
|
|
99
115
|
|
|
116
|
+
/**
|
|
117
|
+
* 本接口 (DeleteClusterStorageOption) 用于删除集群存储选项信息。
|
|
118
|
+
*/
|
|
119
|
+
async DeleteClusterStorageOption(
|
|
120
|
+
req: DeleteClusterStorageOptionRequest,
|
|
121
|
+
cb?: (error: string, rep: DeleteClusterStorageOptionResponse) => void
|
|
122
|
+
): Promise<DeleteClusterStorageOptionResponse> {
|
|
123
|
+
return this.request("DeleteClusterStorageOption", req, cb)
|
|
124
|
+
}
|
|
125
|
+
|
|
100
126
|
/**
|
|
101
127
|
* 本接口(SetAutoScalingConfiguration)用于为集群设置集群弹性伸缩配置信息。
|
|
102
128
|
*/
|
|
@@ -128,13 +154,13 @@ export class Client extends AbstractClient {
|
|
|
128
154
|
}
|
|
129
155
|
|
|
130
156
|
/**
|
|
131
|
-
* 本接口(
|
|
157
|
+
* 本接口(AddClusterStorageOption)用于添加集群存储选项信息。
|
|
132
158
|
*/
|
|
133
|
-
async
|
|
134
|
-
req:
|
|
135
|
-
cb?: (error: string, rep:
|
|
136
|
-
): Promise<
|
|
137
|
-
return this.request("
|
|
159
|
+
async AddClusterStorageOption(
|
|
160
|
+
req: AddClusterStorageOptionRequest,
|
|
161
|
+
cb?: (error: string, rep: AddClusterStorageOptionResponse) => void
|
|
162
|
+
): Promise<AddClusterStorageOptionResponse> {
|
|
163
|
+
return this.request("AddClusterStorageOption", req, cb)
|
|
138
164
|
}
|
|
139
165
|
|
|
140
166
|
/**
|
|
@@ -146,4 +172,14 @@ export class Client extends AbstractClient {
|
|
|
146
172
|
): Promise<DescribeClusterActivitiesResponse> {
|
|
147
173
|
return this.request("DescribeClusterActivities", req, cb)
|
|
148
174
|
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* 本接口(DeleteCluster)用于删除一个指定的集群。
|
|
178
|
+
*/
|
|
179
|
+
async DeleteCluster(
|
|
180
|
+
req: DeleteClusterRequest,
|
|
181
|
+
cb?: (error: string, rep: DeleteClusterResponse) => void
|
|
182
|
+
): Promise<DeleteClusterResponse> {
|
|
183
|
+
return this.request("DeleteCluster", req, cb)
|
|
184
|
+
}
|
|
149
185
|
}
|
|
@@ -159,6 +159,16 @@ export interface DeleteNodesResponse {
|
|
|
159
159
|
RequestId?: string
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
+
/**
|
|
163
|
+
* AddClusterStorageOption返回参数结构体
|
|
164
|
+
*/
|
|
165
|
+
export interface AddClusterStorageOptionResponse {
|
|
166
|
+
/**
|
|
167
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
168
|
+
*/
|
|
169
|
+
RequestId?: string
|
|
170
|
+
}
|
|
171
|
+
|
|
162
172
|
/**
|
|
163
173
|
* DeleteCluster返回参数结构体
|
|
164
174
|
*/
|
|
@@ -516,6 +526,16 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
516
526
|
AutoScalingType?: string
|
|
517
527
|
}
|
|
518
528
|
|
|
529
|
+
/**
|
|
530
|
+
* DescribeClusterStorageOption返回参数结构体
|
|
531
|
+
*/
|
|
532
|
+
export interface DescribeClusterStorageOptionResponse {
|
|
533
|
+
/**
|
|
534
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
535
|
+
*/
|
|
536
|
+
RequestId?: string
|
|
537
|
+
}
|
|
538
|
+
|
|
519
539
|
/**
|
|
520
540
|
* 标签键值对。
|
|
521
541
|
*/
|
|
@@ -814,6 +834,36 @@ false(默认):发送正常请求,通过检查后直接创建实例
|
|
|
814
834
|
DryRun?: boolean
|
|
815
835
|
}
|
|
816
836
|
|
|
837
|
+
/**
|
|
838
|
+
* DeleteClusterStorageOption请求参数结构体
|
|
839
|
+
*/
|
|
840
|
+
export interface DeleteClusterStorageOptionRequest {
|
|
841
|
+
/**
|
|
842
|
+
* 集群ID。
|
|
843
|
+
*/
|
|
844
|
+
ClusterId: string
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* 本地挂载路径。
|
|
848
|
+
*/
|
|
849
|
+
LocalPath: string
|
|
850
|
+
}
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* AddClusterStorageOption请求参数结构体
|
|
854
|
+
*/
|
|
855
|
+
export interface AddClusterStorageOptionRequest {
|
|
856
|
+
/**
|
|
857
|
+
* 集群ID。
|
|
858
|
+
*/
|
|
859
|
+
ClusterId: string
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* 集群存储选项。
|
|
863
|
+
*/
|
|
864
|
+
StorageOption: StorageOption
|
|
865
|
+
}
|
|
866
|
+
|
|
817
867
|
/**
|
|
818
868
|
* BindAutoScalingGroup请求参数结构体
|
|
819
869
|
*/
|
|
@@ -903,6 +953,16 @@ DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
|
|
|
903
953
|
RenewFlag?: string
|
|
904
954
|
}
|
|
905
955
|
|
|
956
|
+
/**
|
|
957
|
+
* DescribeClusterStorageOption请求参数结构体
|
|
958
|
+
*/
|
|
959
|
+
export interface DescribeClusterStorageOptionRequest {
|
|
960
|
+
/**
|
|
961
|
+
* 集群ID。
|
|
962
|
+
*/
|
|
963
|
+
ClusterId: string
|
|
964
|
+
}
|
|
965
|
+
|
|
906
966
|
/**
|
|
907
967
|
* 描述集群文件系统选项
|
|
908
968
|
*/
|
|
@@ -1016,6 +1076,16 @@ export interface DescribeClustersResponse {
|
|
|
1016
1076
|
RequestId?: string
|
|
1017
1077
|
}
|
|
1018
1078
|
|
|
1079
|
+
/**
|
|
1080
|
+
* DeleteClusterStorageOption返回参数结构体
|
|
1081
|
+
*/
|
|
1082
|
+
export interface DeleteClusterStorageOptionResponse {
|
|
1083
|
+
/**
|
|
1084
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1085
|
+
*/
|
|
1086
|
+
RequestId?: string
|
|
1087
|
+
}
|
|
1088
|
+
|
|
1019
1089
|
/**
|
|
1020
1090
|
* 描述GooseFS挂载信息
|
|
1021
1091
|
*/
|