tencentcloud-sdk-nodejs-postgres 4.0.585 → 4.0.587
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 +645 -0
- package/SERVICE_CHANGELOG.md +753 -56
- package/package.json +1 -1
- package/products.md +41 -41
- 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
|
@@ -786,6 +786,31 @@ export interface ModifyBaseBackupExpireTimeResponse {
|
|
|
786
786
|
*/
|
|
787
787
|
RequestId?: string;
|
|
788
788
|
}
|
|
789
|
+
/**
|
|
790
|
+
* ModifyBackupDownloadRestriction请求参数结构体
|
|
791
|
+
*/
|
|
792
|
+
export interface ModifyBackupDownloadRestrictionRequest {
|
|
793
|
+
/**
|
|
794
|
+
* 备份文件下载限制类型,NONE 无限制,内外网都可以下载;INTRANET 只允许内网下载;CUSTOMIZE 自定义限制下载的vpc或ip。
|
|
795
|
+
*/
|
|
796
|
+
RestrictionType: string;
|
|
797
|
+
/**
|
|
798
|
+
* vpc限制效力,ALLOW 允许;DENY 拒绝。
|
|
799
|
+
*/
|
|
800
|
+
VpcRestrictionEffect?: string;
|
|
801
|
+
/**
|
|
802
|
+
* 允许或拒绝下载备份文件的vpcId列表。
|
|
803
|
+
*/
|
|
804
|
+
VpcIdSet?: Array<string>;
|
|
805
|
+
/**
|
|
806
|
+
* ip限制效力,ALLOW 允许;DENY 拒绝。
|
|
807
|
+
*/
|
|
808
|
+
IpRestrictionEffect?: string;
|
|
809
|
+
/**
|
|
810
|
+
* 允许或拒绝下载备份文件的ip列表。
|
|
811
|
+
*/
|
|
812
|
+
IpSet?: Array<string>;
|
|
813
|
+
}
|
|
789
814
|
/**
|
|
790
815
|
* 描述实例的网络连接信息。
|
|
791
816
|
*/
|
|
@@ -897,6 +922,10 @@ export interface DeleteReadOnlyGroupNetworkAccessRequest {
|
|
|
897
922
|
*/
|
|
898
923
|
Vip: string;
|
|
899
924
|
}
|
|
925
|
+
/**
|
|
926
|
+
* DescribeBackupDownloadRestriction请求参数结构体
|
|
927
|
+
*/
|
|
928
|
+
export declare type DescribeBackupDownloadRestrictionRequest = null;
|
|
900
929
|
/**
|
|
901
930
|
* 描述可用区的编码和状态信息
|
|
902
931
|
*/
|
|
@@ -1730,6 +1759,15 @@ export interface SpecInfo {
|
|
|
1730
1759
|
*/
|
|
1731
1760
|
SupportKMSRegions: Array<string>;
|
|
1732
1761
|
}
|
|
1762
|
+
/**
|
|
1763
|
+
* ModifyBackupDownloadRestriction返回参数结构体
|
|
1764
|
+
*/
|
|
1765
|
+
export interface ModifyBackupDownloadRestrictionResponse {
|
|
1766
|
+
/**
|
|
1767
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1768
|
+
*/
|
|
1769
|
+
RequestId?: string;
|
|
1770
|
+
}
|
|
1733
1771
|
/**
|
|
1734
1772
|
* 描述各版本下的参数信息
|
|
1735
1773
|
*/
|
|
@@ -3583,6 +3621,39 @@ export interface CloseDBExtranetAccessResponse {
|
|
|
3583
3621
|
*/
|
|
3584
3622
|
RequestId?: string;
|
|
3585
3623
|
}
|
|
3624
|
+
/**
|
|
3625
|
+
* DescribeBackupDownloadRestriction返回参数结构体
|
|
3626
|
+
*/
|
|
3627
|
+
export interface DescribeBackupDownloadRestrictionResponse {
|
|
3628
|
+
/**
|
|
3629
|
+
* 备份文件下载限制类型,NONE 无限制,内外网都可以下载;INTRANET 只允许内网下载;CUSTOMIZE 自定义限制下载的vpc或ip。
|
|
3630
|
+
*/
|
|
3631
|
+
RestrictionType?: string;
|
|
3632
|
+
/**
|
|
3633
|
+
* vpc限制效力,ALLOW 允许;DENY 拒绝。
|
|
3634
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3635
|
+
*/
|
|
3636
|
+
VpcRestrictionEffect?: string;
|
|
3637
|
+
/**
|
|
3638
|
+
* 允许或拒绝下载备份文件的vpcId列表。
|
|
3639
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3640
|
+
*/
|
|
3641
|
+
VpcIdSet?: Array<string>;
|
|
3642
|
+
/**
|
|
3643
|
+
* ip限制效力,ALLOW 允许;DENY 拒绝。
|
|
3644
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3645
|
+
*/
|
|
3646
|
+
IpRestrictionEffect?: string;
|
|
3647
|
+
/**
|
|
3648
|
+
* 允许或拒绝下载备份文件的ip列表。
|
|
3649
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3650
|
+
*/
|
|
3651
|
+
IpSet?: Array<string>;
|
|
3652
|
+
/**
|
|
3653
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3654
|
+
*/
|
|
3655
|
+
RequestId?: string;
|
|
3656
|
+
}
|
|
3586
3657
|
/**
|
|
3587
3658
|
* CreateReadOnlyDBInstance请求参数结构体
|
|
3588
3659
|
*/
|
|
@@ -4430,6 +4501,31 @@ export interface DescribeAccountsResponse {
|
|
|
4430
4501
|
*/
|
|
4431
4502
|
RequestId?: string;
|
|
4432
4503
|
}
|
|
4504
|
+
/**
|
|
4505
|
+
* ModifyDBInstanceChargeType请求参数结构体
|
|
4506
|
+
*/
|
|
4507
|
+
export interface ModifyDBInstanceChargeTypeRequest {
|
|
4508
|
+
/**
|
|
4509
|
+
* 实例ID,形如postgres-6fego161
|
|
4510
|
+
*/
|
|
4511
|
+
DBInstanceId: string;
|
|
4512
|
+
/**
|
|
4513
|
+
* 实例计费类型。目前支持:PREPAID(预付费,即包年包月),POSTPAID_BY_HOUR(后付费,即按量计费)。默认值:PREPAID。
|
|
4514
|
+
*/
|
|
4515
|
+
InstanceChargeType: string;
|
|
4516
|
+
/**
|
|
4517
|
+
* 购买时长,单位:月。目前只支持1,2,3,4,5,6,7,8,9,10,11,12,24,36这些值,按量计费模式下该参数传1。
|
|
4518
|
+
*/
|
|
4519
|
+
Period: number;
|
|
4520
|
+
/**
|
|
4521
|
+
* 续费标记:0-正常续费(默认);1-自动续费。
|
|
4522
|
+
*/
|
|
4523
|
+
AutoRenewFlag?: number;
|
|
4524
|
+
/**
|
|
4525
|
+
* 是否自动使用代金券,1是,0否,默认不使用
|
|
4526
|
+
*/
|
|
4527
|
+
AutoVoucher?: number;
|
|
4528
|
+
}
|
|
4433
4529
|
/**
|
|
4434
4530
|
* DescribeParameterTemplateAttributes返回参数结构体
|
|
4435
4531
|
*/
|
|
@@ -4665,6 +4761,40 @@ export interface DescribeDBXlogsResponse {
|
|
|
4665
4761
|
*/
|
|
4666
4762
|
RequestId?: string;
|
|
4667
4763
|
}
|
|
4764
|
+
/**
|
|
4765
|
+
* UpgradeDBInstanceKernelVersion请求参数结构体
|
|
4766
|
+
*/
|
|
4767
|
+
export interface UpgradeDBInstanceKernelVersionRequest {
|
|
4768
|
+
/**
|
|
4769
|
+
* 实例ID
|
|
4770
|
+
*/
|
|
4771
|
+
DBInstanceId: string;
|
|
4772
|
+
/**
|
|
4773
|
+
* 升级的目标内核版本号。可以通过接口DescribeDBVersions的返回字段AvailableUpgradeTarget获取。
|
|
4774
|
+
*/
|
|
4775
|
+
TargetDBKernelVersion: string;
|
|
4776
|
+
/**
|
|
4777
|
+
* 指定实例升级内核版本号完成后的切换时间。可选值,
|
|
4778
|
+
0:立即切换(默认值)。
|
|
4779
|
+
1:指定时间切换。
|
|
4780
|
+
2:维护时间窗口内切换。
|
|
4781
|
+
*/
|
|
4782
|
+
SwitchTag?: number;
|
|
4783
|
+
/**
|
|
4784
|
+
* 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。
|
|
4785
|
+
*/
|
|
4786
|
+
SwitchStartTime?: string;
|
|
4787
|
+
/**
|
|
4788
|
+
* 切换截止时间,时间格式:HH:MM:SS,例如:01:30:00。当SwitchTag为0或2时,该参数失效。SwitchStartTime和SwitchEndTime时间窗口不能小于30分钟。
|
|
4789
|
+
*/
|
|
4790
|
+
SwitchEndTime?: string;
|
|
4791
|
+
/**
|
|
4792
|
+
* 是否对本次升级实例内核版本号操作执行预检查。可选值,
|
|
4793
|
+
true:执行预检查操作,不升级内核版本号。检查项目包含请求参数、内核版本号兼容性、实例参数等。
|
|
4794
|
+
false:发送正常请求(默认值),通过检查后直接升级内核版本号。
|
|
4795
|
+
*/
|
|
4796
|
+
DryRun?: boolean;
|
|
4797
|
+
}
|
|
4668
4798
|
/**
|
|
4669
4799
|
* DescribeBaseBackups请求参数结构体
|
|
4670
4800
|
*/
|
|
@@ -4754,36 +4884,15 @@ export interface CreateDBInstancesResponse {
|
|
|
4754
4884
|
RequestId?: string;
|
|
4755
4885
|
}
|
|
4756
4886
|
/**
|
|
4757
|
-
*
|
|
4887
|
+
* ModifyDBInstanceChargeType返回参数结构体
|
|
4758
4888
|
*/
|
|
4759
|
-
export interface
|
|
4760
|
-
/**
|
|
4761
|
-
* 实例ID
|
|
4762
|
-
*/
|
|
4763
|
-
DBInstanceId: string;
|
|
4889
|
+
export interface ModifyDBInstanceChargeTypeResponse {
|
|
4764
4890
|
/**
|
|
4765
|
-
*
|
|
4766
|
-
*/
|
|
4767
|
-
TargetDBKernelVersion: string;
|
|
4768
|
-
/**
|
|
4769
|
-
* 指定实例升级内核版本号完成后的切换时间。可选值,
|
|
4770
|
-
0:立即切换(默认值)。
|
|
4771
|
-
1:指定时间切换。
|
|
4772
|
-
2:维护时间窗口内切换。
|
|
4773
|
-
*/
|
|
4774
|
-
SwitchTag?: number;
|
|
4775
|
-
/**
|
|
4776
|
-
* 切换开始时间,时间格式:HH:MM:SS,例如:01:00:00。当SwitchTag为0或2时,该参数失效。
|
|
4891
|
+
* 订单名
|
|
4777
4892
|
*/
|
|
4778
|
-
|
|
4893
|
+
DealName?: string;
|
|
4779
4894
|
/**
|
|
4780
|
-
*
|
|
4895
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
4781
4896
|
*/
|
|
4782
|
-
|
|
4783
|
-
/**
|
|
4784
|
-
* 是否对本次升级实例内核版本号操作执行预检查。可选值,
|
|
4785
|
-
true:执行预检查操作,不升级内核版本号。检查项目包含请求参数、内核版本号兼容性、实例参数等。
|
|
4786
|
-
false:发送正常请求(默认值),通过检查后直接升级内核版本号。
|
|
4787
|
-
*/
|
|
4788
|
-
DryRun?: boolean;
|
|
4897
|
+
RequestId?: string;
|
|
4789
4898
|
}
|