tencentcloud-sdk-python-vpc 3.0.1459__tar.gz → 3.0.1460__tar.gz
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-sdk-python-vpc-3.0.1459 → tencentcloud-sdk-python-vpc-3.0.1460}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1459 → tencentcloud-sdk-python-vpc-3.0.1460}/setup.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1459 → tencentcloud-sdk-python-vpc-3.0.1460}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1459 → tencentcloud-sdk-python-vpc-3.0.1460}/tencentcloud/vpc/v20170312/models.py +51 -22
- {tencentcloud-sdk-python-vpc-3.0.1459 → tencentcloud-sdk-python-vpc-3.0.1460}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-vpc-3.0.1460/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-vpc-3.0.1459/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-vpc-3.0.1459 → tencentcloud-sdk-python-vpc-3.0.1460}/README.rst +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1459 → tencentcloud-sdk-python-vpc-3.0.1460}/setup.cfg +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1459 → tencentcloud-sdk-python-vpc-3.0.1460}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1459 → tencentcloud-sdk-python-vpc-3.0.1460}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1459 → tencentcloud-sdk-python-vpc-3.0.1460}/tencentcloud/vpc/v20170312/errorcodes.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1459 → tencentcloud-sdk-python-vpc-3.0.1460}/tencentcloud/vpc/v20170312/vpc_client.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1459 → tencentcloud-sdk-python-vpc-3.0.1460}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1459 → tencentcloud-sdk-python-vpc-3.0.1460}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1459 → tencentcloud-sdk-python-vpc-3.0.1460}/tencentcloud_sdk_python_vpc.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-vpc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common>=3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.0.1460,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Vpc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -11930,7 +11930,7 @@ class CreateNatGatewayRequest(AbstractModel):
|
|
|
11930
11930
|
:type VpcId: str
|
|
11931
11931
|
:param _InternetMaxBandwidthOut: NAT网关最大外网出带宽(单位:Mbps),支持的参数值:20, 50, 100, 200, 500, 1000, 2000, 5000,默认: 100Mbps。 当以下NatProductVersion参数值为2即标准型时,此参数无需填写,默认为5000Mbps。
|
|
11932
11932
|
:type InternetMaxBandwidthOut: int
|
|
11933
|
-
:param _MaxConcurrentConnection: NAT网关并发连接数上限,支持参数值:1000000、3000000、10000000,默认值为
|
|
11933
|
+
:param _MaxConcurrentConnection: NAT网关并发连接数上限,支持参数值:1000000、3000000、10000000,默认值为1000000。 当NatProductVersion参数值为2即标准型时,此参数无需填写,默认为2000000。
|
|
11934
11934
|
:type MaxConcurrentConnection: int
|
|
11935
11935
|
:param _AddressCount: 新建弹性公网IP个数,系统会按您的要求创建对应数量的弹性公网IP,其中AddressCount和PublicAddresses两个参数至少填写一个。
|
|
11936
11936
|
:type AddressCount: int
|
|
@@ -11950,6 +11950,8 @@ class CreateNatGatewayRequest(AbstractModel):
|
|
|
11950
11950
|
:type PublicIpFromSameZone: bool
|
|
11951
11951
|
:param _NatProductVersion: NAT网关类型,1表示传统型NAT网关,2表示标准型NAT网关,默认值是1。
|
|
11952
11952
|
:type NatProductVersion: int
|
|
11953
|
+
:param _DeletionProtectionEnabled: NAT实例是否开启删除保护
|
|
11954
|
+
:type DeletionProtectionEnabled: bool
|
|
11953
11955
|
"""
|
|
11954
11956
|
self._NatGatewayName = None
|
|
11955
11957
|
self._VpcId = None
|
|
@@ -11964,6 +11966,7 @@ class CreateNatGatewayRequest(AbstractModel):
|
|
|
11964
11966
|
self._PublicIpAddressesBandwidthOut = None
|
|
11965
11967
|
self._PublicIpFromSameZone = None
|
|
11966
11968
|
self._NatProductVersion = None
|
|
11969
|
+
self._DeletionProtectionEnabled = None
|
|
11967
11970
|
|
|
11968
11971
|
@property
|
|
11969
11972
|
def NatGatewayName(self):
|
|
@@ -12000,7 +12003,7 @@ class CreateNatGatewayRequest(AbstractModel):
|
|
|
12000
12003
|
|
|
12001
12004
|
@property
|
|
12002
12005
|
def MaxConcurrentConnection(self):
|
|
12003
|
-
r"""NAT网关并发连接数上限,支持参数值:1000000、3000000、10000000,默认值为
|
|
12006
|
+
r"""NAT网关并发连接数上限,支持参数值:1000000、3000000、10000000,默认值为1000000。 当NatProductVersion参数值为2即标准型时,此参数无需填写,默认为2000000。
|
|
12004
12007
|
:rtype: int
|
|
12005
12008
|
"""
|
|
12006
12009
|
return self._MaxConcurrentConnection
|
|
@@ -12112,6 +12115,17 @@ class CreateNatGatewayRequest(AbstractModel):
|
|
|
12112
12115
|
def NatProductVersion(self, NatProductVersion):
|
|
12113
12116
|
self._NatProductVersion = NatProductVersion
|
|
12114
12117
|
|
|
12118
|
+
@property
|
|
12119
|
+
def DeletionProtectionEnabled(self):
|
|
12120
|
+
r"""NAT实例是否开启删除保护
|
|
12121
|
+
:rtype: bool
|
|
12122
|
+
"""
|
|
12123
|
+
return self._DeletionProtectionEnabled
|
|
12124
|
+
|
|
12125
|
+
@DeletionProtectionEnabled.setter
|
|
12126
|
+
def DeletionProtectionEnabled(self, DeletionProtectionEnabled):
|
|
12127
|
+
self._DeletionProtectionEnabled = DeletionProtectionEnabled
|
|
12128
|
+
|
|
12115
12129
|
|
|
12116
12130
|
def _deserialize(self, params):
|
|
12117
12131
|
self._NatGatewayName = params.get("NatGatewayName")
|
|
@@ -12132,6 +12146,7 @@ class CreateNatGatewayRequest(AbstractModel):
|
|
|
12132
12146
|
self._PublicIpAddressesBandwidthOut = params.get("PublicIpAddressesBandwidthOut")
|
|
12133
12147
|
self._PublicIpFromSameZone = params.get("PublicIpFromSameZone")
|
|
12134
12148
|
self._NatProductVersion = params.get("NatProductVersion")
|
|
12149
|
+
self._DeletionProtectionEnabled = params.get("DeletionProtectionEnabled")
|
|
12135
12150
|
memeber_set = set(params.keys())
|
|
12136
12151
|
for name, value in vars(self).items():
|
|
12137
12152
|
property_name = name[1:]
|
|
@@ -13164,6 +13179,8 @@ class CreatePrivateNatGatewayRequest(AbstractModel):
|
|
|
13164
13179
|
:type VpcType: bool
|
|
13165
13180
|
:param _CcnId: 云联网类型私网NAT网关需要绑定的云联网实例ID。
|
|
13166
13181
|
:type CcnId: str
|
|
13182
|
+
:param _DeletionProtectionEnabled: 私网NAT实例是否开启删除保护
|
|
13183
|
+
:type DeletionProtectionEnabled: bool
|
|
13167
13184
|
"""
|
|
13168
13185
|
self._NatGatewayName = None
|
|
13169
13186
|
self._VpcId = None
|
|
@@ -13171,6 +13188,7 @@ class CreatePrivateNatGatewayRequest(AbstractModel):
|
|
|
13171
13188
|
self._Tags = None
|
|
13172
13189
|
self._VpcType = None
|
|
13173
13190
|
self._CcnId = None
|
|
13191
|
+
self._DeletionProtectionEnabled = None
|
|
13174
13192
|
|
|
13175
13193
|
@property
|
|
13176
13194
|
def NatGatewayName(self):
|
|
@@ -13238,6 +13256,17 @@ class CreatePrivateNatGatewayRequest(AbstractModel):
|
|
|
13238
13256
|
def CcnId(self, CcnId):
|
|
13239
13257
|
self._CcnId = CcnId
|
|
13240
13258
|
|
|
13259
|
+
@property
|
|
13260
|
+
def DeletionProtectionEnabled(self):
|
|
13261
|
+
r"""私网NAT实例是否开启删除保护
|
|
13262
|
+
:rtype: bool
|
|
13263
|
+
"""
|
|
13264
|
+
return self._DeletionProtectionEnabled
|
|
13265
|
+
|
|
13266
|
+
@DeletionProtectionEnabled.setter
|
|
13267
|
+
def DeletionProtectionEnabled(self, DeletionProtectionEnabled):
|
|
13268
|
+
self._DeletionProtectionEnabled = DeletionProtectionEnabled
|
|
13269
|
+
|
|
13241
13270
|
|
|
13242
13271
|
def _deserialize(self, params):
|
|
13243
13272
|
self._NatGatewayName = params.get("NatGatewayName")
|
|
@@ -13251,6 +13280,7 @@ class CreatePrivateNatGatewayRequest(AbstractModel):
|
|
|
13251
13280
|
self._Tags.append(obj)
|
|
13252
13281
|
self._VpcType = params.get("VpcType")
|
|
13253
13282
|
self._CcnId = params.get("CcnId")
|
|
13283
|
+
self._DeletionProtectionEnabled = params.get("DeletionProtectionEnabled")
|
|
13254
13284
|
memeber_set = set(params.keys())
|
|
13255
13285
|
for name, value in vars(self).items():
|
|
13256
13286
|
property_name = name[1:]
|
|
@@ -29614,11 +29644,7 @@ class DescribeNatGatewaysRequest(AbstractModel):
|
|
|
29614
29644
|
r"""
|
|
29615
29645
|
:param _NatGatewayIds: NAT网关统一 ID,形如:`nat-123xx454`。每次请求的实例上限为100。参数不支持同时指定NatGatewayIds和Filters。
|
|
29616
29646
|
:type NatGatewayIds: list of str
|
|
29617
|
-
:param _Filters: 过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5
|
|
29618
|
-
<li>nat-gateway-id - String - (过滤条件)协议端口模板实例ID,形如:`nat-123xx454`。</li>
|
|
29619
|
-
<li>vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。</li>
|
|
29620
|
-
<li>nat-gateway-name - String - (过滤条件)协议端口模板实例ID,形如:`test_nat`。</li>
|
|
29621
|
-
<li>tag-key - String - (过滤条件)标签键,形如:`test-key`。</li>
|
|
29647
|
+
:param _Filters: 过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5。<li>nat-gateway-id - String - (过滤条件)NAT实例ID,形如:`nat-123xx454`。</li><li>vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。</li><li>nat-gateway-name - String - (过滤条件)协议端口模板实例名称,形如:`test_nat`。</li><li>tag-key - String - (过滤条件)标签键,形如:`test-key`。</li><li>nat-status - String - (过滤条件)NAT实例当前状态,形如:`AVAILABLE`。</li>
|
|
29622
29648
|
:type Filters: list of Filter
|
|
29623
29649
|
:param _Offset: 偏移量,默认为0。
|
|
29624
29650
|
:type Offset: int
|
|
@@ -29643,11 +29669,7 @@ class DescribeNatGatewaysRequest(AbstractModel):
|
|
|
29643
29669
|
|
|
29644
29670
|
@property
|
|
29645
29671
|
def Filters(self):
|
|
29646
|
-
r"""过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5
|
|
29647
|
-
<li>nat-gateway-id - String - (过滤条件)协议端口模板实例ID,形如:`nat-123xx454`。</li>
|
|
29648
|
-
<li>vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。</li>
|
|
29649
|
-
<li>nat-gateway-name - String - (过滤条件)协议端口模板实例ID,形如:`test_nat`。</li>
|
|
29650
|
-
<li>tag-key - String - (过滤条件)标签键,形如:`test-key`。</li>
|
|
29672
|
+
r"""过滤条件,参数不支持同时指定NatGatewayIds和Filters。每次请求的Filters的上限为10,Filter.Values的上限为5。<li>nat-gateway-id - String - (过滤条件)NAT实例ID,形如:`nat-123xx454`。</li><li>vpc-id - String - (过滤条件)私有网络 唯一ID,形如:`vpc-123xx454`。</li><li>nat-gateway-name - String - (过滤条件)协议端口模板实例名称,形如:`test_nat`。</li><li>tag-key - String - (过滤条件)标签键,形如:`test-key`。</li><li>nat-status - String - (过滤条件)NAT实例当前状态,形如:`AVAILABLE`。</li>
|
|
29651
29673
|
:rtype: list of Filter
|
|
29652
29674
|
"""
|
|
29653
29675
|
return self._Filters
|
|
@@ -29710,11 +29732,14 @@ class DescribeNatGatewaysResponse(AbstractModel):
|
|
|
29710
29732
|
:type NatGatewaySet: list of NatGateway
|
|
29711
29733
|
:param _TotalCount: 符合条件的NAT网关对象个数。
|
|
29712
29734
|
:type TotalCount: int
|
|
29735
|
+
:param _VerboseLevel: 输出信息详细程度,DETAIL代表输出实例所有信息;COMPACT代表不输出NAT规则和自定义路由,输出实例基本信息、特性开关和EIP信息;SIMPLE代表仅输出实例基本信息和特性开关
|
|
29736
|
+
:type VerboseLevel: str
|
|
29713
29737
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
29714
29738
|
:type RequestId: str
|
|
29715
29739
|
"""
|
|
29716
29740
|
self._NatGatewaySet = None
|
|
29717
29741
|
self._TotalCount = None
|
|
29742
|
+
self._VerboseLevel = None
|
|
29718
29743
|
self._RequestId = None
|
|
29719
29744
|
|
|
29720
29745
|
@property
|
|
@@ -29739,6 +29764,17 @@ class DescribeNatGatewaysResponse(AbstractModel):
|
|
|
29739
29764
|
def TotalCount(self, TotalCount):
|
|
29740
29765
|
self._TotalCount = TotalCount
|
|
29741
29766
|
|
|
29767
|
+
@property
|
|
29768
|
+
def VerboseLevel(self):
|
|
29769
|
+
r"""输出信息详细程度,DETAIL代表输出实例所有信息;COMPACT代表不输出NAT规则和自定义路由,输出实例基本信息、特性开关和EIP信息;SIMPLE代表仅输出实例基本信息和特性开关
|
|
29770
|
+
:rtype: str
|
|
29771
|
+
"""
|
|
29772
|
+
return self._VerboseLevel
|
|
29773
|
+
|
|
29774
|
+
@VerboseLevel.setter
|
|
29775
|
+
def VerboseLevel(self, VerboseLevel):
|
|
29776
|
+
self._VerboseLevel = VerboseLevel
|
|
29777
|
+
|
|
29742
29778
|
@property
|
|
29743
29779
|
def RequestId(self):
|
|
29744
29780
|
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -29759,6 +29795,7 @@ class DescribeNatGatewaysResponse(AbstractModel):
|
|
|
29759
29795
|
obj._deserialize(item)
|
|
29760
29796
|
self._NatGatewaySet.append(obj)
|
|
29761
29797
|
self._TotalCount = params.get("TotalCount")
|
|
29798
|
+
self._VerboseLevel = params.get("VerboseLevel")
|
|
29762
29799
|
self._RequestId = params.get("RequestId")
|
|
29763
29800
|
|
|
29764
29801
|
|
|
@@ -31540,11 +31577,7 @@ class DescribePrivateNatGatewaysRequest(AbstractModel):
|
|
|
31540
31577
|
r"""
|
|
31541
31578
|
:param _NatGatewayIds: 私网网关唯一`ID`,形如:`intranat-0g3blj80`。
|
|
31542
31579
|
:type NatGatewayIds: list of str
|
|
31543
|
-
:param _Filters:
|
|
31544
|
-
<li>NatGatewayId - String - 私网网关唯一`ID`,形如:`intranat-0g3blj80`。</li>
|
|
31545
|
-
<li>NatGatewayName - String - 专线网关名称,默认模糊查询。</li>
|
|
31546
|
-
<li>VpcId - String - 私网网关所在`VpcId`。</li>
|
|
31547
|
-
<li>TagKey - Tag数组 - 私网网关标签键值对数组</li>
|
|
31580
|
+
:param _Filters: 过滤条件。<li>NatGatewayId - String - 私网网关唯一`ID`,形如:`intranat-0g3blj80`。</li><li>NatGatewayName - String - 专线网关名称,默认模糊查询。</li><li>VpcId - String - 私网网关所在`VpcId`。</li><li>TagKey - Tag数组 - 私网网关标签键值对数组</li><li>intranat-status - String - (过滤条件)NAT实例当前状态,形如:`AVAILABLE`。</li>
|
|
31548
31581
|
:type Filters: list of Filter
|
|
31549
31582
|
:param _Offset: 偏移量,默认为0。
|
|
31550
31583
|
:type Offset: int
|
|
@@ -31575,11 +31608,7 @@ class DescribePrivateNatGatewaysRequest(AbstractModel):
|
|
|
31575
31608
|
|
|
31576
31609
|
@property
|
|
31577
31610
|
def Filters(self):
|
|
31578
|
-
r"""
|
|
31579
|
-
<li>NatGatewayId - String - 私网网关唯一`ID`,形如:`intranat-0g3blj80`。</li>
|
|
31580
|
-
<li>NatGatewayName - String - 专线网关名称,默认模糊查询。</li>
|
|
31581
|
-
<li>VpcId - String - 私网网关所在`VpcId`。</li>
|
|
31582
|
-
<li>TagKey - Tag数组 - 私网网关标签键值对数组</li>
|
|
31611
|
+
r"""过滤条件。<li>NatGatewayId - String - 私网网关唯一`ID`,形如:`intranat-0g3blj80`。</li><li>NatGatewayName - String - 专线网关名称,默认模糊查询。</li><li>VpcId - String - 私网网关所在`VpcId`。</li><li>TagKey - Tag数组 - 私网网关标签键值对数组</li><li>intranat-status - String - (过滤条件)NAT实例当前状态,形如:`AVAILABLE`。</li>
|
|
31583
31612
|
:rtype: list of Filter
|
|
31584
31613
|
"""
|
|
31585
31614
|
return self._Filters
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1460
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1459
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|