tencentcloud-sdk-nodejs 4.1.105 → 4.1.107
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/dcdb/v20180411/dcdb_client.js +16 -4
- package/es/services/iotexplorer/v20190423/iotexplorer_client.js +16 -4
- package/es/services/mariadb/v20170312/mariadb_client.js +12 -0
- package/es/services/mna/v20210119/mna_client.js +3 -0
- package/es/services/waf/v20180125/waf_client.js +25 -4
- 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_models.d.ts +1 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +24 -5
- package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +33 -6
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +253 -31
- package/tencentcloud/services/ioa/v20220601/ioa_models.d.ts +8 -4
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +21 -5
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +30 -6
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +188 -23
- package/tencentcloud/services/lke/v20231130/lke_models.d.ts +53 -18
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.d.ts +1 -1
- package/tencentcloud/services/lkeap/v20240522/lkeap_client.js +1 -1
- package/tencentcloud/services/lkeap/v20240522/lkeap_models.d.ts +34 -6
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +20 -1
- package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +27 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +261 -47
- package/tencentcloud/services/mna/v20210119/mna_client.d.ts +5 -1
- package/tencentcloud/services/mna/v20210119/mna_client.js +6 -0
- package/tencentcloud/services/mna/v20210119/mna_models.d.ts +63 -0
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +42 -0
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +1 -1
- package/tencentcloud/services/redis/v20180412/redis_client.js +1 -1
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +1 -1
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +4 -0
- package/tencentcloud/services/tcbr/v20220217/tcbr_models.d.ts +4 -0
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +6 -6
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
- package/tencentcloud/services/vclm/v20240523/vclm_models.d.ts +1 -1
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +36 -5
- package/tencentcloud/services/waf/v20180125/waf_client.js +51 -6
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +765 -59
@@ -308,6 +308,28 @@ export interface DestroyHourDBInstanceRequest {
|
|
308
308
|
*/
|
309
309
|
InstanceId: string;
|
310
310
|
}
|
311
|
+
/**
|
312
|
+
* ModifyInstanceProtectedProperty返回参数结构体
|
313
|
+
*/
|
314
|
+
export interface ModifyInstanceProtectedPropertyResponse {
|
315
|
+
/**
|
316
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
317
|
+
*/
|
318
|
+
RequestId?: string;
|
319
|
+
}
|
320
|
+
/**
|
321
|
+
* ModifyInstanceSSLAttributes请求参数结构体
|
322
|
+
*/
|
323
|
+
export interface ModifyInstanceSSLAttributesRequest {
|
324
|
+
/**
|
325
|
+
* 实例ID
|
326
|
+
*/
|
327
|
+
InstanceId: string;
|
328
|
+
/**
|
329
|
+
* 是否开启实例的SSL认证。0-关闭;1-开启
|
330
|
+
*/
|
331
|
+
SSLEnabled: number;
|
332
|
+
}
|
311
333
|
/**
|
312
334
|
* ModifyInstanceVip返回参数结构体
|
313
335
|
*/
|
@@ -504,6 +526,15 @@ export interface DestroyHourDBInstanceResponse {
|
|
504
526
|
*/
|
505
527
|
RequestId?: string;
|
506
528
|
}
|
529
|
+
/**
|
530
|
+
* DescribeInstanceSSLAttributes请求参数结构体
|
531
|
+
*/
|
532
|
+
export interface DescribeInstanceSSLAttributesRequest {
|
533
|
+
/**
|
534
|
+
* 实例ID
|
535
|
+
*/
|
536
|
+
InstanceId: string;
|
537
|
+
}
|
507
538
|
/**
|
508
539
|
* DescribeDBSyncMode返回参数结构体
|
509
540
|
*/
|
@@ -793,6 +824,125 @@ export interface ModifyAccountDescriptionResponse {
|
|
793
824
|
*/
|
794
825
|
RequestId?: string;
|
795
826
|
}
|
827
|
+
/**
|
828
|
+
* DescribeProcessList请求参数结构体
|
829
|
+
*/
|
830
|
+
export interface DescribeProcessListRequest {
|
831
|
+
/**
|
832
|
+
* 实例ID。
|
833
|
+
*/
|
834
|
+
InstanceId: string;
|
835
|
+
/**
|
836
|
+
* 节点ID。
|
837
|
+
*/
|
838
|
+
NodeId: string;
|
839
|
+
/**
|
840
|
+
* <li><strong>id</strong></li>
|
841
|
+
<p style="padding-left: 30px;">按照【<strong>会话ID</strong>】进行过滤。会话ID例如:125700。</p>
|
842
|
+
<p style="padding-left: 30px;">类型:String</p>
|
843
|
+
<p style="padding-left: 30px;">必选:否</p>
|
844
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
845
|
+
|
846
|
+
<li><strong>user</strong></li>
|
847
|
+
<p style="padding-left: 30px;">按照【<strong>用户名</strong>】进行过滤。用户名例如:root。</p>
|
848
|
+
<p style="padding-left: 30px;">类型:String</p>
|
849
|
+
<p style="padding-left: 30px;">必选:否</p>
|
850
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
851
|
+
<li><strong>host</strong></li>
|
852
|
+
<p style="padding-left: 30px;">按照【<strong>客户端Host</strong>】进行过滤。客户端Host例如:127.0.0.1:46295。</p>
|
853
|
+
<p style="padding-left: 30px;">类型:String</p>
|
854
|
+
<p style="padding-left: 30px;">必选:否</p>
|
855
|
+
<p style="padding-left: 30px;">匹配类型:前缀匹配,例如可以查询客户端IP不加端口:127.0.0.1。</p>
|
856
|
+
<li><strong>state</strong></li>
|
857
|
+
<p style="padding-left: 30px;">按照【<strong>线程状态</strong>】进行过滤。线程状态例如:Updating。</p>
|
858
|
+
<p style="padding-left: 30px;">类型:String</p>
|
859
|
+
<p style="padding-left: 30px;">必选:否</p>
|
860
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
861
|
+
<li><strong>db</strong></li>
|
862
|
+
<p style="padding-left: 30px;">按照【<strong>数据库名称</strong>】进行过滤。数据库名称例如:mysql。</p>
|
863
|
+
<p style="padding-left: 30px;">类型:String</p>
|
864
|
+
<p style="padding-left: 30px;">必选:否</p>
|
865
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
866
|
+
<li><strong>command</strong></li>
|
867
|
+
<p style="padding-left: 30px;">按照【<strong>命令类型</strong>】进行过滤。命令类型例如:Query。</p>
|
868
|
+
<p style="padding-left: 30px;">类型:String</p>
|
869
|
+
<p style="padding-left: 30px;">必选:否</p>
|
870
|
+
<p style="padding-left: 30px;">匹配类型:精确匹配</p>
|
871
|
+
<li><strong>info</strong></li>
|
872
|
+
<p style="padding-left: 30px;">按照【<strong>执行语句</strong>】进行过滤。执行语句例如:select id, name from demo.table1 where id > 10。</p>
|
873
|
+
<p style="padding-left: 30px;">类型:String</p>
|
874
|
+
<p style="padding-left: 30px;">必选:否</p>
|
875
|
+
<p style="padding-left: 30px;">匹配类型:前缀匹配,例如SQL较长,可以输入SQL前缀:select id, name from demo.table1。</p>
|
876
|
+
<li><strong>time</strong></li>
|
877
|
+
<p style="padding-left: 30px;">按照【<strong>执行时间大于多少(秒)</strong>】进行过滤。例如:10,表示查询执行时间超过10秒的会话。</p>
|
878
|
+
<p style="padding-left: 30px;">类型:Integer</p>
|
879
|
+
<p style="padding-left: 30px;">必选:否</p>
|
880
|
+
<p style="padding-left: 30px;">匹配类型:范围匹配,Values值只支持输入1个。</p>
|
881
|
+
每次请求的`Filters`的上限为10,`Filter.Values`的上限为50。
|
882
|
+
*/
|
883
|
+
Filters?: Array<Filter>;
|
884
|
+
/**
|
885
|
+
* 偏移量,默认为0。
|
886
|
+
*/
|
887
|
+
Offset?: number;
|
888
|
+
/**
|
889
|
+
* 返回数量,默认为20,最大值为100。
|
890
|
+
*/
|
891
|
+
Limit?: number;
|
892
|
+
}
|
893
|
+
/**
|
894
|
+
* 用于显示当前正在运行的线程(连接/查询)信息,数据源来自系统表:information_schema.processlist。
|
895
|
+
*/
|
896
|
+
export interface Process {
|
897
|
+
/**
|
898
|
+
* 线程ID:唯一标识当前连接/线程的整数。
|
899
|
+
*/
|
900
|
+
Id?: number;
|
901
|
+
/**
|
902
|
+
* 用户名:发起连接的 MySQL 用户。
|
903
|
+
*/
|
904
|
+
User?: string;
|
905
|
+
/**
|
906
|
+
* 客户端地址:发起连接的客户端主机名及端口(格式:host:port)。
|
907
|
+
*/
|
908
|
+
Host?: string;
|
909
|
+
/**
|
910
|
+
* 当前数据库:线程正在使用的数据库名(未选择数据库时为 空串)。
|
911
|
+
*/
|
912
|
+
Db?: string;
|
913
|
+
/**
|
914
|
+
* 命令类型:线程正在执行的命令类型。常见值:
|
915
|
+
|
916
|
+
- Sleep:空闲等待状态(等待新查询)。
|
917
|
+
- Query:正在执行查询或 SQL 语句。
|
918
|
+
- Binlog Dump:主服务器线程向从服务器发送二进制日志。
|
919
|
+
- Connect:客户端正在连接。
|
920
|
+
- Killed:线程被终止但未完全退出。
|
921
|
+
*/
|
922
|
+
Command?: string;
|
923
|
+
/**
|
924
|
+
* 执行时间(秒):线程在当前状态持续的秒数。
|
925
|
+
*/
|
926
|
+
Time?: number;
|
927
|
+
/**
|
928
|
+
* 执行开始时间(秒):线程在当前状态开始执行的时间。
|
929
|
+
*/
|
930
|
+
ProcessStartTime?: string;
|
931
|
+
/**
|
932
|
+
* 状态描述:线程当前的详细操作状态。常见值:
|
933
|
+
|
934
|
+
- Sending data:正在处理/发送数据。
|
935
|
+
- Locked:等待表锁释放(例如 MyISAM 表级锁)。
|
936
|
+
- Sorting result:排序查询结果。
|
937
|
+
- Updating:更新表中数据。
|
938
|
+
- 当为NULL返回空串:无明确状态(如 Sleep 时)。
|
939
|
+
*/
|
940
|
+
State?: string;
|
941
|
+
/**
|
942
|
+
* 执行语句:正在执行的 SQL 语句(前 1024 字符)。
|
943
|
+
*/
|
944
|
+
Info?: string;
|
945
|
+
}
|
796
946
|
/**
|
797
947
|
* 标签
|
798
948
|
*/
|
@@ -1916,6 +2066,19 @@ export interface DescribeDBEncryptAttributesResponse {
|
|
1916
2066
|
*/
|
1917
2067
|
RequestId?: string;
|
1918
2068
|
}
|
2069
|
+
/**
|
2070
|
+
* ModifyInstanceProtectedProperty请求参数结构体
|
2071
|
+
*/
|
2072
|
+
export interface ModifyInstanceProtectedPropertyRequest {
|
2073
|
+
/**
|
2074
|
+
* 实例ID
|
2075
|
+
*/
|
2076
|
+
InstanceId: string;
|
2077
|
+
/**
|
2078
|
+
* 0-允许删除,无销毁保护,1-禁止删除,有销毁保护
|
2079
|
+
*/
|
2080
|
+
ProtectedProperty: number;
|
2081
|
+
}
|
1919
2082
|
/**
|
1920
2083
|
* UpgradeDedicatedDBInstance请求参数结构体
|
1921
2084
|
*/
|
@@ -3185,6 +3348,54 @@ export interface GrantAccountPrivilegesResponse {
|
|
3185
3348
|
*/
|
3186
3349
|
RequestId?: string;
|
3187
3350
|
}
|
3351
|
+
/**
|
3352
|
+
* ModifyAccountPrivileges请求参数结构体
|
3353
|
+
*/
|
3354
|
+
export interface ModifyAccountPrivilegesRequest {
|
3355
|
+
/**
|
3356
|
+
* 实例 ID,格式如:tdsql-c1nl9rpv,与云数据库控制台页面中显示的实例 ID 相同。
|
3357
|
+
*/
|
3358
|
+
InstanceId: string;
|
3359
|
+
/**
|
3360
|
+
* 数据库的账号,包括用户名和域名。
|
3361
|
+
*/
|
3362
|
+
Accounts: Array<Account>;
|
3363
|
+
/**
|
3364
|
+
* 全局权限。其中,GlobalPrivileges 中权限的可选值为:"SELECT","INSERT","UPDATE","DELETE","CREATE", "PROCESS", "DROP","REFERENCES","INDEX","ALTER","SHOW DATABASES","CREATE TEMPORARY TABLES","LOCK TABLES","EXECUTE","CREATE VIEW","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EVENT","TRIGGER"。
|
3365
|
+
注意,不传该参数表示保留现有权限,如需清除,该字段传空数组。
|
3366
|
+
*/
|
3367
|
+
GlobalPrivileges?: Array<string>;
|
3368
|
+
/**
|
3369
|
+
* 数据库的权限。Privileges 权限的可选值为:"SELECT","INSERT","UPDATE","DELETE","CREATE", "DROP","REFERENCES","INDEX","ALTER","CREATE TEMPORARY TABLES","LOCK TABLES","EXECUTE","CREATE VIEW","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EVENT","TRIGGER"。
|
3370
|
+
注意,不传该参数表示保留现有权限,如需清除,请在复杂类型Privileges字段传空数组。
|
3371
|
+
*/
|
3372
|
+
DatabasePrivileges?: Array<DatabasePrivilege>;
|
3373
|
+
/**
|
3374
|
+
* 数据库中表的权限。Privileges 权限的可选值为:"SELECT","INSERT","UPDATE","DELETE","CREATE", "DROP","REFERENCES","INDEX","ALTER","CREATE VIEW","SHOW VIEW", "TRIGGER"。
|
3375
|
+
注意,不传该参数表示保留现有权限,如需清除,请在复杂类型Privileges字段传空数组。
|
3376
|
+
*/
|
3377
|
+
TablePrivileges?: Array<TablePrivilege>;
|
3378
|
+
/**
|
3379
|
+
* 数据库表中列的权限。Privileges 权限的可选值为:"SELECT","INSERT","UPDATE","REFERENCES"。
|
3380
|
+
注意,不传该参数表示保留现有权限,如需清除,请在复杂类型Privileges字段传空数组。
|
3381
|
+
*/
|
3382
|
+
ColumnPrivileges?: Array<ColumnPrivilege>;
|
3383
|
+
/**
|
3384
|
+
* 数据库视图的权限。Privileges 权限的可选值为:"SELECT","INSERT","UPDATE","DELETE","CREATE", "DROP","REFERENCES","INDEX","ALTER","CREATE VIEW","SHOW VIEW", "TRIGGER"。
|
3385
|
+
注意,不传该参数表示保留现有权限,如需清除,请在复杂类型Privileges字段传空数组。
|
3386
|
+
*/
|
3387
|
+
ViewPrivileges?: Array<ViewPrivileges>;
|
3388
|
+
/**
|
3389
|
+
* 数据库函数的权限。Privileges 权限的可选值为:"ALTER ROUTINE","EXECUTE"。
|
3390
|
+
注意,不传该参数表示保留现有权限,如需清除,请在复杂类型Privileges字段传空数组。
|
3391
|
+
*/
|
3392
|
+
FunctionPrivileges?: Array<FunctionPrivilege>;
|
3393
|
+
/**
|
3394
|
+
* 数据库存储过程的权限。Privileges 权限的可选值为:"ALTER ROUTINE","EXECUTE"。
|
3395
|
+
注意,不传该参数表示保留现有权限,如需清除,请在复杂类型Privileges字段传空数组。
|
3396
|
+
*/
|
3397
|
+
ProcedurePrivileges?: Array<ProcedurePrivilege>;
|
3398
|
+
}
|
3188
3399
|
/**
|
3189
3400
|
* CancelDcnJob请求参数结构体
|
3190
3401
|
*/
|
@@ -3194,6 +3405,22 @@ export interface CancelDcnJobRequest {
|
|
3194
3405
|
*/
|
3195
3406
|
InstanceId: string;
|
3196
3407
|
}
|
3408
|
+
/**
|
3409
|
+
* 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
|
3410
|
+
|
3411
|
+
若存在多个Filter时,Filter间的关系为逻辑与(AND)关系。
|
3412
|
+
若同一个Filter存在多个Values,同一Filter下Values间的关系为逻辑或(OR)关系。
|
3413
|
+
*/
|
3414
|
+
export interface Filter {
|
3415
|
+
/**
|
3416
|
+
* 需要过滤的字段。
|
3417
|
+
*/
|
3418
|
+
Name: string;
|
3419
|
+
/**
|
3420
|
+
* 字段的过滤值。
|
3421
|
+
*/
|
3422
|
+
Values: Array<string>;
|
3423
|
+
}
|
3197
3424
|
/**
|
3198
3425
|
* ModifyInstanceVip请求参数结构体
|
3199
3426
|
*/
|
@@ -3365,6 +3592,15 @@ export interface DescribeBackupTimeResponse {
|
|
3365
3592
|
*/
|
3366
3593
|
RequestId?: string;
|
3367
3594
|
}
|
3595
|
+
/**
|
3596
|
+
* ModifyInstanceSSLAttributes返回参数结构体
|
3597
|
+
*/
|
3598
|
+
export interface ModifyInstanceSSLAttributesResponse {
|
3599
|
+
/**
|
3600
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3601
|
+
*/
|
3602
|
+
RequestId?: string;
|
3603
|
+
}
|
3368
3604
|
/**
|
3369
3605
|
* ActivateHourDBInstance请求参数结构体
|
3370
3606
|
*/
|
@@ -3592,52 +3828,17 @@ export interface DCNReplicaConfig {
|
|
3592
3828
|
ReplicationDelay?: number;
|
3593
3829
|
}
|
3594
3830
|
/**
|
3595
|
-
*
|
3831
|
+
* DescribeProcessList返回参数结构体
|
3596
3832
|
*/
|
3597
|
-
export interface
|
3833
|
+
export interface DescribeProcessListResponse {
|
3598
3834
|
/**
|
3599
|
-
*
|
3835
|
+
* 当前正在运行的线程(连接/查询)信息列表。
|
3600
3836
|
*/
|
3601
|
-
|
3602
|
-
/**
|
3603
|
-
* 数据库的账号,包括用户名和域名。
|
3604
|
-
*/
|
3605
|
-
Accounts: Array<Account>;
|
3606
|
-
/**
|
3607
|
-
* 全局权限。其中,GlobalPrivileges 中权限的可选值为:"SELECT","INSERT","UPDATE","DELETE","CREATE", "PROCESS", "DROP","REFERENCES","INDEX","ALTER","SHOW DATABASES","CREATE TEMPORARY TABLES","LOCK TABLES","EXECUTE","CREATE VIEW","SHOW VIEW","CREATE ROUTINE","ALTER ROUTINE","EVENT","TRIGGER"。
|
3608
|
-
注意,不传该参数表示保留现有权限,如需清除,该字段传空数组。
|
3609
|
-
*/
|
3610
|
-
GlobalPrivileges?: Array<string>;
|
3837
|
+
ProcessList?: Array<Process>;
|
3611
3838
|
/**
|
3612
|
-
*
|
3613
|
-
注意,不传该参数表示保留现有权限,如需清除,请在复杂类型Privileges字段传空数组。
|
3614
|
-
*/
|
3615
|
-
DatabasePrivileges?: Array<DatabasePrivilege>;
|
3616
|
-
/**
|
3617
|
-
* 数据库中表的权限。Privileges 权限的可选值为:"SELECT","INSERT","UPDATE","DELETE","CREATE", "DROP","REFERENCES","INDEX","ALTER","CREATE VIEW","SHOW VIEW", "TRIGGER"。
|
3618
|
-
注意,不传该参数表示保留现有权限,如需清除,请在复杂类型Privileges字段传空数组。
|
3619
|
-
*/
|
3620
|
-
TablePrivileges?: Array<TablePrivilege>;
|
3621
|
-
/**
|
3622
|
-
* 数据库表中列的权限。Privileges 权限的可选值为:"SELECT","INSERT","UPDATE","REFERENCES"。
|
3623
|
-
注意,不传该参数表示保留现有权限,如需清除,请在复杂类型Privileges字段传空数组。
|
3624
|
-
*/
|
3625
|
-
ColumnPrivileges?: Array<ColumnPrivilege>;
|
3626
|
-
/**
|
3627
|
-
* 数据库视图的权限。Privileges 权限的可选值为:"SELECT","INSERT","UPDATE","DELETE","CREATE", "DROP","REFERENCES","INDEX","ALTER","CREATE VIEW","SHOW VIEW", "TRIGGER"。
|
3628
|
-
注意,不传该参数表示保留现有权限,如需清除,请在复杂类型Privileges字段传空数组。
|
3629
|
-
*/
|
3630
|
-
ViewPrivileges?: Array<ViewPrivileges>;
|
3631
|
-
/**
|
3632
|
-
* 数据库函数的权限。Privileges 权限的可选值为:"ALTER ROUTINE","EXECUTE"。
|
3633
|
-
注意,不传该参数表示保留现有权限,如需清除,请在复杂类型Privileges字段传空数组。
|
3634
|
-
*/
|
3635
|
-
FunctionPrivileges?: Array<FunctionPrivilege>;
|
3636
|
-
/**
|
3637
|
-
* 数据库存储过程的权限。Privileges 权限的可选值为:"ALTER ROUTINE","EXECUTE"。
|
3638
|
-
注意,不传该参数表示保留现有权限,如需清除,请在复杂类型Privileges字段传空数组。
|
3839
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3639
3840
|
*/
|
3640
|
-
|
3841
|
+
RequestId?: string;
|
3641
3842
|
}
|
3642
3843
|
/**
|
3643
3844
|
* 数据库账号信息
|
@@ -3683,6 +3884,19 @@ export interface DescribeDBTmpInstancesResponse {
|
|
3683
3884
|
*/
|
3684
3885
|
RequestId?: string;
|
3685
3886
|
}
|
3887
|
+
/**
|
3888
|
+
* ModifyDBEncryptAttributes请求参数结构体
|
3889
|
+
*/
|
3890
|
+
export interface ModifyDBEncryptAttributesRequest {
|
3891
|
+
/**
|
3892
|
+
* 实例Id,形如:tdsql-ow728lmc。
|
3893
|
+
*/
|
3894
|
+
InstanceId: string;
|
3895
|
+
/**
|
3896
|
+
* 是否启用数据加密,开启后暂不支持关闭。本接口的可选值为:1-开启数据加密。
|
3897
|
+
*/
|
3898
|
+
EncryptEnabled: number;
|
3899
|
+
}
|
3686
3900
|
/**
|
3687
3901
|
* ModifyDBSyncMode请求参数结构体
|
3688
3902
|
*/
|
@@ -3753,17 +3967,17 @@ export interface CreateHourDBInstanceResponse {
|
|
3753
3967
|
RequestId?: string;
|
3754
3968
|
}
|
3755
3969
|
/**
|
3756
|
-
*
|
3970
|
+
* DescribeInstanceSSLAttributes返回参数结构体
|
3757
3971
|
*/
|
3758
|
-
export interface
|
3972
|
+
export interface DescribeInstanceSSLAttributesResponse {
|
3759
3973
|
/**
|
3760
|
-
* 实例
|
3974
|
+
* 实例SSL认证功能当前状态。1-开启中;2-已开启;3-已关闭;4-关闭中
|
3761
3975
|
*/
|
3762
|
-
|
3976
|
+
Status?: number;
|
3763
3977
|
/**
|
3764
|
-
*
|
3978
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
3765
3979
|
*/
|
3766
|
-
|
3980
|
+
RequestId?: string;
|
3767
3981
|
}
|
3768
3982
|
/**
|
3769
3983
|
* CreateAccount返回参数结构体
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
3
|
-
import { DeleteL3ConnResponse, GetDeviceResponse, GetMultiFlowStatisticResponse, UpdateL3ConnResponse, UpdateHardwareResponse, UpdateL3SwitchRequest, AddL3ConnRequest, OrderPerLicenseResponse, GetFlowPackagesRequest, SetNotifyUrlResponse, UpdateL3CidrResponse, ModifyPackageRenewFlagRequest, GetFlowPackagesResponse, DeleteL3ConnRequest, GetVendorHardwareResponse, GetActiveDeviceCountResponse, AddGroupRequest, GetGroupListRequest, GetGroupDetailRequest, GroupDeleteDeviceResponse, GroupAddDeviceRequest, GetStatisticDataResponse, GetPublicKeyRequest, GetFlowStatisticByGroupResponse, GetNetMonitorResponse, GetFlowStatisticByRegionRequest, GetFlowAlarmInfoRequest, GetVendorHardwareRequest, CreateEncryptedKeyRequest, DeleteDeviceRequest, DeleteGroupRequest, CreateEncryptedKeyResponse, UpdateL3SwitchResponse, GetL3ConnListResponse, ModifyPackageRenewFlagResponse, GetDeviceRequest, ActivateHardwareResponse, GetFlowStatisticByGroupRequest, GetDevicesResponse, AddL3ConnResponse, GetDevicesRequest, SetNotifyUrlRequest, GetDevicePayModeRequest, DownloadActiveDeviceCountResponse, GetHardwareListRequest, GroupDeleteDeviceRequest, GetFlowStatisticByRegionResponse, GetMultiFlowStatisticRequest, GetFlowAlarmInfoResponse, OrderFlowPackageRequest, GetGroupDetailResponse, UpdateGroupResponse, GetL3ConnListRequest, DownloadActiveDeviceCountRequest, GetHardwareListResponse, AddDeviceRequest, OrderPerLicenseRequest, UpdateGroupRequest, GetFlowStatisticResponse, UpdateHardwareRequest, GetNetMonitorRequest, GetGroupListResponse, OrderFlowPackageResponse, UpdateDeviceResponse, ActivateHardwareRequest, GroupAddDeviceResponse, GetStatisticDataRequest, UpdateDeviceRequest, DeleteGroupResponse, GetPublicKeyResponse, AddHardwareResponse, GetFlowStatisticRequest, AddDeviceResponse, GetDevicePayModeResponse, GetActiveDeviceCountRequest, UpdateL3ConnRequest, DeleteDeviceResponse, AddHardwareRequest, UpdateL3CidrRequest, AddGroupResponse } from "./mna_models";
|
3
|
+
import { DeleteL3ConnResponse, GetDeviceResponse, GetMultiFlowStatisticResponse, UpdateL3ConnResponse, UpdateHardwareResponse, UpdateL3SwitchRequest, AddL3ConnRequest, OrderPerLicenseResponse, GetFlowPackagesRequest, SetNotifyUrlResponse, UpdateL3CidrResponse, ModifyPackageRenewFlagRequest, GetFlowPackagesResponse, ReportOrderRequest, DeleteL3ConnRequest, GetVendorHardwareResponse, GetActiveDeviceCountResponse, AddGroupRequest, GetGroupListRequest, GetGroupDetailRequest, GroupDeleteDeviceResponse, GroupAddDeviceRequest, GetStatisticDataResponse, GetPublicKeyRequest, GetFlowStatisticByGroupResponse, GetNetMonitorResponse, GetFlowStatisticByRegionRequest, ReportOrderResponse, GetFlowAlarmInfoRequest, GetVendorHardwareRequest, CreateEncryptedKeyRequest, DeleteDeviceRequest, DeleteGroupRequest, CreateEncryptedKeyResponse, UpdateL3SwitchResponse, GetL3ConnListResponse, ModifyPackageRenewFlagResponse, GetDeviceRequest, ActivateHardwareResponse, GetFlowStatisticByGroupRequest, GetDevicesResponse, AddL3ConnResponse, GetDevicesRequest, SetNotifyUrlRequest, GetDevicePayModeRequest, DownloadActiveDeviceCountResponse, GetHardwareListRequest, GroupDeleteDeviceRequest, GetFlowStatisticByRegionResponse, GetMultiFlowStatisticRequest, GetFlowAlarmInfoResponse, OrderFlowPackageRequest, GetGroupDetailResponse, UpdateGroupResponse, GetL3ConnListRequest, DownloadActiveDeviceCountRequest, GetHardwareListResponse, AddDeviceRequest, OrderPerLicenseRequest, UpdateGroupRequest, GetFlowStatisticResponse, UpdateHardwareRequest, GetNetMonitorRequest, GetGroupListResponse, OrderFlowPackageResponse, UpdateDeviceResponse, ActivateHardwareRequest, GroupAddDeviceResponse, GetStatisticDataRequest, UpdateDeviceRequest, DeleteGroupResponse, GetPublicKeyResponse, AddHardwareResponse, GetFlowStatisticRequest, AddDeviceResponse, GetDevicePayModeResponse, GetActiveDeviceCountRequest, UpdateL3ConnRequest, DeleteDeviceResponse, AddHardwareRequest, UpdateL3CidrRequest, AddGroupResponse } from "./mna_models";
|
4
4
|
/**
|
5
5
|
* mna client
|
6
6
|
* @class
|
@@ -119,6 +119,10 @@ export declare class Client extends AbstractClient {
|
|
119
119
|
* 根据AppId查询用户设置的流量告警信息,包括阈值,回调url和key
|
120
120
|
*/
|
121
121
|
GetFlowAlarmInfo(req?: GetFlowAlarmInfoRequest, cb?: (error: string, rep: GetFlowAlarmInfoResponse) => void): Promise<GetFlowAlarmInfoResponse>;
|
122
|
+
/**
|
123
|
+
* 用户上报自定义的订单信息,多网聚合加速服务将相关信息进行保存
|
124
|
+
*/
|
125
|
+
ReportOrder(req: ReportOrderRequest, cb?: (error: string, rep: ReportOrderResponse) => void): Promise<ReportOrderResponse>;
|
122
126
|
/**
|
123
127
|
* 删除分组中的设备
|
124
128
|
*/
|
@@ -195,6 +195,12 @@ class Client extends abstract_client_1.AbstractClient {
|
|
195
195
|
async GetFlowAlarmInfo(req, cb) {
|
196
196
|
return this.request("GetFlowAlarmInfo", req, cb);
|
197
197
|
}
|
198
|
+
/**
|
199
|
+
* 用户上报自定义的订单信息,多网聚合加速服务将相关信息进行保存
|
200
|
+
*/
|
201
|
+
async ReportOrder(req, cb) {
|
202
|
+
return this.request("ReportOrder", req, cb);
|
203
|
+
}
|
198
204
|
/**
|
199
205
|
* 删除分组中的设备
|
200
206
|
*/
|
@@ -33,6 +33,35 @@ export interface GetMultiFlowStatisticResponse {
|
|
33
33
|
*/
|
34
34
|
RequestId?: string;
|
35
35
|
}
|
36
|
+
/**
|
37
|
+
* 返回上报的订单信息
|
38
|
+
*/
|
39
|
+
export interface OrderInfo {
|
40
|
+
/**
|
41
|
+
* 父帐号uin
|
42
|
+
*/
|
43
|
+
Uin?: string;
|
44
|
+
/**
|
45
|
+
* 项目id
|
46
|
+
*/
|
47
|
+
ProjectId?: string;
|
48
|
+
/**
|
49
|
+
* 用量类型
|
50
|
+
*/
|
51
|
+
PackageType?: string;
|
52
|
+
/**
|
53
|
+
* 订单编号唯一标识符
|
54
|
+
*/
|
55
|
+
OrderId?: string;
|
56
|
+
/**
|
57
|
+
* 上报月份,默认当前月
|
58
|
+
*/
|
59
|
+
ReportMonth?: string;
|
60
|
+
/**
|
61
|
+
* 数据更新时间
|
62
|
+
*/
|
63
|
+
Updated?: string;
|
64
|
+
}
|
36
65
|
/**
|
37
66
|
* 设备流量信息
|
38
67
|
*/
|
@@ -228,6 +257,27 @@ export interface GetFlowPackagesResponse {
|
|
228
257
|
*/
|
229
258
|
RequestId?: string;
|
230
259
|
}
|
260
|
+
/**
|
261
|
+
* ReportOrder请求参数结构体
|
262
|
+
*/
|
263
|
+
export interface ReportOrderRequest {
|
264
|
+
/**
|
265
|
+
* 订单编号唯一标识符
|
266
|
+
*/
|
267
|
+
OrderId: string;
|
268
|
+
/**
|
269
|
+
* 项目id
|
270
|
+
*/
|
271
|
+
ProjectId?: string;
|
272
|
+
/**
|
273
|
+
* 用量类型
|
274
|
+
*/
|
275
|
+
PackageType?: string;
|
276
|
+
/**
|
277
|
+
* 上报月份,默认当前月
|
278
|
+
*/
|
279
|
+
ReportMonth?: string;
|
280
|
+
}
|
231
281
|
/**
|
232
282
|
* DeleteL3Conn请求参数结构体
|
233
283
|
*/
|
@@ -587,6 +637,19 @@ export interface GetFlowStatisticByRegionRequest {
|
|
587
637
|
*/
|
588
638
|
AccessRegion?: string;
|
589
639
|
}
|
640
|
+
/**
|
641
|
+
* ReportOrder返回参数结构体
|
642
|
+
*/
|
643
|
+
export interface ReportOrderResponse {
|
644
|
+
/**
|
645
|
+
* 订单信息
|
646
|
+
*/
|
647
|
+
OrderInfo?: OrderInfo;
|
648
|
+
/**
|
649
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
650
|
+
*/
|
651
|
+
RequestId?: string;
|
652
|
+
}
|
590
653
|
/**
|
591
654
|
* GetFlowAlarmInfo请求参数结构体
|
592
655
|
*/
|
@@ -364,6 +364,10 @@ export interface CreateJobConfigRequest {
|
|
364
364
|
* checkpoint 超时时间
|
365
365
|
*/
|
366
366
|
CheckpointTimeoutSecond?: number;
|
367
|
+
/**
|
368
|
+
* checkpoint 间隔时间
|
369
|
+
*/
|
370
|
+
CheckpointIntervalSecond?: number;
|
367
371
|
}
|
368
372
|
/**
|
369
373
|
* 集群的版本相关信息
|
@@ -1182,6 +1186,26 @@ export interface CreateWorkSpaceResponse {
|
|
1182
1186
|
*/
|
1183
1187
|
RequestId?: string;
|
1184
1188
|
}
|
1189
|
+
/**
|
1190
|
+
* 多可用区支持备区域
|
1191
|
+
*/
|
1192
|
+
export interface SlaveZone {
|
1193
|
+
/**
|
1194
|
+
* vpc
|
1195
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1196
|
+
*/
|
1197
|
+
VpcId?: string;
|
1198
|
+
/**
|
1199
|
+
* 子网
|
1200
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1201
|
+
*/
|
1202
|
+
SubnetId?: string;
|
1203
|
+
/**
|
1204
|
+
* 区
|
1205
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
1206
|
+
*/
|
1207
|
+
Zone?: string;
|
1208
|
+
}
|
1185
1209
|
/**
|
1186
1210
|
* CreateJob返回参数结构体
|
1187
1211
|
*/
|
@@ -3120,6 +3144,20 @@ export interface Cluster {
|
|
3120
3144
|
注意:此字段可能返回 null,表示取不到有效值。
|
3121
3145
|
*/
|
3122
3146
|
Yarns?: Array<HadoopYarnItem>;
|
3147
|
+
/**
|
3148
|
+
* 0 单可用区 1多可用区
|
3149
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3150
|
+
*/
|
3151
|
+
DeploymentMode?: number;
|
3152
|
+
/**
|
3153
|
+
* 备可用区
|
3154
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
3155
|
+
*/
|
3156
|
+
SlaveZones?: Array<SlaveZone>;
|
3157
|
+
/**
|
3158
|
+
* 集群的日志cos存储
|
3159
|
+
*/
|
3160
|
+
LogCOSBucket?: string;
|
3123
3161
|
}
|
3124
3162
|
/**
|
3125
3163
|
* 作业运行图
|
@@ -3606,6 +3644,10 @@ export interface JobConfig {
|
|
3606
3644
|
* checkpoint 超时时间
|
3607
3645
|
*/
|
3608
3646
|
CheckpointTimeoutSecond?: number;
|
3647
|
+
/**
|
3648
|
+
* checkpoint 间隔时间
|
3649
|
+
*/
|
3650
|
+
CheckpointIntervalSecond?: number;
|
3609
3651
|
}
|
3610
3652
|
/**
|
3611
3653
|
* DescribeResourceConfigs请求参数结构体
|
@@ -386,7 +386,7 @@ export declare class Client extends AbstractClient {
|
|
386
386
|
*/
|
387
387
|
DescribeInstances(req: DescribeInstancesRequest, cb?: (error: string, rep: DescribeInstancesResponse) => void): Promise<DescribeInstancesResponse>;
|
388
388
|
/**
|
389
|
-
*
|
389
|
+
* 本接口(RemoveReplicationGroup)用于删除复制组。
|
390
390
|
*/
|
391
391
|
RemoveReplicationGroup(req: RemoveReplicationGroupRequest, cb?: (error: string, rep: RemoveReplicationGroupResponse) => void): Promise<RemoveReplicationGroupResponse>;
|
392
392
|
/**
|
@@ -594,7 +594,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
594
594
|
return this.request("DescribeInstances", req, cb);
|
595
595
|
}
|
596
596
|
/**
|
597
|
-
*
|
597
|
+
* 本接口(RemoveReplicationGroup)用于删除复制组。
|
598
598
|
*/
|
599
599
|
async RemoveReplicationGroup(req, cb) {
|
600
600
|
return this.request("RemoveReplicationGroup", req, cb);
|