tencentcloud-sdk-nodejs 4.0.784 → 4.0.786
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 +384 -0
- package/SERVICE_CHANGELOG.md +376 -80
- package/package.json +1 -1
- package/products.md +18 -18
- package/src/common/sdk_version.ts +1 -1
- package/src/services/antiddos/v20200309/antiddos_client.ts +14 -1
- package/src/services/antiddos/v20200309/antiddos_models.ts +188 -8
- package/src/services/cfg/v20210820/cfg_models.ts +6 -5
- package/src/services/cls/v20201016/cls_models.ts +32 -19
- package/src/services/csip/v20221121/csip_client.ts +26 -2
- package/src/services/csip/v20221121/csip_models.ts +100 -8
- package/src/services/cynosdb/v20190107/cynosdb_client.ts +3 -2
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +195 -50
- package/src/services/ess/v20201111/ess_client.ts +2 -1
- package/src/services/hunyuan/v20230901/hunyuan_client.ts +2 -2
- package/src/services/live/v20180801/live_client.ts +1 -1
- package/src/services/live/v20180801/live_models.ts +12 -2
- package/src/services/oceanus/v20190422/oceanus_models.ts +17 -3
- package/src/services/privatedns/v20201028/privatedns_models.ts +25 -19
- package/src/services/redis/v20180412/redis_client.ts +1 -1
- package/src/services/redis/v20180412/redis_models.ts +17 -13
- package/src/services/ssl/v20191205/ssl_client.ts +0 -15
- package/src/services/ssl/v20191205/ssl_models.ts +0 -53
- package/src/services/teo/v20220901/teo_models.ts +7 -3
- package/src/services/tke/v20180525/tke_client.ts +1 -1
- package/src/services/tke/v20180525/tke_models.ts +5 -5
- package/src/services/trocket/v20230308/trocket_client.ts +398 -77
- package/src/services/trocket/v20230308/trocket_models.ts +1970 -694
- package/src/services/ump/v20200918/ump_client.ts +4 -2
- package/src/services/wedata/v20210820/wedata_client.ts +13 -1
- package/src/services/wedata/v20210820/wedata_models.ts +50 -35
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.d.ts +5 -1
- package/tencentcloud/services/antiddos/v20200309/antiddos_client.js +6 -0
- package/tencentcloud/services/antiddos/v20200309/antiddos_models.d.ts +185 -8
- package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +6 -5
- package/tencentcloud/services/cls/v20201016/cls_models.d.ts +32 -19
- package/tencentcloud/services/csip/v20221121/csip_client.d.ts +9 -1
- package/tencentcloud/services/csip/v20221121/csip_client.js +12 -0
- package/tencentcloud/services/csip/v20221121/csip_models.d.ts +96 -8
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +2 -2
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +2 -2
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +194 -50
- package/tencentcloud/services/ess/v20201111/ess_client.d.ts +2 -1
- package/tencentcloud/services/ess/v20201111/ess_client.js +2 -1
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +2 -2
- package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +2 -2
- package/tencentcloud/services/live/v20180801/live_client.d.ts +1 -1
- package/tencentcloud/services/live/v20180801/live_models.d.ts +12 -2
- package/tencentcloud/services/oceanus/v20190422/oceanus_models.d.ts +17 -3
- package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +25 -19
- 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 +17 -13
- package/tencentcloud/services/ssl/v20191205/ssl_client.d.ts +1 -7
- package/tencentcloud/services/ssl/v20191205/ssl_client.js +0 -8
- package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +0 -50
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +7 -3
- package/tencentcloud/services/tke/v20180525/tke_client.d.ts +1 -1
- package/tencentcloud/services/tke/v20180525/tke_client.js +1 -1
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +5 -5
- package/tencentcloud/services/trocket/v20230308/trocket_client.d.ts +127 -15
- package/tencentcloud/services/trocket/v20230308/trocket_client.js +182 -20
- package/tencentcloud/services/trocket/v20230308/trocket_models.d.ts +1877 -660
- package/tencentcloud/services/ump/v20200918/ump_client.d.ts +3 -1
- package/tencentcloud/services/ump/v20200918/ump_client.js +3 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.d.ts +5 -1
- package/tencentcloud/services/wedata/v20210820/wedata_client.js +6 -0
- package/tencentcloud/services/wedata/v20210820/wedata_models.d.ts +48 -35
- package/test/antiddos.v20200309.test.js +10 -0
- package/test/csip.v20221121.test.js +20 -0
- package/test/ssl.v20191205.test.js +0 -10
- package/test/trocket.v20230308.test.js +262 -12
- package/test/wedata.v20210820.test.js +10 -0
|
@@ -1003,6 +1003,27 @@ export interface DescribeVULRiskAdvanceCFGListRequest {
|
|
|
1003
1003
|
*/
|
|
1004
1004
|
Filter?: Filter;
|
|
1005
1005
|
}
|
|
1006
|
+
/**
|
|
1007
|
+
* ModifyRiskCenterScanTask返回参数结构体
|
|
1008
|
+
*/
|
|
1009
|
+
export interface ModifyRiskCenterScanTaskResponse {
|
|
1010
|
+
/**
|
|
1011
|
+
* 任务id
|
|
1012
|
+
*/
|
|
1013
|
+
TaskId?: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* 0,修改成功,其他失败;-1为存在资产未认证
|
|
1016
|
+
*/
|
|
1017
|
+
Status?: number;
|
|
1018
|
+
/**
|
|
1019
|
+
* 未认证资产列表
|
|
1020
|
+
*/
|
|
1021
|
+
UnAuthAsset?: Array<string>;
|
|
1022
|
+
/**
|
|
1023
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1024
|
+
*/
|
|
1025
|
+
RequestId?: string;
|
|
1026
|
+
}
|
|
1006
1027
|
/**
|
|
1007
1028
|
* DescribeRiskCenterAssetViewCFGRiskList请求参数结构体
|
|
1008
1029
|
*/
|
|
@@ -3051,6 +3072,19 @@ export interface DescribeTaskLogURLResponse {
|
|
|
3051
3072
|
*/
|
|
3052
3073
|
RequestId?: string;
|
|
3053
3074
|
}
|
|
3075
|
+
/**
|
|
3076
|
+
* ModifyOrganizationAccountStatus返回参数结构体
|
|
3077
|
+
*/
|
|
3078
|
+
export interface ModifyOrganizationAccountStatusResponse {
|
|
3079
|
+
/**
|
|
3080
|
+
* 返回值为0,则修改成功
|
|
3081
|
+
*/
|
|
3082
|
+
Status?: number;
|
|
3083
|
+
/**
|
|
3084
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3085
|
+
*/
|
|
3086
|
+
RequestId?: string;
|
|
3087
|
+
}
|
|
3054
3088
|
/**
|
|
3055
3089
|
* DescribeDbAssetInfo请求参数结构体
|
|
3056
3090
|
*/
|
|
@@ -3938,13 +3972,9 @@ export interface TaskLogInfo {
|
|
|
3938
3972
|
TemplateId?: number;
|
|
3939
3973
|
}
|
|
3940
3974
|
/**
|
|
3941
|
-
*
|
|
3975
|
+
* ModifyRiskCenterRiskStatus返回参数结构体
|
|
3942
3976
|
*/
|
|
3943
|
-
export interface
|
|
3944
|
-
/**
|
|
3945
|
-
* 返回创建成功的数量
|
|
3946
|
-
*/
|
|
3947
|
-
Data?: number;
|
|
3977
|
+
export interface ModifyRiskCenterRiskStatusResponse {
|
|
3948
3978
|
/**
|
|
3949
3979
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3950
3980
|
*/
|
|
@@ -4215,6 +4245,15 @@ export interface DescribeSearchBugInfoResponse {
|
|
|
4215
4245
|
*/
|
|
4216
4246
|
RequestId?: string;
|
|
4217
4247
|
}
|
|
4248
|
+
/**
|
|
4249
|
+
* ModifyOrganizationAccountStatus请求参数结构体
|
|
4250
|
+
*/
|
|
4251
|
+
export interface ModifyOrganizationAccountStatusRequest {
|
|
4252
|
+
/**
|
|
4253
|
+
* 修改集团账号状态,1 开启, 2关闭
|
|
4254
|
+
*/
|
|
4255
|
+
Status: number;
|
|
4256
|
+
}
|
|
4218
4257
|
/**
|
|
4219
4258
|
* DescribeTaskLogList返回参数结构体
|
|
4220
4259
|
*/
|
|
@@ -4519,6 +4558,51 @@ export interface DescribeRiskCenterServerRiskListRequest {
|
|
|
4519
4558
|
*/
|
|
4520
4559
|
Tags?: Array<AssetTag>;
|
|
4521
4560
|
}
|
|
4561
|
+
/**
|
|
4562
|
+
* ModifyRiskCenterScanTask请求参数结构体
|
|
4563
|
+
*/
|
|
4564
|
+
export interface ModifyRiskCenterScanTaskRequest {
|
|
4565
|
+
/**
|
|
4566
|
+
* 任务名称
|
|
4567
|
+
*/
|
|
4568
|
+
TaskName: string;
|
|
4569
|
+
/**
|
|
4570
|
+
* 0-全扫,1-指定资产扫,2-排除资产扫,3-手动填写扫;1和2则Assets字段必填,3则SelfDefiningAssets必填
|
|
4571
|
+
*/
|
|
4572
|
+
ScanAssetType: number;
|
|
4573
|
+
/**
|
|
4574
|
+
* 扫描项目;port/poc/weakpass/webcontent/configrisk
|
|
4575
|
+
*/
|
|
4576
|
+
ScanItem: Array<string>;
|
|
4577
|
+
/**
|
|
4578
|
+
* 0-周期任务,1-立即扫描,2-定时扫描,3-自定义;0,2,3则ScanPlanContent必填
|
|
4579
|
+
*/
|
|
4580
|
+
ScanPlanType: number;
|
|
4581
|
+
/**
|
|
4582
|
+
* 要修改的任务id
|
|
4583
|
+
*/
|
|
4584
|
+
TaskId: string;
|
|
4585
|
+
/**
|
|
4586
|
+
* 扫描资产信息列表
|
|
4587
|
+
*/
|
|
4588
|
+
Assets?: Array<TaskAssetObject>;
|
|
4589
|
+
/**
|
|
4590
|
+
* 扫描计划详情
|
|
4591
|
+
*/
|
|
4592
|
+
ScanPlanContent?: string;
|
|
4593
|
+
/**
|
|
4594
|
+
* ip/域名/url数组
|
|
4595
|
+
*/
|
|
4596
|
+
SelfDefiningAssets?: Array<string>;
|
|
4597
|
+
/**
|
|
4598
|
+
* 高级配置
|
|
4599
|
+
*/
|
|
4600
|
+
TaskAdvanceCFG?: TaskAdvanceCFG;
|
|
4601
|
+
/**
|
|
4602
|
+
* 体检模式,0-标准模式,1-快速模式,2-高级模式,默认标准模式
|
|
4603
|
+
*/
|
|
4604
|
+
TaskMode?: number;
|
|
4605
|
+
}
|
|
4522
4606
|
/**
|
|
4523
4607
|
* clb实例和监听器信息
|
|
4524
4608
|
*/
|
|
@@ -4646,9 +4730,13 @@ export interface DescribeGatewayAssetsRequest {
|
|
|
4646
4730
|
Filter?: Filter;
|
|
4647
4731
|
}
|
|
4648
4732
|
/**
|
|
4649
|
-
*
|
|
4733
|
+
* CreateDomainAndIp返回参数结构体
|
|
4650
4734
|
*/
|
|
4651
|
-
export interface
|
|
4735
|
+
export interface CreateDomainAndIpResponse {
|
|
4736
|
+
/**
|
|
4737
|
+
* 返回创建成功的数量
|
|
4738
|
+
*/
|
|
4739
|
+
Data?: number;
|
|
4652
4740
|
/**
|
|
4653
4741
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4654
4742
|
*/
|
|
@@ -124,7 +124,7 @@ export declare class Client extends AbstractClient {
|
|
|
124
124
|
*/
|
|
125
125
|
DescribeBinlogSaveDays(req: DescribeBinlogSaveDaysRequest, cb?: (error: string, rep: DescribeBinlogSaveDaysResponse) => void): Promise<DescribeBinlogSaveDaysResponse>;
|
|
126
126
|
/**
|
|
127
|
-
* 本接口(DescribeClusterInstanceGrps)用于查询实例组信息。
|
|
127
|
+
* 本接口(DescribeClusterInstanceGrps)用于查询实例组信息。 该接口已废弃,推荐使用DescribeClusterInstanceGroups
|
|
128
128
|
*/
|
|
129
129
|
DescribeClusterInstanceGrps(req: DescribeClusterInstanceGrpsRequest, cb?: (error: string, rep: DescribeClusterInstanceGrpsResponse) => void): Promise<DescribeClusterInstanceGrpsResponse>;
|
|
130
130
|
/**
|
|
@@ -208,7 +208,7 @@ export declare class Client extends AbstractClient {
|
|
|
208
208
|
*/
|
|
209
209
|
ModifyParamTemplate(req: ModifyParamTemplateRequest, cb?: (error: string, rep: ModifyParamTemplateResponse) => void): Promise<ModifyParamTemplateResponse>;
|
|
210
210
|
/**
|
|
211
|
-
* 该接口(DescribeInstanceParams)
|
|
211
|
+
* 该接口(DescribeInstanceParams)查询实例参数列表
|
|
212
212
|
*/
|
|
213
213
|
DescribeInstanceParams(req: DescribeInstanceParamsRequest, cb?: (error: string, rep: DescribeInstanceParamsResponse) => void): Promise<DescribeInstanceParamsResponse>;
|
|
214
214
|
/**
|
|
@@ -202,7 +202,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
202
202
|
return this.request("DescribeBinlogSaveDays", req, cb);
|
|
203
203
|
}
|
|
204
204
|
/**
|
|
205
|
-
* 本接口(DescribeClusterInstanceGrps)用于查询实例组信息。
|
|
205
|
+
* 本接口(DescribeClusterInstanceGrps)用于查询实例组信息。 该接口已废弃,推荐使用DescribeClusterInstanceGroups
|
|
206
206
|
*/
|
|
207
207
|
async DescribeClusterInstanceGrps(req, cb) {
|
|
208
208
|
return this.request("DescribeClusterInstanceGrps", req, cb);
|
|
@@ -328,7 +328,7 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
328
328
|
return this.request("ModifyParamTemplate", req, cb);
|
|
329
329
|
}
|
|
330
330
|
/**
|
|
331
|
-
* 该接口(DescribeInstanceParams)
|
|
331
|
+
* 该接口(DescribeInstanceParams)查询实例参数列表
|
|
332
332
|
*/
|
|
333
333
|
async DescribeInstanceParams(req, cb) {
|
|
334
334
|
return this.request("DescribeInstanceParams", req, cb);
|
|
@@ -753,7 +753,7 @@ export interface CloseWanResponse {
|
|
|
753
753
|
/**
|
|
754
754
|
* 任务流ID
|
|
755
755
|
*/
|
|
756
|
-
FlowId
|
|
756
|
+
FlowId?: number;
|
|
757
757
|
/**
|
|
758
758
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
759
759
|
*/
|
|
@@ -1016,10 +1016,19 @@ export interface DescribeClusterParamsResponse {
|
|
|
1016
1016
|
* CloseWan请求参数结构体
|
|
1017
1017
|
*/
|
|
1018
1018
|
export interface CloseWanRequest {
|
|
1019
|
+
/**
|
|
1020
|
+
* 实例组id
|
|
1021
|
+
* @deprecated
|
|
1022
|
+
*/
|
|
1023
|
+
InstanceGrpId?: string;
|
|
1019
1024
|
/**
|
|
1020
1025
|
* 实例组id
|
|
1021
1026
|
*/
|
|
1022
|
-
|
|
1027
|
+
InstanceGroupId?: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* 实例id
|
|
1030
|
+
*/
|
|
1031
|
+
InstanceId?: string;
|
|
1023
1032
|
}
|
|
1024
1033
|
/**
|
|
1025
1034
|
* BindClusterResourcePackages请求参数结构体
|
|
@@ -1243,6 +1252,10 @@ export interface DescribeInstanceParamsRequest {
|
|
|
1243
1252
|
* 参数名搜索条件,支持模糊匹配
|
|
1244
1253
|
*/
|
|
1245
1254
|
ParamKeyword?: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* 是否为全局参数
|
|
1257
|
+
*/
|
|
1258
|
+
IsGlobal?: string;
|
|
1246
1259
|
}
|
|
1247
1260
|
/**
|
|
1248
1261
|
* DescribeProxies返回参数结构体
|
|
@@ -1995,8 +2008,13 @@ export interface ModifyVipVportRequest {
|
|
|
1995
2008
|
ClusterId: string;
|
|
1996
2009
|
/**
|
|
1997
2010
|
* 实例组id
|
|
2011
|
+
* @deprecated
|
|
1998
2012
|
*/
|
|
1999
|
-
InstanceGrpId
|
|
2013
|
+
InstanceGrpId?: string;
|
|
2014
|
+
/**
|
|
2015
|
+
* 实例组id
|
|
2016
|
+
*/
|
|
2017
|
+
InstanceGroupId?: string;
|
|
2000
2018
|
/**
|
|
2001
2019
|
* 需要修改的目的ip
|
|
2002
2020
|
*/
|
|
@@ -2394,11 +2412,11 @@ export interface InstanceParamItem {
|
|
|
2394
2412
|
/**
|
|
2395
2413
|
* 实例ID
|
|
2396
2414
|
*/
|
|
2397
|
-
InstanceId
|
|
2415
|
+
InstanceId?: string;
|
|
2398
2416
|
/**
|
|
2399
2417
|
* 实例参数列表
|
|
2400
2418
|
*/
|
|
2401
|
-
ParamsItems
|
|
2419
|
+
ParamsItems?: Array<ParamItemDetail>;
|
|
2402
2420
|
}
|
|
2403
2421
|
/**
|
|
2404
2422
|
* ReloadBalanceProxyNode请求参数结构体
|
|
@@ -2457,6 +2475,11 @@ export interface Ability {
|
|
|
2457
2475
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2458
2476
|
*/
|
|
2459
2477
|
NonsupportRoReason: string;
|
|
2478
|
+
/**
|
|
2479
|
+
* 是否支持手动发起快照备份
|
|
2480
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2481
|
+
*/
|
|
2482
|
+
IsSupportManualSnapshot: string;
|
|
2460
2483
|
}
|
|
2461
2484
|
/**
|
|
2462
2485
|
* 实例初始化配置信息
|
|
@@ -2758,7 +2781,7 @@ export interface OpenWanResponse {
|
|
|
2758
2781
|
/**
|
|
2759
2782
|
* 任务流ID
|
|
2760
2783
|
*/
|
|
2761
|
-
FlowId
|
|
2784
|
+
FlowId?: number;
|
|
2762
2785
|
/**
|
|
2763
2786
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2764
2787
|
*/
|
|
@@ -3536,53 +3559,53 @@ export interface ParamItemDetail {
|
|
|
3536
3559
|
/**
|
|
3537
3560
|
* 当前值
|
|
3538
3561
|
*/
|
|
3539
|
-
CurrentValue
|
|
3562
|
+
CurrentValue?: string;
|
|
3540
3563
|
/**
|
|
3541
3564
|
* 默认值
|
|
3542
3565
|
*/
|
|
3543
|
-
Default
|
|
3566
|
+
Default?: string;
|
|
3544
3567
|
/**
|
|
3545
3568
|
* 参数的可选枚举值。如果为非枚举值,则为空
|
|
3546
3569
|
*/
|
|
3547
|
-
EnumValue
|
|
3570
|
+
EnumValue?: Array<string>;
|
|
3548
3571
|
/**
|
|
3549
3572
|
* 1:全局参数,0:非全局参数
|
|
3550
3573
|
*/
|
|
3551
|
-
IsGlobal
|
|
3574
|
+
IsGlobal?: number;
|
|
3552
3575
|
/**
|
|
3553
3576
|
* 最大值
|
|
3554
3577
|
*/
|
|
3555
|
-
Max
|
|
3578
|
+
Max?: string;
|
|
3556
3579
|
/**
|
|
3557
3580
|
* 最小值
|
|
3558
3581
|
*/
|
|
3559
|
-
Min
|
|
3582
|
+
Min?: string;
|
|
3560
3583
|
/**
|
|
3561
3584
|
* 修改参数后,是否需要重启数据库以使参数生效。0-不需要重启,1-需要重启。
|
|
3562
3585
|
*/
|
|
3563
|
-
NeedReboot
|
|
3586
|
+
NeedReboot?: number;
|
|
3564
3587
|
/**
|
|
3565
3588
|
* 参数名称
|
|
3566
3589
|
*/
|
|
3567
|
-
ParamName
|
|
3590
|
+
ParamName?: string;
|
|
3568
3591
|
/**
|
|
3569
3592
|
* 参数类型:integer,enum,float,string,func
|
|
3570
3593
|
*/
|
|
3571
|
-
ParamType
|
|
3594
|
+
ParamType?: string;
|
|
3572
3595
|
/**
|
|
3573
3596
|
* 参数描述
|
|
3574
3597
|
*/
|
|
3575
|
-
Description
|
|
3598
|
+
Description?: string;
|
|
3576
3599
|
/**
|
|
3577
3600
|
* 类型是否为公式
|
|
3578
3601
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3579
3602
|
*/
|
|
3580
|
-
IsFunc
|
|
3603
|
+
IsFunc?: boolean;
|
|
3581
3604
|
/**
|
|
3582
3605
|
* 参数配置公式
|
|
3583
3606
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3584
3607
|
*/
|
|
3585
|
-
Func
|
|
3608
|
+
Func?: string;
|
|
3586
3609
|
}
|
|
3587
3610
|
/**
|
|
3588
3611
|
* GrantAccountPrivileges请求参数结构体
|
|
@@ -4204,68 +4227,68 @@ export interface ParamInfo {
|
|
|
4204
4227
|
/**
|
|
4205
4228
|
* 当前值
|
|
4206
4229
|
*/
|
|
4207
|
-
CurrentValue
|
|
4230
|
+
CurrentValue?: string;
|
|
4208
4231
|
/**
|
|
4209
4232
|
* 默认值
|
|
4210
4233
|
*/
|
|
4211
|
-
Default
|
|
4234
|
+
Default?: string;
|
|
4212
4235
|
/**
|
|
4213
4236
|
* 参数为enum/string/bool时,可选值列表
|
|
4214
4237
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4215
4238
|
*/
|
|
4216
|
-
EnumValue
|
|
4239
|
+
EnumValue?: Array<string>;
|
|
4217
4240
|
/**
|
|
4218
4241
|
* 参数类型为float/integer时的最大值
|
|
4219
4242
|
*/
|
|
4220
|
-
Max
|
|
4243
|
+
Max?: string;
|
|
4221
4244
|
/**
|
|
4222
4245
|
* 参数类型为float/integer时的最小值
|
|
4223
4246
|
*/
|
|
4224
|
-
Min
|
|
4247
|
+
Min?: string;
|
|
4225
4248
|
/**
|
|
4226
4249
|
* 参数名称
|
|
4227
4250
|
*/
|
|
4228
|
-
ParamName
|
|
4251
|
+
ParamName?: string;
|
|
4229
4252
|
/**
|
|
4230
4253
|
* 是否需要重启生效
|
|
4231
4254
|
*/
|
|
4232
|
-
NeedReboot
|
|
4255
|
+
NeedReboot?: number;
|
|
4233
4256
|
/**
|
|
4234
4257
|
* 参数类型:integer/float/string/enum/bool
|
|
4235
4258
|
*/
|
|
4236
|
-
ParamType
|
|
4259
|
+
ParamType?: string;
|
|
4237
4260
|
/**
|
|
4238
4261
|
* 匹配类型,multiVal, regex在参数类型是string时使用
|
|
4239
4262
|
*/
|
|
4240
|
-
MatchType
|
|
4263
|
+
MatchType?: string;
|
|
4241
4264
|
/**
|
|
4242
4265
|
* 匹配目标值,当multiVal时,各个key用;分割
|
|
4243
4266
|
*/
|
|
4244
|
-
MatchValue
|
|
4267
|
+
MatchValue?: string;
|
|
4245
4268
|
/**
|
|
4246
4269
|
* 参数描述
|
|
4247
4270
|
*/
|
|
4248
|
-
Description
|
|
4271
|
+
Description?: string;
|
|
4249
4272
|
/**
|
|
4250
4273
|
* 是否为全局参数
|
|
4251
4274
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4252
4275
|
*/
|
|
4253
|
-
IsGlobal
|
|
4276
|
+
IsGlobal?: number;
|
|
4254
4277
|
/**
|
|
4255
4278
|
* 参数是否可修改
|
|
4256
4279
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4257
4280
|
*/
|
|
4258
|
-
ModifiableInfo
|
|
4281
|
+
ModifiableInfo?: ModifiableInfo;
|
|
4259
4282
|
/**
|
|
4260
4283
|
* 是否为函数
|
|
4261
4284
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4262
4285
|
*/
|
|
4263
|
-
IsFunc
|
|
4286
|
+
IsFunc?: boolean;
|
|
4264
4287
|
/**
|
|
4265
4288
|
* 函数
|
|
4266
4289
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
4267
4290
|
*/
|
|
4268
|
-
Func
|
|
4291
|
+
Func?: string;
|
|
4269
4292
|
}
|
|
4270
4293
|
/**
|
|
4271
4294
|
* DescribeProjectSecurityGroups请求参数结构体
|
|
@@ -4308,31 +4331,31 @@ export interface SecurityGroup {
|
|
|
4308
4331
|
/**
|
|
4309
4332
|
* 项目ID
|
|
4310
4333
|
*/
|
|
4311
|
-
ProjectId
|
|
4334
|
+
ProjectId?: number;
|
|
4312
4335
|
/**
|
|
4313
4336
|
* 创建时间,时间格式:yyyy-mm-dd hh:mm:ss
|
|
4314
4337
|
*/
|
|
4315
|
-
CreateTime
|
|
4338
|
+
CreateTime?: string;
|
|
4316
4339
|
/**
|
|
4317
4340
|
* 入站规则
|
|
4318
4341
|
*/
|
|
4319
|
-
Inbound
|
|
4342
|
+
Inbound?: Array<PolicyRule>;
|
|
4320
4343
|
/**
|
|
4321
4344
|
* 出站规则
|
|
4322
4345
|
*/
|
|
4323
|
-
Outbound
|
|
4346
|
+
Outbound?: Array<PolicyRule>;
|
|
4324
4347
|
/**
|
|
4325
4348
|
* 安全组ID
|
|
4326
4349
|
*/
|
|
4327
|
-
SecurityGroupId
|
|
4350
|
+
SecurityGroupId?: string;
|
|
4328
4351
|
/**
|
|
4329
4352
|
* 安全组名称
|
|
4330
4353
|
*/
|
|
4331
|
-
SecurityGroupName
|
|
4354
|
+
SecurityGroupName?: string;
|
|
4332
4355
|
/**
|
|
4333
4356
|
* 安全组备注
|
|
4334
4357
|
*/
|
|
4335
|
-
SecurityGroupRemark
|
|
4358
|
+
SecurityGroupRemark?: string;
|
|
4336
4359
|
}
|
|
4337
4360
|
/**
|
|
4338
4361
|
* BindClusterResourcePackages返回参数结构体
|
|
@@ -4483,10 +4506,19 @@ export interface RevokeAccountPrivilegesRequest {
|
|
|
4483
4506
|
* OpenWan请求参数结构体
|
|
4484
4507
|
*/
|
|
4485
4508
|
export interface OpenWanRequest {
|
|
4509
|
+
/**
|
|
4510
|
+
* 实例组id
|
|
4511
|
+
* @deprecated
|
|
4512
|
+
*/
|
|
4513
|
+
InstanceGrpId?: string;
|
|
4514
|
+
/**
|
|
4515
|
+
* 实例ID
|
|
4516
|
+
*/
|
|
4517
|
+
InstanceId?: string;
|
|
4486
4518
|
/**
|
|
4487
4519
|
* 实例组id
|
|
4488
4520
|
*/
|
|
4489
|
-
|
|
4521
|
+
InstanceGroupId?: string;
|
|
4490
4522
|
}
|
|
4491
4523
|
/**
|
|
4492
4524
|
* UnbindClusterResourcePackages请求参数结构体
|
|
@@ -4641,7 +4673,7 @@ export interface PolicyRule {
|
|
|
4641
4673
|
*/
|
|
4642
4674
|
Action?: string;
|
|
4643
4675
|
/**
|
|
4644
|
-
* 来源
|
|
4676
|
+
* 来源Ip或Ip段,例如192.168.0.0/16
|
|
4645
4677
|
*/
|
|
4646
4678
|
CidrIp?: string;
|
|
4647
4679
|
/**
|
|
@@ -5144,7 +5176,7 @@ export interface ModifyAccountHostResponse {
|
|
|
5144
5176
|
*/
|
|
5145
5177
|
export interface DescribeInstancesRequest {
|
|
5146
5178
|
/**
|
|
5147
|
-
* 返回数量,默认为 20
|
|
5179
|
+
* 返回数量,默认为 20,取值范围为(0,100]
|
|
5148
5180
|
*/
|
|
5149
5181
|
Limit?: number;
|
|
5150
5182
|
/**
|
|
@@ -5168,7 +5200,7 @@ export interface DescribeInstancesRequest {
|
|
|
5168
5200
|
*/
|
|
5169
5201
|
Filters?: Array<QueryFilter>;
|
|
5170
5202
|
/**
|
|
5171
|
-
* 引擎类型:目前支持“MYSQL
|
|
5203
|
+
* 引擎类型:目前支持“MYSQL”
|
|
5172
5204
|
*/
|
|
5173
5205
|
DbType?: string;
|
|
5174
5206
|
/**
|
|
@@ -6737,7 +6769,8 @@ export interface AddInstancesRequest {
|
|
|
6737
6769
|
*/
|
|
6738
6770
|
ReadOnlyCount: number;
|
|
6739
6771
|
/**
|
|
6740
|
-
* 实例组ID,在已有RO组中新增实例时使用,不传则新增RO
|
|
6772
|
+
* 实例组ID,在已有RO组中新增实例时使用,不传则新增RO组。当前版本不建议传输该值。
|
|
6773
|
+
* @deprecated
|
|
6741
6774
|
*/
|
|
6742
6775
|
InstanceGrpId?: string;
|
|
6743
6776
|
/**
|
|
@@ -7173,6 +7206,98 @@ export interface LogicBackupConfigInfo {
|
|
|
7173
7206
|
*/
|
|
7174
7207
|
LogicCrossRegions?: Array<string>;
|
|
7175
7208
|
}
|
|
7209
|
+
/**
|
|
7210
|
+
* 实例组信息
|
|
7211
|
+
*/
|
|
7212
|
+
export interface CynosdbInstanceGroup {
|
|
7213
|
+
/**
|
|
7214
|
+
* 用户appId
|
|
7215
|
+
*/
|
|
7216
|
+
AppId?: number;
|
|
7217
|
+
/**
|
|
7218
|
+
* 集群ID
|
|
7219
|
+
*/
|
|
7220
|
+
ClusterId?: string;
|
|
7221
|
+
/**
|
|
7222
|
+
* 创建时间
|
|
7223
|
+
*/
|
|
7224
|
+
CreatedTime?: string;
|
|
7225
|
+
/**
|
|
7226
|
+
* 删除时间
|
|
7227
|
+
*/
|
|
7228
|
+
DeletedTime?: string;
|
|
7229
|
+
/**
|
|
7230
|
+
* 实例组ID
|
|
7231
|
+
*/
|
|
7232
|
+
InstanceGroupId?: string;
|
|
7233
|
+
/**
|
|
7234
|
+
* 状态
|
|
7235
|
+
*/
|
|
7236
|
+
Status?: string;
|
|
7237
|
+
/**
|
|
7238
|
+
* 实例组类型。ha-ha组;ro-只读组
|
|
7239
|
+
*/
|
|
7240
|
+
Type?: string;
|
|
7241
|
+
/**
|
|
7242
|
+
* 更新时间
|
|
7243
|
+
*/
|
|
7244
|
+
UpdatedTime?: string;
|
|
7245
|
+
/**
|
|
7246
|
+
* 内网IP
|
|
7247
|
+
*/
|
|
7248
|
+
Vip?: string;
|
|
7249
|
+
/**
|
|
7250
|
+
* 内网端口
|
|
7251
|
+
*/
|
|
7252
|
+
Vport?: number;
|
|
7253
|
+
/**
|
|
7254
|
+
* 外网域名
|
|
7255
|
+
*/
|
|
7256
|
+
WanDomain?: string;
|
|
7257
|
+
/**
|
|
7258
|
+
* 外网ip
|
|
7259
|
+
*/
|
|
7260
|
+
WanIP?: string;
|
|
7261
|
+
/**
|
|
7262
|
+
* 外网端口
|
|
7263
|
+
*/
|
|
7264
|
+
WanPort?: number;
|
|
7265
|
+
/**
|
|
7266
|
+
* 外网状态
|
|
7267
|
+
*/
|
|
7268
|
+
WanStatus?: string;
|
|
7269
|
+
/**
|
|
7270
|
+
* 实例组包含实例信息
|
|
7271
|
+
*/
|
|
7272
|
+
InstanceSet?: Array<CynosdbInstance>;
|
|
7273
|
+
/**
|
|
7274
|
+
* VPC的ID
|
|
7275
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7276
|
+
*/
|
|
7277
|
+
UniqVpcId?: string;
|
|
7278
|
+
/**
|
|
7279
|
+
* 子网ID
|
|
7280
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7281
|
+
*/
|
|
7282
|
+
UniqSubnetId?: string;
|
|
7283
|
+
/**
|
|
7284
|
+
* 正在回收IP信息
|
|
7285
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
7286
|
+
*/
|
|
7287
|
+
OldAddrInfo?: OldAddrInfo;
|
|
7288
|
+
/**
|
|
7289
|
+
* 正在进行的任务
|
|
7290
|
+
*/
|
|
7291
|
+
ProcessingTasks?: Array<string>;
|
|
7292
|
+
/**
|
|
7293
|
+
* 任务列表
|
|
7294
|
+
*/
|
|
7295
|
+
Tasks?: Array<ObjectTask>;
|
|
7296
|
+
/**
|
|
7297
|
+
* biz_net_service表id
|
|
7298
|
+
*/
|
|
7299
|
+
NetServiceId?: number;
|
|
7300
|
+
}
|
|
7176
7301
|
/**
|
|
7177
7302
|
* RefundResourcePackage返回参数结构体
|
|
7178
7303
|
*/
|
|
@@ -7503,7 +7628,12 @@ export interface DeleteClusterDatabaseRequest {
|
|
|
7503
7628
|
/**
|
|
7504
7629
|
* 参数是否可修改的详细信息
|
|
7505
7630
|
*/
|
|
7506
|
-
export
|
|
7631
|
+
export interface ModifiableInfo {
|
|
7632
|
+
/**
|
|
7633
|
+
* 参数是否可被修改, 1:可以 0:不可以
|
|
7634
|
+
*/
|
|
7635
|
+
IsModifiable?: number;
|
|
7636
|
+
}
|
|
7507
7637
|
/**
|
|
7508
7638
|
* DescribeInstanceParams返回参数结构体
|
|
7509
7639
|
*/
|
|
@@ -7805,6 +7935,10 @@ export interface DescribeClusterParamsRequest {
|
|
|
7805
7935
|
* 参数名字
|
|
7806
7936
|
*/
|
|
7807
7937
|
ParamName?: string;
|
|
7938
|
+
/**
|
|
7939
|
+
* 是否为全局参数
|
|
7940
|
+
*/
|
|
7941
|
+
IsGlobal?: string;
|
|
7808
7942
|
}
|
|
7809
7943
|
/**
|
|
7810
7944
|
* 审计日志详细信息
|
|
@@ -7920,9 +8054,14 @@ export interface DescribeInstanceSpecsResponse {
|
|
|
7920
8054
|
*/
|
|
7921
8055
|
export interface DescribeDBSecurityGroupsRequest {
|
|
7922
8056
|
/**
|
|
7923
|
-
*
|
|
8057
|
+
* 实例ID
|
|
8058
|
+
* @deprecated
|
|
8059
|
+
*/
|
|
8060
|
+
InstanceId?: string;
|
|
8061
|
+
/**
|
|
8062
|
+
* 实例组ID
|
|
7924
8063
|
*/
|
|
7925
|
-
|
|
8064
|
+
InstanceGroupId?: string;
|
|
7926
8065
|
}
|
|
7927
8066
|
/**
|
|
7928
8067
|
* 错误日志导出格式
|
|
@@ -8117,11 +8256,16 @@ export interface DescribeClusterInstanceGrpsResponse {
|
|
|
8117
8256
|
/**
|
|
8118
8257
|
* 实例组个数
|
|
8119
8258
|
*/
|
|
8120
|
-
TotalCount
|
|
8259
|
+
TotalCount?: number;
|
|
8260
|
+
/**
|
|
8261
|
+
* 实例组列表
|
|
8262
|
+
* @deprecated
|
|
8263
|
+
*/
|
|
8264
|
+
InstanceGrpInfoList?: Array<CynosdbInstanceGrp>;
|
|
8121
8265
|
/**
|
|
8122
8266
|
* 实例组列表
|
|
8123
8267
|
*/
|
|
8124
|
-
|
|
8268
|
+
InstanceGroupInfoList?: Array<CynosdbInstanceGroup>;
|
|
8125
8269
|
/**
|
|
8126
8270
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8127
8271
|
*/
|
|
@@ -307,7 +307,8 @@ export declare class Client extends AbstractClient {
|
|
|
307
307
|
|
|
308
308
|
注:**静默(自动)签署不支持合同签署方存在填写**功能
|
|
309
309
|
<br>
|
|
310
|
-
|
|
310
|
+
|
|
311
|
+
<font color="red">相关视频指引</font>
|
|
311
312
|
<a href="https://dyn.ess.tencent.cn/guide/apivideo/createflow_seversign.mp4" target="_blank">创建静默(自动)签署模板和开通自动签署</a>
|
|
312
313
|
*/
|
|
313
314
|
CreateFlow(req: CreateFlowRequest, cb?: (error: string, rep: CreateFlowResponse) => void): Promise<CreateFlowResponse>;
|
|
@@ -381,7 +381,8 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
381
381
|
|
|
382
382
|
注:**静默(自动)签署不支持合同签署方存在填写**功能
|
|
383
383
|
<br>
|
|
384
|
-
|
|
384
|
+
|
|
385
|
+
<font color="red">相关视频指引</font>
|
|
385
386
|
<a href="https://dyn.ess.tencent.cn/guide/apivideo/createflow_seversign.mp4" target="_blank">创建静默(自动)签署模板和开通自动签署</a>
|
|
386
387
|
*/
|
|
387
388
|
async CreateFlow(req, cb) {
|