tencentcloud-sdk-postgres 3.0.591 → 3.0.593
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20170312/client.rb +19 -19
- data/lib/v20170312/models.rb +9 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 387980a3b908246d789b8eef44a4c094a12e784b
|
4
|
+
data.tar.gz: 503dce5442f6647cebb61fcffc5dfc5b7d56be43
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 596f1e7d614add66b539d66f840accf661a6e3786327e05b324a070ad73ddeabc5d0a13f1a10fc60cc4209de5a87ba66e834f11f261bc67b5dc40a3ba222cc86
|
7
|
+
data.tar.gz: 15687426b5b3cf853c123518a0f98ea577b31b615436b5b5f95a364655a4f606ec8b962322e5688812b3ab0de2d5e6bb6c1f5b0af715f3a3fcb0e5d97bfe78f8
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.593
|
data/lib/v20170312/client.rb
CHANGED
@@ -77,7 +77,7 @@ module TencentCloud
|
|
77
77
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
78
78
|
end
|
79
79
|
|
80
|
-
# 本接口(CloseDBExtranetAccess
|
80
|
+
# 本接口(CloseDBExtranetAccess)用于关闭实例公网地址。
|
81
81
|
|
82
82
|
# @param request: Request instance for CloseDBExtranetAccess.
|
83
83
|
# @type request: :class:`Tencentcloud::postgres::V20170312::CloseDBExtranetAccessRequest`
|
@@ -101,7 +101,7 @@ module TencentCloud
|
|
101
101
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
102
102
|
end
|
103
103
|
|
104
|
-
#
|
104
|
+
# 本接口(CloseServerlessDBExtranetAccess)用于关闭serverlessDB实例公网地址
|
105
105
|
|
106
106
|
# @param request: Request instance for CloseServerlessDBExtranetAccess.
|
107
107
|
# @type request: :class:`Tencentcloud::postgres::V20170312::CloseServerlessDBExtranetAccessRequest`
|
@@ -509,7 +509,7 @@ module TencentCloud
|
|
509
509
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
510
510
|
end
|
511
511
|
|
512
|
-
# 本接口(DescribeAccounts
|
512
|
+
# 本接口(DescribeAccounts)用于查询实例的数据库账号列表。
|
513
513
|
|
514
514
|
# @param request: Request instance for DescribeAccounts.
|
515
515
|
# @type request: :class:`Tencentcloud::postgres::V20170312::DescribeAccountsRequest`
|
@@ -581,7 +581,7 @@ module TencentCloud
|
|
581
581
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
582
582
|
end
|
583
583
|
|
584
|
-
# 本接口 (DescribeBackupDownloadURL)
|
584
|
+
# 本接口 (DescribeBackupDownloadURL) 用于查询指定备份集的下载地址,可包括全量备份集、增量日志备份集。
|
585
585
|
|
586
586
|
# @param request: Request instance for DescribeBackupDownloadURL.
|
587
587
|
# @type request: :class:`Tencentcloud::postgres::V20170312::DescribeBackupDownloadURLRequest`
|
@@ -821,7 +821,7 @@ module TencentCloud
|
|
821
821
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
822
822
|
end
|
823
823
|
|
824
|
-
#
|
824
|
+
# 本接口(DescribeDBInstanceAttribute)用于查询实例的参数信息。
|
825
825
|
|
826
826
|
# @param request: Request instance for DescribeDBInstanceParameters.
|
827
827
|
# @type request: :class:`Tencentcloud::postgres::V20170312::DescribeDBInstanceParametersRequest`
|
@@ -845,7 +845,7 @@ module TencentCloud
|
|
845
845
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
846
846
|
end
|
847
847
|
|
848
|
-
# 本接口(DescribeDBInstanceSecurityGroups
|
848
|
+
# 本接口(DescribeDBInstanceSecurityGroups)用于查询实例安全组。
|
849
849
|
|
850
850
|
# @param request: Request instance for DescribeDBInstanceSecurityGroups.
|
851
851
|
# @type request: :class:`Tencentcloud::postgres::V20170312::DescribeDBInstanceSecurityGroupsRequest`
|
@@ -917,7 +917,7 @@ module TencentCloud
|
|
917
917
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
918
918
|
end
|
919
919
|
|
920
|
-
# 本接口(DescribeDBVersions
|
920
|
+
# 本接口(DescribeDBVersions)用于查询支持的数据库版本。
|
921
921
|
|
922
922
|
# @param request: Request instance for DescribeDBVersions.
|
923
923
|
# @type request: :class:`Tencentcloud::postgres::V20170312::DescribeDBVersionsRequest`
|
@@ -965,7 +965,7 @@ module TencentCloud
|
|
965
965
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
966
966
|
end
|
967
967
|
|
968
|
-
# 接口(DescribeDatabases
|
968
|
+
# 接口(DescribeDatabases)用来查询实例的数据库列表。
|
969
969
|
|
970
970
|
# @param request: Request instance for DescribeDatabases.
|
971
971
|
# @type request: :class:`Tencentcloud::postgres::V20170312::DescribeDatabasesRequest`
|
@@ -1013,7 +1013,7 @@ module TencentCloud
|
|
1013
1013
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1014
1014
|
end
|
1015
1015
|
|
1016
|
-
#
|
1016
|
+
# 本接口 (DescribeEncryptionKeys) 用于查询实例的密钥信息列表。
|
1017
1017
|
|
1018
1018
|
# @param request: Request instance for DescribeEncryptionKeys.
|
1019
1019
|
# @type request: :class:`Tencentcloud::postgres::V20170312::DescribeEncryptionKeysRequest`
|
@@ -1133,7 +1133,7 @@ module TencentCloud
|
|
1133
1133
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1134
1134
|
end
|
1135
1135
|
|
1136
|
-
#
|
1136
|
+
# 本接口(DescribeParamsEvent)用于查询参数修改事件。
|
1137
1137
|
|
1138
1138
|
# @param request: Request instance for DescribeParamsEvent.
|
1139
1139
|
# @type request: :class:`Tencentcloud::postgres::V20170312::DescribeParamsEventRequest`
|
@@ -1181,7 +1181,7 @@ module TencentCloud
|
|
1181
1181
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1182
1182
|
end
|
1183
1183
|
|
1184
|
-
#
|
1184
|
+
# 本接口(DescribeReadOnlyGroups)用于查询只读组列表
|
1185
1185
|
|
1186
1186
|
# @param request: Request instance for DescribeReadOnlyGroups.
|
1187
1187
|
# @type request: :class:`Tencentcloud::postgres::V20170312::DescribeReadOnlyGroupsRequest`
|
@@ -1325,7 +1325,7 @@ module TencentCloud
|
|
1325
1325
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1326
1326
|
end
|
1327
1327
|
|
1328
|
-
# 本接口 (DestroyDBInstance) 用于彻底销毁指定DBInstanceId
|
1328
|
+
# 本接口 (DestroyDBInstance) 用于彻底销毁指定DBInstanceId对应的实例,销毁后实例数据将彻底删除,无法找回,调用前请仔细确认要操作的实例。只能销毁隔离中的实例。
|
1329
1329
|
|
1330
1330
|
# @param request: Request instance for DestroyDBInstance.
|
1331
1331
|
# @type request: :class:`Tencentcloud::postgres::V20170312::DestroyDBInstanceRequest`
|
@@ -1397,7 +1397,7 @@ module TencentCloud
|
|
1397
1397
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1398
1398
|
end
|
1399
1399
|
|
1400
|
-
# 本接口 (InquiryPriceCreateDBInstances)
|
1400
|
+
# 本接口 (InquiryPriceCreateDBInstances) 用于查询购买实例的价格信息。
|
1401
1401
|
|
1402
1402
|
# @param request: Request instance for InquiryPriceCreateDBInstances.
|
1403
1403
|
# @type request: :class:`Tencentcloud::postgres::V20170312::InquiryPriceCreateDBInstancesRequest`
|
@@ -1661,7 +1661,7 @@ module TencentCloud
|
|
1661
1661
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1662
1662
|
end
|
1663
1663
|
|
1664
|
-
#
|
1664
|
+
# 本接口 (ModifyDBInstanceParameters) 用于修改实例参数。
|
1665
1665
|
|
1666
1666
|
# @param request: Request instance for ModifyDBInstanceParameters.
|
1667
1667
|
# @type request: :class:`Tencentcloud::postgres::V20170312::ModifyDBInstanceParametersRequest`
|
@@ -1733,7 +1733,7 @@ module TencentCloud
|
|
1733
1733
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1734
1734
|
end
|
1735
1735
|
|
1736
|
-
# 本接口(ModifyDBInstanceSpec
|
1736
|
+
# 本接口(ModifyDBInstanceSpec)用于修改实例规格,包括内存、磁盘。
|
1737
1737
|
|
1738
1738
|
# @param request: Request instance for ModifyDBInstanceSpec.
|
1739
1739
|
# @type request: :class:`Tencentcloud::postgres::V20170312::ModifyDBInstanceSpecRequest`
|
@@ -1757,7 +1757,7 @@ module TencentCloud
|
|
1757
1757
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1758
1758
|
end
|
1759
1759
|
|
1760
|
-
# 本接口(ModifyDBInstancesProject
|
1760
|
+
# 本接口(ModifyDBInstancesProject)用于修改实例所属项目。
|
1761
1761
|
|
1762
1762
|
# @param request: Request instance for ModifyDBInstancesProject.
|
1763
1763
|
# @type request: :class:`Tencentcloud::postgres::V20170312::ModifyDBInstancesProjectRequest`
|
@@ -1781,7 +1781,7 @@ module TencentCloud
|
|
1781
1781
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1782
1782
|
end
|
1783
1783
|
|
1784
|
-
# 本接口(ModifyParameterTemplate
|
1784
|
+
# 本接口(ModifyParameterTemplate)主要用于修改参数模板名称,描述等配置,也可用于管理参数模板中的参数列表。
|
1785
1785
|
|
1786
1786
|
# @param request: Request instance for ModifyParameterTemplate.
|
1787
1787
|
# @type request: :class:`Tencentcloud::postgres::V20170312::ModifyParameterTemplateRequest`
|
@@ -1853,7 +1853,7 @@ module TencentCloud
|
|
1853
1853
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1854
1854
|
end
|
1855
1855
|
|
1856
|
-
# 本接口(OpenDBExtranetAccess
|
1856
|
+
# 本接口(OpenDBExtranetAccess)用于开通实例公网地址。
|
1857
1857
|
|
1858
1858
|
# @param request: Request instance for OpenDBExtranetAccess.
|
1859
1859
|
# @type request: :class:`Tencentcloud::postgres::V20170312::OpenDBExtranetAccessRequest`
|
@@ -1877,7 +1877,7 @@ module TencentCloud
|
|
1877
1877
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1878
1878
|
end
|
1879
1879
|
|
1880
|
-
#
|
1880
|
+
# 本接口(OpenServerlessDBExtranetAccess)用于开通serverlessDB实例公网地址。
|
1881
1881
|
|
1882
1882
|
# @param request: Request instance for OpenServerlessDBExtranetAccess.
|
1883
1883
|
# @type request: :class:`Tencentcloud::postgres::V20170312::OpenServerlessDBExtranetAccessRequest`
|
data/lib/v20170312/models.rb
CHANGED
@@ -846,10 +846,15 @@ module TencentCloud
|
|
846
846
|
# serverCollationName:排序规则名称,可选参数,在初始化后不可修改,默认为sql_latin1_general_cp1_ci_as,可选值如下:
|
847
847
|
# "bbf_unicode_general_ci_as", "bbf_unicode_cp1_ci_as", "bbf_unicode_CP1250_ci_as", "bbf_unicode_CP1251_ci_as", "bbf_unicode_cp1253_ci_as", "bbf_unicode_cp1254_ci_as", "bbf_unicode_cp1255_ci_as", "bbf_unicode_cp1256_ci_as", "bbf_unicode_cp1257_ci_as", "bbf_unicode_cp1258_ci_as", "bbf_unicode_cp874_ci_as", "sql_latin1_general_cp1250_ci_as", "sql_latin1_general_cp1251_ci_as", "sql_latin1_general_cp1_ci_as", "sql_latin1_general_cp1253_ci_as", "sql_latin1_general_cp1254_ci_as", "sql_latin1_general_cp1255_ci_as","sql_latin1_general_cp1256_ci_as", "sql_latin1_general_cp1257_ci_as", "sql_latin1_general_cp1258_ci_as", "chinese_prc_ci_as", "cyrillic_general_ci_as", "finnish_swedish_ci_as", "french_ci_as", "japanese_ci_as", "korean_wansung_ci_as", "latin1_general_ci_as", "modern_spanish_ci_as", "polish_ci_as", "thai_ci_as", "traditional_spanish_ci_as", "turkish_ci_as", "ukrainian_ci_as", "vietnamese_ci_as"。
|
848
848
|
# @type DBEngineConfig: String
|
849
|
+
# @param SyncMode: 主从同步方式,可取值:
|
850
|
+
# 1、Semi-sync:半同步
|
851
|
+
# 2、Async:异步
|
852
|
+
# 当前只支持Semi-sync
|
853
|
+
# @type SyncMode: String
|
849
854
|
|
850
|
-
attr_accessor :SpecCode, :Storage, :InstanceCount, :Period, :Zone, :Charset, :AdminName, :AdminPassword, :ProjectId, :DBVersion, :InstanceChargeType, :AutoVoucher, :VoucherIds, :VpcId, :SubnetId, :AutoRenewFlag, :ActivityId, :Name, :NeedSupportIpv6, :TagList, :SecurityGroupIds, :DBMajorVersion, :DBKernelVersion, :DBNodeSet, :NeedSupportTDE, :KMSKeyId, :KMSRegion, :DBEngine, :DBEngineConfig
|
855
|
+
attr_accessor :SpecCode, :Storage, :InstanceCount, :Period, :Zone, :Charset, :AdminName, :AdminPassword, :ProjectId, :DBVersion, :InstanceChargeType, :AutoVoucher, :VoucherIds, :VpcId, :SubnetId, :AutoRenewFlag, :ActivityId, :Name, :NeedSupportIpv6, :TagList, :SecurityGroupIds, :DBMajorVersion, :DBKernelVersion, :DBNodeSet, :NeedSupportTDE, :KMSKeyId, :KMSRegion, :DBEngine, :DBEngineConfig, :SyncMode
|
851
856
|
|
852
|
-
def initialize(speccode=nil, storage=nil, instancecount=nil, period=nil, zone=nil, charset=nil, adminname=nil, adminpassword=nil, projectid=nil, dbversion=nil, instancechargetype=nil, autovoucher=nil, voucherids=nil, vpcid=nil, subnetid=nil, autorenewflag=nil, activityid=nil, name=nil, needsupportipv6=nil, taglist=nil, securitygroupids=nil, dbmajorversion=nil, dbkernelversion=nil, dbnodeset=nil, needsupporttde=nil, kmskeyid=nil, kmsregion=nil, dbengine=nil, dbengineconfig=nil)
|
857
|
+
def initialize(speccode=nil, storage=nil, instancecount=nil, period=nil, zone=nil, charset=nil, adminname=nil, adminpassword=nil, projectid=nil, dbversion=nil, instancechargetype=nil, autovoucher=nil, voucherids=nil, vpcid=nil, subnetid=nil, autorenewflag=nil, activityid=nil, name=nil, needsupportipv6=nil, taglist=nil, securitygroupids=nil, dbmajorversion=nil, dbkernelversion=nil, dbnodeset=nil, needsupporttde=nil, kmskeyid=nil, kmsregion=nil, dbengine=nil, dbengineconfig=nil, syncmode=nil)
|
853
858
|
@SpecCode = speccode
|
854
859
|
@Storage = storage
|
855
860
|
@InstanceCount = instancecount
|
@@ -879,6 +884,7 @@ module TencentCloud
|
|
879
884
|
@KMSRegion = kmsregion
|
880
885
|
@DBEngine = dbengine
|
881
886
|
@DBEngineConfig = dbengineconfig
|
887
|
+
@SyncMode = syncmode
|
882
888
|
end
|
883
889
|
|
884
890
|
def deserialize(params)
|
@@ -925,6 +931,7 @@ module TencentCloud
|
|
925
931
|
@KMSRegion = params['KMSRegion']
|
926
932
|
@DBEngine = params['DBEngine']
|
927
933
|
@DBEngineConfig = params['DBEngineConfig']
|
934
|
+
@SyncMode = params['SyncMode']
|
928
935
|
end
|
929
936
|
end
|
930
937
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-postgres
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.593
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-06-
|
11
|
+
date: 2023-06-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|