tencentcloud-sdk-nodejs-postgres 4.0.586 → 4.0.588
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 +563 -0
- package/SERVICE_CHANGELOG.md +551 -178
- package/package.json +1 -1
- package/products.md +36 -36
- package/src/services/postgres/v20170312/postgres_client.ts +523 -487
- package/src/services/postgres/v20170312/postgres_models.ts +160 -31
- package/tencentcloud/services/postgres/v20170312/postgres_client.d.ts +173 -161
- package/tencentcloud/services/postgres/v20170312/postgres_client.js +258 -240
- package/tencentcloud/services/postgres/v20170312/postgres_models.d.ts +136 -27
|
@@ -955,6 +955,36 @@ export interface ModifyBaseBackupExpireTimeResponse {
|
|
|
955
955
|
RequestId?: string
|
|
956
956
|
}
|
|
957
957
|
|
|
958
|
+
/**
|
|
959
|
+
* ModifyBackupDownloadRestriction请求参数结构体
|
|
960
|
+
*/
|
|
961
|
+
export interface ModifyBackupDownloadRestrictionRequest {
|
|
962
|
+
/**
|
|
963
|
+
* 备份文件下载限制类型,NONE 无限制,内外网都可以下载;INTRANET 只允许内网下载;CUSTOMIZE 自定义限制下载的vpc或ip。
|
|
964
|
+
*/
|
|
965
|
+
RestrictionType: string
|
|
966
|
+
|
|
967
|
+
/**
|
|
968
|
+
* vpc限制效力,ALLOW 允许;DENY 拒绝。
|
|
969
|
+
*/
|
|
970
|
+
VpcRestrictionEffect?: string
|
|
971
|
+
|
|
972
|
+
/**
|
|
973
|
+
* 允许或拒绝下载备份文件的vpcId列表。
|
|
974
|
+
*/
|
|
975
|
+
VpcIdSet?: Array<string>
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* ip限制效力,ALLOW 允许;DENY 拒绝。
|
|
979
|
+
*/
|
|
980
|
+
IpRestrictionEffect?: string
|
|
981
|
+
|
|
982
|
+
/**
|
|
983
|
+
* 允许或拒绝下载备份文件的ip列表。
|
|
984
|
+
*/
|
|
985
|
+
IpSet?: Array<string>
|
|
986
|
+
}
|
|
987
|
+
|
|
958
988
|
/**
|
|
959
989
|
* 描述实例的网络连接信息。
|
|
960
990
|
*/
|
|
@@ -1088,6 +1118,11 @@ export interface DeleteReadOnlyGroupNetworkAccessRequest {
|
|
|
1088
1118
|
Vip: string
|
|
1089
1119
|
}
|
|
1090
1120
|
|
|
1121
|
+
/**
|
|
1122
|
+
* DescribeBackupDownloadRestriction请求参数结构体
|
|
1123
|
+
*/
|
|
1124
|
+
export type DescribeBackupDownloadRestrictionRequest = null
|
|
1125
|
+
|
|
1091
1126
|
/**
|
|
1092
1127
|
* 描述可用区的编码和状态信息
|
|
1093
1128
|
*/
|
|
@@ -2077,6 +2112,16 @@ export interface SpecInfo {
|
|
|
2077
2112
|
SupportKMSRegions: Array<string>
|
|
2078
2113
|
}
|
|
2079
2114
|
|
|
2115
|
+
/**
|
|
2116
|
+
* ModifyBackupDownloadRestriction返回参数结构体
|
|
2117
|
+
*/
|
|
2118
|
+
export interface ModifyBackupDownloadRestrictionResponse {
|
|
2119
|
+
/**
|
|
2120
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2121
|
+
*/
|
|
2122
|
+
RequestId?: string
|
|
2123
|
+
}
|
|
2124
|
+
|
|
2080
2125
|
/**
|
|
2081
2126
|
* 描述各版本下的参数信息
|
|
2082
2127
|
*/
|
|
@@ -4278,6 +4323,45 @@ export interface CloseDBExtranetAccessResponse {
|
|
|
4278
4323
|
RequestId?: string
|
|
4279
4324
|
}
|
|
4280
4325
|
|
|
4326
|
+
/**
|
|
4327
|
+
* DescribeBackupDownloadRestriction返回参数结构体
|
|
4328
|
+
*/
|
|
4329
|
+
export interface DescribeBackupDownloadRestrictionResponse {
|
|
4330
|
+
/**
|
|
4331
|
+
* 备份文件下载限制类型,NONE 无限制,内外网都可以下载;INTRANET 只允许内网下载;CUSTOMIZE 自定义限制下载的vpc或ip。
|
|
4332
|
+
*/
|
|
4333
|
+
RestrictionType?: string
|
|
4334
|
+
|
|
4335
|
+
/**
|
|
4336
|
+
* vpc限制效力,ALLOW 允许;DENY 拒绝。
|
|
4337
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4338
|
+
*/
|
|
4339
|
+
VpcRestrictionEffect?: string
|
|
4340
|
+
|
|
4341
|
+
/**
|
|
4342
|
+
* 允许或拒绝下载备份文件的vpcId列表。
|
|
4343
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4344
|
+
*/
|
|
4345
|
+
VpcIdSet?: Array<string>
|
|
4346
|
+
|
|
4347
|
+
/**
|
|
4348
|
+
* ip限制效力,ALLOW 允许;DENY 拒绝。
|
|
4349
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4350
|
+
*/
|
|
4351
|
+
IpRestrictionEffect?: string
|
|
4352
|
+
|
|
4353
|
+
/**
|
|
4354
|
+
* 允许或拒绝下载备份文件的ip列表。
|
|
4355
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
4356
|
+
*/
|
|
4357
|
+
IpSet?: Array<string>
|
|
4358
|
+
|
|
4359
|
+
/**
|
|
4360
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4361
|
+
*/
|
|
4362
|
+
RequestId?: string
|
|
4363
|
+
}
|
|
4364
|
+
|
|
4281
4365
|
/**
|
|
4282
4366
|
* CreateReadOnlyDBInstance请求参数结构体
|
|
4283
4367
|
*/
|
|
@@ -5277,6 +5361,36 @@ export interface DescribeAccountsResponse {
|
|
|
5277
5361
|
RequestId?: string
|
|
5278
5362
|
}
|
|
5279
5363
|
|
|
5364
|
+
/**
|
|
5365
|
+
* ModifyDBInstanceChargeType请求参数结构体
|
|
5366
|
+
*/
|
|
5367
|
+
export interface ModifyDBInstanceChargeTypeRequest {
|
|
5368
|
+
/**
|
|
5369
|
+
* 实例ID,形如postgres-6fego161
|
|
5370
|
+
*/
|
|
5371
|
+
DBInstanceId: string
|
|
5372
|
+
|
|
5373
|
+
/**
|
|
5374
|
+
* 实例计费类型。目前支持:PREPAID(预付费,即包年包月),POSTPAID_BY_HOUR(后付费,即按量计费)。默认值:PREPAID。
|
|
5375
|
+
*/
|
|
5376
|
+
InstanceChargeType: string
|
|
5377
|
+
|
|
5378
|
+
/**
|
|
5379
|
+
* 购买时长,单位:月。目前只支持1,2,3,4,5,6,7,8,9,10,11,12,24,36这些值,按量计费模式下该参数传1。
|
|
5380
|
+
*/
|
|
5381
|
+
Period: number
|
|
5382
|
+
|
|
5383
|
+
/**
|
|
5384
|
+
* 续费标记:0-正常续费(默认);1-自动续费。
|
|
5385
|
+
*/
|
|
5386
|
+
AutoRenewFlag?: number
|
|
5387
|
+
|
|
5388
|
+
/**
|
|
5389
|
+
* 是否自动使用代金券,1是,0否,默认不使用
|
|
5390
|
+
*/
|
|
5391
|
+
AutoVoucher?: number
|
|
5392
|
+
}
|
|
5393
|
+
|
|
5280
5394
|
/**
|
|
5281
5395
|
* DescribeParameterTemplateAttributes返回参数结构体
|
|
5282
5396
|
*/
|
|
@@ -5554,6 +5668,46 @@ export interface DescribeDBXlogsResponse {
|
|
|
5554
5668
|
RequestId?: string
|
|
5555
5669
|
}
|
|
5556
5670
|
|
|
5671
|
+
/**
|
|
5672
|
+
* UpgradeDBInstanceKernelVersion请求参数结构体
|
|
5673
|
+
*/
|
|
5674
|
+
export interface UpgradeDBInstanceKernelVersionRequest {
|
|
5675
|
+
/**
|
|
5676
|
+
* 实例ID
|
|
5677
|
+
*/
|
|
5678
|
+
DBInstanceId: string
|
|
5679
|
+
|
|
5680
|
+
/**
|
|
5681
|
+
* 升级的目标内核版本号。可以通过接口DescribeDBVersions的返回字段AvailableUpgradeTarget获取。
|
|
5682
|
+
*/
|
|
5683
|
+
TargetDBKernelVersion: string
|
|
5684
|
+
|
|
5685
|
+
/**
|
|
5686
|
+
* 指定实例升级内核版本号完成后的切换时间。可选值,
|
|
5687
|
+
0:立即切换(默认值)。
|
|
5688
|
+
1:指定时间切换。
|
|
5689
|
+
2:维护时间窗口内切换。
|
|
5690
|
+
*/
|
|
5691
|
+
SwitchTag?: number
|
|
5692
|
+
|
|
5693
|
+
/**
|
|
5694
|
+
* 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。
|
|
5695
|
+
*/
|
|
5696
|
+
SwitchStartTime?: string
|
|
5697
|
+
|
|
5698
|
+
/**
|
|
5699
|
+
* 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。SwitchStartTime和SwitchEndTime时间窗口不能小于30分钟。
|
|
5700
|
+
*/
|
|
5701
|
+
SwitchEndTime?: string
|
|
5702
|
+
|
|
5703
|
+
/**
|
|
5704
|
+
* 是否对本次升级实例内核版本号操作执行预检查。可选值,
|
|
5705
|
+
true:执行预检查操作,不升级内核版本号。检查项目包含请求参数、内核版本号兼容性、实例参数等。
|
|
5706
|
+
false:发送正常请求(默认值),通过检查后直接升级内核版本号。
|
|
5707
|
+
*/
|
|
5708
|
+
DryRun?: boolean
|
|
5709
|
+
}
|
|
5710
|
+
|
|
5557
5711
|
/**
|
|
5558
5712
|
* DescribeBaseBackups请求参数结构体
|
|
5559
5713
|
*/
|
|
@@ -5659,41 +5813,16 @@ export interface CreateDBInstancesResponse {
|
|
|
5659
5813
|
}
|
|
5660
5814
|
|
|
5661
5815
|
/**
|
|
5662
|
-
*
|
|
5816
|
+
* ModifyDBInstanceChargeType返回参数结构体
|
|
5663
5817
|
*/
|
|
5664
|
-
export interface
|
|
5665
|
-
/**
|
|
5666
|
-
* 实例ID
|
|
5667
|
-
*/
|
|
5668
|
-
DBInstanceId: string
|
|
5669
|
-
|
|
5670
|
-
/**
|
|
5671
|
-
* 升级的目标内核版本号。可以通过接口DescribeDBVersions的返回字段AvailableUpgradeTarget获取。
|
|
5672
|
-
*/
|
|
5673
|
-
TargetDBKernelVersion: string
|
|
5674
|
-
|
|
5675
|
-
/**
|
|
5676
|
-
* 指定实例升级内核版本号完成后的切换时间。可选值,
|
|
5677
|
-
0:立即切换(默认值)。
|
|
5678
|
-
1:指定时间切换。
|
|
5679
|
-
2:维护时间窗口内切换。
|
|
5680
|
-
*/
|
|
5681
|
-
SwitchTag?: number
|
|
5682
|
-
|
|
5818
|
+
export interface ModifyDBInstanceChargeTypeResponse {
|
|
5683
5819
|
/**
|
|
5684
|
-
*
|
|
5820
|
+
* 订单名
|
|
5685
5821
|
*/
|
|
5686
|
-
|
|
5822
|
+
DealName?: string
|
|
5687
5823
|
|
|
5688
5824
|
/**
|
|
5689
|
-
*
|
|
5825
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
5690
5826
|
*/
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
/**
|
|
5694
|
-
* 是否对本次升级实例内核版本号操作执行预检查。可选值,
|
|
5695
|
-
true:执行预检查操作,不升级内核版本号。检查项目包含请求参数、内核版本号兼容性、实例参数等。
|
|
5696
|
-
false:发送正常请求(默认值),通过检查后直接升级内核版本号。
|
|
5697
|
-
*/
|
|
5698
|
-
DryRun?: boolean
|
|
5827
|
+
RequestId?: string
|
|
5699
5828
|
}
|