tencentcloud-sdk-nodejs-intl-en 3.0.1326 → 3.0.1328
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/package.json +1 -1
- package/tencentcloud/bi/v20220105/bi_client.js +13 -0
- package/tencentcloud/bi/v20220105/models.js +248 -9
- package/tencentcloud/cdb/v20170320/cdb_client.js +15 -12
- package/tencentcloud/cdb/v20170320/models.js +328 -82
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cynosdb/v20190107/cynosdb_client.js +1 -0
- package/tencentcloud/cynosdb/v20190107/models.js +266 -15
- package/tencentcloud/faceid/v20180301/models.js +3 -3
- package/tencentcloud/ocr/v20181119/models.js +11 -11
- package/tencentcloud/organization/v20210331/models.js +3074 -792
- package/tencentcloud/organization/v20210331/organization_client.js +352 -70
- package/tencentcloud/sqlserver/v20180328/models.js +1 -1
- package/tencentcloud/sqlserver/v20180328/sqlserver_client.js +1 -1
- package/tencentcloud/vod/v20180717/models.js +192 -54
- package/tencentcloud/vod/v20180717/vod_client.js +19 -2
package/package.json
CHANGED
|
@@ -18,6 +18,7 @@ const models = require("./models");
|
|
|
18
18
|
const AbstractClient = require('../../common/abstract_client')
|
|
19
19
|
const PageScreenVO = models.PageScreenVO;
|
|
20
20
|
const DataId = models.DataId;
|
|
21
|
+
const ClearEmbedTokenRequest = models.ClearEmbedTokenRequest;
|
|
21
22
|
const DescribeUserRoleListResponse = models.DescribeUserRoleListResponse;
|
|
22
23
|
const ExportScreenPageResponse = models.ExportScreenPageResponse;
|
|
23
24
|
const ModifyProjectResponse = models.ModifyProjectResponse;
|
|
@@ -71,6 +72,7 @@ const CreateProjectResponse = models.CreateProjectResponse;
|
|
|
71
72
|
const DescribeProjectInfoResponse = models.DescribeProjectInfoResponse;
|
|
72
73
|
const ExportScreenPageRequest = models.ExportScreenPageRequest;
|
|
73
74
|
const DescribeUserRoleListRequest = models.DescribeUserRoleListRequest;
|
|
75
|
+
const ClearEmbedTokenResponse = models.ClearEmbedTokenResponse;
|
|
74
76
|
const DeleteProjectResponse = models.DeleteProjectResponse;
|
|
75
77
|
const ProjectListData = models.ProjectListData;
|
|
76
78
|
const DescribeUserRoleProjectListRequest = models.DescribeUserRoleProjectListRequest;
|
|
@@ -289,6 +291,17 @@ class BiClient extends AbstractClient {
|
|
|
289
291
|
this.request("ModifyDatasourceCloud", req, resp, cb);
|
|
290
292
|
}
|
|
291
293
|
|
|
294
|
+
/**
|
|
295
|
+
* Clean strong authentication tokens. Only enterprise admins can call this API.
|
|
296
|
+
* @param {ClearEmbedTokenRequest} req
|
|
297
|
+
* @param {function(string, ClearEmbedTokenResponse):void} cb
|
|
298
|
+
* @public
|
|
299
|
+
*/
|
|
300
|
+
ClearEmbedToken(req, cb) {
|
|
301
|
+
let resp = new ClearEmbedTokenResponse();
|
|
302
|
+
this.request("ClearEmbedToken", req, resp, cb);
|
|
303
|
+
}
|
|
304
|
+
|
|
292
305
|
/**
|
|
293
306
|
* This API is used to create a user role in the project.
|
|
294
307
|
* @param {CreateUserRoleProjectRequest} req
|
|
@@ -82,6 +82,55 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
82
82
|
}
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
+
/**
|
|
86
|
+
* ClearEmbedToken request structure.
|
|
87
|
+
* @class
|
|
88
|
+
*/
|
|
89
|
+
class ClearEmbedTokenRequest extends AbstractModel {
|
|
90
|
+
constructor(){
|
|
91
|
+
super();
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Project ID.
|
|
95
|
+
* @type {string || null}
|
|
96
|
+
*/
|
|
97
|
+
this.ProjectId = null;
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Host Account ID
|
|
101
|
+
* @type {string || null}
|
|
102
|
+
*/
|
|
103
|
+
this.UserCorpId = null;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* panel , page
|
|
107
|
+
* @type {string || null}
|
|
108
|
+
*/
|
|
109
|
+
this.Scope = null;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* page id
|
|
113
|
+
* @type {string || null}
|
|
114
|
+
*/
|
|
115
|
+
this.PageId = null;
|
|
116
|
+
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @private
|
|
121
|
+
*/
|
|
122
|
+
deserialize(params) {
|
|
123
|
+
if (!params) {
|
|
124
|
+
return;
|
|
125
|
+
}
|
|
126
|
+
this.ProjectId = 'ProjectId' in params ? params.ProjectId : null;
|
|
127
|
+
this.UserCorpId = 'UserCorpId' in params ? params.UserCorpId : null;
|
|
128
|
+
this.Scope = 'Scope' in params ? params.Scope : null;
|
|
129
|
+
this.PageId = 'PageId' in params ? params.PageId : null;
|
|
130
|
+
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
85
134
|
/**
|
|
86
135
|
* DescribeUserRoleList response structure.
|
|
87
136
|
* @class
|
|
@@ -309,6 +358,9 @@ class DeleteProjectRequest extends AbstractModel {
|
|
|
309
358
|
|
|
310
359
|
/**
|
|
311
360
|
* Default dashboard.
|
|
361
|
+
Value range:.
|
|
362
|
+
1: project dashboard.
|
|
363
|
+
2: my dashboard.
|
|
312
364
|
* @type {number || null}
|
|
313
365
|
*/
|
|
314
366
|
this.DefaultPanelType = null;
|
|
@@ -427,6 +479,12 @@ class CreateDatasourceRequest extends AbstractModel {
|
|
|
427
479
|
|
|
428
480
|
/**
|
|
429
481
|
* Drive.
|
|
482
|
+
Value range:.
|
|
483
|
+
MYSQL: MYSQL database.
|
|
484
|
+
PRESTO: presto database.
|
|
485
|
+
POSTGRE: PostgreSQL database.
|
|
486
|
+
DLC: dlc database.
|
|
487
|
+
MSSQL: microsoft SQL Server database.
|
|
430
488
|
* @type {string || null}
|
|
431
489
|
*/
|
|
432
490
|
this.DbType = null;
|
|
@@ -539,6 +597,18 @@ class CreateDatasourceRequest extends AbstractModel {
|
|
|
539
597
|
*/
|
|
540
598
|
this.RegionId = null;
|
|
541
599
|
|
|
600
|
+
/**
|
|
601
|
+
* Database schema.
|
|
602
|
+
* @type {string || null}
|
|
603
|
+
*/
|
|
604
|
+
this.Schema = null;
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* Database version.
|
|
608
|
+
* @type {string || null}
|
|
609
|
+
*/
|
|
610
|
+
this.DbVersion = null;
|
|
611
|
+
|
|
542
612
|
}
|
|
543
613
|
|
|
544
614
|
/**
|
|
@@ -570,6 +640,8 @@ class CreateDatasourceRequest extends AbstractModel {
|
|
|
570
640
|
this.OperationAuthLimit = 'OperationAuthLimit' in params ? params.OperationAuthLimit : null;
|
|
571
641
|
this.UseVPC = 'UseVPC' in params ? params.UseVPC : null;
|
|
572
642
|
this.RegionId = 'RegionId' in params ? params.RegionId : null;
|
|
643
|
+
this.Schema = 'Schema' in params ? params.Schema : null;
|
|
644
|
+
this.DbVersion = 'DbVersion' in params ? params.DbVersion : null;
|
|
573
645
|
|
|
574
646
|
}
|
|
575
647
|
}
|
|
@@ -752,7 +824,7 @@ class ApplyEmbedIntervalRequest extends AbstractModel {
|
|
|
752
824
|
super();
|
|
753
825
|
|
|
754
826
|
/**
|
|
755
|
-
* Shares the project ID.
|
|
827
|
+
* Shares the project ID.
|
|
756
828
|
* @type {number || null}
|
|
757
829
|
*/
|
|
758
830
|
this.ProjectId = null;
|
|
@@ -826,6 +898,15 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
826
898
|
|
|
827
899
|
/**
|
|
828
900
|
* Configuration mode.
|
|
901
|
+
Valid values:.
|
|
902
|
+
|
|
903
|
+
-usable.
|
|
904
|
+
-visible.
|
|
905
|
+
-disabled: unavailable.
|
|
906
|
+
-hidden: hide.
|
|
907
|
+
|
|
908
|
+
Default value: disabled.
|
|
909
|
+
Example value: disabled.
|
|
829
910
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
830
911
|
* @type {string || null}
|
|
831
912
|
*/
|
|
@@ -1944,6 +2025,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
1944
2025
|
|
|
1945
2026
|
/**
|
|
1946
2027
|
* Transaction status.
|
|
2028
|
+
Value range:.
|
|
2029
|
+
Processing.
|
|
2030
|
+
2: processing is successful.
|
|
2031
|
+
3: processing failure.
|
|
1947
2032
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
1948
2033
|
* @type {number || null}
|
|
1949
2034
|
*/
|
|
@@ -2333,6 +2418,9 @@ class DescribeProjectInfoRequest extends AbstractModel {
|
|
|
2333
2418
|
|
|
2334
2419
|
/**
|
|
2335
2420
|
* Default dashboard.
|
|
2421
|
+
Value range:.
|
|
2422
|
+
1: project dashboard.
|
|
2423
|
+
2: my dashboard.
|
|
2336
2424
|
* @type {number || null}
|
|
2337
2425
|
*/
|
|
2338
2426
|
this.DefaultPanelType = null;
|
|
@@ -2649,7 +2737,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
2649
2737
|
this.ErrorInfo = null;
|
|
2650
2738
|
|
|
2651
2739
|
/**
|
|
2652
|
-
*
|
|
2740
|
+
* None.
|
|
2653
2741
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2654
2742
|
* @type {string || null}
|
|
2655
2743
|
*/
|
|
@@ -2714,6 +2802,12 @@ class ModifyDatasourceCloudRequest extends AbstractModel {
|
|
|
2714
2802
|
|
|
2715
2803
|
/**
|
|
2716
2804
|
* Drive.
|
|
2805
|
+
Value range:.
|
|
2806
|
+
MYSQL: MYSQL database.
|
|
2807
|
+
PRESTO: presto database.
|
|
2808
|
+
POSTGRE: PostgreSQL database.
|
|
2809
|
+
DLC: dlc database.
|
|
2810
|
+
MSSQL: microsoft SQL Server database.
|
|
2717
2811
|
* @type {string || null}
|
|
2718
2812
|
*/
|
|
2719
2813
|
this.DbType = null;
|
|
@@ -2832,6 +2926,18 @@ class ModifyDatasourceCloudRequest extends AbstractModel {
|
|
|
2832
2926
|
*/
|
|
2833
2927
|
this.ClusterId = null;
|
|
2834
2928
|
|
|
2929
|
+
/**
|
|
2930
|
+
* Database schema.
|
|
2931
|
+
* @type {string || null}
|
|
2932
|
+
*/
|
|
2933
|
+
this.Schema = null;
|
|
2934
|
+
|
|
2935
|
+
/**
|
|
2936
|
+
* Database version.
|
|
2937
|
+
* @type {string || null}
|
|
2938
|
+
*/
|
|
2939
|
+
this.DbVersion = null;
|
|
2940
|
+
|
|
2835
2941
|
}
|
|
2836
2942
|
|
|
2837
2943
|
/**
|
|
@@ -2862,6 +2968,8 @@ class ModifyDatasourceCloudRequest extends AbstractModel {
|
|
|
2862
2968
|
this.DataOriginProjectId = 'DataOriginProjectId' in params ? params.DataOriginProjectId : null;
|
|
2863
2969
|
this.DataOriginDatasourceId = 'DataOriginDatasourceId' in params ? params.DataOriginDatasourceId : null;
|
|
2864
2970
|
this.ClusterId = 'ClusterId' in params ? params.ClusterId : null;
|
|
2971
|
+
this.Schema = 'Schema' in params ? params.Schema : null;
|
|
2972
|
+
this.DbVersion = 'DbVersion' in params ? params.DbVersion : null;
|
|
2865
2973
|
|
|
2866
2974
|
}
|
|
2867
2975
|
}
|
|
@@ -2894,6 +3002,12 @@ class ModifyDatasourceRequest extends AbstractModel {
|
|
|
2894
3002
|
|
|
2895
3003
|
/**
|
|
2896
3004
|
* Drive.
|
|
3005
|
+
Value range:.
|
|
3006
|
+
MYSQL: MYSQL database.
|
|
3007
|
+
PRESTO: presto database.
|
|
3008
|
+
POSTGRE: PostgreSQL database.
|
|
3009
|
+
DLC: dlc database.
|
|
3010
|
+
MSSQL: microsoft SQL Server database.
|
|
2897
3011
|
* @type {string || null}
|
|
2898
3012
|
*/
|
|
2899
3013
|
this.DbType = null;
|
|
@@ -3006,6 +3120,18 @@ class ModifyDatasourceRequest extends AbstractModel {
|
|
|
3006
3120
|
*/
|
|
3007
3121
|
this.RegionId = null;
|
|
3008
3122
|
|
|
3123
|
+
/**
|
|
3124
|
+
* Database schema.
|
|
3125
|
+
* @type {string || null}
|
|
3126
|
+
*/
|
|
3127
|
+
this.Schema = null;
|
|
3128
|
+
|
|
3129
|
+
/**
|
|
3130
|
+
* Database version.
|
|
3131
|
+
* @type {string || null}
|
|
3132
|
+
*/
|
|
3133
|
+
this.DbVersion = null;
|
|
3134
|
+
|
|
3009
3135
|
}
|
|
3010
3136
|
|
|
3011
3137
|
/**
|
|
@@ -3037,6 +3163,8 @@ class ModifyDatasourceRequest extends AbstractModel {
|
|
|
3037
3163
|
this.VpcId = 'VpcId' in params ? params.VpcId : null;
|
|
3038
3164
|
this.UseVPC = 'UseVPC' in params ? params.UseVPC : null;
|
|
3039
3165
|
this.RegionId = 'RegionId' in params ? params.RegionId : null;
|
|
3166
|
+
this.Schema = 'Schema' in params ? params.Schema : null;
|
|
3167
|
+
this.DbVersion = 'DbVersion' in params ? params.DbVersion : null;
|
|
3040
3168
|
|
|
3041
3169
|
}
|
|
3042
3170
|
}
|
|
@@ -3094,6 +3222,9 @@ class ModifyProjectRequest extends AbstractModel {
|
|
|
3094
3222
|
|
|
3095
3223
|
/**
|
|
3096
3224
|
* Default dashboard.
|
|
3225
|
+
Value range:.
|
|
3226
|
+
1: project dashboard.
|
|
3227
|
+
2: my dashboard.
|
|
3097
3228
|
* @type {number || null}
|
|
3098
3229
|
*/
|
|
3099
3230
|
this.DefaultPanelType = null;
|
|
@@ -4160,6 +4291,20 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4160
4291
|
*/
|
|
4161
4292
|
this.OwnerName = null;
|
|
4162
4293
|
|
|
4294
|
+
/**
|
|
4295
|
+
* Database schema.
|
|
4296
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4297
|
+
* @type {string || null}
|
|
4298
|
+
*/
|
|
4299
|
+
this.Schema = null;
|
|
4300
|
+
|
|
4301
|
+
/**
|
|
4302
|
+
* Database version.
|
|
4303
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4304
|
+
* @type {string || null}
|
|
4305
|
+
*/
|
|
4306
|
+
this.DbVersion = null;
|
|
4307
|
+
|
|
4163
4308
|
}
|
|
4164
4309
|
|
|
4165
4310
|
/**
|
|
@@ -4221,6 +4366,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
4221
4366
|
this.UseVPC = 'UseVPC' in params ? params.UseVPC : null;
|
|
4222
4367
|
this.Owner = 'Owner' in params ? params.Owner : null;
|
|
4223
4368
|
this.OwnerName = 'OwnerName' in params ? params.OwnerName : null;
|
|
4369
|
+
this.Schema = 'Schema' in params ? params.Schema : null;
|
|
4370
|
+
this.DbVersion = 'DbVersion' in params ? params.DbVersion : null;
|
|
4224
4371
|
|
|
4225
4372
|
}
|
|
4226
4373
|
}
|
|
@@ -4539,6 +4686,71 @@ class DescribeUserRoleListRequest extends AbstractModel {
|
|
|
4539
4686
|
}
|
|
4540
4687
|
}
|
|
4541
4688
|
|
|
4689
|
+
/**
|
|
4690
|
+
* ClearEmbedToken response structure.
|
|
4691
|
+
* @class
|
|
4692
|
+
*/
|
|
4693
|
+
class ClearEmbedTokenResponse extends AbstractModel {
|
|
4694
|
+
constructor(){
|
|
4695
|
+
super();
|
|
4696
|
+
|
|
4697
|
+
/**
|
|
4698
|
+
* Custom error information object
|
|
4699
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4700
|
+
* @type {ErrorInfo || null}
|
|
4701
|
+
*/
|
|
4702
|
+
this.ErrorInfo = null;
|
|
4703
|
+
|
|
4704
|
+
/**
|
|
4705
|
+
* Additional message.
|
|
4706
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4707
|
+
* @type {string || null}
|
|
4708
|
+
*/
|
|
4709
|
+
this.Extra = null;
|
|
4710
|
+
|
|
4711
|
+
/**
|
|
4712
|
+
* Prompt message.
|
|
4713
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4714
|
+
* @type {string || null}
|
|
4715
|
+
*/
|
|
4716
|
+
this.Msg = null;
|
|
4717
|
+
|
|
4718
|
+
/**
|
|
4719
|
+
* Result
|
|
4720
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
4721
|
+
* @type {boolean || null}
|
|
4722
|
+
*/
|
|
4723
|
+
this.Data = null;
|
|
4724
|
+
|
|
4725
|
+
/**
|
|
4726
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
4727
|
+
* @type {string || null}
|
|
4728
|
+
*/
|
|
4729
|
+
this.RequestId = null;
|
|
4730
|
+
|
|
4731
|
+
}
|
|
4732
|
+
|
|
4733
|
+
/**
|
|
4734
|
+
* @private
|
|
4735
|
+
*/
|
|
4736
|
+
deserialize(params) {
|
|
4737
|
+
if (!params) {
|
|
4738
|
+
return;
|
|
4739
|
+
}
|
|
4740
|
+
|
|
4741
|
+
if (params.ErrorInfo) {
|
|
4742
|
+
let obj = new ErrorInfo();
|
|
4743
|
+
obj.deserialize(params.ErrorInfo)
|
|
4744
|
+
this.ErrorInfo = obj;
|
|
4745
|
+
}
|
|
4746
|
+
this.Extra = 'Extra' in params ? params.Extra : null;
|
|
4747
|
+
this.Msg = 'Msg' in params ? params.Msg : null;
|
|
4748
|
+
this.Data = 'Data' in params ? params.Data : null;
|
|
4749
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
4750
|
+
|
|
4751
|
+
}
|
|
4752
|
+
}
|
|
4753
|
+
|
|
4542
4754
|
/**
|
|
4543
4755
|
* DeleteProject response structure.
|
|
4544
4756
|
* @class
|
|
@@ -5304,6 +5516,12 @@ class CreateDatasourceCloudRequest extends AbstractModel {
|
|
|
5304
5516
|
|
|
5305
5517
|
/**
|
|
5306
5518
|
* Drive.
|
|
5519
|
+
Value range:.
|
|
5520
|
+
MYSQL: MYSQL database.
|
|
5521
|
+
PRESTO: presto database.
|
|
5522
|
+
POSTGRE: PostgreSQL database.
|
|
5523
|
+
DLC: dlc database.
|
|
5524
|
+
MSSQL: microsoft SQL Server database.
|
|
5307
5525
|
* @type {string || null}
|
|
5308
5526
|
*/
|
|
5309
5527
|
this.DbType = null;
|
|
@@ -5417,13 +5635,13 @@ class CreateDatasourceCloudRequest extends AbstractModel {
|
|
|
5417
5635
|
this.ClusterId = null;
|
|
5418
5636
|
|
|
5419
5637
|
/**
|
|
5420
|
-
*
|
|
5638
|
+
* Database schema.
|
|
5421
5639
|
* @type {string || null}
|
|
5422
5640
|
*/
|
|
5423
5641
|
this.Schema = null;
|
|
5424
5642
|
|
|
5425
5643
|
/**
|
|
5426
|
-
*
|
|
5644
|
+
* Database version.
|
|
5427
5645
|
* @type {string || null}
|
|
5428
5646
|
*/
|
|
5429
5647
|
this.DbVersion = null;
|
|
@@ -5649,14 +5867,21 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5649
5867
|
this.LastLogin = null;
|
|
5650
5868
|
|
|
5651
5869
|
/**
|
|
5652
|
-
*
|
|
5870
|
+
* User status.
|
|
5871
|
+
Valid values:.
|
|
5872
|
+
|
|
5873
|
+
-Enable.
|
|
5874
|
+
-0: disabled.
|
|
5875
|
+
|
|
5876
|
+
The default value is 1.
|
|
5877
|
+
Example value: 1.
|
|
5653
5878
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5654
5879
|
* @type {number || null}
|
|
5655
5880
|
*/
|
|
5656
5881
|
this.Status = null;
|
|
5657
5882
|
|
|
5658
5883
|
/**
|
|
5659
|
-
* Whether to change
|
|
5884
|
+
* Whether to change password on first login.
|
|
5660
5885
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5661
5886
|
* @type {number || null}
|
|
5662
5887
|
*/
|
|
@@ -5705,14 +5930,14 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5705
5930
|
this.UpdatedAt = null;
|
|
5706
5931
|
|
|
5707
5932
|
/**
|
|
5708
|
-
*
|
|
5933
|
+
* System global role.
|
|
5709
5934
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5710
5935
|
* @type {string || null}
|
|
5711
5936
|
*/
|
|
5712
5937
|
this.GlobalUserName = null;
|
|
5713
5938
|
|
|
5714
5939
|
/**
|
|
5715
|
-
*
|
|
5940
|
+
* System global role code.
|
|
5716
5941
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5717
5942
|
* @type {string || null}
|
|
5718
5943
|
*/
|
|
@@ -5914,6 +6139,9 @@ class CreateProjectRequest extends AbstractModel {
|
|
|
5914
6139
|
|
|
5915
6140
|
/**
|
|
5916
6141
|
* Default dashboard.
|
|
6142
|
+
Value range:.
|
|
6143
|
+
1: project dashboard.
|
|
6144
|
+
2: my dashboard.
|
|
5917
6145
|
* @type {number || null}
|
|
5918
6146
|
*/
|
|
5919
6147
|
this.DefaultPanelType = null;
|
|
@@ -5960,7 +6188,16 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
5960
6188
|
this.ModuleId = null;
|
|
5961
6189
|
|
|
5962
6190
|
/**
|
|
5963
|
-
*
|
|
6191
|
+
* Availability.
|
|
6192
|
+
Valid values:.
|
|
6193
|
+
|
|
6194
|
+
-usable.
|
|
6195
|
+
-visible.
|
|
6196
|
+
-disabled: unavailable.
|
|
6197
|
+
-hidden: hide.
|
|
6198
|
+
|
|
6199
|
+
Default value: disabled.
|
|
6200
|
+
Example value: disabled.
|
|
5964
6201
|
Note: This field may return null, indicating that no valid values can be obtained.
|
|
5965
6202
|
* @type {string || null}
|
|
5966
6203
|
*/
|
|
@@ -6008,6 +6245,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
6008
6245
|
module.exports = {
|
|
6009
6246
|
PageScreenVO: PageScreenVO,
|
|
6010
6247
|
DataId: DataId,
|
|
6248
|
+
ClearEmbedTokenRequest: ClearEmbedTokenRequest,
|
|
6011
6249
|
DescribeUserRoleListResponse: DescribeUserRoleListResponse,
|
|
6012
6250
|
ExportScreenPageResponse: ExportScreenPageResponse,
|
|
6013
6251
|
ModifyProjectResponse: ModifyProjectResponse,
|
|
@@ -6061,6 +6299,7 @@ module.exports = {
|
|
|
6061
6299
|
DescribeProjectInfoResponse: DescribeProjectInfoResponse,
|
|
6062
6300
|
ExportScreenPageRequest: ExportScreenPageRequest,
|
|
6063
6301
|
DescribeUserRoleListRequest: DescribeUserRoleListRequest,
|
|
6302
|
+
ClearEmbedTokenResponse: ClearEmbedTokenResponse,
|
|
6064
6303
|
DeleteProjectResponse: DeleteProjectResponse,
|
|
6065
6304
|
ProjectListData: ProjectListData,
|
|
6066
6305
|
DescribeUserRoleProjectListRequest: DescribeUserRoleProjectListRequest,
|
|
@@ -46,6 +46,7 @@ const DescribeDBInstancesRequest = models.DescribeDBInstancesRequest;
|
|
|
46
46
|
const CreateRotationPasswordResponse = models.CreateRotationPasswordResponse;
|
|
47
47
|
const ModifyCdbProxyAddressDescRequest = models.ModifyCdbProxyAddressDescRequest;
|
|
48
48
|
const CdbRegionSellConf = models.CdbRegionSellConf;
|
|
49
|
+
const ReadWriteNode = models.ReadWriteNode;
|
|
49
50
|
const DescribeRoGroupsRequest = models.DescribeRoGroupsRequest;
|
|
50
51
|
const DescribeBackupDecryptionKeyRequest = models.DescribeBackupDecryptionKeyRequest;
|
|
51
52
|
const CreateCdbProxyAddressResponse = models.CreateCdbProxyAddressResponse;
|
|
@@ -77,6 +78,7 @@ const Rule = models.Rule;
|
|
|
77
78
|
const AuditPolicy = models.AuditPolicy;
|
|
78
79
|
const ProxyNode = models.ProxyNode;
|
|
79
80
|
const DescribeCdbZoneConfigResponse = models.DescribeCdbZoneConfigResponse;
|
|
81
|
+
const AccountInfo = models.AccountInfo;
|
|
80
82
|
const DescribeTablesRequest = models.DescribeTablesRequest;
|
|
81
83
|
const UpgradeDBInstanceRequest = models.UpgradeDBInstanceRequest;
|
|
82
84
|
const ModifyParamTemplateRequest = models.ModifyParamTemplateRequest;
|
|
@@ -197,6 +199,7 @@ const DeviceMemInfo = models.DeviceMemInfo;
|
|
|
197
199
|
const AuditLogAggregationResult = models.AuditLogAggregationResult;
|
|
198
200
|
const DatabasesWithCharacterLists = models.DatabasesWithCharacterLists;
|
|
199
201
|
const DescribeRemoteBackupConfigRequest = models.DescribeRemoteBackupConfigRequest;
|
|
202
|
+
const ClusterTopology = models.ClusterTopology;
|
|
200
203
|
const TagInfo = models.TagInfo;
|
|
201
204
|
const DescribeDBInstancesResponse = models.DescribeDBInstancesResponse;
|
|
202
205
|
const DescribeBackupDownloadRestrictionRequest = models.DescribeBackupDownloadRestrictionRequest;
|
|
@@ -208,6 +211,7 @@ const AuditLog = models.AuditLog;
|
|
|
208
211
|
const DescribeAuditRuleTemplateModifyHistoryResponse = models.DescribeAuditRuleTemplateModifyHistoryResponse;
|
|
209
212
|
const DescribeAuditLogFilesRequest = models.DescribeAuditLogFilesRequest;
|
|
210
213
|
const ModifyBackupConfigRequest = models.ModifyBackupConfigRequest;
|
|
214
|
+
const DiskTypeConfigItem = models.DiskTypeConfigItem;
|
|
211
215
|
const DisassociateSecurityGroupsResponse = models.DisassociateSecurityGroupsResponse;
|
|
212
216
|
const AggregationCondition = models.AggregationCondition;
|
|
213
217
|
const LocalBinlogConfig = models.LocalBinlogConfig;
|
|
@@ -290,7 +294,7 @@ const RoInstanceInfo = models.RoInstanceInfo;
|
|
|
290
294
|
const DeviceCpuRateInfo = models.DeviceCpuRateInfo;
|
|
291
295
|
const ModifyAccountPrivilegesRequest = models.ModifyAccountPrivilegesRequest;
|
|
292
296
|
const CreateBackupRequest = models.CreateBackupRequest;
|
|
293
|
-
const
|
|
297
|
+
const ReadonlyNode = models.ReadonlyNode;
|
|
294
298
|
const DescribeRemoteBackupConfigResponse = models.DescribeRemoteBackupConfigResponse;
|
|
295
299
|
const AdjustCdbProxyAddressResponse = models.AdjustCdbProxyAddressResponse;
|
|
296
300
|
const CreateAuditLogFileRequest = models.CreateAuditLogFileRequest;
|
|
@@ -840,7 +844,7 @@ Note: the HTTP response packet will be very large if it contain a single large e
|
|
|
840
844
|
}
|
|
841
845
|
|
|
842
846
|
/**
|
|
843
|
-
* This API is used to renew
|
|
847
|
+
* This API is used to renew cloud database instances. It supports yearly/monthly subscription instances. Pay-as-you-go instances can be renewed as yearly/monthly subscription instances through this API.
|
|
844
848
|
* @param {RenewDBInstanceRequest} req
|
|
845
849
|
* @param {function(string, RenewDBInstanceResponse):void} cb
|
|
846
850
|
* @public
|
|
@@ -1134,16 +1138,15 @@ This is an async API. You can also use the [DescribeDBInstances](https://intl.cl
|
|
|
1134
1138
|
}
|
|
1135
1139
|
|
|
1136
1140
|
/**
|
|
1137
|
-
* This API is used to create a
|
|
1141
|
+
* This API is used to create a cloud database instance with an annual/monthly subscription, including primary instance, disaster recovery instance, and read-only instance. You can create a cloud database instance by importing instance specification, MySQL version number, purchase period, and quantity information.
|
|
1138
1142
|
|
|
1139
|
-
This is an asynchronous API. You can also use the
|
|
1143
|
+
This API is an asynchronous API. You can also use the query instance list API (https://www.tencentcloud.com/document/api/236/15872?from_cn_redirect=1) to query the instance details. When the Status of the instance is 1 and TaskStatus is 0, it means the instance has been delivered successfully.
|
|
1140
1144
|
|
|
1141
|
-
1.
|
|
1142
|
-
2. You can create up to 100 instances at a time, with
|
|
1143
|
-
3. MySQL
|
|
1144
|
-
4.
|
|
1145
|
-
5.
|
|
1146
|
-
6. If `Port`, `ParamTemplateId`, or `AlarmPolicyList` is specified in the input parameters, you need to update your SDK to the latest version.
|
|
1145
|
+
1. First, please use the API for the query (https://www.tencentcloud.com/document/api/236/17229?from_cn_redirect=1) to obtain the purchasable specifications of cloud databases, then please use the API for the query (https://www.tencentcloud.com/document/api/236/18566?from_cn_redirect=1) to query database price.
|
|
1146
|
+
2. You can create up to 100 instances at a time, with a maximum instance duration of 36 months.
|
|
1147
|
+
3. Support creating MySQL 5.5, MySQL 5.6, MySQL 5.7, and MySQL 8.0 versions.
|
|
1148
|
+
4. Support creating primary instance, read-only instance, disaster recovery instance.
|
|
1149
|
+
5. When ParamTemplateId or AlarmPolicyList is specified in the input parameters, you need to upgrade the SDK to the latest version to support it.
|
|
1147
1150
|
* @param {CreateDBInstanceRequest} req
|
|
1148
1151
|
* @param {function(string, CreateDBInstanceResponse):void} cb
|
|
1149
1152
|
* @public
|
|
@@ -1562,9 +1565,9 @@ This API is used to return the availability zone (AZ) status during purchase, wh
|
|
|
1562
1565
|
}
|
|
1563
1566
|
|
|
1564
1567
|
/**
|
|
1565
|
-
* This API is used to query the
|
|
1568
|
+
* This API is used to query the price of purchasing or renewing a cloud database instance. It supports querying the price of pay-as-you-go or yearly/monthly subscription. You can input instance type, purchase period, purchase quantity, memory size, disk capacity and availability zone information to query instance price. You can input instance name to query instance renewal price.
|
|
1566
1569
|
|
|
1567
|
-
Note: To
|
|
1570
|
+
Note: To request a price for a certain region, please use the access point of the corresponding region. For access point information, please refer to the <a href="https://www.tencentcloud.com/document/api/236/15832?from_cn_redirect=1">service address</a> document. For example, to request a price for the Guangzhou region, send the request to: cdb.ap-guangzhou.tencentcloudapi.com. Likewise, for the Shanghai region, send the request to: cdb.ap-shanghai.tencentcloudapi.com.
|
|
1568
1571
|
* @param {DescribeDBPriceRequest} req
|
|
1569
1572
|
* @param {function(string, DescribeDBPriceResponse):void} cb
|
|
1570
1573
|
* @public
|