tencentcloud-sdk-nodejs 4.0.550 → 4.0.551
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 +196 -0
- package/SERVICE_CHANGELOG.md +329 -317
- package/package.json +1 -1
- package/products.md +22 -22
- package/src/common/sdk_version.ts +1 -1
- package/src/services/clb/v20180317/clb_models.ts +7 -1
- package/src/services/cynosdb/v20190107/cynosdb_models.ts +13 -1
- package/src/services/dcdb/v20180411/dcdb_models.ts +9 -17
- package/src/services/dts/v20211206/dts_client.ts +1 -1
- package/src/services/dts/v20211206/dts_models.ts +11 -11
- package/src/services/essbasic/v20210526/essbasic_client.ts +1 -1
- package/src/services/essbasic/v20210526/essbasic_models.ts +5 -5
- package/src/services/kms/v20190118/kms_models.ts +14 -8
- package/src/services/live/v20180801/live_models.ts +3 -2
- package/src/services/mariadb/v20170312/mariadb_models.ts +8 -9
- package/src/services/monitor/v20180724/monitor_client.ts +1 -0
- package/src/services/monitor/v20180724/monitor_models.ts +73 -18
- package/src/services/redis/v20180412/redis_client.ts +58 -34
- package/src/services/redis/v20180412/redis_models.ts +143 -48
- package/src/services/tcr/v20190924/tcr_client.ts +0 -14
- package/src/services/tcr/v20190924/tcr_models.ts +0 -52
- package/src/services/teo/v20220901/teo_models.ts +2 -2
- package/src/services/tione/v20211111/tione_models.ts +1 -1
- package/src/services/trtc/v20190722/trtc_models.ts +24 -0
- package/src/services/vod/v20180717/vod_client.ts +1 -0
- package/src/services/vod/v20180717/vod_models.ts +42 -6
- package/src/services/waf/v20180125/waf_client.ts +12 -0
- package/src/services/waf/v20180125/waf_models.ts +40 -0
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +6 -1
- package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +11 -1
- package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +7 -15
- package/tencentcloud/services/dts/v20211206/dts_client.d.ts +1 -1
- package/tencentcloud/services/dts/v20211206/dts_client.js +1 -1
- package/tencentcloud/services/dts/v20211206/dts_models.d.ts +11 -11
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.d.ts +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_client.js +1 -1
- package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +5 -5
- package/tencentcloud/services/kms/v20190118/kms_models.d.ts +13 -8
- package/tencentcloud/services/live/v20180801/live_models.d.ts +1 -0
- package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +7 -8
- package/tencentcloud/services/monitor/v20180724/monitor_models.d.ts +64 -18
- package/tencentcloud/services/redis/v20180412/redis_client.d.ts +19 -11
- package/tencentcloud/services/redis/v20180412/redis_client.js +27 -15
- package/tencentcloud/services/redis/v20180412/redis_models.d.ts +125 -43
- package/tencentcloud/services/tcr/v20190924/tcr_client.d.ts +1 -7
- package/tencentcloud/services/tcr/v20190924/tcr_client.js +0 -8
- package/tencentcloud/services/tcr/v20190924/tcr_models.d.ts +0 -44
- package/tencentcloud/services/teo/v20220901/teo_models.d.ts +2 -2
- package/tencentcloud/services/tione/v20211111/tione_models.d.ts +1 -1
- package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +20 -0
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +35 -4
- package/tencentcloud/services/waf/v20180125/waf_client.d.ts +5 -1
- package/tencentcloud/services/waf/v20180125/waf_client.js +6 -0
- package/tencentcloud/services/waf/v20180125/waf_models.d.ts +33 -0
- package/test/redis.v20180412.test.js +30 -10
- package/test/tcr.v20190924.test.js +0 -10
- package/test/waf.v20180125.test.js +10 -0
|
@@ -364,7 +364,7 @@ export interface CreatePolicyGroupResponse {
|
|
|
364
364
|
/**
|
|
365
365
|
* 创建成功的策略组Id
|
|
366
366
|
*/
|
|
367
|
-
GroupId
|
|
367
|
+
GroupId: number
|
|
368
368
|
|
|
369
369
|
/**
|
|
370
370
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -427,6 +427,29 @@ export interface CreatePrometheusMultiTenantInstancePostPayModeRequest {
|
|
|
427
427
|
GrafanaInstanceId?: string
|
|
428
428
|
}
|
|
429
429
|
|
|
430
|
+
/**
|
|
431
|
+
* DescribePolicyConditionListResponseDeprecatingInfo
|
|
432
|
+
*/
|
|
433
|
+
export interface DescribePolicyConditionListResponseDeprecatingInfo {
|
|
434
|
+
/**
|
|
435
|
+
* 是否隐藏
|
|
436
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
437
|
+
*/
|
|
438
|
+
Hidden?: boolean
|
|
439
|
+
|
|
440
|
+
/**
|
|
441
|
+
* 新视图名称
|
|
442
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
443
|
+
*/
|
|
444
|
+
NewViewNames?: Array<string>
|
|
445
|
+
|
|
446
|
+
/**
|
|
447
|
+
* 描述
|
|
448
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
449
|
+
*/
|
|
450
|
+
Description?: string
|
|
451
|
+
}
|
|
452
|
+
|
|
430
453
|
/**
|
|
431
454
|
* 云原生Prometheus模板可修改项
|
|
432
455
|
*/
|
|
@@ -2439,7 +2462,7 @@ export interface CreatePolicyGroupCondition {
|
|
|
2439
2462
|
ContinuePeriod?: number
|
|
2440
2463
|
|
|
2441
2464
|
/**
|
|
2442
|
-
*
|
|
2465
|
+
* 如果通过模板创建,需要传入模板中该指标的对应RuleId
|
|
2443
2466
|
*/
|
|
2444
2467
|
RuleId?: number
|
|
2445
2468
|
}
|
|
@@ -2862,7 +2885,7 @@ export interface CreateAlarmNoticeRequest {
|
|
|
2862
2885
|
CLSNotices?: Array<CLSNotice>
|
|
2863
2886
|
|
|
2864
2887
|
/**
|
|
2865
|
-
*
|
|
2888
|
+
* 模板绑定的标签
|
|
2866
2889
|
*/
|
|
2867
2890
|
Tags?: Array<Tag>
|
|
2868
2891
|
}
|
|
@@ -2952,7 +2975,7 @@ export interface SendCustomAlarmMsgResponse {
|
|
|
2952
2975
|
*/
|
|
2953
2976
|
export interface AlarmPolicyCondition {
|
|
2954
2977
|
/**
|
|
2955
|
-
*
|
|
2978
|
+
* 告警触发条件的判断方式. 0: 任意; 1: 全部; 2: 复合. 当取值为2的时候为复合告警,与参数 ComplexExpression 配合使用.
|
|
2956
2979
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2957
2980
|
*/
|
|
2958
2981
|
IsUnionRule: number
|
|
@@ -2962,6 +2985,12 @@ export interface AlarmPolicyCondition {
|
|
|
2962
2985
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2963
2986
|
*/
|
|
2964
2987
|
Rules: Array<AlarmPolicyRule>
|
|
2988
|
+
|
|
2989
|
+
/**
|
|
2990
|
+
* 复合告警触发条件的判断表达式,当 IsUnionRule 取值为2的时候有效. 其作用是描述多个触发条件需要满足表达式求值为True时才算是满足告警条件.
|
|
2991
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2992
|
+
*/
|
|
2993
|
+
ComplexExpression?: string
|
|
2965
2994
|
}
|
|
2966
2995
|
|
|
2967
2996
|
/**
|
|
@@ -3635,7 +3664,7 @@ export interface CreateAlarmPolicyRequest {
|
|
|
3635
3664
|
GroupBy?: Array<string>
|
|
3636
3665
|
|
|
3637
3666
|
/**
|
|
3638
|
-
*
|
|
3667
|
+
* 模板绑定的标签
|
|
3639
3668
|
*/
|
|
3640
3669
|
Tags?: Array<Tag>
|
|
3641
3670
|
|
|
@@ -5521,7 +5550,7 @@ export interface CreatePolicyGroupEventCondition {
|
|
|
5521
5550
|
AlarmNotifyPeriod: number
|
|
5522
5551
|
|
|
5523
5552
|
/**
|
|
5524
|
-
*
|
|
5553
|
+
* 如果通过模板创建,需要传入模板中该指标的对应RuleId
|
|
5525
5554
|
*/
|
|
5526
5555
|
RuleId?: number
|
|
5527
5556
|
}
|
|
@@ -6628,7 +6657,7 @@ export interface AlarmNotice {
|
|
|
6628
6657
|
CLSNotices: Array<CLSNotice>
|
|
6629
6658
|
|
|
6630
6659
|
/**
|
|
6631
|
-
*
|
|
6660
|
+
* 通知模板绑定的标签
|
|
6632
6661
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
6633
6662
|
*/
|
|
6634
6663
|
Tags: Array<Tag>
|
|
@@ -8333,7 +8362,7 @@ export interface CreatePolicyGroupRequest {
|
|
|
8333
8362
|
Module: string
|
|
8334
8363
|
|
|
8335
8364
|
/**
|
|
8336
|
-
*
|
|
8365
|
+
* 策略组所属视图的名称,若通过模板创建,可不传入
|
|
8337
8366
|
*/
|
|
8338
8367
|
ViewName?: string
|
|
8339
8368
|
|
|
@@ -8343,7 +8372,7 @@ export interface CreatePolicyGroupRequest {
|
|
|
8343
8372
|
ProjectId?: number
|
|
8344
8373
|
|
|
8345
8374
|
/**
|
|
8346
|
-
*
|
|
8375
|
+
* 模板策略组Id, 通过模板创建时才需要传
|
|
8347
8376
|
*/
|
|
8348
8377
|
ConditionTempGroupId?: number
|
|
8349
8378
|
|
|
@@ -8373,7 +8402,7 @@ export interface CreatePolicyGroupRequest {
|
|
|
8373
8402
|
EventConditions?: Array<CreatePolicyGroupEventCondition>
|
|
8374
8403
|
|
|
8375
8404
|
/**
|
|
8376
|
-
* 是否为后端调用。当且仅当值为1
|
|
8405
|
+
* 是否为后端调用。当且仅当值为1时,后台拉取策略模板中的规则填充入Conditions以及EventConditions字段
|
|
8377
8406
|
*/
|
|
8378
8407
|
BackEndCall?: number
|
|
8379
8408
|
|
|
@@ -8444,7 +8473,7 @@ export interface DescribePolicyConditionListEventMetric {
|
|
|
8444
8473
|
}
|
|
8445
8474
|
|
|
8446
8475
|
/**
|
|
8447
|
-
*
|
|
8476
|
+
* 通知模板与策略绑定关系
|
|
8448
8477
|
*/
|
|
8449
8478
|
export interface NoticeBindPolicys {
|
|
8450
8479
|
/**
|
|
@@ -8523,7 +8552,7 @@ export interface DescribeAlarmNoticesRequest {
|
|
|
8523
8552
|
NoticeIds?: Array<string>
|
|
8524
8553
|
|
|
8525
8554
|
/**
|
|
8526
|
-
*
|
|
8555
|
+
* 模板根据标签过滤
|
|
8527
8556
|
*/
|
|
8528
8557
|
Tags?: Array<Tag>
|
|
8529
8558
|
}
|
|
@@ -8894,6 +8923,26 @@ export interface ModifyPrometheusInstanceAttributesRequest {
|
|
|
8894
8923
|
* DescribePrometheusConfig返回参数结构体
|
|
8895
8924
|
*/
|
|
8896
8925
|
export interface DescribePrometheusConfigResponse {
|
|
8926
|
+
/**
|
|
8927
|
+
* 全局配置
|
|
8928
|
+
*/
|
|
8929
|
+
Config?: string
|
|
8930
|
+
|
|
8931
|
+
/**
|
|
8932
|
+
* ServiceMonitor配置
|
|
8933
|
+
*/
|
|
8934
|
+
ServiceMonitors?: Array<PrometheusConfigItem>
|
|
8935
|
+
|
|
8936
|
+
/**
|
|
8937
|
+
* PodMonitor配置
|
|
8938
|
+
*/
|
|
8939
|
+
PodMonitors?: Array<PrometheusConfigItem>
|
|
8940
|
+
|
|
8941
|
+
/**
|
|
8942
|
+
* 原生Job
|
|
8943
|
+
*/
|
|
8944
|
+
RawJobs?: Array<PrometheusConfigItem>
|
|
8945
|
+
|
|
8897
8946
|
/**
|
|
8898
8947
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
8899
8948
|
*/
|
|
@@ -8920,27 +8969,27 @@ export interface DescribeProductEventListRequest {
|
|
|
8920
8969
|
Module: string
|
|
8921
8970
|
|
|
8922
8971
|
/**
|
|
8923
|
-
*
|
|
8972
|
+
* 产品类型过滤,例如"cvm"表示云服务器
|
|
8924
8973
|
*/
|
|
8925
8974
|
ProductName?: Array<string>
|
|
8926
8975
|
|
|
8927
8976
|
/**
|
|
8928
|
-
*
|
|
8977
|
+
* 事件名称过滤,例如"guest_reboot"表示机器重启
|
|
8929
8978
|
*/
|
|
8930
8979
|
EventName?: Array<string>
|
|
8931
8980
|
|
|
8932
8981
|
/**
|
|
8933
|
-
*
|
|
8982
|
+
* 影响对象,例如"ins-19708ino"
|
|
8934
8983
|
*/
|
|
8935
8984
|
InstanceId?: Array<string>
|
|
8936
8985
|
|
|
8937
8986
|
/**
|
|
8938
|
-
*
|
|
8987
|
+
* 维度过滤,例如外网IP:10.0.0.1
|
|
8939
8988
|
*/
|
|
8940
8989
|
Dimensions?: Array<DescribeProductEventListDimensions>
|
|
8941
8990
|
|
|
8942
8991
|
/**
|
|
8943
|
-
*
|
|
8992
|
+
* 产品事件地域过滤参数,例如gz,各地域缩写可参见[地域列表](https://cloud.tencent.com/document/product/248/50863)
|
|
8944
8993
|
*/
|
|
8945
8994
|
RegionList?: Array<string>
|
|
8946
8995
|
|
|
@@ -9699,6 +9748,12 @@ export interface DescribePolicyConditionListCondition {
|
|
|
9699
9748
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
9700
9749
|
*/
|
|
9701
9750
|
SupportRegions: Array<string>
|
|
9751
|
+
|
|
9752
|
+
/**
|
|
9753
|
+
* 弃用信息
|
|
9754
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
9755
|
+
*/
|
|
9756
|
+
DeprecatingInfo?: DescribePolicyConditionListResponseDeprecatingInfo
|
|
9702
9757
|
}
|
|
9703
9758
|
|
|
9704
9759
|
/**
|
|
@@ -10139,7 +10194,7 @@ export interface PrometheusScrapeJob {
|
|
|
10139
10194
|
}
|
|
10140
10195
|
|
|
10141
10196
|
/**
|
|
10142
|
-
*
|
|
10197
|
+
* 通知模板ID及通知等级列表,["Remind","Serious"]表示该通知模板仅接收提醒和严重类别的告警
|
|
10143
10198
|
*/
|
|
10144
10199
|
export interface AlarmHierarchicalNotice {
|
|
10145
10200
|
/**
|
|
@@ -47,6 +47,7 @@ import {
|
|
|
47
47
|
DescribeDBSecurityGroupsResponse,
|
|
48
48
|
RestoreInstanceResponse,
|
|
49
49
|
RedisNodeInfo,
|
|
50
|
+
ModifyBackupDownloadRestrictionResponse,
|
|
50
51
|
DescribeBackupUrlRequest,
|
|
51
52
|
DeleteParamTemplateResponse,
|
|
52
53
|
DescribeInstancesResponse,
|
|
@@ -71,8 +72,9 @@ import {
|
|
|
71
72
|
ParameterDetail,
|
|
72
73
|
DescribeInstanceShardsResponse,
|
|
73
74
|
DestroyPrepaidInstanceRequest,
|
|
74
|
-
|
|
75
|
+
DisableReplicaReadonlyRequest,
|
|
75
76
|
TaskInfoDetail,
|
|
77
|
+
ModifyBackupDownloadRestrictionRequest,
|
|
76
78
|
DisableReplicaReadonlyResponse,
|
|
77
79
|
CreateParamTemplateResponse,
|
|
78
80
|
InstanceTagInfo,
|
|
@@ -100,7 +102,7 @@ import {
|
|
|
100
102
|
DescribeDBSecurityGroupsRequest,
|
|
101
103
|
InquiryPriceCreateInstanceResponse,
|
|
102
104
|
InstanceSecurityGroupDetail,
|
|
103
|
-
|
|
105
|
+
DescribeInstanceParamsResponse,
|
|
104
106
|
UpgradeProxyVersionResponse,
|
|
105
107
|
ResetPasswordRequest,
|
|
106
108
|
ModifyInstanceAccountResponse,
|
|
@@ -152,6 +154,7 @@ import {
|
|
|
152
154
|
ReleaseWanAddressResponse,
|
|
153
155
|
ProductConf,
|
|
154
156
|
ModifyConnectionConfigRequest,
|
|
157
|
+
ManualBackupInstanceResponse,
|
|
155
158
|
InstanceNode,
|
|
156
159
|
TendisNodes,
|
|
157
160
|
SwitchProxyResponse,
|
|
@@ -178,6 +181,7 @@ import {
|
|
|
178
181
|
ChangeInstanceRoleRequest,
|
|
179
182
|
DeleteInstanceAccountRequest,
|
|
180
183
|
DescribeInstanceMonitorHotKeyRequest,
|
|
184
|
+
DescribeBackupDownloadRestrictionResponse,
|
|
181
185
|
UpgradeInstanceResponse,
|
|
182
186
|
ManualBackupInstanceRequest,
|
|
183
187
|
DescribeReplicationGroupResponse,
|
|
@@ -209,11 +213,11 @@ import {
|
|
|
209
213
|
ModifyInstanceReadOnlyRequest,
|
|
210
214
|
DescribeInstanceAccountResponse,
|
|
211
215
|
DescribeInstanceMonitorBigKeyRequest,
|
|
212
|
-
|
|
216
|
+
DescribeBackupDownloadRestrictionRequest,
|
|
213
217
|
DescribeParamTemplateInfoResponse,
|
|
214
218
|
DescribeProductInfoRequest,
|
|
215
219
|
SwitchInstanceVipResponse,
|
|
216
|
-
|
|
220
|
+
BackupLimitVpcItem,
|
|
217
221
|
DisassociateSecurityGroupsRequest,
|
|
218
222
|
StartupInstanceRequest,
|
|
219
223
|
HotKeyInfo,
|
|
@@ -361,13 +365,13 @@ export class Client extends AbstractClient {
|
|
|
361
365
|
}
|
|
362
366
|
|
|
363
367
|
/**
|
|
364
|
-
*
|
|
368
|
+
* 本接口(ModifyBackupDownloadRestriction)用于修改备份文件下载的网络信息与地址。
|
|
365
369
|
*/
|
|
366
|
-
async
|
|
367
|
-
req:
|
|
368
|
-
cb?: (error: string, rep:
|
|
369
|
-
): Promise<
|
|
370
|
-
return this.request("
|
|
370
|
+
async ModifyBackupDownloadRestriction(
|
|
371
|
+
req: ModifyBackupDownloadRestrictionRequest,
|
|
372
|
+
cb?: (error: string, rep: ModifyBackupDownloadRestrictionResponse) => void
|
|
373
|
+
): Promise<ModifyBackupDownloadRestrictionResponse> {
|
|
374
|
+
return this.request("ModifyBackupDownloadRestriction", req, cb)
|
|
371
375
|
}
|
|
372
376
|
|
|
373
377
|
/**
|
|
@@ -421,13 +425,13 @@ export class Client extends AbstractClient {
|
|
|
421
425
|
}
|
|
422
426
|
|
|
423
427
|
/**
|
|
424
|
-
*
|
|
428
|
+
* 本接口(DescribeBackupUrl)用于查询备份 Rdb 文件的下载地址。
|
|
425
429
|
*/
|
|
426
|
-
async
|
|
427
|
-
req:
|
|
428
|
-
cb?: (error: string, rep:
|
|
429
|
-
): Promise<
|
|
430
|
-
return this.request("
|
|
430
|
+
async DescribeBackupUrl(
|
|
431
|
+
req: DescribeBackupUrlRequest,
|
|
432
|
+
cb?: (error: string, rep: DescribeBackupUrlResponse) => void
|
|
433
|
+
): Promise<DescribeBackupUrlResponse> {
|
|
434
|
+
return this.request("DescribeBackupUrl", req, cb)
|
|
431
435
|
}
|
|
432
436
|
|
|
433
437
|
/**
|
|
@@ -591,13 +595,13 @@ export class Client extends AbstractClient {
|
|
|
591
595
|
}
|
|
592
596
|
|
|
593
597
|
/**
|
|
594
|
-
*
|
|
598
|
+
* 开通外网
|
|
595
599
|
*/
|
|
596
|
-
async
|
|
597
|
-
req:
|
|
598
|
-
cb?: (error: string, rep:
|
|
599
|
-
): Promise<
|
|
600
|
-
return this.request("
|
|
600
|
+
async AllocateWanAddress(
|
|
601
|
+
req: AllocateWanAddressRequest,
|
|
602
|
+
cb?: (error: string, rep: AllocateWanAddressResponse) => void
|
|
603
|
+
): Promise<AllocateWanAddressResponse> {
|
|
604
|
+
return this.request("AllocateWanAddress", req, cb)
|
|
601
605
|
}
|
|
602
606
|
|
|
603
607
|
/**
|
|
@@ -701,13 +705,13 @@ export class Client extends AbstractClient {
|
|
|
701
705
|
}
|
|
702
706
|
|
|
703
707
|
/**
|
|
704
|
-
*
|
|
708
|
+
* 包年包月实例退还
|
|
705
709
|
*/
|
|
706
|
-
async
|
|
707
|
-
req:
|
|
708
|
-
cb?: (error: string, rep:
|
|
709
|
-
): Promise<
|
|
710
|
-
return this.request("
|
|
710
|
+
async DestroyPrepaidInstance(
|
|
711
|
+
req: DestroyPrepaidInstanceRequest,
|
|
712
|
+
cb?: (error: string, rep: DestroyPrepaidInstanceResponse) => void
|
|
713
|
+
): Promise<DestroyPrepaidInstanceResponse> {
|
|
714
|
+
return this.request("DestroyPrepaidInstance", req, cb)
|
|
711
715
|
}
|
|
712
716
|
|
|
713
717
|
/**
|
|
@@ -900,6 +904,16 @@ export class Client extends AbstractClient {
|
|
|
900
904
|
return this.request("DescribeSlowLog", req, cb)
|
|
901
905
|
}
|
|
902
906
|
|
|
907
|
+
/**
|
|
908
|
+
* 本接口(DescribeBackupDownloadRestriction)用于查询当前地域数据库备份文件的下载地址。
|
|
909
|
+
*/
|
|
910
|
+
async DescribeBackupDownloadRestriction(
|
|
911
|
+
req?: DescribeBackupDownloadRestrictionRequest,
|
|
912
|
+
cb?: (error: string, rep: DescribeBackupDownloadRestrictionResponse) => void
|
|
913
|
+
): Promise<DescribeBackupDownloadRestrictionResponse> {
|
|
914
|
+
return this.request("DescribeBackupDownloadRestriction", req, cb)
|
|
915
|
+
}
|
|
916
|
+
|
|
903
917
|
/**
|
|
904
918
|
* 查询Redis节点详细信息
|
|
905
919
|
*/
|
|
@@ -971,13 +985,13 @@ export class Client extends AbstractClient {
|
|
|
971
985
|
}
|
|
972
986
|
|
|
973
987
|
/**
|
|
974
|
-
*
|
|
988
|
+
* 恢复 CRS 实例
|
|
975
989
|
*/
|
|
976
|
-
async
|
|
977
|
-
req:
|
|
978
|
-
cb?: (error: string, rep:
|
|
979
|
-
): Promise<
|
|
980
|
-
return this.request("
|
|
990
|
+
async RestoreInstance(
|
|
991
|
+
req: RestoreInstanceRequest,
|
|
992
|
+
cb?: (error: string, rep: RestoreInstanceResponse) => void
|
|
993
|
+
): Promise<RestoreInstanceResponse> {
|
|
994
|
+
return this.request("RestoreInstance", req, cb)
|
|
981
995
|
}
|
|
982
996
|
|
|
983
997
|
/**
|
|
@@ -1030,6 +1044,16 @@ export class Client extends AbstractClient {
|
|
|
1030
1044
|
return this.request("DescribeProxySlowLog", req, cb)
|
|
1031
1045
|
}
|
|
1032
1046
|
|
|
1047
|
+
/**
|
|
1048
|
+
* 本接口(ModifyDBInstanceSecurityGroups)用于修改实例绑定的安全组。
|
|
1049
|
+
*/
|
|
1050
|
+
async ModifyDBInstanceSecurityGroups(
|
|
1051
|
+
req: ModifyDBInstanceSecurityGroupsRequest,
|
|
1052
|
+
cb?: (error: string, rep: ModifyDBInstanceSecurityGroupsResponse) => void
|
|
1053
|
+
): Promise<ModifyDBInstanceSecurityGroupsResponse> {
|
|
1054
|
+
return this.request("ModifyDBInstanceSecurityGroups", req, cb)
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1033
1057
|
/**
|
|
1034
1058
|
* 复制组实例切主
|
|
1035
1059
|
*/
|
|
@@ -848,6 +848,16 @@ export interface RedisNodeInfo {
|
|
|
848
848
|
ZoneName?: string
|
|
849
849
|
}
|
|
850
850
|
|
|
851
|
+
/**
|
|
852
|
+
* ModifyBackupDownloadRestriction返回参数结构体
|
|
853
|
+
*/
|
|
854
|
+
export interface ModifyBackupDownloadRestrictionResponse {
|
|
855
|
+
/**
|
|
856
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
857
|
+
*/
|
|
858
|
+
RequestId?: string
|
|
859
|
+
}
|
|
860
|
+
|
|
851
861
|
/**
|
|
852
862
|
* DescribeBackupUrl请求参数结构体
|
|
853
863
|
*/
|
|
@@ -1435,18 +1445,13 @@ export interface DestroyPrepaidInstanceRequest {
|
|
|
1435
1445
|
}
|
|
1436
1446
|
|
|
1437
1447
|
/**
|
|
1438
|
-
*
|
|
1448
|
+
* DisableReplicaReadonly请求参数结构体
|
|
1439
1449
|
*/
|
|
1440
|
-
export interface
|
|
1441
|
-
/**
|
|
1442
|
-
* 任务ID
|
|
1443
|
-
*/
|
|
1444
|
-
TaskId: number
|
|
1445
|
-
|
|
1450
|
+
export interface DisableReplicaReadonlyRequest {
|
|
1446
1451
|
/**
|
|
1447
|
-
*
|
|
1452
|
+
* 实例序号ID
|
|
1448
1453
|
*/
|
|
1449
|
-
|
|
1454
|
+
InstanceId: string
|
|
1450
1455
|
}
|
|
1451
1456
|
|
|
1452
1457
|
/**
|
|
@@ -1508,6 +1513,44 @@ export interface TaskInfoDetail {
|
|
|
1508
1513
|
Result: number
|
|
1509
1514
|
}
|
|
1510
1515
|
|
|
1516
|
+
/**
|
|
1517
|
+
* ModifyBackupDownloadRestriction请求参数结构体
|
|
1518
|
+
*/
|
|
1519
|
+
export interface ModifyBackupDownloadRestrictionRequest {
|
|
1520
|
+
/**
|
|
1521
|
+
* 下载备份文件的网络限制类型:
|
|
1522
|
+
|
|
1523
|
+
- NoLimit:不限制,腾讯云内外网均可以下载备份文件。
|
|
1524
|
+
- LimitOnlyIntranet:仅腾讯云自动分配的内网地址可下载备份文件。
|
|
1525
|
+
- Customize:指用户自定义的私有网络可下载备份文件。
|
|
1526
|
+
*/
|
|
1527
|
+
LimitType: string
|
|
1528
|
+
|
|
1529
|
+
/**
|
|
1530
|
+
* 该参数仅支持输入 In,表示自定义的**LimitVpc**可以下载备份文件。
|
|
1531
|
+
*/
|
|
1532
|
+
VpcComparisonSymbol?: string
|
|
1533
|
+
|
|
1534
|
+
/**
|
|
1535
|
+
* 标识自定义的 LimitIp 地址是否可下载备份文件。
|
|
1536
|
+
|
|
1537
|
+
- In: 自定义的 IP 地址可以下载。
|
|
1538
|
+
- NotIn: 自定义的 IP 不可以下载。
|
|
1539
|
+
*/
|
|
1540
|
+
IpComparisonSymbol?: string
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* 自定义的可下载备份文件的 VPC ID。当参数**LimitType**为**Customize **时,需配置该参数。
|
|
1544
|
+
*/
|
|
1545
|
+
LimitVpc?: Array<BackupLimitVpcItem>
|
|
1546
|
+
|
|
1547
|
+
/**
|
|
1548
|
+
* 自定义的可下载备份文件的 VPC IP 地址。当参数**LimitType**为**Customize **时,需配置该参数。
|
|
1549
|
+
|
|
1550
|
+
*/
|
|
1551
|
+
LimitIp?: Array<string>
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1511
1554
|
/**
|
|
1512
1555
|
* DisableReplicaReadonly返回参数结构体
|
|
1513
1556
|
*/
|
|
@@ -2089,18 +2132,38 @@ export interface InstanceSecurityGroupDetail {
|
|
|
2089
2132
|
}
|
|
2090
2133
|
|
|
2091
2134
|
/**
|
|
2092
|
-
*
|
|
2135
|
+
* DescribeInstanceParams返回参数结构体
|
|
2093
2136
|
*/
|
|
2094
|
-
export interface
|
|
2137
|
+
export interface DescribeInstanceParamsResponse {
|
|
2095
2138
|
/**
|
|
2096
|
-
*
|
|
2139
|
+
* 实例参数个数
|
|
2097
2140
|
*/
|
|
2098
|
-
|
|
2141
|
+
TotalCount: number
|
|
2099
2142
|
|
|
2100
2143
|
/**
|
|
2101
|
-
*
|
|
2144
|
+
* 实例枚举类型参数
|
|
2102
2145
|
*/
|
|
2103
|
-
|
|
2146
|
+
InstanceEnumParam: Array<InstanceEnumParam>
|
|
2147
|
+
|
|
2148
|
+
/**
|
|
2149
|
+
* 实例整型参数
|
|
2150
|
+
*/
|
|
2151
|
+
InstanceIntegerParam: Array<InstanceIntegerParam>
|
|
2152
|
+
|
|
2153
|
+
/**
|
|
2154
|
+
* 实例字符型参数
|
|
2155
|
+
*/
|
|
2156
|
+
InstanceTextParam: Array<InstanceTextParam>
|
|
2157
|
+
|
|
2158
|
+
/**
|
|
2159
|
+
* 实例多选项型参数
|
|
2160
|
+
*/
|
|
2161
|
+
InstanceMultiParam: Array<InstanceMultiParam>
|
|
2162
|
+
|
|
2163
|
+
/**
|
|
2164
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2165
|
+
*/
|
|
2166
|
+
RequestId?: string
|
|
2104
2167
|
}
|
|
2105
2168
|
|
|
2106
2169
|
/**
|
|
@@ -3325,6 +3388,21 @@ export interface ModifyConnectionConfigRequest {
|
|
|
3325
3388
|
ClientLimit?: number
|
|
3326
3389
|
}
|
|
3327
3390
|
|
|
3391
|
+
/**
|
|
3392
|
+
* ManualBackupInstance返回参数结构体
|
|
3393
|
+
*/
|
|
3394
|
+
export interface ManualBackupInstanceResponse {
|
|
3395
|
+
/**
|
|
3396
|
+
* 任务ID
|
|
3397
|
+
*/
|
|
3398
|
+
TaskId: number
|
|
3399
|
+
|
|
3400
|
+
/**
|
|
3401
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3402
|
+
*/
|
|
3403
|
+
RequestId?: string
|
|
3404
|
+
}
|
|
3405
|
+
|
|
3328
3406
|
/**
|
|
3329
3407
|
* 实例节点
|
|
3330
3408
|
*/
|
|
@@ -4001,6 +4079,48 @@ export interface DescribeInstanceMonitorHotKeyRequest {
|
|
|
4001
4079
|
SpanType: number
|
|
4002
4080
|
}
|
|
4003
4081
|
|
|
4082
|
+
/**
|
|
4083
|
+
* DescribeBackupDownloadRestriction返回参数结构体
|
|
4084
|
+
*/
|
|
4085
|
+
export interface DescribeBackupDownloadRestrictionResponse {
|
|
4086
|
+
/**
|
|
4087
|
+
* 下载备份文件的网络限制类型:
|
|
4088
|
+
|
|
4089
|
+
- NoLimit:不限制,腾讯云内外网均可以下载备份文件。
|
|
4090
|
+
- LimitOnlyIntranet:仅腾讯云自动分配的内网地址可下载备份文件。
|
|
4091
|
+
- Customize:指用户自定义的私有网络可下载备份文件。
|
|
4092
|
+
*/
|
|
4093
|
+
LimitType?: string
|
|
4094
|
+
|
|
4095
|
+
/**
|
|
4096
|
+
* 该参数仅支持输入 In,表示自定义的**LimitVpc**可以下载备份文件。
|
|
4097
|
+
*/
|
|
4098
|
+
VpcComparisonSymbol?: string
|
|
4099
|
+
|
|
4100
|
+
/**
|
|
4101
|
+
* 标识自定义的 LimitIp 地址是否可下载备份文件。
|
|
4102
|
+
|
|
4103
|
+
- In: 自定义的 IP 地址可以下载。
|
|
4104
|
+
- NotIn: 自定义的 IP 不可以下载。
|
|
4105
|
+
*/
|
|
4106
|
+
IpComparisonSymbol?: string
|
|
4107
|
+
|
|
4108
|
+
/**
|
|
4109
|
+
* 自定义的可下载备份文件的 VPC ID。当参数**LimitType**为**Customize **时,显示该参数。
|
|
4110
|
+
*/
|
|
4111
|
+
LimitVpc?: Array<BackupLimitVpcItem>
|
|
4112
|
+
|
|
4113
|
+
/**
|
|
4114
|
+
* 自定义的可下载备份文件的 VPC ID。当参数**LimitType**为**Customize **时,显示该参数。
|
|
4115
|
+
*/
|
|
4116
|
+
LimitIp?: Array<string>
|
|
4117
|
+
|
|
4118
|
+
/**
|
|
4119
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4120
|
+
*/
|
|
4121
|
+
RequestId?: string
|
|
4122
|
+
}
|
|
4123
|
+
|
|
4004
4124
|
/**
|
|
4005
4125
|
* UpgradeInstance返回参数结构体
|
|
4006
4126
|
*/
|
|
@@ -4952,14 +5072,9 @@ export interface DescribeInstanceMonitorBigKeyRequest {
|
|
|
4952
5072
|
}
|
|
4953
5073
|
|
|
4954
5074
|
/**
|
|
4955
|
-
*
|
|
5075
|
+
* DescribeBackupDownloadRestriction请求参数结构体
|
|
4956
5076
|
*/
|
|
4957
|
-
export
|
|
4958
|
-
/**
|
|
4959
|
-
* 实例序号ID
|
|
4960
|
-
*/
|
|
4961
|
-
InstanceId: string
|
|
4962
|
-
}
|
|
5077
|
+
export type DescribeBackupDownloadRestrictionRequest = null
|
|
4963
5078
|
|
|
4964
5079
|
/**
|
|
4965
5080
|
* DescribeParamTemplateInfo返回参数结构体
|
|
@@ -5022,38 +5137,18 @@ export interface SwitchInstanceVipResponse {
|
|
|
5022
5137
|
}
|
|
5023
5138
|
|
|
5024
5139
|
/**
|
|
5025
|
-
*
|
|
5140
|
+
* 自定义的备份文件下载地址的 VPC 信息。
|
|
5026
5141
|
*/
|
|
5027
|
-
export interface
|
|
5028
|
-
/**
|
|
5029
|
-
* 实例参数个数
|
|
5030
|
-
*/
|
|
5031
|
-
TotalCount: number
|
|
5032
|
-
|
|
5033
|
-
/**
|
|
5034
|
-
* 实例枚举类型参数
|
|
5035
|
-
*/
|
|
5036
|
-
InstanceEnumParam: Array<InstanceEnumParam>
|
|
5037
|
-
|
|
5038
|
-
/**
|
|
5039
|
-
* 实例整型参数
|
|
5040
|
-
*/
|
|
5041
|
-
InstanceIntegerParam: Array<InstanceIntegerParam>
|
|
5042
|
-
|
|
5043
|
-
/**
|
|
5044
|
-
* 实例字符型参数
|
|
5045
|
-
*/
|
|
5046
|
-
InstanceTextParam: Array<InstanceTextParam>
|
|
5047
|
-
|
|
5142
|
+
export interface BackupLimitVpcItem {
|
|
5048
5143
|
/**
|
|
5049
|
-
*
|
|
5144
|
+
* 自定义下载备份文件的VPC 所属地域。
|
|
5050
5145
|
*/
|
|
5051
|
-
|
|
5146
|
+
Region: string
|
|
5052
5147
|
|
|
5053
5148
|
/**
|
|
5054
|
-
*
|
|
5149
|
+
* 自定义下载备份文件的 VPC 列表。
|
|
5055
5150
|
*/
|
|
5056
|
-
|
|
5151
|
+
VpcList: Array<string>
|
|
5057
5152
|
}
|
|
5058
5153
|
|
|
5059
5154
|
/**
|