tencentcloud-sdk-nodejs 4.0.872 → 4.0.873
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 +110 -0
- package/SERVICE_CHANGELOG.md +134 -86
- package/package.json +1 -1
- package/products.md +13 -13
- package/src/common/sdk_version.ts +1 -1
- package/src/services/billing/v20180709/billing_models.ts +2 -2
- package/src/services/cam/v20190116/cam_client.ts +45 -32
- package/src/services/cam/v20190116/cam_models.ts +124 -54
- package/src/services/cat/v20180409/cat_models.ts +5 -0
- package/src/services/cds/v20180420/cds_client.ts +4 -2
- package/src/services/cls/v20201016/cls_models.ts +9 -0
- package/src/services/essbasic/v20210526/essbasic_client.ts +4 -4
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +2 -2
- package/src/services/mongodb/v20190725/mongodb_client.ts +52 -3
- package/src/services/mongodb/v20190725/mongodb_models.ts +203 -32
- package/src/services/tmt/v20180321/tmt_models.ts +4 -4
- package/src/services/trtc/v20190722/trtc_models.ts +1 -1
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +2 -2
- package/tencentcloud/services/cam/v20190116/cam_client.d.ts +15 -11
- package/tencentcloud/services/cam/v20190116/cam_client.js +21 -15
- package/tencentcloud/services/cam/v20190116/cam_models.d.ts +120 -53
- package/tencentcloud/services/cat/v20180409/cat_models.d.ts +5 -0
- package/tencentcloud/services/cds/v20180420/cds_client.d.ts +3 -1
- package/tencentcloud/services/cds/v20180420/cds_client.js +3 -1
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +9 -0
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +4 -4
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +4 -4
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +2 -2
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +17 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +24 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +194 -32
- package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +4 -4
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +1 -1
- package/test/cam.v20190116.test.js +26 -16
- package/test/mongodb.v20190725.test.js +40 -0
|
@@ -68,6 +68,7 @@ import {
|
|
|
68
68
|
CreateAccessKeyResponse,
|
|
69
69
|
DeletePolicyVersionResponse,
|
|
70
70
|
CreateAccessKeyRequest,
|
|
71
|
+
BuildDataFlowAuthTokenRequest,
|
|
71
72
|
GetRolePermissionBoundaryResponse,
|
|
72
73
|
AttachedUserPolicyGroupInfo,
|
|
73
74
|
ListGroupsForUserResponse,
|
|
@@ -94,6 +95,7 @@ import {
|
|
|
94
95
|
GetUserResponse,
|
|
95
96
|
GetUserPermissionBoundaryResponse,
|
|
96
97
|
CreatePolicyResponse,
|
|
98
|
+
ListGroupsResponse,
|
|
97
99
|
DetachRolePolicyRequest,
|
|
98
100
|
UntagRoleResponse,
|
|
99
101
|
ListPoliciesGrantingServiceAccessResponse,
|
|
@@ -108,6 +110,7 @@ import {
|
|
|
108
110
|
DeleteRoleRequest,
|
|
109
111
|
ListWeChatWorkSubAccountsRequest,
|
|
110
112
|
UpdateRoleConsoleLoginRequest,
|
|
113
|
+
BuildDataFlowAuthTokenResponse,
|
|
111
114
|
UpdateUserResponse,
|
|
112
115
|
UpdateAssumeRolePolicyResponse,
|
|
113
116
|
GetPolicyVersionRequest,
|
|
@@ -118,7 +121,6 @@ import {
|
|
|
118
121
|
SubAccountInfo,
|
|
119
122
|
CreateGroupRequest,
|
|
120
123
|
SAMLProviderInfo,
|
|
121
|
-
ListGrantServiceAccessPolicy,
|
|
122
124
|
DisableUserSSORequest,
|
|
123
125
|
ListPoliciesGrantingServiceAccessRequest,
|
|
124
126
|
UpdateSAMLProviderResponse,
|
|
@@ -134,7 +136,7 @@ import {
|
|
|
134
136
|
AttachUserPolicyRequest,
|
|
135
137
|
ListAttachedGroupPoliciesResponse,
|
|
136
138
|
ListAttachedUserPoliciesResponse,
|
|
137
|
-
|
|
139
|
+
AuthToken,
|
|
138
140
|
PutUserPermissionsBoundaryResponse,
|
|
139
141
|
GetPolicyVersionResponse,
|
|
140
142
|
GetCustomMFATokenInfoResponse,
|
|
@@ -151,7 +153,7 @@ import {
|
|
|
151
153
|
ListUsersRequest,
|
|
152
154
|
ListCollaboratorsRequest,
|
|
153
155
|
CreateUserOIDCConfigRequest,
|
|
154
|
-
|
|
156
|
+
AddUserResponse,
|
|
155
157
|
UpdateGroupResponse,
|
|
156
158
|
ListEntitiesForPolicyRequest,
|
|
157
159
|
TagRoleRequest,
|
|
@@ -200,7 +202,7 @@ import {
|
|
|
200
202
|
AttachEntityOfPolicy,
|
|
201
203
|
DeleteOIDCConfigResponse,
|
|
202
204
|
PolicyVersionDetail,
|
|
203
|
-
|
|
205
|
+
ListGrantServiceAccessPolicy,
|
|
204
206
|
ListGrantServiceAccessService,
|
|
205
207
|
CreateUserSAMLConfigResponse,
|
|
206
208
|
DescribeSubAccountsResponse,
|
|
@@ -216,6 +218,7 @@ import {
|
|
|
216
218
|
ListAccessKeysResponse,
|
|
217
219
|
GetSecurityLastUsedResponse,
|
|
218
220
|
ListAttachedUserPoliciesRequest,
|
|
221
|
+
AttachGroupPolicyResponse,
|
|
219
222
|
UpdatePolicyRequest,
|
|
220
223
|
DeleteOIDCConfigRequest,
|
|
221
224
|
CreateMessageReceiverResponse,
|
|
@@ -332,13 +335,13 @@ export class Client extends AbstractClient {
|
|
|
332
335
|
}
|
|
333
336
|
|
|
334
337
|
/**
|
|
335
|
-
*
|
|
338
|
+
* 修改用户OIDC配置
|
|
336
339
|
*/
|
|
337
|
-
async
|
|
338
|
-
req:
|
|
339
|
-
cb?: (error: string, rep:
|
|
340
|
-
): Promise<
|
|
341
|
-
return this.request("
|
|
340
|
+
async UpdateUserOIDCConfig(
|
|
341
|
+
req: UpdateUserOIDCConfigRequest,
|
|
342
|
+
cb?: (error: string, rep: UpdateUserOIDCConfigResponse) => void
|
|
343
|
+
): Promise<UpdateUserOIDCConfigResponse> {
|
|
344
|
+
return this.request("UpdateUserOIDCConfig", req, cb)
|
|
342
345
|
}
|
|
343
346
|
|
|
344
347
|
/**
|
|
@@ -401,6 +404,16 @@ export class Client extends AbstractClient {
|
|
|
401
404
|
return this.request("UpdateRoleDescription", req, cb)
|
|
402
405
|
}
|
|
403
406
|
|
|
407
|
+
/**
|
|
408
|
+
* 获取数据流认证Token
|
|
409
|
+
*/
|
|
410
|
+
async BuildDataFlowAuthToken(
|
|
411
|
+
req: BuildDataFlowAuthTokenRequest,
|
|
412
|
+
cb?: (error: string, rep: BuildDataFlowAuthTokenResponse) => void
|
|
413
|
+
): Promise<BuildDataFlowAuthTokenResponse> {
|
|
414
|
+
return this.request("BuildDataFlowAuthToken", req, cb)
|
|
415
|
+
}
|
|
416
|
+
|
|
404
417
|
/**
|
|
405
418
|
* 更新SAML身份提供商信息
|
|
406
419
|
*/
|
|
@@ -733,6 +746,16 @@ export class Client extends AbstractClient {
|
|
|
733
746
|
return this.request("GetSecurityLastUsed", req, cb)
|
|
734
747
|
}
|
|
735
748
|
|
|
749
|
+
/**
|
|
750
|
+
* 创建用户组
|
|
751
|
+
*/
|
|
752
|
+
async CreateGroup(
|
|
753
|
+
req: CreateGroupRequest,
|
|
754
|
+
cb?: (error: string, rep: CreateGroupResponse) => void
|
|
755
|
+
): Promise<CreateGroupResponse> {
|
|
756
|
+
return this.request("CreateGroup", req, cb)
|
|
757
|
+
}
|
|
758
|
+
|
|
736
759
|
/**
|
|
737
760
|
* 本接口(DeletePolicy)可用于删除策略。
|
|
738
761
|
*/
|
|
@@ -744,13 +767,13 @@ export class Client extends AbstractClient {
|
|
|
744
767
|
}
|
|
745
768
|
|
|
746
769
|
/**
|
|
747
|
-
*
|
|
770
|
+
* 本接口(DeletePolicyVersion)可用于删除一个策略的策略版本。
|
|
748
771
|
*/
|
|
749
|
-
async
|
|
750
|
-
req:
|
|
751
|
-
cb?: (error: string, rep:
|
|
752
|
-
): Promise<
|
|
753
|
-
return this.request("
|
|
772
|
+
async DeletePolicyVersion(
|
|
773
|
+
req: DeletePolicyVersionRequest,
|
|
774
|
+
cb?: (error: string, rep: DeletePolicyVersionResponse) => void
|
|
775
|
+
): Promise<DeletePolicyVersionResponse> {
|
|
776
|
+
return this.request("DeletePolicyVersion", req, cb)
|
|
754
777
|
}
|
|
755
778
|
|
|
756
779
|
/**
|
|
@@ -984,13 +1007,13 @@ export class Client extends AbstractClient {
|
|
|
984
1007
|
}
|
|
985
1008
|
|
|
986
1009
|
/**
|
|
987
|
-
*
|
|
1010
|
+
* 删除用户权限边界
|
|
988
1011
|
*/
|
|
989
|
-
async
|
|
990
|
-
req:
|
|
991
|
-
cb?: (error: string, rep:
|
|
992
|
-
): Promise<
|
|
993
|
-
return this.request("
|
|
1012
|
+
async DeleteUserPermissionsBoundary(
|
|
1013
|
+
req: DeleteUserPermissionsBoundaryRequest,
|
|
1014
|
+
cb?: (error: string, rep: DeleteUserPermissionsBoundaryResponse) => void
|
|
1015
|
+
): Promise<DeleteUserPermissionsBoundaryResponse> {
|
|
1016
|
+
return this.request("DeleteUserPermissionsBoundary", req, cb)
|
|
994
1017
|
}
|
|
995
1018
|
|
|
996
1019
|
/**
|
|
@@ -1073,16 +1096,6 @@ export class Client extends AbstractClient {
|
|
|
1073
1096
|
return this.request("GetRole", req, cb)
|
|
1074
1097
|
}
|
|
1075
1098
|
|
|
1076
|
-
/**
|
|
1077
|
-
* 本接口(DeletePolicyVersion)可用于删除一个策略的策略版本。
|
|
1078
|
-
*/
|
|
1079
|
-
async DeletePolicyVersion(
|
|
1080
|
-
req: DeletePolicyVersionRequest,
|
|
1081
|
-
cb?: (error: string, rep: DeletePolicyVersionResponse) => void
|
|
1082
|
-
): Promise<DeletePolicyVersionResponse> {
|
|
1083
|
-
return this.request("DeletePolicyVersion", req, cb)
|
|
1084
|
-
}
|
|
1085
|
-
|
|
1086
1099
|
/**
|
|
1087
1100
|
* 本接口(ListPolicies)可用于查询策略列表。
|
|
1088
1101
|
*/
|
|
@@ -821,6 +821,24 @@ export interface CreateAccessKeyRequest {
|
|
|
821
821
|
TargetUin?: number
|
|
822
822
|
}
|
|
823
823
|
|
|
824
|
+
/**
|
|
825
|
+
* BuildDataFlowAuthToken请求参数结构体
|
|
826
|
+
*/
|
|
827
|
+
export interface BuildDataFlowAuthTokenRequest {
|
|
828
|
+
/**
|
|
829
|
+
* 资源ID
|
|
830
|
+
*/
|
|
831
|
+
ResourceId: string
|
|
832
|
+
/**
|
|
833
|
+
* 资源地域
|
|
834
|
+
*/
|
|
835
|
+
ResourceRegion: string
|
|
836
|
+
/**
|
|
837
|
+
* 资源用户名
|
|
838
|
+
*/
|
|
839
|
+
ResourceAccount: string
|
|
840
|
+
}
|
|
841
|
+
|
|
824
842
|
/**
|
|
825
843
|
* GetRolePermissionBoundary返回参数结构体
|
|
826
844
|
*/
|
|
@@ -1405,6 +1423,24 @@ export interface CreatePolicyResponse {
|
|
|
1405
1423
|
RequestId?: string
|
|
1406
1424
|
}
|
|
1407
1425
|
|
|
1426
|
+
/**
|
|
1427
|
+
* ListGroups返回参数结构体
|
|
1428
|
+
*/
|
|
1429
|
+
export interface ListGroupsResponse {
|
|
1430
|
+
/**
|
|
1431
|
+
* 用户组总数。
|
|
1432
|
+
*/
|
|
1433
|
+
TotalNum?: number
|
|
1434
|
+
/**
|
|
1435
|
+
* 用户组数组信息。
|
|
1436
|
+
*/
|
|
1437
|
+
GroupInfo?: Array<GroupInfo>
|
|
1438
|
+
/**
|
|
1439
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1440
|
+
*/
|
|
1441
|
+
RequestId?: string
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1408
1444
|
/**
|
|
1409
1445
|
* DetachRolePolicy请求参数结构体
|
|
1410
1446
|
*/
|
|
@@ -1706,6 +1742,21 @@ export interface UpdateRoleConsoleLoginRequest {
|
|
|
1706
1742
|
RoleName?: string
|
|
1707
1743
|
}
|
|
1708
1744
|
|
|
1745
|
+
/**
|
|
1746
|
+
* BuildDataFlowAuthToken返回参数结构体
|
|
1747
|
+
*/
|
|
1748
|
+
export interface BuildDataFlowAuthTokenResponse {
|
|
1749
|
+
/**
|
|
1750
|
+
* 认证凭据AuthToken信息
|
|
1751
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1752
|
+
*/
|
|
1753
|
+
Credentials?: AuthToken
|
|
1754
|
+
/**
|
|
1755
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
1756
|
+
*/
|
|
1757
|
+
RequestId?: string
|
|
1758
|
+
}
|
|
1759
|
+
|
|
1709
1760
|
/**
|
|
1710
1761
|
* UpdateUser返回参数结构体
|
|
1711
1762
|
*/
|
|
@@ -1876,28 +1927,6 @@ export interface SAMLProviderInfo {
|
|
|
1876
1927
|
ModifyTime: string
|
|
1877
1928
|
}
|
|
1878
1929
|
|
|
1879
|
-
/**
|
|
1880
|
-
* 用于ListPoliciesGrantingServiceAccess接口的Policy节点
|
|
1881
|
-
*/
|
|
1882
|
-
export interface ListGrantServiceAccessPolicy {
|
|
1883
|
-
/**
|
|
1884
|
-
* 策略ID
|
|
1885
|
-
*/
|
|
1886
|
-
PolicyId: string
|
|
1887
|
-
/**
|
|
1888
|
-
* 策略名
|
|
1889
|
-
*/
|
|
1890
|
-
PolicyName: string
|
|
1891
|
-
/**
|
|
1892
|
-
* 策略类型: Custom自定义策略,Presetting预设策略
|
|
1893
|
-
*/
|
|
1894
|
-
PolicyType: string
|
|
1895
|
-
/**
|
|
1896
|
-
* 策略描述
|
|
1897
|
-
*/
|
|
1898
|
-
PolicyDescription: string
|
|
1899
|
-
}
|
|
1900
|
-
|
|
1901
1930
|
/**
|
|
1902
1931
|
* DisableUserSSO请求参数结构体
|
|
1903
1932
|
*/
|
|
@@ -2190,21 +2219,40 @@ export interface ListAttachedUserPoliciesResponse {
|
|
|
2190
2219
|
}
|
|
2191
2220
|
|
|
2192
2221
|
/**
|
|
2193
|
-
*
|
|
2222
|
+
* 认证凭据Token
|
|
2194
2223
|
*/
|
|
2195
|
-
export interface
|
|
2224
|
+
export interface AuthToken {
|
|
2196
2225
|
/**
|
|
2197
|
-
*
|
|
2226
|
+
* 认证Token
|
|
2198
2227
|
*/
|
|
2199
|
-
|
|
2228
|
+
Token?: string
|
|
2200
2229
|
/**
|
|
2201
|
-
*
|
|
2230
|
+
* 服务器时间戳
|
|
2231
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2202
2232
|
*/
|
|
2203
|
-
|
|
2233
|
+
CurrentTime?: number
|
|
2204
2234
|
/**
|
|
2205
|
-
*
|
|
2235
|
+
* 毫秒时间戳,根据轮转周期准确计算得到
|
|
2236
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2206
2237
|
*/
|
|
2207
|
-
|
|
2238
|
+
NextRotationTime?: number
|
|
2239
|
+
/**
|
|
2240
|
+
* 毫秒,如果轮转失败则为 -1
|
|
2241
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2242
|
+
*/
|
|
2243
|
+
LastRotationTimeCost?: number
|
|
2244
|
+
/**
|
|
2245
|
+
* 成功:success
|
|
2246
|
+
失败:failed
|
|
2247
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2248
|
+
*/
|
|
2249
|
+
RotationStatus?: string
|
|
2250
|
+
/**
|
|
2251
|
+
* 成功:success
|
|
2252
|
+
失败:失败信息
|
|
2253
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2254
|
+
*/
|
|
2255
|
+
RotationMessage?: string
|
|
2208
2256
|
}
|
|
2209
2257
|
|
|
2210
2258
|
/**
|
|
@@ -2502,9 +2550,33 @@ export interface CreateUserOIDCConfigRequest {
|
|
|
2502
2550
|
}
|
|
2503
2551
|
|
|
2504
2552
|
/**
|
|
2505
|
-
*
|
|
2553
|
+
* AddUser返回参数结构体
|
|
2506
2554
|
*/
|
|
2507
|
-
export interface
|
|
2555
|
+
export interface AddUserResponse {
|
|
2556
|
+
/**
|
|
2557
|
+
* 子用户 UIN
|
|
2558
|
+
*/
|
|
2559
|
+
Uin?: number
|
|
2560
|
+
/**
|
|
2561
|
+
* 子用户用户名
|
|
2562
|
+
*/
|
|
2563
|
+
Name?: string
|
|
2564
|
+
/**
|
|
2565
|
+
* 如果输入参数组合为自动生成随机密码,则返回生成的密码
|
|
2566
|
+
*/
|
|
2567
|
+
Password?: string
|
|
2568
|
+
/**
|
|
2569
|
+
* 子用户密钥 ID
|
|
2570
|
+
*/
|
|
2571
|
+
SecretId?: string
|
|
2572
|
+
/**
|
|
2573
|
+
* 子用户密钥 Key
|
|
2574
|
+
*/
|
|
2575
|
+
SecretKey?: string
|
|
2576
|
+
/**
|
|
2577
|
+
* 子用户 UID
|
|
2578
|
+
*/
|
|
2579
|
+
Uid?: number
|
|
2508
2580
|
/**
|
|
2509
2581
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2510
2582
|
*/
|
|
@@ -3418,37 +3490,25 @@ export interface PolicyVersionDetail {
|
|
|
3418
3490
|
}
|
|
3419
3491
|
|
|
3420
3492
|
/**
|
|
3421
|
-
*
|
|
3493
|
+
* 用于ListPoliciesGrantingServiceAccess接口的Policy节点
|
|
3422
3494
|
*/
|
|
3423
|
-
export interface
|
|
3424
|
-
/**
|
|
3425
|
-
* 子用户 UIN
|
|
3426
|
-
*/
|
|
3427
|
-
Uin?: number
|
|
3428
|
-
/**
|
|
3429
|
-
* 子用户用户名
|
|
3430
|
-
*/
|
|
3431
|
-
Name?: string
|
|
3432
|
-
/**
|
|
3433
|
-
* 如果输入参数组合为自动生成随机密码,则返回生成的密码
|
|
3434
|
-
*/
|
|
3435
|
-
Password?: string
|
|
3495
|
+
export interface ListGrantServiceAccessPolicy {
|
|
3436
3496
|
/**
|
|
3437
|
-
*
|
|
3497
|
+
* 策略ID
|
|
3438
3498
|
*/
|
|
3439
|
-
|
|
3499
|
+
PolicyId: string
|
|
3440
3500
|
/**
|
|
3441
|
-
*
|
|
3501
|
+
* 策略名
|
|
3442
3502
|
*/
|
|
3443
|
-
|
|
3503
|
+
PolicyName: string
|
|
3444
3504
|
/**
|
|
3445
|
-
*
|
|
3505
|
+
* 策略类型: Custom自定义策略,Presetting预设策略
|
|
3446
3506
|
*/
|
|
3447
|
-
|
|
3507
|
+
PolicyType: string
|
|
3448
3508
|
/**
|
|
3449
|
-
*
|
|
3509
|
+
* 策略描述
|
|
3450
3510
|
*/
|
|
3451
|
-
|
|
3511
|
+
PolicyDescription: string
|
|
3452
3512
|
}
|
|
3453
3513
|
|
|
3454
3514
|
/**
|
|
@@ -3669,6 +3729,16 @@ export interface ListAttachedUserPoliciesRequest {
|
|
|
3669
3729
|
Rp?: number
|
|
3670
3730
|
}
|
|
3671
3731
|
|
|
3732
|
+
/**
|
|
3733
|
+
* AttachGroupPolicy返回参数结构体
|
|
3734
|
+
*/
|
|
3735
|
+
export interface AttachGroupPolicyResponse {
|
|
3736
|
+
/**
|
|
3737
|
+
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3738
|
+
*/
|
|
3739
|
+
RequestId?: string
|
|
3740
|
+
}
|
|
3741
|
+
|
|
3672
3742
|
/**
|
|
3673
3743
|
* UpdatePolicy请求参数结构体
|
|
3674
3744
|
*/
|
|
@@ -45,8 +45,10 @@ export class Client extends AbstractClient {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
* 这些接口是传统版堡垒机接口.数审未用到,堡垒机的已全部迁移到dasb下,cds这边预下线
|
|
49
|
+
|
|
50
|
+
获取镜像列表
|
|
51
|
+
*/
|
|
50
52
|
async DescribeDasbImageIds(
|
|
51
53
|
req?: DescribeDasbImageIdsRequest,
|
|
52
54
|
cb?: (error: string, rep: DescribeDasbImageIdsResponse) => void
|
|
@@ -3917,6 +3917,10 @@ export interface CreateExportRequest {
|
|
|
3917
3917
|
0:Lucene语法,1:CQL语法。
|
|
3918
3918
|
*/
|
|
3919
3919
|
SyntaxRule?: number
|
|
3920
|
+
/**
|
|
3921
|
+
* 导出字段
|
|
3922
|
+
*/
|
|
3923
|
+
DerivedFields?: Array<string>
|
|
3920
3924
|
}
|
|
3921
3925
|
|
|
3922
3926
|
/**
|
|
@@ -4750,6 +4754,11 @@ export interface ExportInfo {
|
|
|
4750
4754
|
0:Lucene语法,1:CQL语法。
|
|
4751
4755
|
*/
|
|
4752
4756
|
SyntaxRule?: number
|
|
4757
|
+
/**
|
|
4758
|
+
* 导出字段
|
|
4759
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4760
|
+
*/
|
|
4761
|
+
DerivedFields?: Array<string>
|
|
4753
4762
|
}
|
|
4754
4763
|
|
|
4755
4764
|
/**
|
|
@@ -877,7 +877,6 @@ Web链接访问后,会根据子客企业(**Agent中ProxyOrganizationOpenId表
|
|
|
877
877
|
<th>子客企业状态</th>
|
|
878
878
|
<th>子客企业员工状态</th>
|
|
879
879
|
<th>点击链接进入的流程</th>
|
|
880
|
-
<th>视频样例</th>
|
|
881
880
|
</tr>
|
|
882
881
|
</thead>
|
|
883
882
|
<tbody>
|
|
@@ -885,19 +884,16 @@ Web链接访问后,会根据子客企业(**Agent中ProxyOrganizationOpenId表
|
|
|
885
884
|
<td>企业未激活</td>
|
|
886
885
|
<td>员工未认证</td>
|
|
887
886
|
<td>进入企业激活流程,首次完成企业激活流程的员工会成为超管</td>
|
|
888
|
-
<td><a href="https://dyn.ess.tencent.cn/guide/apivideo/CreateConsoleLoginUrl_noverify.mp4" target="_blank">打开</a></td>
|
|
889
887
|
</tr>
|
|
890
888
|
<tr>
|
|
891
889
|
<td>企业已激活</td>
|
|
892
890
|
<td>员工未认证</td>
|
|
893
891
|
<td>进入员认证并加入企业流程</td>
|
|
894
|
-
<td>-</td>
|
|
895
892
|
</tr>
|
|
896
893
|
<tr>
|
|
897
894
|
<td>企业已激活</td>
|
|
898
895
|
<td>员工已认证</td>
|
|
899
896
|
<td>进入子客企业Web控制台</td>
|
|
900
|
-
<td>-</td>
|
|
901
897
|
</tr>
|
|
902
898
|
</tbody>
|
|
903
899
|
</table>
|
|
@@ -908,6 +904,10 @@ Web链接访问后,会根据子客企业(**Agent中ProxyOrganizationOpenId表
|
|
|
908
904
|
|
|
909
905
|
系统的渠道企业, 应用, 子客企业, 子客员工的组织形式
|
|
910
906
|

|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
<font color="red">相关视频指引</font> <br>
|
|
910
|
+
1. <a href="https://dyn.ess.tencent.cn/guide/apivideo/essbasic-createconsoleloginin.mp4" target="_blank">【生成子客登录链接】代码编写 & 子企业认证示例</a><br>
|
|
911
911
|
*/
|
|
912
912
|
async CreateConsoleLoginUrl(
|
|
913
913
|
req: CreateConsoleLoginUrlRequest,
|
|
@@ -3536,12 +3536,12 @@ export interface GetPositionSpaceListResponse {
|
|
|
3536
3536
|
* 位置空间列表
|
|
3537
3537
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3538
3538
|
*/
|
|
3539
|
-
List
|
|
3539
|
+
List?: Array<PositionSpaceInfo>
|
|
3540
3540
|
/**
|
|
3541
3541
|
* 位置空间数量
|
|
3542
3542
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3543
3543
|
*/
|
|
3544
|
-
Total
|
|
3544
|
+
Total?: number
|
|
3545
3545
|
/**
|
|
3546
3546
|
* 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
3547
3547
|
*/
|
|
@@ -30,12 +30,15 @@ import {
|
|
|
30
30
|
DescribeSlowLogsRequest,
|
|
31
31
|
FlushInstanceRouterConfigResponse,
|
|
32
32
|
InstanceMultiParam,
|
|
33
|
+
DescribeBackupRulesResponse,
|
|
33
34
|
SlowLogPattern,
|
|
34
35
|
AssignProjectResponse,
|
|
35
36
|
DescribeDBInstanceDealResponse,
|
|
36
37
|
OfflineIsolatedDBInstanceResponse,
|
|
37
38
|
IsolateDBInstanceResponse,
|
|
38
39
|
DescribeSecurityGroupRequest,
|
|
40
|
+
RenameInstanceRequest,
|
|
41
|
+
DescribeBackupRulesRequest,
|
|
39
42
|
DescribeBackupDownloadTaskResponse,
|
|
40
43
|
AddNodeList,
|
|
41
44
|
DBInstancePrice,
|
|
@@ -44,7 +47,7 @@ import {
|
|
|
44
47
|
FlashbackDatabase,
|
|
45
48
|
ModifyDBInstanceNetworkAddressRequest,
|
|
46
49
|
CreateDBInstanceHourResponse,
|
|
47
|
-
|
|
50
|
+
EnableTransparentDataEncryptionRequest,
|
|
48
51
|
DeleteAccountUserRequest,
|
|
49
52
|
SpecItem,
|
|
50
53
|
ModifyDBInstanceNetworkAddressResponse,
|
|
@@ -59,6 +62,7 @@ import {
|
|
|
59
62
|
ModifyDBInstanceSpecRequest,
|
|
60
63
|
Auth,
|
|
61
64
|
FlashBackDBInstanceRequest,
|
|
65
|
+
TerminateDBInstancesResponse,
|
|
62
66
|
ResetDBInstancePasswordRequest,
|
|
63
67
|
InstanceIntegerParam,
|
|
64
68
|
ModifyNetworkAddress,
|
|
@@ -96,18 +100,21 @@ import {
|
|
|
96
100
|
DescribeDBBackupsRequest,
|
|
97
101
|
DescribeClientConnectionsRequest,
|
|
98
102
|
ShardInfo,
|
|
99
|
-
|
|
100
|
-
|
|
103
|
+
SetBackupRulesResponse,
|
|
104
|
+
DescribeDBInstanceNodePropertyRequest,
|
|
101
105
|
RenewDBInstancesResponse,
|
|
102
106
|
InstanceEnumParam,
|
|
103
107
|
FlashBackDBInstanceResponse,
|
|
104
108
|
RenameInstanceResponse,
|
|
109
|
+
DescribeTransparentDataEncryptionStatusResponse,
|
|
105
110
|
CreateBackupDBInstanceRequest,
|
|
106
111
|
SetAccountUserPrivilegeRequest,
|
|
107
112
|
NodeProperty,
|
|
108
113
|
KillOpsResponse,
|
|
109
114
|
IsolateDBInstanceRequest,
|
|
110
115
|
CreateDBInstanceHourRequest,
|
|
116
|
+
EnableTransparentDataEncryptionResponse,
|
|
117
|
+
SetBackupRulesRequest,
|
|
111
118
|
AssignProjectRequest,
|
|
112
119
|
CreateBackupDownloadTaskResponse,
|
|
113
120
|
SpecificationInfo,
|
|
@@ -119,8 +126,10 @@ import {
|
|
|
119
126
|
DeleteAccountUserResponse,
|
|
120
127
|
DescribeDBInstancesResponse,
|
|
121
128
|
OfflineIsolatedDBInstanceRequest,
|
|
129
|
+
KMSInfoDetail,
|
|
122
130
|
InquirePriceCreateDBInstancesRequest,
|
|
123
131
|
DescribeInstanceParamsResponse,
|
|
132
|
+
DescribeTransparentDataEncryptionStatusRequest,
|
|
124
133
|
RemoveNodeList,
|
|
125
134
|
SetInstanceMaintenanceRequest,
|
|
126
135
|
InstanceDetail,
|
|
@@ -248,6 +257,16 @@ export class Client extends AbstractClient {
|
|
|
248
257
|
return this.request("IsolateDBInstance", req, cb)
|
|
249
258
|
}
|
|
250
259
|
|
|
260
|
+
/**
|
|
261
|
+
* 本接口(SetBackupRules)用于设置 MongoDB 云数据库的自动备份规则。
|
|
262
|
+
*/
|
|
263
|
+
async SetBackupRules(
|
|
264
|
+
req: SetBackupRulesRequest,
|
|
265
|
+
cb?: (error: string, rep: SetBackupRulesResponse) => void
|
|
266
|
+
): Promise<SetBackupRulesResponse> {
|
|
267
|
+
return this.request("SetBackupRules", req, cb)
|
|
268
|
+
}
|
|
269
|
+
|
|
251
270
|
/**
|
|
252
271
|
* 本接口 (InquirePriceModifyDBInstanceSpec) 用于查询实例配置变更后的价格。
|
|
253
272
|
*/
|
|
@@ -258,6 +277,16 @@ export class Client extends AbstractClient {
|
|
|
258
277
|
return this.request("InquirePriceModifyDBInstanceSpec", req, cb)
|
|
259
278
|
}
|
|
260
279
|
|
|
280
|
+
/**
|
|
281
|
+
* 本接口(DescribeBackupRules)用于获取实例自动备份配置信息。
|
|
282
|
+
*/
|
|
283
|
+
async DescribeBackupRules(
|
|
284
|
+
req: DescribeBackupRulesRequest,
|
|
285
|
+
cb?: (error: string, rep: DescribeBackupRulesResponse) => void
|
|
286
|
+
): Promise<DescribeBackupRulesResponse> {
|
|
287
|
+
return this.request("DescribeBackupRules", req, cb)
|
|
288
|
+
}
|
|
289
|
+
|
|
261
290
|
/**
|
|
262
291
|
* 查询异步任务状态接口
|
|
263
292
|
*/
|
|
@@ -440,6 +469,16 @@ export class Client extends AbstractClient {
|
|
|
440
469
|
return this.request("AssignProject", req, cb)
|
|
441
470
|
}
|
|
442
471
|
|
|
472
|
+
/**
|
|
473
|
+
* 获取实例透明加密的开启状态
|
|
474
|
+
*/
|
|
475
|
+
async DescribeTransparentDataEncryptionStatus(
|
|
476
|
+
req: DescribeTransparentDataEncryptionStatusRequest,
|
|
477
|
+
cb?: (error: string, rep: DescribeTransparentDataEncryptionStatusResponse) => void
|
|
478
|
+
): Promise<DescribeTransparentDataEncryptionStatusResponse> {
|
|
479
|
+
return this.request("DescribeTransparentDataEncryptionStatus", req, cb)
|
|
480
|
+
}
|
|
481
|
+
|
|
443
482
|
/**
|
|
444
483
|
* 本接口(DescribeAccountUsers)用于获取当前实例的全部账号。
|
|
445
484
|
*/
|
|
@@ -480,6 +519,16 @@ export class Client extends AbstractClient {
|
|
|
480
519
|
return this.request("KillOps", req, cb)
|
|
481
520
|
}
|
|
482
521
|
|
|
522
|
+
/**
|
|
523
|
+
* 本接口(EnableTransparentDataEncryption)用于开启云数据库 MongoDB 的透明加密能力。
|
|
524
|
+
*/
|
|
525
|
+
async EnableTransparentDataEncryption(
|
|
526
|
+
req: EnableTransparentDataEncryptionRequest,
|
|
527
|
+
cb?: (error: string, rep: EnableTransparentDataEncryptionResponse) => void
|
|
528
|
+
): Promise<EnableTransparentDataEncryptionResponse> {
|
|
529
|
+
return this.request("EnableTransparentDataEncryption", req, cb)
|
|
530
|
+
}
|
|
531
|
+
|
|
483
532
|
/**
|
|
484
533
|
* 本接口(CreateBackupDBInstance)用于备份实例。
|
|
485
534
|
*/
|