tencentcloud-sdk-python-vpc 3.0.1257__tar.gz → 3.0.1258__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.1257 → tencentcloud-sdk-python-vpc-3.0.1258}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1257 → tencentcloud-sdk-python-vpc-3.0.1258}/setup.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1257 → tencentcloud-sdk-python-vpc-3.0.1258}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1257 → tencentcloud-sdk-python-vpc-3.0.1258}/tencentcloud/vpc/v20170312/models.py +134 -2
- {tencentcloud-sdk-python-vpc-3.0.1257 → tencentcloud-sdk-python-vpc-3.0.1258}/tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- {tencentcloud-sdk-python-vpc-3.0.1257 → tencentcloud-sdk-python-vpc-3.0.1258}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-vpc-3.0.1258/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-vpc-3.0.1257/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-vpc-3.0.1257 → tencentcloud-sdk-python-vpc-3.0.1258}/README.rst +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1257 → tencentcloud-sdk-python-vpc-3.0.1258}/setup.cfg +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1257 → tencentcloud-sdk-python-vpc-3.0.1258}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1257 → tencentcloud-sdk-python-vpc-3.0.1258}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1257 → tencentcloud-sdk-python-vpc-3.0.1258}/tencentcloud/vpc/v20170312/errorcodes.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1257 → tencentcloud-sdk-python-vpc-3.0.1258}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1257 → tencentcloud-sdk-python-vpc-3.0.1258}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1257 → tencentcloud-sdk-python-vpc-3.0.1258}/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.1258"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Vpc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -14469,9 +14469,12 @@ class DeleteDirectConnectGatewayCcnRoutesRequest(AbstractModel):
|
|
|
14469
14469
|
:type DirectConnectGatewayId: str
|
|
14470
14470
|
:param _RouteIds: 路由ID。形如:ccnr-f49l6u0z。
|
|
14471
14471
|
:type RouteIds: list of str
|
|
14472
|
+
:param _AddressType: 地址类型,支持:IPv4、IPv6。默认IPv4。
|
|
14473
|
+
:type AddressType: str
|
|
14472
14474
|
"""
|
|
14473
14475
|
self._DirectConnectGatewayId = None
|
|
14474
14476
|
self._RouteIds = None
|
|
14477
|
+
self._AddressType = None
|
|
14475
14478
|
|
|
14476
14479
|
@property
|
|
14477
14480
|
def DirectConnectGatewayId(self):
|
|
@@ -14489,10 +14492,19 @@ class DeleteDirectConnectGatewayCcnRoutesRequest(AbstractModel):
|
|
|
14489
14492
|
def RouteIds(self, RouteIds):
|
|
14490
14493
|
self._RouteIds = RouteIds
|
|
14491
14494
|
|
|
14495
|
+
@property
|
|
14496
|
+
def AddressType(self):
|
|
14497
|
+
return self._AddressType
|
|
14498
|
+
|
|
14499
|
+
@AddressType.setter
|
|
14500
|
+
def AddressType(self, AddressType):
|
|
14501
|
+
self._AddressType = AddressType
|
|
14502
|
+
|
|
14492
14503
|
|
|
14493
14504
|
def _deserialize(self, params):
|
|
14494
14505
|
self._DirectConnectGatewayId = params.get("DirectConnectGatewayId")
|
|
14495
14506
|
self._RouteIds = params.get("RouteIds")
|
|
14507
|
+
self._AddressType = params.get("AddressType")
|
|
14496
14508
|
memeber_set = set(params.keys())
|
|
14497
14509
|
for name, value in vars(self).items():
|
|
14498
14510
|
property_name = name[1:]
|
|
@@ -20156,6 +20168,8 @@ class DescribeDirectConnectGatewayCcnRoutesRequest(AbstractModel):
|
|
|
20156
20168
|
<li>`BGP` - 自动学习。</li>
|
|
20157
20169
|
<li>`STATIC` - 静态,即用户配置,默认值。</li>
|
|
20158
20170
|
:type CcnRouteType: str
|
|
20171
|
+
:param _AddressType: 地址类型,支持:IPv4、IPv6。默认IPv4。
|
|
20172
|
+
:type AddressType: str
|
|
20159
20173
|
:param _Offset: 偏移量。
|
|
20160
20174
|
:type Offset: int
|
|
20161
20175
|
:param _Limit: 返回数量。
|
|
@@ -20163,6 +20177,7 @@ class DescribeDirectConnectGatewayCcnRoutesRequest(AbstractModel):
|
|
|
20163
20177
|
"""
|
|
20164
20178
|
self._DirectConnectGatewayId = None
|
|
20165
20179
|
self._CcnRouteType = None
|
|
20180
|
+
self._AddressType = None
|
|
20166
20181
|
self._Offset = None
|
|
20167
20182
|
self._Limit = None
|
|
20168
20183
|
|
|
@@ -20182,6 +20197,14 @@ class DescribeDirectConnectGatewayCcnRoutesRequest(AbstractModel):
|
|
|
20182
20197
|
def CcnRouteType(self, CcnRouteType):
|
|
20183
20198
|
self._CcnRouteType = CcnRouteType
|
|
20184
20199
|
|
|
20200
|
+
@property
|
|
20201
|
+
def AddressType(self):
|
|
20202
|
+
return self._AddressType
|
|
20203
|
+
|
|
20204
|
+
@AddressType.setter
|
|
20205
|
+
def AddressType(self, AddressType):
|
|
20206
|
+
self._AddressType = AddressType
|
|
20207
|
+
|
|
20185
20208
|
@property
|
|
20186
20209
|
def Offset(self):
|
|
20187
20210
|
return self._Offset
|
|
@@ -20202,6 +20225,7 @@ class DescribeDirectConnectGatewayCcnRoutesRequest(AbstractModel):
|
|
|
20202
20225
|
def _deserialize(self, params):
|
|
20203
20226
|
self._DirectConnectGatewayId = params.get("DirectConnectGatewayId")
|
|
20204
20227
|
self._CcnRouteType = params.get("CcnRouteType")
|
|
20228
|
+
self._AddressType = params.get("AddressType")
|
|
20205
20229
|
self._Offset = params.get("Offset")
|
|
20206
20230
|
self._Limit = params.get("Limit")
|
|
20207
20231
|
memeber_set = set(params.keys())
|
|
@@ -35572,6 +35596,12 @@ class Ipv6Address(AbstractModel):
|
|
|
35572
35596
|
<li>`DELETING`:删除中</li>
|
|
35573
35597
|
<li>`AVAILABLE`:可用的</li>
|
|
35574
35598
|
:type State: str
|
|
35599
|
+
:param _PublicIpAddress: 如果 IPv6地址是 ULA 类型,绑定的公网IP地址。
|
|
35600
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35601
|
+
:type PublicIpAddress: str
|
|
35602
|
+
:param _AddressType: `IPv6`地址的类型: `GUA`, `OTHER`, `ULA`
|
|
35603
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
35604
|
+
:type AddressType: str
|
|
35575
35605
|
"""
|
|
35576
35606
|
self._Address = None
|
|
35577
35607
|
self._Primary = None
|
|
@@ -35579,6 +35609,8 @@ class Ipv6Address(AbstractModel):
|
|
|
35579
35609
|
self._Description = None
|
|
35580
35610
|
self._IsWanIpBlocked = None
|
|
35581
35611
|
self._State = None
|
|
35612
|
+
self._PublicIpAddress = None
|
|
35613
|
+
self._AddressType = None
|
|
35582
35614
|
|
|
35583
35615
|
@property
|
|
35584
35616
|
def Address(self):
|
|
@@ -35628,6 +35660,22 @@ class Ipv6Address(AbstractModel):
|
|
|
35628
35660
|
def State(self, State):
|
|
35629
35661
|
self._State = State
|
|
35630
35662
|
|
|
35663
|
+
@property
|
|
35664
|
+
def PublicIpAddress(self):
|
|
35665
|
+
return self._PublicIpAddress
|
|
35666
|
+
|
|
35667
|
+
@PublicIpAddress.setter
|
|
35668
|
+
def PublicIpAddress(self, PublicIpAddress):
|
|
35669
|
+
self._PublicIpAddress = PublicIpAddress
|
|
35670
|
+
|
|
35671
|
+
@property
|
|
35672
|
+
def AddressType(self):
|
|
35673
|
+
return self._AddressType
|
|
35674
|
+
|
|
35675
|
+
@AddressType.setter
|
|
35676
|
+
def AddressType(self, AddressType):
|
|
35677
|
+
self._AddressType = AddressType
|
|
35678
|
+
|
|
35631
35679
|
|
|
35632
35680
|
def _deserialize(self, params):
|
|
35633
35681
|
self._Address = params.get("Address")
|
|
@@ -35636,6 +35684,8 @@ class Ipv6Address(AbstractModel):
|
|
|
35636
35684
|
self._Description = params.get("Description")
|
|
35637
35685
|
self._IsWanIpBlocked = params.get("IsWanIpBlocked")
|
|
35638
35686
|
self._State = params.get("State")
|
|
35687
|
+
self._PublicIpAddress = params.get("PublicIpAddress")
|
|
35688
|
+
self._AddressType = params.get("AddressType")
|
|
35639
35689
|
memeber_set = set(params.keys())
|
|
35640
35690
|
for name, value in vars(self).items():
|
|
35641
35691
|
property_name = name[1:]
|
|
@@ -36756,6 +36806,76 @@ class ModifyAddressesBandwidthResponse(AbstractModel):
|
|
|
36756
36806
|
self._RequestId = params.get("RequestId")
|
|
36757
36807
|
|
|
36758
36808
|
|
|
36809
|
+
class ModifyAddressesRenewFlagRequest(AbstractModel):
|
|
36810
|
+
"""ModifyAddressesRenewFlag请求参数结构体
|
|
36811
|
+
|
|
36812
|
+
"""
|
|
36813
|
+
|
|
36814
|
+
def __init__(self):
|
|
36815
|
+
r"""
|
|
36816
|
+
:param _AddressIds: EIP唯一标识ID列表,形如'eip-xxxx'
|
|
36817
|
+
:type AddressIds: list of str
|
|
36818
|
+
:param _RenewFlag: 自动续费标识。取值范围: NOTIFY_AND_AUTO_RENEW:通知过期且自动续费 NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费 DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费 若该参数指定为NOTIFY_AND_AUTO_RENEW,在账户余额充足的情况下,实例到期后将按月自动续费。 示例值:NOTIFY_AND_AUTO_RENEW
|
|
36819
|
+
:type RenewFlag: str
|
|
36820
|
+
"""
|
|
36821
|
+
self._AddressIds = None
|
|
36822
|
+
self._RenewFlag = None
|
|
36823
|
+
|
|
36824
|
+
@property
|
|
36825
|
+
def AddressIds(self):
|
|
36826
|
+
return self._AddressIds
|
|
36827
|
+
|
|
36828
|
+
@AddressIds.setter
|
|
36829
|
+
def AddressIds(self, AddressIds):
|
|
36830
|
+
self._AddressIds = AddressIds
|
|
36831
|
+
|
|
36832
|
+
@property
|
|
36833
|
+
def RenewFlag(self):
|
|
36834
|
+
return self._RenewFlag
|
|
36835
|
+
|
|
36836
|
+
@RenewFlag.setter
|
|
36837
|
+
def RenewFlag(self, RenewFlag):
|
|
36838
|
+
self._RenewFlag = RenewFlag
|
|
36839
|
+
|
|
36840
|
+
|
|
36841
|
+
def _deserialize(self, params):
|
|
36842
|
+
self._AddressIds = params.get("AddressIds")
|
|
36843
|
+
self._RenewFlag = params.get("RenewFlag")
|
|
36844
|
+
memeber_set = set(params.keys())
|
|
36845
|
+
for name, value in vars(self).items():
|
|
36846
|
+
property_name = name[1:]
|
|
36847
|
+
if property_name in memeber_set:
|
|
36848
|
+
memeber_set.remove(property_name)
|
|
36849
|
+
if len(memeber_set) > 0:
|
|
36850
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
36851
|
+
|
|
36852
|
+
|
|
36853
|
+
|
|
36854
|
+
class ModifyAddressesRenewFlagResponse(AbstractModel):
|
|
36855
|
+
"""ModifyAddressesRenewFlag返回参数结构体
|
|
36856
|
+
|
|
36857
|
+
"""
|
|
36858
|
+
|
|
36859
|
+
def __init__(self):
|
|
36860
|
+
r"""
|
|
36861
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
36862
|
+
:type RequestId: str
|
|
36863
|
+
"""
|
|
36864
|
+
self._RequestId = None
|
|
36865
|
+
|
|
36866
|
+
@property
|
|
36867
|
+
def RequestId(self):
|
|
36868
|
+
return self._RequestId
|
|
36869
|
+
|
|
36870
|
+
@RequestId.setter
|
|
36871
|
+
def RequestId(self, RequestId):
|
|
36872
|
+
self._RequestId = RequestId
|
|
36873
|
+
|
|
36874
|
+
|
|
36875
|
+
def _deserialize(self, params):
|
|
36876
|
+
self._RequestId = params.get("RequestId")
|
|
36877
|
+
|
|
36878
|
+
|
|
36759
36879
|
class ModifyAssistantCidrRequest(AbstractModel):
|
|
36760
36880
|
"""ModifyAssistantCidr请求参数结构体
|
|
36761
36881
|
|
|
@@ -42239,7 +42359,7 @@ class NatGatewayDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
42239
42359
|
r"""
|
|
42240
42360
|
:param _IpProtocol: 网络协议,可选值:`TCP`、`UDP`。
|
|
42241
42361
|
:type IpProtocol: str
|
|
42242
|
-
:param _PublicIpAddress:
|
|
42362
|
+
:param _PublicIpAddress: 弹性公网IP。
|
|
42243
42363
|
:type PublicIpAddress: str
|
|
42244
42364
|
:param _PublicPort: 公网端口。
|
|
42245
42365
|
:type PublicPort: int
|
|
@@ -45670,9 +45790,12 @@ class ReplaceDirectConnectGatewayCcnRoutesRequest(AbstractModel):
|
|
|
45670
45790
|
:type DirectConnectGatewayId: str
|
|
45671
45791
|
:param _Routes: 需要连通的IDC网段列表
|
|
45672
45792
|
:type Routes: list of DirectConnectGatewayCcnRoute
|
|
45793
|
+
:param _AddressType: 地址类型,支持:IPv4、IPv6。默认IPv4。
|
|
45794
|
+
:type AddressType: str
|
|
45673
45795
|
"""
|
|
45674
45796
|
self._DirectConnectGatewayId = None
|
|
45675
45797
|
self._Routes = None
|
|
45798
|
+
self._AddressType = None
|
|
45676
45799
|
|
|
45677
45800
|
@property
|
|
45678
45801
|
def DirectConnectGatewayId(self):
|
|
@@ -45690,6 +45813,14 @@ class ReplaceDirectConnectGatewayCcnRoutesRequest(AbstractModel):
|
|
|
45690
45813
|
def Routes(self, Routes):
|
|
45691
45814
|
self._Routes = Routes
|
|
45692
45815
|
|
|
45816
|
+
@property
|
|
45817
|
+
def AddressType(self):
|
|
45818
|
+
return self._AddressType
|
|
45819
|
+
|
|
45820
|
+
@AddressType.setter
|
|
45821
|
+
def AddressType(self, AddressType):
|
|
45822
|
+
self._AddressType = AddressType
|
|
45823
|
+
|
|
45693
45824
|
|
|
45694
45825
|
def _deserialize(self, params):
|
|
45695
45826
|
self._DirectConnectGatewayId = params.get("DirectConnectGatewayId")
|
|
@@ -45699,6 +45830,7 @@ class ReplaceDirectConnectGatewayCcnRoutesRequest(AbstractModel):
|
|
|
45699
45830
|
obj = DirectConnectGatewayCcnRoute()
|
|
45700
45831
|
obj._deserialize(item)
|
|
45701
45832
|
self._Routes.append(obj)
|
|
45833
|
+
self._AddressType = params.get("AddressType")
|
|
45702
45834
|
memeber_set = set(params.keys())
|
|
45703
45835
|
for name, value in vars(self).items():
|
|
45704
45836
|
property_name = name[1:]
|
|
@@ -48619,7 +48751,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
48619
48751
|
:param _Action: ACCEPT 或 DROP。
|
|
48620
48752
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
48621
48753
|
:type Action: str
|
|
48622
|
-
:param _PolicyDescription:
|
|
48754
|
+
:param _PolicyDescription: 安全组规则描述。作为入参时,当未传递该参数或值为空,且参数CidrBlock或Ipv6CidrBlock值为MY_PUBLIC_IP时,该参数的值将会被自动填充为Replaced-From-MY_PUBLIC_IP。
|
|
48623
48755
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
48624
48756
|
:type PolicyDescription: str
|
|
48625
48757
|
:param _ModifyTime: 安全组最近修改时间。
|
|
@@ -6632,6 +6632,29 @@ class VpcClient(AbstractClient):
|
|
|
6632
6632
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
6633
6633
|
|
|
6634
6634
|
|
|
6635
|
+
def ModifyAddressesRenewFlag(self, request):
|
|
6636
|
+
"""调整EIP续费标识
|
|
6637
|
+
|
|
6638
|
+
:param request: Request instance for ModifyAddressesRenewFlag.
|
|
6639
|
+
:type request: :class:`tencentcloud.vpc.v20170312.models.ModifyAddressesRenewFlagRequest`
|
|
6640
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.ModifyAddressesRenewFlagResponse`
|
|
6641
|
+
|
|
6642
|
+
"""
|
|
6643
|
+
try:
|
|
6644
|
+
params = request._serialize()
|
|
6645
|
+
headers = request.headers
|
|
6646
|
+
body = self.call("ModifyAddressesRenewFlag", params, headers=headers)
|
|
6647
|
+
response = json.loads(body)
|
|
6648
|
+
model = models.ModifyAddressesRenewFlagResponse()
|
|
6649
|
+
model._deserialize(response["Response"])
|
|
6650
|
+
return model
|
|
6651
|
+
except Exception as e:
|
|
6652
|
+
if isinstance(e, TencentCloudSDKException):
|
|
6653
|
+
raise
|
|
6654
|
+
else:
|
|
6655
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
6656
|
+
|
|
6657
|
+
|
|
6635
6658
|
def ModifyAssistantCidr(self, request):
|
|
6636
6659
|
"""本接口(ModifyAssistantCidr)用于批量修改辅助CIDR,支持新增和删除。
|
|
6637
6660
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1258
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1257
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|