tencentcloud-sdk-nodejs 4.1.39 → 4.1.41
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/es/common/sdk_version.js +1 -1
- package/es/services/mps/v20190612/mps_client.js +9 -0
- package/es/services/postgres/v20170312/postgres_client.js +8 -14
- package/es/services/tke/v20180525/tke_client.js +0 -3
- package/package.json +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cbs/v20170312/cbs_client.d.ts +3 -3
- package/tencentcloud/services/cbs/v20170312/cbs_client.js +3 -3
- package/tencentcloud/services/cbs/v20170312/cbs_models.d.ts +36 -29
- package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_client.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +5 -0
- package/tencentcloud/services/cdwdoris/v20211228/cdwdoris_models.d.ts +8 -0
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +2 -2
- package/tencentcloud/services/cfs/v20190719/cfs_client.js +2 -2
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +24 -25
- package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +1 -1
- package/tencentcloud/services/cfw/v20190904/cfw_client.js +1 -1
- package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +1 -1
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +18 -8
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +66 -0
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +5 -6
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +4 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +20 -13
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +13 -3
- package/tencentcloud/services/gs/v20191118/gs_models.d.ts +8 -0
- package/tencentcloud/services/hai/v20230812/hai_client.d.ts +8 -6
- package/tencentcloud/services/hai/v20230812/hai_client.js +8 -6
- package/tencentcloud/services/hai/v20230812/hai_models.d.ts +36 -42
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +183 -1
- package/tencentcloud/services/mps/v20190612/mps_client.d.ts +14 -1
- package/tencentcloud/services/mps/v20190612/mps_client.js +19 -0
- package/tencentcloud/services/mps/v20190612/mps_models.d.ts +276 -36
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +9 -21
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +12 -28
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +64 -108
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +4 -4
- package/tencentcloud/services/pts/v20210728/pts_models.d.ts +4 -0
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +88 -3
- package/tencentcloud/services/teo/v20220901/teo_client.d.ts +5 -0
- package/tencentcloud/services/teo/v20220901/teo_client.js +5 -0
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -5
- package/tencentcloud/services/tke/v20180525/tke_client.js +0 -6
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -50
- package/tencentcloud/services/tms/v20201229/tms_models.d.ts +11 -2
- package/tencentcloud/services/vpc/v20170312/vpc_models.d.ts +9 -9
package/es/common/sdk_version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const sdkVersion = "4.1.
|
|
1
|
+
export const sdkVersion = "4.1.41";
|
|
@@ -18,6 +18,9 @@ export class Client extends AbstractClient {
|
|
|
18
18
|
async ModifySmartSubtitleTemplate(req, cb) {
|
|
19
19
|
return this.request("ModifySmartSubtitleTemplate", req, cb);
|
|
20
20
|
}
|
|
21
|
+
async DescribeBatchTaskDetail(req, cb) {
|
|
22
|
+
return this.request("DescribeBatchTaskDetail", req, cb);
|
|
23
|
+
}
|
|
21
24
|
async ModifyLiveRecordTemplate(req, cb) {
|
|
22
25
|
return this.request("ModifyLiveRecordTemplate", req, cb);
|
|
23
26
|
}
|
|
@@ -105,12 +108,18 @@ export class Client extends AbstractClient {
|
|
|
105
108
|
async ExecuteFunction(req, cb) {
|
|
106
109
|
return this.request("ExecuteFunction", req, cb);
|
|
107
110
|
}
|
|
111
|
+
async BatchProcessMedia(req, cb) {
|
|
112
|
+
return this.request("BatchProcessMedia", req, cb);
|
|
113
|
+
}
|
|
108
114
|
async DescribeStreamLinkFlows(req, cb) {
|
|
109
115
|
return this.request("DescribeStreamLinkFlows", req, cb);
|
|
110
116
|
}
|
|
111
117
|
async ModifyAnimatedGraphicsTemplate(req, cb) {
|
|
112
118
|
return this.request("ModifyAnimatedGraphicsTemplate", req, cb);
|
|
113
119
|
}
|
|
120
|
+
async DescribeImageTaskDetail(req, cb) {
|
|
121
|
+
return this.request("DescribeImageTaskDetail", req, cb);
|
|
122
|
+
}
|
|
114
123
|
async DeleteStreamLinkOutput(req, cb) {
|
|
115
124
|
return this.request("DeleteStreamLinkOutput", req, cb);
|
|
116
125
|
}
|
|
@@ -45,17 +45,14 @@ export class Client extends AbstractClient {
|
|
|
45
45
|
async DescribeDBInstanceParameters(req, cb) {
|
|
46
46
|
return this.request("DescribeDBInstanceParameters", req, cb);
|
|
47
47
|
}
|
|
48
|
-
async DeleteServerlessDBInstance(req, cb) {
|
|
49
|
-
return this.request("DeleteServerlessDBInstance", req, cb);
|
|
50
|
-
}
|
|
51
48
|
async CreateDBInstanceNetworkAccess(req, cb) {
|
|
52
49
|
return this.request("CreateDBInstanceNetworkAccess", req, cb);
|
|
53
50
|
}
|
|
54
51
|
async ModifyDBInstanceSpec(req, cb) {
|
|
55
52
|
return this.request("ModifyDBInstanceSpec", req, cb);
|
|
56
53
|
}
|
|
57
|
-
async
|
|
58
|
-
return this.request("
|
|
54
|
+
async ModifyDBInstanceSecurityGroups(req, cb) {
|
|
55
|
+
return this.request("ModifyDBInstanceSecurityGroups", req, cb);
|
|
59
56
|
}
|
|
60
57
|
async DescribeTasks(req, cb) {
|
|
61
58
|
return this.request("DescribeTasks", req, cb);
|
|
@@ -66,8 +63,8 @@ export class Client extends AbstractClient {
|
|
|
66
63
|
async DescribeDatabases(req, cb) {
|
|
67
64
|
return this.request("DescribeDatabases", req, cb);
|
|
68
65
|
}
|
|
69
|
-
async
|
|
70
|
-
return this.request("
|
|
66
|
+
async DescribeSlowQueryAnalysis(req, cb) {
|
|
67
|
+
return this.request("DescribeSlowQueryAnalysis", req, cb);
|
|
71
68
|
}
|
|
72
69
|
async DescribeProductConfig(req, cb) {
|
|
73
70
|
return this.request("DescribeProductConfig", req, cb);
|
|
@@ -93,8 +90,8 @@ export class Client extends AbstractClient {
|
|
|
93
90
|
async DescribeDBBackups(req, cb) {
|
|
94
91
|
return this.request("DescribeDBBackups", req, cb);
|
|
95
92
|
}
|
|
96
|
-
async
|
|
97
|
-
return this.request("
|
|
93
|
+
async DescribeParameterTemplates(req, cb) {
|
|
94
|
+
return this.request("DescribeParameterTemplates", req, cb);
|
|
98
95
|
}
|
|
99
96
|
async InquiryPriceCreateDBInstances(req, cb) {
|
|
100
97
|
return this.request("InquiryPriceCreateDBInstances", req, cb);
|
|
@@ -111,9 +108,6 @@ export class Client extends AbstractClient {
|
|
|
111
108
|
async RestoreDBInstanceObjects(req, cb) {
|
|
112
109
|
return this.request("RestoreDBInstanceObjects", req, cb);
|
|
113
110
|
}
|
|
114
|
-
async CloseServerlessDBExtranetAccess(req, cb) {
|
|
115
|
-
return this.request("CloseServerlessDBExtranetAccess", req, cb);
|
|
116
|
-
}
|
|
117
111
|
async ModifyDBInstanceDeployment(req, cb) {
|
|
118
112
|
return this.request("ModifyDBInstanceDeployment", req, cb);
|
|
119
113
|
}
|
|
@@ -309,8 +303,8 @@ export class Client extends AbstractClient {
|
|
|
309
303
|
async InquiryPriceRenewDBInstance(req, cb) {
|
|
310
304
|
return this.request("InquiryPriceRenewDBInstance", req, cb);
|
|
311
305
|
}
|
|
312
|
-
async
|
|
313
|
-
return this.request("
|
|
306
|
+
async ModifyBackupDownloadRestriction(req, cb) {
|
|
307
|
+
return this.request("ModifyBackupDownloadRestriction", req, cb);
|
|
314
308
|
}
|
|
315
309
|
async DeleteBaseBackup(req, cb) {
|
|
316
310
|
return this.request("DeleteBaseBackup", req, cb);
|
|
@@ -114,9 +114,6 @@ export class Client extends AbstractClient {
|
|
|
114
114
|
async DescribeVersions(req, cb) {
|
|
115
115
|
return this.request("DescribeVersions", req, cb);
|
|
116
116
|
}
|
|
117
|
-
async ForwardApplicationRequestV3(req, cb) {
|
|
118
|
-
return this.request("ForwardApplicationRequestV3", req, cb);
|
|
119
|
-
}
|
|
120
117
|
async ModifyPrometheusAgentExternalLabels(req, cb) {
|
|
121
118
|
return this.request("ModifyPrometheusAgentExternalLabels", req, cb);
|
|
122
119
|
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.1.
|
|
1
|
+
export declare const sdkVersion = "4.1.41";
|
|
@@ -23,9 +23,9 @@ export declare class Client extends AbstractClient {
|
|
|
23
23
|
/**
|
|
24
24
|
* 本接口(ApplyDiskBackup)用于回滚备份点到原云硬盘。
|
|
25
25
|
|
|
26
|
-
* 仅支持回滚到原云硬盘上。对于数据盘备份点,如果您需要复制备份点数据到其它云硬盘上,请先使用
|
|
27
|
-
* 用于回滚的备份点必须处于NORMAL状态。备份点状态可以通过DescribeDiskBackups接口查询,见输出参数中BackupState字段解释。
|
|
28
|
-
*
|
|
26
|
+
* 仅支持回滚到原云硬盘上。对于数据盘备份点,如果您需要复制备份点数据到其它云硬盘上,请先使用[CreateSnapshot](/document/product/362/15648) 将备份点转换为快照,然后使用[CreateDisks](/document/product/362/16312) 接口创建新的弹性云硬盘,将快照数据复制到新购云硬盘上。
|
|
27
|
+
* 用于回滚的备份点必须处于NORMAL状态。备份点状态可以通过[DescribeDiskBackups](/document/product/362/80278)接口查询,见输出参数中BackupState字段解释。
|
|
28
|
+
* 如果是弹性云硬盘,则云硬盘必须处于未挂载状态,云硬盘挂载状态可以通[DescribeDisks](/document/product/362/16315)接口查询,见Attached字段解释;如果是随实例一起购买的非弹性云硬盘,则实例必须处于关机状态,实例状态可以通过[DescribeInstancesStatus](/document/product/213/15738)接口查询。
|
|
29
29
|
*/
|
|
30
30
|
ApplyDiskBackup(req: ApplyDiskBackupRequest, cb?: (error: string, rep: ApplyDiskBackupResponse) => void): Promise<ApplyDiskBackupResponse>;
|
|
31
31
|
/**
|
|
@@ -47,9 +47,9 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
47
47
|
/**
|
|
48
48
|
* 本接口(ApplyDiskBackup)用于回滚备份点到原云硬盘。
|
|
49
49
|
|
|
50
|
-
* 仅支持回滚到原云硬盘上。对于数据盘备份点,如果您需要复制备份点数据到其它云硬盘上,请先使用
|
|
51
|
-
* 用于回滚的备份点必须处于NORMAL状态。备份点状态可以通过DescribeDiskBackups接口查询,见输出参数中BackupState字段解释。
|
|
52
|
-
*
|
|
50
|
+
* 仅支持回滚到原云硬盘上。对于数据盘备份点,如果您需要复制备份点数据到其它云硬盘上,请先使用[CreateSnapshot](/document/product/362/15648) 将备份点转换为快照,然后使用[CreateDisks](/document/product/362/16312) 接口创建新的弹性云硬盘,将快照数据复制到新购云硬盘上。
|
|
51
|
+
* 用于回滚的备份点必须处于NORMAL状态。备份点状态可以通过[DescribeDiskBackups](/document/product/362/80278)接口查询,见输出参数中BackupState字段解释。
|
|
52
|
+
* 如果是弹性云硬盘,则云硬盘必须处于未挂载状态,云硬盘挂载状态可以通[DescribeDisks](/document/product/362/16315)接口查询,见Attached字段解释;如果是随实例一起购买的非弹性云硬盘,则实例必须处于关机状态,实例状态可以通过[DescribeInstancesStatus](/document/product/213/15738)接口查询。
|
|
53
53
|
*/
|
|
54
54
|
async ApplyDiskBackup(req, cb) {
|
|
55
55
|
return this.request("ApplyDiskBackup", req, cb);
|
|
@@ -286,7 +286,7 @@ export interface InquiryPriceCreateDisksResponse {
|
|
|
286
286
|
*/
|
|
287
287
|
export interface BindAutoSnapshotPolicyRequest {
|
|
288
288
|
/**
|
|
289
|
-
* 要绑定的定期快照策略ID
|
|
289
|
+
* 要绑定的定期快照策略ID,通过[ DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/362/33556)接口查询。
|
|
290
290
|
*/
|
|
291
291
|
AutoSnapshotPolicyId: string;
|
|
292
292
|
/**
|
|
@@ -317,7 +317,10 @@ export interface DescribeAutoSnapshotPoliciesRequest {
|
|
|
317
317
|
*/
|
|
318
318
|
AutoSnapshotPolicyIds?: Array<string>;
|
|
319
319
|
/**
|
|
320
|
-
* 过滤条件。参数不支持同时指定`AutoSnapshotPolicyIds`和`Filters`。<br
|
|
320
|
+
* 过滤条件。参数不支持同时指定`AutoSnapshotPolicyIds`和`Filters`。<br>
|
|
321
|
+
<li>auto-snapshot-policy-id - Array of String - 是否必填:否 -(过滤条件)按定期快照策略ID进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。</li>
|
|
322
|
+
<li>auto-snapshot-policy-state - Array of String - 是否必填:否 -(过滤条件)按定期快照策略的状态进行过滤。定期快照策略ID形如:`asp-3stvwfxx`。(NORMAL:正常 | ISOLATED:已隔离。)</li>
|
|
323
|
+
<li>auto-snapshot-policy-name - Array of String - 是否必填:否 -(过滤条件)按定期快照策略名称进行过滤。</li>
|
|
321
324
|
*/
|
|
322
325
|
Filters?: Array<Filter>;
|
|
323
326
|
/**
|
|
@@ -329,11 +332,11 @@ export interface DescribeAutoSnapshotPoliciesRequest {
|
|
|
329
332
|
*/
|
|
330
333
|
Offset?: number;
|
|
331
334
|
/**
|
|
332
|
-
* 输出定期快照列表的排列顺序。取值范围:<br><li>ASC:升序排列<br><li>DESC
|
|
335
|
+
* 输出定期快照列表的排列顺序。取值范围:<br><li>ASC:升序排列<br></li><li>DESC:降序排列。</li>
|
|
333
336
|
*/
|
|
334
337
|
Order?: string;
|
|
335
338
|
/**
|
|
336
|
-
* 定期快照列表排序的依据字段。取值范围:<br><li>
|
|
339
|
+
* 定期快照列表排序的依据字段。取值范围:<br><li>CREATE_TIME:依据定期快照的创建时间排序,默认按创建时间排序。</li>
|
|
337
340
|
*/
|
|
338
341
|
OrderField?: string;
|
|
339
342
|
}
|
|
@@ -351,7 +354,7 @@ export interface ModifySnapshotsSharePermissionResponse {
|
|
|
351
354
|
*/
|
|
352
355
|
export interface DeleteDiskBackupsRequest {
|
|
353
356
|
/**
|
|
354
|
-
* 待删除的云硬盘备份点ID
|
|
357
|
+
* 待删除的云硬盘备份点ID,可以通过[DescribeDiskBackups](/document/product/362/80278)接口查询。
|
|
355
358
|
*/
|
|
356
359
|
DiskBackupIds: Array<string>;
|
|
357
360
|
}
|
|
@@ -483,7 +486,7 @@ export interface CreateDisksRequest {
|
|
|
483
486
|
*/
|
|
484
487
|
DiskChargeType: string;
|
|
485
488
|
/**
|
|
486
|
-
* 硬盘介质类型。取值范围:<br><li>
|
|
489
|
+
* 硬盘介质类型。取值范围:<br><li>CLOUD_PREMIUM:表示高性能云硬盘</li><br><li>CLOUD_BSSD:表示通用型SSD云硬盘</li><br><li>CLOUD_SSD:表示SSD云硬盘</li><br><li>CLOUD_HSSD:表示增强型SSD云硬盘</li><br><li>CLOUD_TSSD:表示极速型SSD云硬盘。</li>极速型SSD云硬盘(CLOUD_TSSD)仅支持随部分实例类型一同购买,暂不支持单独创建。
|
|
487
490
|
*/
|
|
488
491
|
DiskType: string;
|
|
489
492
|
/**
|
|
@@ -503,11 +506,11 @@ export interface CreateDisksRequest {
|
|
|
503
506
|
*/
|
|
504
507
|
DiskCount?: number;
|
|
505
508
|
/**
|
|
506
|
-
*
|
|
509
|
+
* 使用此参数可给云硬盘购买额外的性能,单位MB/s。<br>当前仅支持极速型云盘(CLOUD_TSSD)和增强型SSD云硬盘(CLOUD_HSSD)。
|
|
507
510
|
*/
|
|
508
511
|
ThroughputPerformance?: number;
|
|
509
512
|
/**
|
|
510
|
-
*
|
|
513
|
+
* 购买加密盘时自定义密钥,当传入该参数时,Encrypt参数不得为空。
|
|
511
514
|
*/
|
|
512
515
|
KmsKeyId?: string;
|
|
513
516
|
/**
|
|
@@ -515,7 +518,7 @@ export interface CreateDisksRequest {
|
|
|
515
518
|
*/
|
|
516
519
|
DiskSize?: number;
|
|
517
520
|
/**
|
|
518
|
-
*
|
|
521
|
+
* 传入True时,云盘将创建为共享型云盘,默认为False。因共享型云盘不支持加密,此参数与Encrypt参数不可同时传入。
|
|
519
522
|
*/
|
|
520
523
|
Shareable?: boolean;
|
|
521
524
|
/**
|
|
@@ -523,7 +526,7 @@ export interface CreateDisksRequest {
|
|
|
523
526
|
*/
|
|
524
527
|
ClientToken?: string;
|
|
525
528
|
/**
|
|
526
|
-
* 传入该参数用于创建加密云盘,取值固定为ENCRYPT
|
|
529
|
+
* 传入该参数用于创建加密云盘,取值固定为ENCRYPT。因共享型云盘不支持加密,此参数与Shareable参数不可同时传入。
|
|
527
530
|
*/
|
|
528
531
|
Encrypt?: string;
|
|
529
532
|
/**
|
|
@@ -531,11 +534,11 @@ export interface CreateDisksRequest {
|
|
|
531
534
|
*/
|
|
532
535
|
DiskChargePrepaid?: DiskChargePrepaid;
|
|
533
536
|
/**
|
|
534
|
-
* 销毁云盘时删除关联的非永久保留快照。0 表示非永久快照不随云盘销毁而销毁,1表示非永久快照随云盘销毁而销毁,默认取0。快照是否永久保留可以通过DescribeSnapshots接口返回的快照详情的IsPermanent字段来判断,
|
|
537
|
+
* 销毁云盘时删除关联的非永久保留快照。0 表示非永久快照不随云盘销毁而销毁,1表示非永久快照随云盘销毁而销毁,默认取0。快照是否永久保留可以通过[DescribeSnapshots](document/api/362/15647)接口返回的快照详情的IsPermanent字段来判断,True表示永久快照,False表示非永久快照。
|
|
535
538
|
*/
|
|
536
539
|
DeleteSnapshot?: number;
|
|
537
540
|
/**
|
|
538
|
-
*
|
|
541
|
+
* 创建云盘时指定自动挂载并初始化该数据盘。因加密盘不支持自动挂载及初始化,此参数与Encrypt参数不可同时传入。
|
|
539
542
|
*/
|
|
540
543
|
AutoMountConfiguration?: AutoMountConfiguration;
|
|
541
544
|
/**
|
|
@@ -543,7 +546,7 @@ export interface CreateDisksRequest {
|
|
|
543
546
|
*/
|
|
544
547
|
DiskBackupQuota?: number;
|
|
545
548
|
/**
|
|
546
|
-
*
|
|
549
|
+
* 创建云盘时是否开启性能突发。
|
|
547
550
|
*/
|
|
548
551
|
BurstPerformance?: boolean;
|
|
549
552
|
/**
|
|
@@ -577,7 +580,7 @@ export interface AttachDisksRequest {
|
|
|
577
580
|
*/
|
|
578
581
|
export interface DescribeDiskAssociatedAutoSnapshotPolicyRequest {
|
|
579
582
|
/**
|
|
580
|
-
* 要查询的云硬盘ID,通过[DescribeDisks](https://
|
|
583
|
+
* 要查询的云硬盘ID,通过[DescribeDisks](https://cloud.tencent.com/document/api/362/16315)接口查询。
|
|
581
584
|
*/
|
|
582
585
|
DiskId: string;
|
|
583
586
|
}
|
|
@@ -628,11 +631,11 @@ export interface ModifyAutoSnapshotPolicyAttributeRequest {
|
|
|
628
631
|
*/
|
|
629
632
|
AutoSnapshotPolicyId: string;
|
|
630
633
|
/**
|
|
631
|
-
*
|
|
634
|
+
* 是否激活定期快照策略,`false`表示未激活,`true`表示激活;默认为`true`。
|
|
632
635
|
*/
|
|
633
636
|
IsActivated?: boolean;
|
|
634
637
|
/**
|
|
635
|
-
*
|
|
638
|
+
* 通过该定期快照策略创建的快照是否永久保留。`false`表示非永久保留,`true`表示永久保留,默认为`false`。
|
|
636
639
|
*/
|
|
637
640
|
IsPermanent?: boolean;
|
|
638
641
|
/**
|
|
@@ -1063,7 +1066,7 @@ export interface DescribeSnapshotSharePermissionRequest {
|
|
|
1063
1066
|
*/
|
|
1064
1067
|
export interface InquirePriceModifyDiskBackupQuotaRequest {
|
|
1065
1068
|
/**
|
|
1066
|
-
* 云硬盘ID, 通过DescribeDisks
|
|
1069
|
+
* 云硬盘ID, 通过[DescribeDisks](/document/product/362/16315)接口查询。
|
|
1067
1070
|
*/
|
|
1068
1071
|
DiskId: string;
|
|
1069
1072
|
/**
|
|
@@ -1320,11 +1323,11 @@ export interface ResizeDiskRequest {
|
|
|
1320
1323
|
*/
|
|
1321
1324
|
export interface ApplyDiskBackupRequest {
|
|
1322
1325
|
/**
|
|
1323
|
-
* 云硬盘备份点ID
|
|
1326
|
+
* 云硬盘备份点ID,可以通过[DescribeDiskBackups](/document/product/362/80278)接口查询。
|
|
1324
1327
|
*/
|
|
1325
1328
|
DiskBackupId: string;
|
|
1326
1329
|
/**
|
|
1327
|
-
* 云硬盘备份点原云硬盘ID
|
|
1330
|
+
* 云硬盘备份点原云硬盘ID,可以通过[DescribeDisks](/document/product/362/16315)接口查。
|
|
1328
1331
|
*/
|
|
1329
1332
|
DiskId: string;
|
|
1330
1333
|
/**
|
|
@@ -1332,7 +1335,7 @@ export interface ApplyDiskBackupRequest {
|
|
|
1332
1335
|
*/
|
|
1333
1336
|
AutoStopInstance?: boolean;
|
|
1334
1337
|
/**
|
|
1335
|
-
* 回滚云硬盘备份点完成后是否自动开机,默认为FALSE
|
|
1338
|
+
* 回滚云硬盘备份点完成后是否自动开机,默认为FALSE,表示不自动开机; AutoStartInstance参数需要在AutoStopInstance为true时才能为true。
|
|
1336
1339
|
*/
|
|
1337
1340
|
AutoStartInstance?: boolean;
|
|
1338
1341
|
}
|
|
@@ -1341,7 +1344,7 @@ export interface ApplyDiskBackupRequest {
|
|
|
1341
1344
|
*/
|
|
1342
1345
|
export interface ModifyDisksChargeTypeRequest {
|
|
1343
1346
|
/**
|
|
1344
|
-
* 一个或多个待操作的云硬盘ID
|
|
1347
|
+
* 一个或多个待操作的云硬盘ID,可以通过[DescribeDisks](/document/product/362/16315)接口查询。每次请求批量云硬盘上限为100。
|
|
1345
1348
|
*/
|
|
1346
1349
|
DiskIds: Array<string>;
|
|
1347
1350
|
/**
|
|
@@ -1384,7 +1387,7 @@ export interface CreateAutoSnapshotPolicyResponse {
|
|
|
1384
1387
|
*/
|
|
1385
1388
|
export interface ModifySnapshotAttributeRequest {
|
|
1386
1389
|
/**
|
|
1387
|
-
* 快照ID, 可通过[DescribeSnapshots](/document/
|
|
1390
|
+
* 快照ID, 可通过[DescribeSnapshots](https://cloud.tencent.com/document/api/362/15647)查询。
|
|
1388
1391
|
*/
|
|
1389
1392
|
SnapshotId: string;
|
|
1390
1393
|
/**
|
|
@@ -1409,9 +1412,13 @@ export interface UnbindAutoSnapshotPolicyRequest {
|
|
|
1409
1412
|
*/
|
|
1410
1413
|
AutoSnapshotPolicyId: string;
|
|
1411
1414
|
/**
|
|
1412
|
-
* 要解绑定期快照策略的云盘ID
|
|
1415
|
+
* 要解绑定期快照策略的云盘ID列表。此参数与 InstanceIds 参数至少需要传入一个。
|
|
1413
1416
|
*/
|
|
1414
1417
|
DiskIds?: Array<string>;
|
|
1418
|
+
/**
|
|
1419
|
+
* 要解绑定期快照策略的实例ID列表。此参数与 DiskIds 参数至少需要传入一个。
|
|
1420
|
+
*/
|
|
1421
|
+
InstanceIds?: Array<string>;
|
|
1415
1422
|
}
|
|
1416
1423
|
/**
|
|
1417
1424
|
* 云盘配置。
|
|
@@ -1489,7 +1496,7 @@ export interface InquirePriceModifyDiskBackupQuotaResponse {
|
|
|
1489
1496
|
/**
|
|
1490
1497
|
* 描述了修改云硬盘备份点之后的云盘价格。
|
|
1491
1498
|
*/
|
|
1492
|
-
DiskPrice
|
|
1499
|
+
DiskPrice?: Price;
|
|
1493
1500
|
/**
|
|
1494
1501
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1495
1502
|
*/
|
|
@@ -1500,7 +1507,7 @@ export interface InquirePriceModifyDiskBackupQuotaResponse {
|
|
|
1500
1507
|
*/
|
|
1501
1508
|
export interface DeleteAutoSnapshotPoliciesRequest {
|
|
1502
1509
|
/**
|
|
1503
|
-
* 要删除的定期快照策略ID
|
|
1510
|
+
* 要删除的定期快照策略ID列表,通过[ DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/362/33556)接口查询。
|
|
1504
1511
|
*/
|
|
1505
1512
|
AutoSnapshotPolicyIds: Array<string>;
|
|
1506
1513
|
}
|
|
@@ -1667,11 +1674,11 @@ export interface Snapshot {
|
|
|
1667
1674
|
*/
|
|
1668
1675
|
ShareReference?: number;
|
|
1669
1676
|
/**
|
|
1670
|
-
*
|
|
1677
|
+
* 快照类型,目前该项取值可以为`PRIVATE_SNAPSHOT`(私有快照)或者`SHARED_SNAPSHOT`(共享快照)
|
|
1671
1678
|
*/
|
|
1672
1679
|
SnapshotType?: string;
|
|
1673
1680
|
/**
|
|
1674
|
-
* 创建此快照的云硬盘大小,单位
|
|
1681
|
+
* 创建此快照的云硬盘大小,单位GiB。
|
|
1675
1682
|
*/
|
|
1676
1683
|
DiskSize?: number;
|
|
1677
1684
|
/**
|
|
@@ -1679,7 +1686,7 @@ export interface Snapshot {
|
|
|
1679
1686
|
*/
|
|
1680
1687
|
DiskId?: string;
|
|
1681
1688
|
/**
|
|
1682
|
-
*
|
|
1689
|
+
* 快照正在跨地域复制的目的地域,若没有则返回`[]`。
|
|
1683
1690
|
*/
|
|
1684
1691
|
CopyingToRegions?: Array<string>;
|
|
1685
1692
|
/**
|
|
@@ -1980,7 +1987,7 @@ export interface DescribeDiskStoragePoolResponse {
|
|
|
1980
1987
|
RequestId?: string;
|
|
1981
1988
|
}
|
|
1982
1989
|
/**
|
|
1983
|
-
* 描述了定期快照的执行策略。可理解为在DayOfWeek/DayOfMonth指定的几天中,或者是IntervalDays设定的间隔的几天,在Hour指定的时刻点执行该条定期快照策。注:DayOfWeek/DayOfMonth/IntervalDays
|
|
1990
|
+
* 描述了定期快照的执行策略。可理解为在DayOfWeek/DayOfMonth指定的几天中,或者是IntervalDays设定的间隔的几天,在Hour指定的时刻点执行该条定期快照策。注:DayOfWeek/DayOfMonth/IntervalDays为互斥规则,必填且仅可设置其中一条策略规则。如果同时传入互斥规则,则只有一条生效,优先级为上文列出顺序:例如将三条规则全部设置,只有 DayOfWeek 生效。
|
|
1984
1991
|
*/
|
|
1985
1992
|
export interface Policy {
|
|
1986
1993
|
/**
|
|
@@ -140,7 +140,7 @@ export declare class Client extends AbstractClient {
|
|
|
140
140
|
*/
|
|
141
141
|
DescribeTasks(req: DescribeTasksRequest, cb?: (error: string, rep: DescribeTasksResponse) => void): Promise<DescribeTasksResponse>;
|
|
142
142
|
/**
|
|
143
|
-
*
|
|
143
|
+
* 本接口(DescribeBackupConfig)用于查询数据库备份配置信息。
|
|
144
144
|
*/
|
|
145
145
|
DescribeBackupConfig(req: DescribeBackupConfigRequest, cb?: (error: string, rep: DescribeBackupConfigResponse) => void): Promise<DescribeBackupConfigResponse>;
|
|
146
146
|
/**
|
|
@@ -222,7 +222,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
222
222
|
return this.request("DescribeTasks", req, cb);
|
|
223
223
|
}
|
|
224
224
|
/**
|
|
225
|
-
*
|
|
225
|
+
* 本接口(DescribeBackupConfig)用于查询数据库备份配置信息。
|
|
226
226
|
*/
|
|
227
227
|
async DescribeBackupConfig(req, cb) {
|
|
228
228
|
return this.request("DescribeBackupConfig", req, cb);
|
|
@@ -2212,6 +2212,7 @@ export interface ModifyRoGroupInfoRequest {
|
|
|
2212
2212
|
IsBalanceRoLoad?: number;
|
|
2213
2213
|
/**
|
|
2214
2214
|
* 废弃参数,无意义。
|
|
2215
|
+
* @deprecated
|
|
2215
2216
|
*/
|
|
2216
2217
|
ReplicationDelayTime?: number;
|
|
2217
2218
|
}
|
|
@@ -3516,10 +3517,12 @@ export interface StopCpuExpandResponse {
|
|
|
3516
3517
|
export interface DescribeBackupConfigResponse {
|
|
3517
3518
|
/**
|
|
3518
3519
|
* 自动备份开始的最早时间点,单位为时刻。例如,2 - 凌晨 2:00。(该字段已废弃,建议使用 BackupTimeWindow 字段)
|
|
3520
|
+
* @deprecated
|
|
3519
3521
|
*/
|
|
3520
3522
|
StartTimeMin?: number;
|
|
3521
3523
|
/**
|
|
3522
3524
|
* 自动备份开始的最晚时间点,单位为时刻。例如,6 - 凌晨 6:00。(该字段已废弃,建议使用 BackupTimeWindow 字段)
|
|
3525
|
+
* @deprecated
|
|
3523
3526
|
*/
|
|
3524
3527
|
StartTimeMax?: number;
|
|
3525
3528
|
/**
|
|
@@ -6264,6 +6267,7 @@ export interface DeviceNetInfo {
|
|
|
6264
6267
|
export interface ModifyDBInstanceVipVportResponse {
|
|
6265
6268
|
/**
|
|
6266
6269
|
* 异步任务ID。(该返回字段目前已废弃)
|
|
6270
|
+
* @deprecated
|
|
6267
6271
|
*/
|
|
6268
6272
|
AsyncRequestId?: string;
|
|
6269
6273
|
/**
|
|
@@ -8090,6 +8094,7 @@ export interface DescribeAuditPoliciesResponse {
|
|
|
8090
8094
|
export interface IsolateDBInstanceResponse {
|
|
8091
8095
|
/**
|
|
8092
8096
|
* 异步任务的请求 ID,可使用此 ID 查询异步任务的执行结果。(该返回字段目前已废弃,可以通过 DescribeDBInstances 接口查询实例的隔离状态)
|
|
8097
|
+
* @deprecated
|
|
8093
8098
|
*/
|
|
8094
8099
|
AsyncRequestId?: string;
|
|
8095
8100
|
/**
|
|
@@ -3330,6 +3330,14 @@ export interface DescribeInstanceStateResponse {
|
|
|
3330
3330
|
* 集群流程错误信息,例如:“创建失败,资源不足”
|
|
3331
3331
|
*/
|
|
3332
3332
|
FlowMsg?: string;
|
|
3333
|
+
/**
|
|
3334
|
+
* 流程ProcessId
|
|
3335
|
+
*/
|
|
3336
|
+
ProcessId?: string;
|
|
3337
|
+
/**
|
|
3338
|
+
* Job名称
|
|
3339
|
+
*/
|
|
3340
|
+
JobName?: string;
|
|
3333
3341
|
/**
|
|
3334
3342
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3335
3343
|
*/
|
|
@@ -80,7 +80,7 @@ export declare class Client extends AbstractClient {
|
|
|
80
80
|
*/
|
|
81
81
|
DeleteMigrationTask(req: DeleteMigrationTaskRequest, cb?: (error: string, rep: DeleteMigrationTaskResponse) => void): Promise<DeleteMigrationTaskResponse>;
|
|
82
82
|
/**
|
|
83
|
-
* 该接口用于对turbo
|
|
83
|
+
* 该接口用于对turbo 文件系统扩容使用,该接口只支持扩容不支持缩容。turbo标准型扩容步长是10240GIB,turbo性能型扩容步长是5120GIB
|
|
84
84
|
*/
|
|
85
85
|
ScaleUpFileSystem(req: ScaleUpFileSystemRequest, cb?: (error: string, rep: ScaleUpFileSystemResponse) => void): Promise<ScaleUpFileSystemResponse>;
|
|
86
86
|
/**
|
|
@@ -112,7 +112,7 @@ export declare class Client extends AbstractClient {
|
|
|
112
112
|
*/
|
|
113
113
|
DescribeUserQuota(req: DescribeUserQuotaRequest, cb?: (error: string, rep: DescribeUserQuotaResponse) => void): Promise<DescribeUserQuotaResponse>;
|
|
114
114
|
/**
|
|
115
|
-
*
|
|
115
|
+
* 用来设置文件系统扩容策略,,该接口只支持turbo文件系统
|
|
116
116
|
*/
|
|
117
117
|
ModifyFileSystemAutoScaleUpRule(req: ModifyFileSystemAutoScaleUpRuleRequest, cb?: (error: string, rep: ModifyFileSystemAutoScaleUpRuleResponse) => void): Promise<ModifyFileSystemAutoScaleUpRuleResponse>;
|
|
118
118
|
/**
|
|
@@ -134,7 +134,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
134
134
|
return this.request("DeleteMigrationTask", req, cb);
|
|
135
135
|
}
|
|
136
136
|
/**
|
|
137
|
-
* 该接口用于对turbo
|
|
137
|
+
* 该接口用于对turbo 文件系统扩容使用,该接口只支持扩容不支持缩容。turbo标准型扩容步长是10240GIB,turbo性能型扩容步长是5120GIB
|
|
138
138
|
*/
|
|
139
139
|
async ScaleUpFileSystem(req, cb) {
|
|
140
140
|
return this.request("ScaleUpFileSystem", req, cb);
|
|
@@ -182,7 +182,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
182
182
|
return this.request("DescribeUserQuota", req, cb);
|
|
183
183
|
}
|
|
184
184
|
/**
|
|
185
|
-
*
|
|
185
|
+
* 用来设置文件系统扩容策略,,该接口只支持turbo文件系统
|
|
186
186
|
*/
|
|
187
187
|
async ModifyFileSystemAutoScaleUpRule(req, cb) {
|
|
188
188
|
return this.request("ModifyFileSystemAutoScaleUpRule", req, cb);
|