tencentcloud-sdk-nodejs 4.0.623 → 4.0.624
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 +118 -0
- package/SERVICE_CHANGELOG.md +208 -28
- package/package.json +1 -1
- package/products.md +11 -11
- package/src/common/sdk_version.ts +1 -1
- package/src/services/cdb/v20170320/cdb_models.ts +2 -2
- package/src/services/cdn/v20180606/cdn_client.ts +2 -1
- package/src/services/cloudstudio/index.ts +2 -0
- package/src/services/cloudstudio/v20230508/cloudstudio_client.ts +145 -0
- package/src/services/cloudstudio/v20230508/cloudstudio_models.ts +424 -0
- package/src/services/cloudstudio/v20230508/index.ts +6 -0
- package/src/services/cls/v20201016/cls_client.ts +1 -0
- package/src/services/cls/v20201016/cls_models.ts +22 -1
- package/src/services/cpdp/v20190820/cpdp_models.ts +30 -0
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +139 -11
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +943 -140
- package/src/services/ess/v20201111/ess_client.ts +12 -0
- package/src/services/ess/v20201111/ess_models.ts +89 -4
- package/src/services/oceanus/v20190422/oceanus_client.ts +23 -8
- package/src/services/oceanus/v20190422/oceanus_models.ts +268 -21
- package/src/services/redis/v20180412/redis_client.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +11 -4
- package/src/services/tsf/v20180326/tsf_client.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +2 -2
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +2 -1
- package/tencentcloud/services/cdn/v20180606/cdn_client.js +2 -1
- package/tencentcloud/services/cloudstudio/index.d.ts +4 -0
- package/tencentcloud/services/cloudstudio/index.js +2 -0
- package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_client.d.ts +46 -0
- package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_client.js +85 -0
- package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_models.d.ts +384 -0
- package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_models.js +18 -0
- package/tencentcloud/services/cloudstudio/v20230508/index.d.ts +6 -0
- package/tencentcloud/services/cloudstudio/v20230508/index.js +9 -0
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +21 -1
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +30 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +41 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +60 -0
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +880 -105
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +5 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +6 -0
- package/tencentcloud/services/ess/v20201111/ess_models.d.ts +87 -4
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.d.ts +7 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_client.js +9 -3
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +263 -21
- 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 +11 -4
- package/tencentcloud/services/tsf/v20180326/tsf_client.d.ts +1 -1
- package/tencentcloud/services/tsf/v20180326/tsf_client.js +1 -1
- package/test/cloudstudio.v20230508.test.js +111 -0
- package/test/cynosdb.v20190107.test.js +100 -0
- package/test/ess.v20201111.test.js +10 -0
- package/test/oceanus.v20190422.test.js +12 -2
|
@@ -18,6 +18,7 @@
|
|
|
18
18
|
import { AbstractClient } from "../../../common/abstract_client"
|
|
19
19
|
import { ClientConfig } from "../../../common/interface"
|
|
20
20
|
import {
|
|
21
|
+
CreateSealRequest,
|
|
21
22
|
ModifyIntegrationDepartmentResponse,
|
|
22
23
|
CancelFlowResponse,
|
|
23
24
|
DescribeFlowEvidenceReportRequest,
|
|
@@ -139,6 +140,7 @@ import {
|
|
|
139
140
|
ModifyApplicationCallbackInfoRequest,
|
|
140
141
|
IntegrationMainOrganizationUser,
|
|
141
142
|
StartFlowRequest,
|
|
143
|
+
CreateSealResponse,
|
|
142
144
|
CreatePrepareFlowRequest,
|
|
143
145
|
ApproverOption,
|
|
144
146
|
FileUrl,
|
|
@@ -534,6 +536,16 @@ callbackinfo包含: 回调地址和签名key
|
|
|
534
536
|
return this.request("CreateFlowByFiles", req, cb)
|
|
535
537
|
}
|
|
536
538
|
|
|
539
|
+
/**
|
|
540
|
+
* 创建电子印章
|
|
541
|
+
*/
|
|
542
|
+
async CreateSeal(
|
|
543
|
+
req: CreateSealRequest,
|
|
544
|
+
cb?: (error: string, rep: CreateSealResponse) => void
|
|
545
|
+
): Promise<CreateSealResponse> {
|
|
546
|
+
return this.request("CreateSeal", req, cb)
|
|
547
|
+
}
|
|
548
|
+
|
|
537
549
|
/**
|
|
538
550
|
* 查询企业角色列表
|
|
539
551
|
*/
|
|
@@ -15,6 +15,77 @@
|
|
|
15
15
|
* under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* CreateSeal请求参数结构体
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateSealRequest {
|
|
22
|
+
/**
|
|
23
|
+
* 操作人信息
|
|
24
|
+
*/
|
|
25
|
+
Operator: UserInfo
|
|
26
|
+
/**
|
|
27
|
+
* 电子印章名字
|
|
28
|
+
*/
|
|
29
|
+
SealName: string
|
|
30
|
+
/**
|
|
31
|
+
* 应用相关信息
|
|
32
|
+
*/
|
|
33
|
+
Agent?: Agent
|
|
34
|
+
/**
|
|
35
|
+
* 电子印章类型,PERSONAL-个人私章,OFFICIAL-公章,SPECIAL_FINANCIAL-财务专用章,CONTRACT-合同专用章,LEGAL_REPRESENTATIVE-法定代表人章,SPECIAL_NATIONWIDE_INVOICE-发票专用章
|
|
36
|
+
*/
|
|
37
|
+
SealType?: string
|
|
38
|
+
/**
|
|
39
|
+
* 电子印章图片文件名称
|
|
40
|
+
*/
|
|
41
|
+
FileName?: string
|
|
42
|
+
/**
|
|
43
|
+
* 电子印章图片base64编码
|
|
44
|
+
参数Image,FileToken或GenerateSource=SealGenerateSourceSystem三选一。
|
|
45
|
+
*/
|
|
46
|
+
Image?: string
|
|
47
|
+
/**
|
|
48
|
+
* 电子印章宽度,单位px
|
|
49
|
+
参数不再启用,系统会设置印章大小为标准尺寸。
|
|
50
|
+
*/
|
|
51
|
+
Width?: number
|
|
52
|
+
/**
|
|
53
|
+
* 电子印章高度,单位px
|
|
54
|
+
参数不再启用,系统会设置印章大小为标准尺寸。
|
|
55
|
+
*/
|
|
56
|
+
Height?: number
|
|
57
|
+
/**
|
|
58
|
+
* 电子印章印章颜色(默认红色RED),RED-红色
|
|
59
|
+
|
|
60
|
+
系统目前只支持红色印章创建。
|
|
61
|
+
*/
|
|
62
|
+
Color?: string
|
|
63
|
+
/**
|
|
64
|
+
* 电子印章生成时的横向文字。
|
|
65
|
+
*/
|
|
66
|
+
SealHorizontalText?: string
|
|
67
|
+
/**
|
|
68
|
+
* 电子印章下弦文字
|
|
69
|
+
*/
|
|
70
|
+
SealChordText?: string
|
|
71
|
+
/**
|
|
72
|
+
* 电子印章中心图案类型,STAR-圆形有五角星,NONE-圆形无五角星
|
|
73
|
+
系统生成的印章只支持STAR
|
|
74
|
+
*/
|
|
75
|
+
SealCentralType?: string
|
|
76
|
+
/**
|
|
77
|
+
* 通过文件上传时,服务端生成的电子印章上传图片的token
|
|
78
|
+
|
|
79
|
+
*/
|
|
80
|
+
FileToken?: string
|
|
81
|
+
/**
|
|
82
|
+
* 印章生成来源方式
|
|
83
|
+
取值:
|
|
84
|
+
SealGenerateSourceSystem 表示系统生成企业印章
|
|
85
|
+
*/
|
|
86
|
+
GenerateSource?: string
|
|
87
|
+
}
|
|
88
|
+
|
|
18
89
|
/**
|
|
19
90
|
* ModifyIntegrationDepartment返回参数结构体
|
|
20
91
|
*/
|
|
@@ -2610,7 +2681,7 @@ export interface SuccessCreateStaffData {
|
|
|
2610
2681
|
*/
|
|
2611
2682
|
UserId: string
|
|
2612
2683
|
/**
|
|
2613
|
-
*
|
|
2684
|
+
* 提示,当创建已存在未实名用户时,该字段有值
|
|
2614
2685
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2615
2686
|
*/
|
|
2616
2687
|
Note?: string
|
|
@@ -3230,7 +3301,7 @@ export interface DeleteIntegrationDepartmentRequest {
|
|
|
3230
3301
|
*/
|
|
3231
3302
|
DeptId: string
|
|
3232
3303
|
/**
|
|
3233
|
-
* 交接部门ID
|
|
3304
|
+
* 交接部门ID。待删除部门中的合同、印章和模板数据,交接至该部门ID下,未填写交接至公司根部门。
|
|
3234
3305
|
*/
|
|
3235
3306
|
ReceiveDeptId?: string
|
|
3236
3307
|
}
|
|
@@ -3300,6 +3371,20 @@ export interface StartFlowRequest {
|
|
|
3300
3371
|
CcNotifyType?: number
|
|
3301
3372
|
}
|
|
3302
3373
|
|
|
3374
|
+
/**
|
|
3375
|
+
* CreateSeal返回参数结构体
|
|
3376
|
+
*/
|
|
3377
|
+
export interface CreateSealResponse {
|
|
3378
|
+
/**
|
|
3379
|
+
* 电子印章编号
|
|
3380
|
+
*/
|
|
3381
|
+
SealId?: string
|
|
3382
|
+
/**
|
|
3383
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3384
|
+
*/
|
|
3385
|
+
RequestId?: string
|
|
3386
|
+
}
|
|
3387
|
+
|
|
3303
3388
|
/**
|
|
3304
3389
|
* CreatePrepareFlow请求参数结构体
|
|
3305
3390
|
*/
|
|
@@ -3489,7 +3574,7 @@ MULTI_LINE_TEXT - 多行文本控件,输入文本字符串;
|
|
|
3489
3574
|
CHECK_BOX - 勾选框控件,若选中填写ComponentValue 填写 true或者 false 字符串;
|
|
3490
3575
|
FILL_IMAGE - 图片控件,ComponentValue 填写图片的资源 ID;
|
|
3491
3576
|
DYNAMIC_TABLE - 动态表格控件;
|
|
3492
|
-
ATTACHMENT - 附件控件,ComponentValue 填写附件图片的资源 ID
|
|
3577
|
+
ATTACHMENT - 附件控件,ComponentValue 填写附件图片的资源 ID列表,以逗号分隔;
|
|
3493
3578
|
SELECTOR - 选择器控件,ComponentValue填写选择的字符串内容;
|
|
3494
3579
|
DATE - 日期控件;默认是格式化为xxxx年xx月xx日字符串;
|
|
3495
3580
|
DISTRICT - 省市区行政区控件,ComponentValue填写省市区行政区字符串内容;
|
|
@@ -3568,7 +3653,7 @@ ComponentType为SIGN_DATE时,支持以下参数:
|
|
|
3568
3653
|
2 FontSize: 数字类型,范围6-72,默认值为12
|
|
3569
3654
|
3 FontAlign: 字符串类型,可取Left/Right/Center,对应左对齐/居中/右对齐
|
|
3570
3655
|
4 Format: 字符串类型,日期格式,必须是以下五种之一 “yyyy m d”,”yyyy年m月d日”,”yyyy/m/d”,”yyyy-m-d”,”yyyy.m.d”。
|
|
3571
|
-
5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2
|
|
3656
|
+
5 Gaps:: 字符串类型,仅在Format为“yyyy m d”时起作用,格式为用逗号分开的两个整数,例如”2,2”,两个数字分别是日期格式的前后两个空隙中的空格个数
|
|
3572
3657
|
如果extra参数为空,默认为”yyyy年m月d日”格式的居中日期
|
|
3573
3658
|
特别地,如果extra中Format字段为空或无法被识别,则extra参数会被当作默认值处理(Font,FontSize,Gaps和FontAlign都不会起效)
|
|
3574
3659
|
参数样例: "ComponentExtra": "{\"Format\":“yyyy m d”,\"FontSize\":12,\"Gaps\":\"2,2\", \"FontAlign\":\"Right\"}",
|
|
@@ -31,11 +31,13 @@ import {
|
|
|
31
31
|
DeleteJobsRequest,
|
|
32
32
|
StopJobDescription,
|
|
33
33
|
CreateFolderRequest,
|
|
34
|
+
TriggerJobSavepointResponse,
|
|
34
35
|
ModifyJobResponse,
|
|
35
36
|
ClusterSession,
|
|
36
37
|
CreateJobConfigResponse,
|
|
37
38
|
CreateResourceConfigResponse,
|
|
38
39
|
CreateJobConfigRequest,
|
|
40
|
+
TriggerJobSavepointRequest,
|
|
39
41
|
CreateResourceConfigRequest,
|
|
40
42
|
DescribeSystemResourcesResponse,
|
|
41
43
|
ClusterVersion,
|
|
@@ -50,13 +52,14 @@ import {
|
|
|
50
52
|
DeleteResourcesResponse,
|
|
51
53
|
DeleteTableConfigResponse,
|
|
52
54
|
ResourceConfigItem,
|
|
53
|
-
|
|
55
|
+
RoleAuth,
|
|
54
56
|
Tag,
|
|
55
57
|
DescribeTreeResourcesRsp,
|
|
56
58
|
DescribeResourcesRequest,
|
|
57
59
|
TreeResourceItem,
|
|
58
60
|
RefJobStatusCountItem,
|
|
59
61
|
ResourceLocParam,
|
|
62
|
+
WorkSpaceSetItem,
|
|
60
63
|
ResourceRefJobInfo,
|
|
61
64
|
DescribeJobConfigsRequest,
|
|
62
65
|
CheckSavepointResponse,
|
|
@@ -68,11 +71,13 @@ import {
|
|
|
68
71
|
Filter,
|
|
69
72
|
DeleteResourcesRequest,
|
|
70
73
|
DescribeJobsResponse,
|
|
74
|
+
DescribeWorkSpacesResponse,
|
|
71
75
|
ResourceItem,
|
|
72
76
|
WorkSpaceClusterItem,
|
|
73
77
|
StopJobsResponse,
|
|
74
78
|
DescribeJobSavepointRequest,
|
|
75
79
|
CreateResourceResponse,
|
|
80
|
+
ClusterGroupSetItem,
|
|
76
81
|
DescribeSystemResourcesRequest,
|
|
77
82
|
CreateFolderResponse,
|
|
78
83
|
CopyJobItem,
|
|
@@ -86,7 +91,7 @@ import {
|
|
|
86
91
|
DescribeResourcesResponse,
|
|
87
92
|
Cluster,
|
|
88
93
|
DescribeClustersResponse,
|
|
89
|
-
|
|
94
|
+
DescribeWorkSpacesRequest,
|
|
90
95
|
DescribeResourceConfigsResponse,
|
|
91
96
|
ResourceRef,
|
|
92
97
|
DescribeJobsRequest,
|
|
@@ -205,6 +210,16 @@ export class Client extends AbstractClient {
|
|
|
205
210
|
return this.request("DescribeClusters", req, cb)
|
|
206
211
|
}
|
|
207
212
|
|
|
213
|
+
/**
|
|
214
|
+
* 批量删除作业接口,批量操作数量上限20
|
|
215
|
+
*/
|
|
216
|
+
async DeleteJobs(
|
|
217
|
+
req: DeleteJobsRequest,
|
|
218
|
+
cb?: (error: string, rep: DeleteJobsResponse) => void
|
|
219
|
+
): Promise<DeleteJobsResponse> {
|
|
220
|
+
return this.request("DeleteJobs", req, cb)
|
|
221
|
+
}
|
|
222
|
+
|
|
208
223
|
/**
|
|
209
224
|
* 新建作业接口,一个 AppId 最多允许创建1000个作业
|
|
210
225
|
*/
|
|
@@ -236,13 +251,13 @@ export class Client extends AbstractClient {
|
|
|
236
251
|
}
|
|
237
252
|
|
|
238
253
|
/**
|
|
239
|
-
*
|
|
254
|
+
* 授权工作空间列表
|
|
240
255
|
*/
|
|
241
|
-
async
|
|
242
|
-
req:
|
|
243
|
-
cb?: (error: string, rep:
|
|
244
|
-
): Promise<
|
|
245
|
-
return this.request("
|
|
256
|
+
async DescribeWorkSpaces(
|
|
257
|
+
req: DescribeWorkSpacesRequest,
|
|
258
|
+
cb?: (error: string, rep: DescribeWorkSpacesResponse) => void
|
|
259
|
+
): Promise<DescribeWorkSpacesResponse> {
|
|
260
|
+
return this.request("DescribeWorkSpaces", req, cb)
|
|
246
261
|
}
|
|
247
262
|
|
|
248
263
|
/**
|
|
@@ -322,6 +322,35 @@ export interface CreateFolderRequest {
|
|
|
322
322
|
WorkSpaceId?: string
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
+
/**
|
|
326
|
+
* TriggerJobSavepoint返回参数结构体
|
|
327
|
+
*/
|
|
328
|
+
export interface TriggerJobSavepointResponse {
|
|
329
|
+
/**
|
|
330
|
+
* 是否成功
|
|
331
|
+
*/
|
|
332
|
+
SavepointTrigger: boolean
|
|
333
|
+
/**
|
|
334
|
+
* 错误消息
|
|
335
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
336
|
+
*/
|
|
337
|
+
ErrorMsg: string
|
|
338
|
+
/**
|
|
339
|
+
* 快照路径
|
|
340
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
341
|
+
*/
|
|
342
|
+
FinalSavepointPath: string
|
|
343
|
+
/**
|
|
344
|
+
* 快照 ID
|
|
345
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
346
|
+
*/
|
|
347
|
+
SavepointId: string
|
|
348
|
+
/**
|
|
349
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
350
|
+
*/
|
|
351
|
+
RequestId?: string
|
|
352
|
+
}
|
|
353
|
+
|
|
325
354
|
/**
|
|
326
355
|
* ModifyJob返回参数结构体
|
|
327
356
|
*/
|
|
@@ -447,6 +476,24 @@ export interface CreateJobConfigRequest {
|
|
|
447
476
|
AutoRecover?: number
|
|
448
477
|
}
|
|
449
478
|
|
|
479
|
+
/**
|
|
480
|
+
* TriggerJobSavepoint请求参数结构体
|
|
481
|
+
*/
|
|
482
|
+
export interface TriggerJobSavepointRequest {
|
|
483
|
+
/**
|
|
484
|
+
* 作业 SerialId
|
|
485
|
+
*/
|
|
486
|
+
JobId: string
|
|
487
|
+
/**
|
|
488
|
+
* 描述
|
|
489
|
+
*/
|
|
490
|
+
Description?: string
|
|
491
|
+
/**
|
|
492
|
+
* 工作空间 SerialId
|
|
493
|
+
*/
|
|
494
|
+
WorkSpaceId?: string
|
|
495
|
+
}
|
|
496
|
+
|
|
450
497
|
/**
|
|
451
498
|
* CreateResourceConfig请求参数结构体
|
|
452
499
|
*/
|
|
@@ -826,32 +873,60 @@ export interface ResourceConfigItem {
|
|
|
826
873
|
}
|
|
827
874
|
|
|
828
875
|
/**
|
|
829
|
-
*
|
|
876
|
+
* 角色授权信息
|
|
830
877
|
*/
|
|
831
|
-
export interface
|
|
878
|
+
export interface RoleAuth {
|
|
832
879
|
/**
|
|
833
|
-
*
|
|
880
|
+
* 用户 AppID
|
|
834
881
|
*/
|
|
835
|
-
|
|
882
|
+
AppId?: number
|
|
836
883
|
/**
|
|
837
|
-
*
|
|
838
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
884
|
+
* 工作空间 SerialId
|
|
839
885
|
*/
|
|
840
|
-
|
|
886
|
+
WorkSpaceSerialId?: string
|
|
841
887
|
/**
|
|
842
|
-
*
|
|
888
|
+
* 主账号 UIN
|
|
889
|
+
*/
|
|
890
|
+
OwnerUin?: string
|
|
891
|
+
/**
|
|
892
|
+
* 创建者 UIN
|
|
893
|
+
*/
|
|
894
|
+
CreatorUin?: string
|
|
895
|
+
/**
|
|
896
|
+
* 绑定授权的 UIN
|
|
897
|
+
*/
|
|
898
|
+
AuthSubAccountUin?: string
|
|
899
|
+
/**
|
|
900
|
+
* 对应 role表的id
|
|
901
|
+
*/
|
|
902
|
+
Permission?: number
|
|
903
|
+
/**
|
|
904
|
+
* 创建时间
|
|
905
|
+
*/
|
|
906
|
+
CreateTime?: string
|
|
907
|
+
/**
|
|
908
|
+
* 最后一次操作时间
|
|
909
|
+
*/
|
|
910
|
+
UpdateTime?: string
|
|
911
|
+
/**
|
|
912
|
+
* 2 启用 1 停用
|
|
913
|
+
*/
|
|
914
|
+
Status?: number
|
|
915
|
+
/**
|
|
916
|
+
* id
|
|
843
917
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
844
918
|
*/
|
|
845
|
-
|
|
919
|
+
Id?: number
|
|
846
920
|
/**
|
|
847
|
-
*
|
|
921
|
+
* 工作空间id
|
|
848
922
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
849
923
|
*/
|
|
850
|
-
|
|
924
|
+
WorkSpaceId?: number
|
|
851
925
|
/**
|
|
852
|
-
*
|
|
926
|
+
* 权限名称
|
|
927
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
853
928
|
*/
|
|
854
|
-
|
|
929
|
+
RoleName?: string
|
|
855
930
|
}
|
|
856
931
|
|
|
857
932
|
/**
|
|
@@ -1004,6 +1079,73 @@ export interface ResourceLocParam {
|
|
|
1004
1079
|
Region?: string
|
|
1005
1080
|
}
|
|
1006
1081
|
|
|
1082
|
+
/**
|
|
1083
|
+
* 工作空间详情
|
|
1084
|
+
*/
|
|
1085
|
+
export interface WorkSpaceSetItem {
|
|
1086
|
+
/**
|
|
1087
|
+
* 工作空间 SerialId
|
|
1088
|
+
*/
|
|
1089
|
+
SerialId: string
|
|
1090
|
+
/**
|
|
1091
|
+
* 用户 APPID
|
|
1092
|
+
*/
|
|
1093
|
+
AppId: number
|
|
1094
|
+
/**
|
|
1095
|
+
* 主账号 UIN
|
|
1096
|
+
*/
|
|
1097
|
+
OwnerUin: string
|
|
1098
|
+
/**
|
|
1099
|
+
* 创建者 UIN
|
|
1100
|
+
*/
|
|
1101
|
+
CreatorUin: string
|
|
1102
|
+
/**
|
|
1103
|
+
* 工作空间名称
|
|
1104
|
+
*/
|
|
1105
|
+
WorkSpaceName: string
|
|
1106
|
+
/**
|
|
1107
|
+
* 区域
|
|
1108
|
+
*/
|
|
1109
|
+
Region: string
|
|
1110
|
+
/**
|
|
1111
|
+
* 创建时间
|
|
1112
|
+
*/
|
|
1113
|
+
CreateTime: string
|
|
1114
|
+
/**
|
|
1115
|
+
* 更新时间
|
|
1116
|
+
*/
|
|
1117
|
+
UpdateTime: string
|
|
1118
|
+
/**
|
|
1119
|
+
* 1 未初始化 2 可用 -1 已删除
|
|
1120
|
+
*/
|
|
1121
|
+
Status: number
|
|
1122
|
+
/**
|
|
1123
|
+
* 工作空间描述
|
|
1124
|
+
*/
|
|
1125
|
+
Description: string
|
|
1126
|
+
/**
|
|
1127
|
+
* 工作空间包含集群信息
|
|
1128
|
+
*/
|
|
1129
|
+
ClusterGroupSetItem: Array<ClusterGroupSetItem>
|
|
1130
|
+
/**
|
|
1131
|
+
* 工作空间角色的信息
|
|
1132
|
+
*/
|
|
1133
|
+
RoleAuth: Array<RoleAuth>
|
|
1134
|
+
/**
|
|
1135
|
+
* 工作空间成员数量
|
|
1136
|
+
*/
|
|
1137
|
+
RoleAuthCount: number
|
|
1138
|
+
/**
|
|
1139
|
+
* 工作空间 SerialId
|
|
1140
|
+
*/
|
|
1141
|
+
WorkSpaceId: string
|
|
1142
|
+
/**
|
|
1143
|
+
* 1
|
|
1144
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1145
|
+
*/
|
|
1146
|
+
JobsCount: number
|
|
1147
|
+
}
|
|
1148
|
+
|
|
1007
1149
|
/**
|
|
1008
1150
|
* 资源被Job 引用信息
|
|
1009
1151
|
*/
|
|
@@ -1228,6 +1370,25 @@ export interface DescribeJobsResponse {
|
|
|
1228
1370
|
RequestId?: string
|
|
1229
1371
|
}
|
|
1230
1372
|
|
|
1373
|
+
/**
|
|
1374
|
+
* DescribeWorkSpaces返回参数结构体
|
|
1375
|
+
*/
|
|
1376
|
+
export interface DescribeWorkSpacesResponse {
|
|
1377
|
+
/**
|
|
1378
|
+
* 空间详情列表
|
|
1379
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1380
|
+
*/
|
|
1381
|
+
WorkSpaceSetItem?: Array<WorkSpaceSetItem>
|
|
1382
|
+
/**
|
|
1383
|
+
* 空间总数
|
|
1384
|
+
*/
|
|
1385
|
+
TotalCount?: number
|
|
1386
|
+
/**
|
|
1387
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1388
|
+
*/
|
|
1389
|
+
RequestId?: string
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1231
1392
|
/**
|
|
1232
1393
|
* 资源详细描述
|
|
1233
1394
|
*/
|
|
@@ -1402,6 +1563,88 @@ export interface CreateResourceResponse {
|
|
|
1402
1563
|
RequestId?: string
|
|
1403
1564
|
}
|
|
1404
1565
|
|
|
1566
|
+
/**
|
|
1567
|
+
* 工作空间集群组信息
|
|
1568
|
+
*/
|
|
1569
|
+
export interface ClusterGroupSetItem {
|
|
1570
|
+
/**
|
|
1571
|
+
* clusterGroup 的 SerialId
|
|
1572
|
+
*/
|
|
1573
|
+
ClusterId: string
|
|
1574
|
+
/**
|
|
1575
|
+
* 集群名称
|
|
1576
|
+
*/
|
|
1577
|
+
Name: string
|
|
1578
|
+
/**
|
|
1579
|
+
* 地域
|
|
1580
|
+
*/
|
|
1581
|
+
Region: string
|
|
1582
|
+
/**
|
|
1583
|
+
* 区
|
|
1584
|
+
*/
|
|
1585
|
+
Zone: string
|
|
1586
|
+
/**
|
|
1587
|
+
* 账号 APPID
|
|
1588
|
+
*/
|
|
1589
|
+
AppId: number
|
|
1590
|
+
/**
|
|
1591
|
+
* 主账号 UIN
|
|
1592
|
+
*/
|
|
1593
|
+
OwnerUin: string
|
|
1594
|
+
/**
|
|
1595
|
+
* 创建账号 UIN
|
|
1596
|
+
*/
|
|
1597
|
+
CreatorUin: string
|
|
1598
|
+
/**
|
|
1599
|
+
* CU 数量
|
|
1600
|
+
*/
|
|
1601
|
+
CuNum: number
|
|
1602
|
+
/**
|
|
1603
|
+
* CU 内存规格
|
|
1604
|
+
*/
|
|
1605
|
+
CuMem: number
|
|
1606
|
+
/**
|
|
1607
|
+
* 集群状态, 1 未初始化,,3 初始化中,2 运行中
|
|
1608
|
+
*/
|
|
1609
|
+
Status: number
|
|
1610
|
+
/**
|
|
1611
|
+
* 状态描述
|
|
1612
|
+
*/
|
|
1613
|
+
StatusDesc: string
|
|
1614
|
+
/**
|
|
1615
|
+
* 集群创建时间
|
|
1616
|
+
*/
|
|
1617
|
+
CreateTime: string
|
|
1618
|
+
/**
|
|
1619
|
+
* 最后一次操作集群的时间
|
|
1620
|
+
*/
|
|
1621
|
+
UpdateTime: string
|
|
1622
|
+
/**
|
|
1623
|
+
* 描述
|
|
1624
|
+
*/
|
|
1625
|
+
Remark: string
|
|
1626
|
+
/**
|
|
1627
|
+
* 网络
|
|
1628
|
+
*/
|
|
1629
|
+
NetEnvironmentType: number
|
|
1630
|
+
/**
|
|
1631
|
+
* 空闲 CU
|
|
1632
|
+
*/
|
|
1633
|
+
FreeCuNum: number
|
|
1634
|
+
/**
|
|
1635
|
+
* 细粒度资源下的空闲CU
|
|
1636
|
+
*/
|
|
1637
|
+
FreeCu: number
|
|
1638
|
+
/**
|
|
1639
|
+
* 运行中CU
|
|
1640
|
+
*/
|
|
1641
|
+
RunningCu?: number
|
|
1642
|
+
/**
|
|
1643
|
+
* 付费模式
|
|
1644
|
+
*/
|
|
1645
|
+
PayMode?: number
|
|
1646
|
+
}
|
|
1647
|
+
|
|
1405
1648
|
/**
|
|
1406
1649
|
* DescribeSystemResources请求参数结构体
|
|
1407
1650
|
*/
|
|
@@ -1812,21 +2055,25 @@ export interface DescribeClustersResponse {
|
|
|
1812
2055
|
}
|
|
1813
2056
|
|
|
1814
2057
|
/**
|
|
1815
|
-
*
|
|
2058
|
+
* DescribeWorkSpaces请求参数结构体
|
|
1816
2059
|
*/
|
|
1817
|
-
export interface
|
|
2060
|
+
export interface DescribeWorkSpacesRequest {
|
|
1818
2061
|
/**
|
|
1819
|
-
*
|
|
2062
|
+
* 偏移量,默认 0
|
|
1820
2063
|
*/
|
|
1821
|
-
|
|
2064
|
+
Offset?: number
|
|
1822
2065
|
/**
|
|
1823
|
-
*
|
|
2066
|
+
* 1 按照创建时间降序排序(默认) 2.按照创建时间升序排序,3. 按照状态降序排序 4. 按照状态升序排序 默认为0
|
|
1824
2067
|
*/
|
|
1825
|
-
|
|
2068
|
+
OrderType?: number
|
|
1826
2069
|
/**
|
|
1827
|
-
*
|
|
2070
|
+
* 请求的集群数量,默认 20
|
|
1828
2071
|
*/
|
|
1829
|
-
|
|
2072
|
+
Limit?: number
|
|
2073
|
+
/**
|
|
2074
|
+
* 过滤规则
|
|
2075
|
+
*/
|
|
2076
|
+
Filters?: Array<Filter>
|
|
1830
2077
|
}
|
|
1831
2078
|
|
|
1832
2079
|
/**
|
|
@@ -236,7 +236,7 @@ export interface UpgradeInstanceVersionResponse {
|
|
|
236
236
|
/**
|
|
237
237
|
* 订单ID
|
|
238
238
|
*/
|
|
239
|
-
DealId
|
|
239
|
+
DealId?: string
|
|
240
240
|
/**
|
|
241
241
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
242
242
|
*/
|
|
@@ -989,15 +989,22 @@ export interface ClearInstanceRequest {
|
|
|
989
989
|
*/
|
|
990
990
|
export interface UpgradeInstanceVersionRequest {
|
|
991
991
|
/**
|
|
992
|
-
* 目标实例类型,同 [CreateInstances](https://cloud.tencent.com/document/api/239/20026)
|
|
992
|
+
* 目标实例类型,同 [CreateInstances](https://cloud.tencent.com/document/api/239/20026) 的**TypeId**,即实例要变更的目标类型。
|
|
993
|
+
- Redis 4.0 及以上的版本,支持相同版本的实例从标准架构升级至集群架构,例如,支持 Redis 4.0 标准架构升级至 Redis 4.0 集群架构。
|
|
994
|
+
- 不支持跨版本架构升级,例如,Redis 4.0 标准架构升级至 Redis 5.0 集群架构。
|
|
995
|
+
- 不支持 Redis 2.8 版本升级架构。
|
|
996
|
+
- 不支持从集群架构降级至标准架构。
|
|
997
|
+
|
|
993
998
|
*/
|
|
994
999
|
TargetInstanceType: string
|
|
995
1000
|
/**
|
|
996
|
-
*
|
|
1001
|
+
* 切换时间。
|
|
1002
|
+
- 1:维护时间窗切换。
|
|
1003
|
+
- 2:立即切换。
|
|
997
1004
|
*/
|
|
998
1005
|
SwitchOption: number
|
|
999
1006
|
/**
|
|
1000
|
-
*
|
|
1007
|
+
* 指定实例 ID。例如:crs-xjhsdj****,请登录[Redis控制台](https://console.cloud.tencent.com/redis#/)在实例列表复制实例 ID。
|
|
1001
1008
|
*/
|
|
1002
1009
|
InstanceId: string
|
|
1003
1010
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const sdkVersion = "4.0.
|
|
1
|
+
export declare const sdkVersion = "4.0.624";
|
|
@@ -2185,11 +2185,11 @@ export interface DescribeBinlogsRequest {
|
|
|
2185
2185
|
*/
|
|
2186
2186
|
Limit?: number;
|
|
2187
2187
|
/**
|
|
2188
|
-
* binlog
|
|
2188
|
+
* binlog最早开始时间,时间格式:2016-03-17 02:10:37
|
|
2189
2189
|
*/
|
|
2190
2190
|
MinStartTime?: string;
|
|
2191
2191
|
/**
|
|
2192
|
-
* binlog
|
|
2192
|
+
* binlog最晚开始时间,时间格式:2016-03-17 02:10:37
|
|
2193
2193
|
*/
|
|
2194
2194
|
MaxStartTime?: string;
|
|
2195
2195
|
}
|