tencentcloud-sdk-python-postgres 3.1.172__py2.py3-none-any.whl → 3.1.200__py2.py3-none-any.whl
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.
- tencentcloud/__init__.py +1 -1
- tencentcloud/postgres/v20170312/models.py +88 -142
- {tencentcloud_sdk_python_postgres-3.1.172.dist-info → tencentcloud_sdk_python_postgres-3.1.200.dist-info}/METADATA +2 -2
- {tencentcloud_sdk_python_postgres-3.1.172.dist-info → tencentcloud_sdk_python_postgres-3.1.200.dist-info}/RECORD +6 -6
- {tencentcloud_sdk_python_postgres-3.1.172.dist-info → tencentcloud_sdk_python_postgres-3.1.200.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_postgres-3.1.172.dist-info → tencentcloud_sdk_python_postgres-3.1.200.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -1977,71 +1977,45 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
1977
1977
|
|
|
1978
1978
|
def __init__(self):
|
|
1979
1979
|
r"""
|
|
1980
|
-
:param _DBInstanceId:
|
|
1980
|
+
:param _DBInstanceId: <p>克隆的源实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
1981
1981
|
:type DBInstanceId: str
|
|
1982
|
-
:param _SpecCode:
|
|
1982
|
+
:param _SpecCode: <p>售卖规格码。该参数可以通过调用<a href="https://cloud.tencent.com/document/api/409/89019">DescribeClasses</a>的返回值中的SpecCode字段来获取。</p>
|
|
1983
1983
|
:type SpecCode: str
|
|
1984
|
-
:param _Storage:
|
|
1984
|
+
:param _Storage: <p>实例磁盘容量大小,设置步长限制为10。单位:GB。</p>
|
|
1985
1985
|
:type Storage: int
|
|
1986
|
-
:param _Period:
|
|
1987
|
-
|
|
1988
|
-
- 预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36
|
|
1989
|
-
- 后付费:只支持1
|
|
1990
|
-
|
|
1986
|
+
:param _Period: <p>购买时长,单位:月。</p><ul><li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li><li>后付费:只支持1</li></ul>
|
|
1991
1987
|
:type Period: int
|
|
1992
|
-
:param _AutoRenewFlag:
|
|
1993
|
-
枚举值:
|
|
1994
|
-
|
|
1995
|
-
- 0:手动续费
|
|
1996
|
-
- 1:自动续费
|
|
1997
|
-
|
|
1998
|
-
默认值:0
|
|
1988
|
+
:param _AutoRenewFlag: <p>续费标记。仅当计费模式为预付费时生效。<br>枚举值:</p><ul><li>0:手动续费</li><li>1:自动续费</li></ul><p>默认值:0</p>
|
|
1999
1989
|
:type AutoRenewFlag: int
|
|
2000
|
-
:param _VpcId:
|
|
1990
|
+
:param _VpcId: <p>私有网络ID,形如vpc-xxxxxxxx。有效的VpcId可通过登录控制台查询;也可以调用接口 <a href="https://cloud.tencent.com/document/api/215/1372">DescribeVpcEx</a> ,从接口返回中的unVpcId字段获取。</p>
|
|
2001
1991
|
:type VpcId: str
|
|
2002
|
-
:param _SubnetId:
|
|
1992
|
+
:param _SubnetId: <p>私有网络子网ID,形如subnet-xxxxxxxx。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 <a href="https://cloud.tencent.com/document/api/215/15784">DescribeSubnets </a>,从接口返回中的unSubnetId字段获取。</p>
|
|
2003
1993
|
:type SubnetId: str
|
|
2004
|
-
:param _Name:
|
|
1994
|
+
:param _Name: <p>新购的实例名称,仅支持长度小于60的中文/英文/数字/"_"/"-",不指定实例名称则默认显示"源实例名-Copy"。</p>
|
|
2005
1995
|
:type Name: str
|
|
2006
|
-
:param _InstanceChargeType:
|
|
2007
|
-
|
|
2008
|
-
- PREPAID:预付费,即包年包月
|
|
2009
|
-
- POSTPAID_BY_HOUR:后付费,即按量计费
|
|
2010
|
-
|
|
2011
|
-
默认值:PREPAID
|
|
1996
|
+
:param _InstanceChargeType: <p>实例计费类型,目前支持:</p><ul><li>PREPAID:预付费,即包年包月</li><li>POSTPAID_BY_HOUR:后付费,即按量计费</li></ul><p>默认值:PREPAID</p>
|
|
2012
1997
|
:type InstanceChargeType: str
|
|
2013
|
-
:param _SecurityGroupIds:
|
|
2014
|
-
|
|
1998
|
+
:param _SecurityGroupIds: <p>实例所属安全组。该参数可以通过调用<a href="https://cloud.tencent.com/document/api/215/15808">DescribeSecurityGroups</a>的返回值中的SecurityGroupId字段来获取。若不指定该参数,则绑定默认安全组。</p>
|
|
2015
1999
|
:type SecurityGroupIds: list of str
|
|
2016
|
-
:param _ProjectId:
|
|
2000
|
+
:param _ProjectId: <p>项目ID。默认值为0,表示所属默认项目。</p>
|
|
2017
2001
|
:type ProjectId: int
|
|
2018
|
-
:param _TagList:
|
|
2002
|
+
:param _TagList: <p>实例需要绑定的Tag信息,默认为空;可以通过调用 <a href="https://cloud.tencent.com/document/api/651/35316">DescribeTags</a> 返回值中的 Tags 字段来获取。</p>
|
|
2019
2003
|
:type TagList: list of Tag
|
|
2020
|
-
:param _DBNodeSet:
|
|
2021
|
-
可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。
|
|
2004
|
+
:param _DBNodeSet: <p>实例节点部署信息,必须填写主备节点可用区。支持多可用区部署时需要指定每个节点的部署可用区信息。<br>可用区信息可以通过调用 <a href="https://cloud.tencent.com/document/api/409/16769">DescribeZones</a> 接口的返回值中的Zone字段来获取。</p>
|
|
2022
2005
|
:type DBNodeSet: list of DBNode
|
|
2023
|
-
:param _AutoVoucher:
|
|
2024
|
-
|
|
2025
|
-
- 0:否
|
|
2026
|
-
- 1:是
|
|
2027
|
-
|
|
2028
|
-
默认值:0
|
|
2006
|
+
:param _AutoVoucher: <p>是否自动使用代金券:</p><ul><li>0:否</li><li>1:是</li></ul><p>默认值:0</p>
|
|
2029
2007
|
:type AutoVoucher: int
|
|
2030
|
-
:param _VoucherIds:
|
|
2008
|
+
:param _VoucherIds: <p>代金券ID列表。</p>
|
|
2031
2009
|
:type VoucherIds: str
|
|
2032
|
-
:param _ActivityId:
|
|
2010
|
+
:param _ActivityId: <p>活动ID。</p>
|
|
2033
2011
|
:type ActivityId: int
|
|
2034
|
-
:param _BackupSetId:
|
|
2012
|
+
:param _BackupSetId: <p>基础备份集ID。参数BackupSetId、RecoveryTargetTime两者必须填写一项,且不能同时填写。</p>
|
|
2035
2013
|
:type BackupSetId: str
|
|
2036
|
-
:param _RecoveryTargetTime:
|
|
2014
|
+
:param _RecoveryTargetTime: <p>恢复时间点。参数BackupSetId、RecoveryTargetTime两者必须填写一项,且不能同时填写。</p>
|
|
2037
2015
|
:type RecoveryTargetTime: str
|
|
2038
|
-
:param _SyncMode:
|
|
2039
|
-
<li>Semi-sync:半同步</li>
|
|
2040
|
-
<li>Async:异步</li>
|
|
2041
|
-
主实例默认值:Semi-sync
|
|
2042
|
-
只读实例默认值:Async
|
|
2016
|
+
:param _SyncMode: <p>主从同步方式,支持: </p><li>Semi-sync:半同步</li><li>Async:异步</li>主实例默认值:Semi-sync只读实例默认值:Async
|
|
2043
2017
|
:type SyncMode: str
|
|
2044
|
-
:param _DeletionProtection:
|
|
2018
|
+
:param _DeletionProtection: <p>实例是否开启删除保护: true-开启删除保护;false-关闭删除保护。</p>
|
|
2045
2019
|
:type DeletionProtection: bool
|
|
2046
2020
|
"""
|
|
2047
2021
|
self._DBInstanceId = None
|
|
@@ -2067,7 +2041,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2067
2041
|
|
|
2068
2042
|
@property
|
|
2069
2043
|
def DBInstanceId(self):
|
|
2070
|
-
r"""
|
|
2044
|
+
r"""<p>克隆的源实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
2071
2045
|
:rtype: str
|
|
2072
2046
|
"""
|
|
2073
2047
|
return self._DBInstanceId
|
|
@@ -2078,7 +2052,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2078
2052
|
|
|
2079
2053
|
@property
|
|
2080
2054
|
def SpecCode(self):
|
|
2081
|
-
r"""
|
|
2055
|
+
r"""<p>售卖规格码。该参数可以通过调用<a href="https://cloud.tencent.com/document/api/409/89019">DescribeClasses</a>的返回值中的SpecCode字段来获取。</p>
|
|
2082
2056
|
:rtype: str
|
|
2083
2057
|
"""
|
|
2084
2058
|
return self._SpecCode
|
|
@@ -2089,7 +2063,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2089
2063
|
|
|
2090
2064
|
@property
|
|
2091
2065
|
def Storage(self):
|
|
2092
|
-
r"""
|
|
2066
|
+
r"""<p>实例磁盘容量大小,设置步长限制为10。单位:GB。</p>
|
|
2093
2067
|
:rtype: int
|
|
2094
2068
|
"""
|
|
2095
2069
|
return self._Storage
|
|
@@ -2100,11 +2074,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2100
2074
|
|
|
2101
2075
|
@property
|
|
2102
2076
|
def Period(self):
|
|
2103
|
-
r"""
|
|
2104
|
-
|
|
2105
|
-
- 预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36
|
|
2106
|
-
- 后付费:只支持1
|
|
2107
|
-
|
|
2077
|
+
r"""<p>购买时长,单位:月。</p><ul><li>预付费:支持1,2,3,4,5,6,7,8,9,10,11,12,24,36</li><li>后付费:只支持1</li></ul>
|
|
2108
2078
|
:rtype: int
|
|
2109
2079
|
"""
|
|
2110
2080
|
return self._Period
|
|
@@ -2115,13 +2085,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2115
2085
|
|
|
2116
2086
|
@property
|
|
2117
2087
|
def AutoRenewFlag(self):
|
|
2118
|
-
r"""
|
|
2119
|
-
枚举值:
|
|
2120
|
-
|
|
2121
|
-
- 0:手动续费
|
|
2122
|
-
- 1:自动续费
|
|
2123
|
-
|
|
2124
|
-
默认值:0
|
|
2088
|
+
r"""<p>续费标记。仅当计费模式为预付费时生效。<br>枚举值:</p><ul><li>0:手动续费</li><li>1:自动续费</li></ul><p>默认值:0</p>
|
|
2125
2089
|
:rtype: int
|
|
2126
2090
|
"""
|
|
2127
2091
|
return self._AutoRenewFlag
|
|
@@ -2132,7 +2096,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2132
2096
|
|
|
2133
2097
|
@property
|
|
2134
2098
|
def VpcId(self):
|
|
2135
|
-
r"""
|
|
2099
|
+
r"""<p>私有网络ID,形如vpc-xxxxxxxx。有效的VpcId可通过登录控制台查询;也可以调用接口 <a href="https://cloud.tencent.com/document/api/215/1372">DescribeVpcEx</a> ,从接口返回中的unVpcId字段获取。</p>
|
|
2136
2100
|
:rtype: str
|
|
2137
2101
|
"""
|
|
2138
2102
|
return self._VpcId
|
|
@@ -2143,7 +2107,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2143
2107
|
|
|
2144
2108
|
@property
|
|
2145
2109
|
def SubnetId(self):
|
|
2146
|
-
r"""
|
|
2110
|
+
r"""<p>私有网络子网ID,形如subnet-xxxxxxxx。有效的私有网络子网ID可通过登录控制台查询;也可以调用接口 <a href="https://cloud.tencent.com/document/api/215/15784">DescribeSubnets </a>,从接口返回中的unSubnetId字段获取。</p>
|
|
2147
2111
|
:rtype: str
|
|
2148
2112
|
"""
|
|
2149
2113
|
return self._SubnetId
|
|
@@ -2154,7 +2118,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2154
2118
|
|
|
2155
2119
|
@property
|
|
2156
2120
|
def Name(self):
|
|
2157
|
-
r"""
|
|
2121
|
+
r"""<p>新购的实例名称,仅支持长度小于60的中文/英文/数字/"_"/"-",不指定实例名称则默认显示"源实例名-Copy"。</p>
|
|
2158
2122
|
:rtype: str
|
|
2159
2123
|
"""
|
|
2160
2124
|
return self._Name
|
|
@@ -2165,12 +2129,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2165
2129
|
|
|
2166
2130
|
@property
|
|
2167
2131
|
def InstanceChargeType(self):
|
|
2168
|
-
r"""
|
|
2169
|
-
|
|
2170
|
-
- PREPAID:预付费,即包年包月
|
|
2171
|
-
- POSTPAID_BY_HOUR:后付费,即按量计费
|
|
2172
|
-
|
|
2173
|
-
默认值:PREPAID
|
|
2132
|
+
r"""<p>实例计费类型,目前支持:</p><ul><li>PREPAID:预付费,即包年包月</li><li>POSTPAID_BY_HOUR:后付费,即按量计费</li></ul><p>默认值:PREPAID</p>
|
|
2174
2133
|
:rtype: str
|
|
2175
2134
|
"""
|
|
2176
2135
|
return self._InstanceChargeType
|
|
@@ -2181,8 +2140,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2181
2140
|
|
|
2182
2141
|
@property
|
|
2183
2142
|
def SecurityGroupIds(self):
|
|
2184
|
-
r"""
|
|
2185
|
-
|
|
2143
|
+
r"""<p>实例所属安全组。该参数可以通过调用<a href="https://cloud.tencent.com/document/api/215/15808">DescribeSecurityGroups</a>的返回值中的SecurityGroupId字段来获取。若不指定该参数,则绑定默认安全组。</p>
|
|
2186
2144
|
:rtype: list of str
|
|
2187
2145
|
"""
|
|
2188
2146
|
return self._SecurityGroupIds
|
|
@@ -2193,7 +2151,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2193
2151
|
|
|
2194
2152
|
@property
|
|
2195
2153
|
def ProjectId(self):
|
|
2196
|
-
r"""
|
|
2154
|
+
r"""<p>项目ID。默认值为0,表示所属默认项目。</p>
|
|
2197
2155
|
:rtype: int
|
|
2198
2156
|
"""
|
|
2199
2157
|
return self._ProjectId
|
|
@@ -2204,7 +2162,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2204
2162
|
|
|
2205
2163
|
@property
|
|
2206
2164
|
def TagList(self):
|
|
2207
|
-
r"""
|
|
2165
|
+
r"""<p>实例需要绑定的Tag信息,默认为空;可以通过调用 <a href="https://cloud.tencent.com/document/api/651/35316">DescribeTags</a> 返回值中的 Tags 字段来获取。</p>
|
|
2208
2166
|
:rtype: list of Tag
|
|
2209
2167
|
"""
|
|
2210
2168
|
return self._TagList
|
|
@@ -2215,8 +2173,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2215
2173
|
|
|
2216
2174
|
@property
|
|
2217
2175
|
def DBNodeSet(self):
|
|
2218
|
-
r"""
|
|
2219
|
-
可用区信息可以通过调用 [DescribeZones](https://cloud.tencent.com/document/api/409/16769) 接口的返回值中的Zone字段来获取。
|
|
2176
|
+
r"""<p>实例节点部署信息,必须填写主备节点可用区。支持多可用区部署时需要指定每个节点的部署可用区信息。<br>可用区信息可以通过调用 <a href="https://cloud.tencent.com/document/api/409/16769">DescribeZones</a> 接口的返回值中的Zone字段来获取。</p>
|
|
2220
2177
|
:rtype: list of DBNode
|
|
2221
2178
|
"""
|
|
2222
2179
|
return self._DBNodeSet
|
|
@@ -2227,12 +2184,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2227
2184
|
|
|
2228
2185
|
@property
|
|
2229
2186
|
def AutoVoucher(self):
|
|
2230
|
-
r"""
|
|
2231
|
-
|
|
2232
|
-
- 0:否
|
|
2233
|
-
- 1:是
|
|
2234
|
-
|
|
2235
|
-
默认值:0
|
|
2187
|
+
r"""<p>是否自动使用代金券:</p><ul><li>0:否</li><li>1:是</li></ul><p>默认值:0</p>
|
|
2236
2188
|
:rtype: int
|
|
2237
2189
|
"""
|
|
2238
2190
|
return self._AutoVoucher
|
|
@@ -2243,7 +2195,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2243
2195
|
|
|
2244
2196
|
@property
|
|
2245
2197
|
def VoucherIds(self):
|
|
2246
|
-
r"""
|
|
2198
|
+
r"""<p>代金券ID列表。</p>
|
|
2247
2199
|
:rtype: str
|
|
2248
2200
|
"""
|
|
2249
2201
|
return self._VoucherIds
|
|
@@ -2254,7 +2206,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2254
2206
|
|
|
2255
2207
|
@property
|
|
2256
2208
|
def ActivityId(self):
|
|
2257
|
-
r"""
|
|
2209
|
+
r"""<p>活动ID。</p>
|
|
2258
2210
|
:rtype: int
|
|
2259
2211
|
"""
|
|
2260
2212
|
return self._ActivityId
|
|
@@ -2265,7 +2217,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2265
2217
|
|
|
2266
2218
|
@property
|
|
2267
2219
|
def BackupSetId(self):
|
|
2268
|
-
r"""
|
|
2220
|
+
r"""<p>基础备份集ID。参数BackupSetId、RecoveryTargetTime两者必须填写一项,且不能同时填写。</p>
|
|
2269
2221
|
:rtype: str
|
|
2270
2222
|
"""
|
|
2271
2223
|
return self._BackupSetId
|
|
@@ -2276,7 +2228,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2276
2228
|
|
|
2277
2229
|
@property
|
|
2278
2230
|
def RecoveryTargetTime(self):
|
|
2279
|
-
r"""
|
|
2231
|
+
r"""<p>恢复时间点。参数BackupSetId、RecoveryTargetTime两者必须填写一项,且不能同时填写。</p>
|
|
2280
2232
|
:rtype: str
|
|
2281
2233
|
"""
|
|
2282
2234
|
return self._RecoveryTargetTime
|
|
@@ -2287,11 +2239,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2287
2239
|
|
|
2288
2240
|
@property
|
|
2289
2241
|
def SyncMode(self):
|
|
2290
|
-
r"""
|
|
2291
|
-
<li>Semi-sync:半同步</li>
|
|
2292
|
-
<li>Async:异步</li>
|
|
2293
|
-
主实例默认值:Semi-sync
|
|
2294
|
-
只读实例默认值:Async
|
|
2242
|
+
r"""<p>主从同步方式,支持: </p><li>Semi-sync:半同步</li><li>Async:异步</li>主实例默认值:Semi-sync只读实例默认值:Async
|
|
2295
2243
|
:rtype: str
|
|
2296
2244
|
"""
|
|
2297
2245
|
return self._SyncMode
|
|
@@ -2302,7 +2250,7 @@ class CloneDBInstanceRequest(AbstractModel):
|
|
|
2302
2250
|
|
|
2303
2251
|
@property
|
|
2304
2252
|
def DeletionProtection(self):
|
|
2305
|
-
r"""
|
|
2253
|
+
r"""<p>实例是否开启删除保护: true-开启删除保护;false-关闭删除保护。</p>
|
|
2306
2254
|
:rtype: bool
|
|
2307
2255
|
"""
|
|
2308
2256
|
return self._DeletionProtection
|
|
@@ -2360,11 +2308,11 @@ class CloneDBInstanceResponse(AbstractModel):
|
|
|
2360
2308
|
|
|
2361
2309
|
def __init__(self):
|
|
2362
2310
|
r"""
|
|
2363
|
-
:param _DealName:
|
|
2311
|
+
:param _DealName: <p>订单号。</p>
|
|
2364
2312
|
:type DealName: str
|
|
2365
|
-
:param _BillId:
|
|
2313
|
+
:param _BillId: <p>订单流水号。</p>
|
|
2366
2314
|
:type BillId: str
|
|
2367
|
-
:param _DBInstanceId:
|
|
2315
|
+
:param _DBInstanceId: <p>克隆出的新实例ID,当前只支持后付费返回该值。</p>
|
|
2368
2316
|
:type DBInstanceId: str
|
|
2369
2317
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
2370
2318
|
:type RequestId: str
|
|
@@ -2376,7 +2324,7 @@ class CloneDBInstanceResponse(AbstractModel):
|
|
|
2376
2324
|
|
|
2377
2325
|
@property
|
|
2378
2326
|
def DealName(self):
|
|
2379
|
-
r"""
|
|
2327
|
+
r"""<p>订单号。</p>
|
|
2380
2328
|
:rtype: str
|
|
2381
2329
|
"""
|
|
2382
2330
|
return self._DealName
|
|
@@ -2387,7 +2335,7 @@ class CloneDBInstanceResponse(AbstractModel):
|
|
|
2387
2335
|
|
|
2388
2336
|
@property
|
|
2389
2337
|
def BillId(self):
|
|
2390
|
-
r"""
|
|
2338
|
+
r"""<p>订单流水号。</p>
|
|
2391
2339
|
:rtype: str
|
|
2392
2340
|
"""
|
|
2393
2341
|
return self._BillId
|
|
@@ -2398,7 +2346,7 @@ class CloneDBInstanceResponse(AbstractModel):
|
|
|
2398
2346
|
|
|
2399
2347
|
@property
|
|
2400
2348
|
def DBInstanceId(self):
|
|
2401
|
-
r"""
|
|
2349
|
+
r"""<p>克隆出的新实例ID,当前只支持后付费返回该值。</p>
|
|
2402
2350
|
:rtype: str
|
|
2403
2351
|
"""
|
|
2404
2352
|
return self._DBInstanceId
|
|
@@ -6804,21 +6752,21 @@ class DBInstanceNetInfo(AbstractModel):
|
|
|
6804
6752
|
|
|
6805
6753
|
def __init__(self):
|
|
6806
6754
|
r"""
|
|
6807
|
-
:param _Address: DNS
|
|
6755
|
+
:param _Address: <p>DNS域名</p>
|
|
6808
6756
|
:type Address: str
|
|
6809
|
-
:param _Ip: IP
|
|
6757
|
+
:param _Ip: <p>IP地址</p>
|
|
6810
6758
|
:type Ip: str
|
|
6811
|
-
:param _Port:
|
|
6759
|
+
:param _Port: <p>连接Port地址</p>
|
|
6812
6760
|
:type Port: int
|
|
6813
|
-
:param _NetType:
|
|
6761
|
+
:param _NetType: <p>网络类型,1、inner(基础网络内网地址);2、private(私有网络内网地址);3、public(基础网络或私有网络的外网地址);</p>
|
|
6814
6762
|
:type NetType: str
|
|
6815
|
-
:param _Status:
|
|
6763
|
+
:param _Status: <p>网络连接状态,1、initing(未开通);2、opened(已开通);3、closed(已关闭);4、opening(开通中);5、closing(关闭中);</p>
|
|
6816
6764
|
:type Status: str
|
|
6817
|
-
:param _VpcId:
|
|
6765
|
+
:param _VpcId: <p>私有网络ID</p>
|
|
6818
6766
|
:type VpcId: str
|
|
6819
|
-
:param _SubnetId:
|
|
6767
|
+
:param _SubnetId: <p>子网ID</p>
|
|
6820
6768
|
:type SubnetId: str
|
|
6821
|
-
:param _ProtocolType:
|
|
6769
|
+
:param _ProtocolType: <p>连接数据库的协议类型,当前支持:postgresql、mssql(MSSQL兼容语法)</p>
|
|
6822
6770
|
:type ProtocolType: str
|
|
6823
6771
|
"""
|
|
6824
6772
|
self._Address = None
|
|
@@ -6832,7 +6780,7 @@ class DBInstanceNetInfo(AbstractModel):
|
|
|
6832
6780
|
|
|
6833
6781
|
@property
|
|
6834
6782
|
def Address(self):
|
|
6835
|
-
r"""DNS
|
|
6783
|
+
r"""<p>DNS域名</p>
|
|
6836
6784
|
:rtype: str
|
|
6837
6785
|
"""
|
|
6838
6786
|
return self._Address
|
|
@@ -6843,7 +6791,7 @@ class DBInstanceNetInfo(AbstractModel):
|
|
|
6843
6791
|
|
|
6844
6792
|
@property
|
|
6845
6793
|
def Ip(self):
|
|
6846
|
-
r"""IP
|
|
6794
|
+
r"""<p>IP地址</p>
|
|
6847
6795
|
:rtype: str
|
|
6848
6796
|
"""
|
|
6849
6797
|
return self._Ip
|
|
@@ -6854,7 +6802,7 @@ class DBInstanceNetInfo(AbstractModel):
|
|
|
6854
6802
|
|
|
6855
6803
|
@property
|
|
6856
6804
|
def Port(self):
|
|
6857
|
-
r"""
|
|
6805
|
+
r"""<p>连接Port地址</p>
|
|
6858
6806
|
:rtype: int
|
|
6859
6807
|
"""
|
|
6860
6808
|
return self._Port
|
|
@@ -6865,7 +6813,7 @@ class DBInstanceNetInfo(AbstractModel):
|
|
|
6865
6813
|
|
|
6866
6814
|
@property
|
|
6867
6815
|
def NetType(self):
|
|
6868
|
-
r"""
|
|
6816
|
+
r"""<p>网络类型,1、inner(基础网络内网地址);2、private(私有网络内网地址);3、public(基础网络或私有网络的外网地址);</p>
|
|
6869
6817
|
:rtype: str
|
|
6870
6818
|
"""
|
|
6871
6819
|
return self._NetType
|
|
@@ -6876,7 +6824,7 @@ class DBInstanceNetInfo(AbstractModel):
|
|
|
6876
6824
|
|
|
6877
6825
|
@property
|
|
6878
6826
|
def Status(self):
|
|
6879
|
-
r"""
|
|
6827
|
+
r"""<p>网络连接状态,1、initing(未开通);2、opened(已开通);3、closed(已关闭);4、opening(开通中);5、closing(关闭中);</p>
|
|
6880
6828
|
:rtype: str
|
|
6881
6829
|
"""
|
|
6882
6830
|
return self._Status
|
|
@@ -6887,7 +6835,7 @@ class DBInstanceNetInfo(AbstractModel):
|
|
|
6887
6835
|
|
|
6888
6836
|
@property
|
|
6889
6837
|
def VpcId(self):
|
|
6890
|
-
r"""
|
|
6838
|
+
r"""<p>私有网络ID</p>
|
|
6891
6839
|
:rtype: str
|
|
6892
6840
|
"""
|
|
6893
6841
|
return self._VpcId
|
|
@@ -6898,7 +6846,7 @@ class DBInstanceNetInfo(AbstractModel):
|
|
|
6898
6846
|
|
|
6899
6847
|
@property
|
|
6900
6848
|
def SubnetId(self):
|
|
6901
|
-
r"""
|
|
6849
|
+
r"""<p>子网ID</p>
|
|
6902
6850
|
:rtype: str
|
|
6903
6851
|
"""
|
|
6904
6852
|
return self._SubnetId
|
|
@@ -6909,7 +6857,7 @@ class DBInstanceNetInfo(AbstractModel):
|
|
|
6909
6857
|
|
|
6910
6858
|
@property
|
|
6911
6859
|
def ProtocolType(self):
|
|
6912
|
-
r"""
|
|
6860
|
+
r"""<p>连接数据库的协议类型,当前支持:postgresql、mssql(MSSQL兼容语法)</p>
|
|
6913
6861
|
:rtype: str
|
|
6914
6862
|
"""
|
|
6915
6863
|
return self._ProtocolType
|
|
@@ -10433,11 +10381,11 @@ class DescribeCloneDBInstanceSpecRequest(AbstractModel):
|
|
|
10433
10381
|
|
|
10434
10382
|
def __init__(self):
|
|
10435
10383
|
r"""
|
|
10436
|
-
:param _DBInstanceId:
|
|
10384
|
+
:param _DBInstanceId: <p>实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
10437
10385
|
:type DBInstanceId: str
|
|
10438
|
-
:param _BackupSetId:
|
|
10386
|
+
:param _BackupSetId: <p>基础备份集ID,可通过<a href="https://cloud.tencent.com/document/api/409/89022">DescribeBaseBackups</a>接口获取。此入参和RecoveryTargetTime必须选择一个传入。如与RecoveryTargetTime参数同时设置,则以此参数为准。</p>
|
|
10439
10387
|
:type BackupSetId: str
|
|
10440
|
-
:param _RecoveryTargetTime:
|
|
10388
|
+
:param _RecoveryTargetTime: <p>恢复目标时间,此入参和BackupSetId必须选择一个传入。时区以东八区(UTC+8)为准。</p>
|
|
10441
10389
|
:type RecoveryTargetTime: str
|
|
10442
10390
|
"""
|
|
10443
10391
|
self._DBInstanceId = None
|
|
@@ -10446,7 +10394,7 @@ class DescribeCloneDBInstanceSpecRequest(AbstractModel):
|
|
|
10446
10394
|
|
|
10447
10395
|
@property
|
|
10448
10396
|
def DBInstanceId(self):
|
|
10449
|
-
r"""
|
|
10397
|
+
r"""<p>实例ID。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
10450
10398
|
:rtype: str
|
|
10451
10399
|
"""
|
|
10452
10400
|
return self._DBInstanceId
|
|
@@ -10457,7 +10405,7 @@ class DescribeCloneDBInstanceSpecRequest(AbstractModel):
|
|
|
10457
10405
|
|
|
10458
10406
|
@property
|
|
10459
10407
|
def BackupSetId(self):
|
|
10460
|
-
r"""
|
|
10408
|
+
r"""<p>基础备份集ID,可通过<a href="https://cloud.tencent.com/document/api/409/89022">DescribeBaseBackups</a>接口获取。此入参和RecoveryTargetTime必须选择一个传入。如与RecoveryTargetTime参数同时设置,则以此参数为准。</p>
|
|
10461
10409
|
:rtype: str
|
|
10462
10410
|
"""
|
|
10463
10411
|
return self._BackupSetId
|
|
@@ -10468,7 +10416,7 @@ class DescribeCloneDBInstanceSpecRequest(AbstractModel):
|
|
|
10468
10416
|
|
|
10469
10417
|
@property
|
|
10470
10418
|
def RecoveryTargetTime(self):
|
|
10471
|
-
r"""
|
|
10419
|
+
r"""<p>恢复目标时间,此入参和BackupSetId必须选择一个传入。时区以东八区(UTC+8)为准。</p>
|
|
10472
10420
|
:rtype: str
|
|
10473
10421
|
"""
|
|
10474
10422
|
return self._RecoveryTargetTime
|
|
@@ -10499,9 +10447,9 @@ class DescribeCloneDBInstanceSpecResponse(AbstractModel):
|
|
|
10499
10447
|
|
|
10500
10448
|
def __init__(self):
|
|
10501
10449
|
r"""
|
|
10502
|
-
:param _MinSpecCode:
|
|
10450
|
+
:param _MinSpecCode: <p>可购买的最小规格码。</p>
|
|
10503
10451
|
:type MinSpecCode: str
|
|
10504
|
-
:param _MinStorage:
|
|
10452
|
+
:param _MinStorage: <p>可购买的最小磁盘容量,单位GB。</p>
|
|
10505
10453
|
:type MinStorage: int
|
|
10506
10454
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
10507
10455
|
:type RequestId: str
|
|
@@ -10512,7 +10460,7 @@ class DescribeCloneDBInstanceSpecResponse(AbstractModel):
|
|
|
10512
10460
|
|
|
10513
10461
|
@property
|
|
10514
10462
|
def MinSpecCode(self):
|
|
10515
|
-
r"""
|
|
10463
|
+
r"""<p>可购买的最小规格码。</p>
|
|
10516
10464
|
:rtype: str
|
|
10517
10465
|
"""
|
|
10518
10466
|
return self._MinSpecCode
|
|
@@ -10523,7 +10471,7 @@ class DescribeCloneDBInstanceSpecResponse(AbstractModel):
|
|
|
10523
10471
|
|
|
10524
10472
|
@property
|
|
10525
10473
|
def MinStorage(self):
|
|
10526
|
-
r"""
|
|
10474
|
+
r"""<p>可购买的最小磁盘容量,单位GB。</p>
|
|
10527
10475
|
:rtype: int
|
|
10528
10476
|
"""
|
|
10529
10477
|
return self._MinStorage
|
|
@@ -16635,16 +16583,15 @@ class InquiryPriceUpgradeDBInstanceRequest(AbstractModel):
|
|
|
16635
16583
|
|
|
16636
16584
|
def __init__(self):
|
|
16637
16585
|
r"""
|
|
16638
|
-
:param _Storage:
|
|
16586
|
+
:param _Storage: <p>实例的磁盘大小,单位GB</p>
|
|
16639
16587
|
:type Storage: int
|
|
16640
|
-
:param _Memory:
|
|
16588
|
+
:param _Memory: <p>实例的内存大小,单位GB</p>
|
|
16641
16589
|
:type Memory: int
|
|
16642
|
-
:param _DBInstanceId:
|
|
16590
|
+
:param _DBInstanceId: <p>实例ID,形如postgres-hez4fh0v。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
16643
16591
|
:type DBInstanceId: str
|
|
16644
|
-
:param _InstanceChargeType:
|
|
16592
|
+
:param _InstanceChargeType: <p>实例计费类型。</p>
|
|
16645
16593
|
:type InstanceChargeType: str
|
|
16646
|
-
:param _Cpu:
|
|
16647
|
-
不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。
|
|
16594
|
+
:param _Cpu: <p>实例的Cpu大小,单位Core。<br>不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。</p>
|
|
16648
16595
|
:type Cpu: int
|
|
16649
16596
|
"""
|
|
16650
16597
|
self._Storage = None
|
|
@@ -16655,7 +16602,7 @@ class InquiryPriceUpgradeDBInstanceRequest(AbstractModel):
|
|
|
16655
16602
|
|
|
16656
16603
|
@property
|
|
16657
16604
|
def Storage(self):
|
|
16658
|
-
r"""
|
|
16605
|
+
r"""<p>实例的磁盘大小,单位GB</p>
|
|
16659
16606
|
:rtype: int
|
|
16660
16607
|
"""
|
|
16661
16608
|
return self._Storage
|
|
@@ -16666,7 +16613,7 @@ class InquiryPriceUpgradeDBInstanceRequest(AbstractModel):
|
|
|
16666
16613
|
|
|
16667
16614
|
@property
|
|
16668
16615
|
def Memory(self):
|
|
16669
|
-
r"""
|
|
16616
|
+
r"""<p>实例的内存大小,单位GB</p>
|
|
16670
16617
|
:rtype: int
|
|
16671
16618
|
"""
|
|
16672
16619
|
return self._Memory
|
|
@@ -16677,7 +16624,7 @@ class InquiryPriceUpgradeDBInstanceRequest(AbstractModel):
|
|
|
16677
16624
|
|
|
16678
16625
|
@property
|
|
16679
16626
|
def DBInstanceId(self):
|
|
16680
|
-
r"""
|
|
16627
|
+
r"""<p>实例ID,形如postgres-hez4fh0v。可通过<a href="https://cloud.tencent.com/document/api/409/16773">DescribeDBInstances</a>接口获取</p>
|
|
16681
16628
|
:rtype: str
|
|
16682
16629
|
"""
|
|
16683
16630
|
return self._DBInstanceId
|
|
@@ -16690,7 +16637,7 @@ class InquiryPriceUpgradeDBInstanceRequest(AbstractModel):
|
|
|
16690
16637
|
def InstanceChargeType(self):
|
|
16691
16638
|
warnings.warn("parameter `InstanceChargeType` is deprecated", DeprecationWarning)
|
|
16692
16639
|
|
|
16693
|
-
r"""
|
|
16640
|
+
r"""<p>实例计费类型。</p>
|
|
16694
16641
|
:rtype: str
|
|
16695
16642
|
"""
|
|
16696
16643
|
return self._InstanceChargeType
|
|
@@ -16703,8 +16650,7 @@ class InquiryPriceUpgradeDBInstanceRequest(AbstractModel):
|
|
|
16703
16650
|
|
|
16704
16651
|
@property
|
|
16705
16652
|
def Cpu(self):
|
|
16706
|
-
r"""
|
|
16707
|
-
不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。
|
|
16653
|
+
r"""<p>实例的Cpu大小,单位Core。<br>不传入此参数时,默认根据Memory确定的售卖规格所对应的Cpu进行设置。如Memory为2,支持的售卖规格有1核2GiB,则不传入Cpu时,Cpu默认为1。</p>
|
|
16708
16654
|
:rtype: int
|
|
16709
16655
|
"""
|
|
16710
16656
|
return self._Cpu
|
|
@@ -16737,11 +16683,11 @@ class InquiryPriceUpgradeDBInstanceResponse(AbstractModel):
|
|
|
16737
16683
|
|
|
16738
16684
|
def __init__(self):
|
|
16739
16685
|
r"""
|
|
16740
|
-
:param _OriginalPrice:
|
|
16686
|
+
:param _OriginalPrice: <p>刊例价费用</p>
|
|
16741
16687
|
:type OriginalPrice: int
|
|
16742
|
-
:param _Price:
|
|
16688
|
+
:param _Price: <p>折后实际付款金额</p>
|
|
16743
16689
|
:type Price: int
|
|
16744
|
-
:param _Currency:
|
|
16690
|
+
:param _Currency: <p>币种。例如,CNY:人民币。</p>
|
|
16745
16691
|
:type Currency: str
|
|
16746
16692
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16747
16693
|
:type RequestId: str
|
|
@@ -16753,7 +16699,7 @@ class InquiryPriceUpgradeDBInstanceResponse(AbstractModel):
|
|
|
16753
16699
|
|
|
16754
16700
|
@property
|
|
16755
16701
|
def OriginalPrice(self):
|
|
16756
|
-
r"""
|
|
16702
|
+
r"""<p>刊例价费用</p>
|
|
16757
16703
|
:rtype: int
|
|
16758
16704
|
"""
|
|
16759
16705
|
return self._OriginalPrice
|
|
@@ -16764,7 +16710,7 @@ class InquiryPriceUpgradeDBInstanceResponse(AbstractModel):
|
|
|
16764
16710
|
|
|
16765
16711
|
@property
|
|
16766
16712
|
def Price(self):
|
|
16767
|
-
r"""
|
|
16713
|
+
r"""<p>折后实际付款金额</p>
|
|
16768
16714
|
:rtype: int
|
|
16769
16715
|
"""
|
|
16770
16716
|
return self._Price
|
|
@@ -16775,7 +16721,7 @@ class InquiryPriceUpgradeDBInstanceResponse(AbstractModel):
|
|
|
16775
16721
|
|
|
16776
16722
|
@property
|
|
16777
16723
|
def Currency(self):
|
|
16778
|
-
r"""
|
|
16724
|
+
r"""<p>币种。例如,CNY:人民币。</p>
|
|
16779
16725
|
:rtype: str
|
|
16780
16726
|
"""
|
|
16781
16727
|
return self._Currency
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-postgres
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.200
|
|
4
4
|
Summary: Tencent Cloud Postgres SDK for Python
|
|
5
5
|
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
6
|
Author: Tencent Cloud
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: 2.7
|
|
|
15
15
|
Classifier: Programming Language :: Python :: 3
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.6
|
|
17
17
|
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
-
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common <4.0.0,>=3.1.200
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=Tydeww-1eaKITX-gg9_aaZcChLmwzjp9OdL9h8QoHK8,630
|
|
2
2
|
tencentcloud/postgres/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/postgres/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/postgres/v20170312/errorcodes.py,sha256=KTJ_J57Aq7OdytGZXj4vRo5xfA84WkXJGb9ItL7I4yE,25068
|
|
5
|
-
tencentcloud/postgres/v20170312/models.py,sha256=
|
|
5
|
+
tencentcloud/postgres/v20170312/models.py,sha256=upz9m5P7rzYt70D4YAxc-8Eqt8yF2KlcYTKwelmkhJ8,890712
|
|
6
6
|
tencentcloud/postgres/v20170312/postgres_client.py,sha256=kub0iRmM0zKzVQhVRnRpIs-XALn0CIq7slhQaIm3wLE,131159
|
|
7
7
|
tencentcloud/postgres/v20170312/postgres_client_async.py,sha256=jU3IVXIXXJDk4ahvL6zcrcmrleVWdTzSywG10JUaHbU,90340
|
|
8
|
-
tencentcloud_sdk_python_postgres-3.1.
|
|
9
|
-
tencentcloud_sdk_python_postgres-3.1.
|
|
10
|
-
tencentcloud_sdk_python_postgres-3.1.
|
|
11
|
-
tencentcloud_sdk_python_postgres-3.1.
|
|
8
|
+
tencentcloud_sdk_python_postgres-3.1.200.dist-info/METADATA,sha256=jVfxNvUaXH1DfWg9o8wT9AF9qqtKqap5hTXzgiDn1_A,1522
|
|
9
|
+
tencentcloud_sdk_python_postgres-3.1.200.dist-info/WHEEL,sha256=a5ogxI61vGGBHYbAAwISCXsfU7mxKr76gTpCEmSNOI8,109
|
|
10
|
+
tencentcloud_sdk_python_postgres-3.1.200.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
11
|
+
tencentcloud_sdk_python_postgres-3.1.200.dist-info/RECORD,,
|
|
File without changes
|