tencentcloud-sdk-python-vpc 3.0.1218__tar.gz → 3.0.1234__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.1218 → tencentcloud-sdk-python-vpc-3.0.1234}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1218 → tencentcloud-sdk-python-vpc-3.0.1234}/setup.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1218 → tencentcloud-sdk-python-vpc-3.0.1234}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1218 → tencentcloud-sdk-python-vpc-3.0.1234}/tencentcloud/vpc/v20170312/models.py +79 -8
- {tencentcloud-sdk-python-vpc-3.0.1218 → tencentcloud-sdk-python-vpc-3.0.1234}/tencentcloud/vpc/v20170312/vpc_client.py +2 -2
- {tencentcloud-sdk-python-vpc-3.0.1218 → tencentcloud-sdk-python-vpc-3.0.1234}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-vpc-3.0.1234/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-vpc-3.0.1218/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-vpc-3.0.1218 → tencentcloud-sdk-python-vpc-3.0.1234}/README.rst +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1218 → tencentcloud-sdk-python-vpc-3.0.1234}/setup.cfg +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1218 → tencentcloud-sdk-python-vpc-3.0.1234}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1218 → tencentcloud-sdk-python-vpc-3.0.1234}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1218 → tencentcloud-sdk-python-vpc-3.0.1234}/tencentcloud/vpc/v20170312/errorcodes.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1218 → tencentcloud-sdk-python-vpc-3.0.1234}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1218 → tencentcloud-sdk-python-vpc-3.0.1234}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1218 → tencentcloud-sdk-python-vpc-3.0.1234}/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.1234"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Vpc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -2897,7 +2897,7 @@ class AssociateNetworkInterfaceSecurityGroupsRequest(AbstractModel):
|
|
|
2897
2897
|
|
|
2898
2898
|
def __init__(self):
|
|
2899
2899
|
r"""
|
|
2900
|
-
:param _NetworkInterfaceIds: 弹性网卡实例ID。形如:eni-pxir56ns。每次请求的实例的上限为100
|
|
2900
|
+
:param _NetworkInterfaceIds: 弹性网卡实例ID。形如:eni-pxir56ns。每次请求的实例的上限为100。本接口不支持主网卡绑定安全组。
|
|
2901
2901
|
:type NetworkInterfaceIds: list of str
|
|
2902
2902
|
:param _SecurityGroupIds: 安全组实例ID,例如:sg-33ocnj9n,可通过DescribeSecurityGroups获取。每次请求的实例的上限为100。
|
|
2903
2903
|
:type SecurityGroupIds: list of str
|
|
@@ -10433,11 +10433,14 @@ class CreateSecurityGroupWithPoliciesRequest(AbstractModel):
|
|
|
10433
10433
|
:type ProjectId: str
|
|
10434
10434
|
:param _SecurityGroupPolicySet: 安全组规则集合。
|
|
10435
10435
|
:type SecurityGroupPolicySet: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
|
|
10436
|
+
:param _Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
10437
|
+
:type Tags: list of Tag
|
|
10436
10438
|
"""
|
|
10437
10439
|
self._GroupName = None
|
|
10438
10440
|
self._GroupDescription = None
|
|
10439
10441
|
self._ProjectId = None
|
|
10440
10442
|
self._SecurityGroupPolicySet = None
|
|
10443
|
+
self._Tags = None
|
|
10441
10444
|
|
|
10442
10445
|
@property
|
|
10443
10446
|
def GroupName(self):
|
|
@@ -10471,6 +10474,14 @@ class CreateSecurityGroupWithPoliciesRequest(AbstractModel):
|
|
|
10471
10474
|
def SecurityGroupPolicySet(self, SecurityGroupPolicySet):
|
|
10472
10475
|
self._SecurityGroupPolicySet = SecurityGroupPolicySet
|
|
10473
10476
|
|
|
10477
|
+
@property
|
|
10478
|
+
def Tags(self):
|
|
10479
|
+
return self._Tags
|
|
10480
|
+
|
|
10481
|
+
@Tags.setter
|
|
10482
|
+
def Tags(self, Tags):
|
|
10483
|
+
self._Tags = Tags
|
|
10484
|
+
|
|
10474
10485
|
|
|
10475
10486
|
def _deserialize(self, params):
|
|
10476
10487
|
self._GroupName = params.get("GroupName")
|
|
@@ -10479,6 +10490,12 @@ class CreateSecurityGroupWithPoliciesRequest(AbstractModel):
|
|
|
10479
10490
|
if params.get("SecurityGroupPolicySet") is not None:
|
|
10480
10491
|
self._SecurityGroupPolicySet = SecurityGroupPolicySet()
|
|
10481
10492
|
self._SecurityGroupPolicySet._deserialize(params.get("SecurityGroupPolicySet"))
|
|
10493
|
+
if params.get("Tags") is not None:
|
|
10494
|
+
self._Tags = []
|
|
10495
|
+
for item in params.get("Tags"):
|
|
10496
|
+
obj = Tag()
|
|
10497
|
+
obj._deserialize(item)
|
|
10498
|
+
self._Tags.append(obj)
|
|
10482
10499
|
memeber_set = set(params.keys())
|
|
10483
10500
|
for name, value in vars(self).items():
|
|
10484
10501
|
property_name = name[1:]
|
|
@@ -11166,6 +11183,8 @@ class CreateVpcEndPointRequest(AbstractModel):
|
|
|
11166
11183
|
:type EndPointVip: str
|
|
11167
11184
|
:param _SecurityGroupId: 安全组ID。
|
|
11168
11185
|
:type SecurityGroupId: str
|
|
11186
|
+
:param _Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
11187
|
+
:type Tags: list of Tag
|
|
11169
11188
|
"""
|
|
11170
11189
|
self._VpcId = None
|
|
11171
11190
|
self._SubnetId = None
|
|
@@ -11173,6 +11192,7 @@ class CreateVpcEndPointRequest(AbstractModel):
|
|
|
11173
11192
|
self._EndPointServiceId = None
|
|
11174
11193
|
self._EndPointVip = None
|
|
11175
11194
|
self._SecurityGroupId = None
|
|
11195
|
+
self._Tags = None
|
|
11176
11196
|
|
|
11177
11197
|
@property
|
|
11178
11198
|
def VpcId(self):
|
|
@@ -11222,6 +11242,14 @@ class CreateVpcEndPointRequest(AbstractModel):
|
|
|
11222
11242
|
def SecurityGroupId(self, SecurityGroupId):
|
|
11223
11243
|
self._SecurityGroupId = SecurityGroupId
|
|
11224
11244
|
|
|
11245
|
+
@property
|
|
11246
|
+
def Tags(self):
|
|
11247
|
+
return self._Tags
|
|
11248
|
+
|
|
11249
|
+
@Tags.setter
|
|
11250
|
+
def Tags(self, Tags):
|
|
11251
|
+
self._Tags = Tags
|
|
11252
|
+
|
|
11225
11253
|
|
|
11226
11254
|
def _deserialize(self, params):
|
|
11227
11255
|
self._VpcId = params.get("VpcId")
|
|
@@ -11230,6 +11258,12 @@ class CreateVpcEndPointRequest(AbstractModel):
|
|
|
11230
11258
|
self._EndPointServiceId = params.get("EndPointServiceId")
|
|
11231
11259
|
self._EndPointVip = params.get("EndPointVip")
|
|
11232
11260
|
self._SecurityGroupId = params.get("SecurityGroupId")
|
|
11261
|
+
if params.get("Tags") is not None:
|
|
11262
|
+
self._Tags = []
|
|
11263
|
+
for item in params.get("Tags"):
|
|
11264
|
+
obj = Tag()
|
|
11265
|
+
obj._deserialize(item)
|
|
11266
|
+
self._Tags.append(obj)
|
|
11233
11267
|
memeber_set = set(params.keys())
|
|
11234
11268
|
for name, value in vars(self).items():
|
|
11235
11269
|
property_name = name[1:]
|
|
@@ -12455,10 +12489,13 @@ class CreateVpnGatewaySslClientRequest(AbstractModel):
|
|
|
12455
12489
|
:type SslVpnClientName: str
|
|
12456
12490
|
:param _SslVpnClientNames: SSL-VPN-CLIENT实例Name数字。批量创建时使用。不可和SslVpnClientName同时使用。
|
|
12457
12491
|
:type SslVpnClientNames: list of str
|
|
12492
|
+
:param _Tags: 指定绑定的标签列表
|
|
12493
|
+
:type Tags: list of Tag
|
|
12458
12494
|
"""
|
|
12459
12495
|
self._SslVpnServerId = None
|
|
12460
12496
|
self._SslVpnClientName = None
|
|
12461
12497
|
self._SslVpnClientNames = None
|
|
12498
|
+
self._Tags = None
|
|
12462
12499
|
|
|
12463
12500
|
@property
|
|
12464
12501
|
def SslVpnServerId(self):
|
|
@@ -12484,11 +12521,25 @@ class CreateVpnGatewaySslClientRequest(AbstractModel):
|
|
|
12484
12521
|
def SslVpnClientNames(self, SslVpnClientNames):
|
|
12485
12522
|
self._SslVpnClientNames = SslVpnClientNames
|
|
12486
12523
|
|
|
12524
|
+
@property
|
|
12525
|
+
def Tags(self):
|
|
12526
|
+
return self._Tags
|
|
12527
|
+
|
|
12528
|
+
@Tags.setter
|
|
12529
|
+
def Tags(self, Tags):
|
|
12530
|
+
self._Tags = Tags
|
|
12531
|
+
|
|
12487
12532
|
|
|
12488
12533
|
def _deserialize(self, params):
|
|
12489
12534
|
self._SslVpnServerId = params.get("SslVpnServerId")
|
|
12490
12535
|
self._SslVpnClientName = params.get("SslVpnClientName")
|
|
12491
12536
|
self._SslVpnClientNames = params.get("SslVpnClientNames")
|
|
12537
|
+
if params.get("Tags") is not None:
|
|
12538
|
+
self._Tags = []
|
|
12539
|
+
for item in params.get("Tags"):
|
|
12540
|
+
obj = Tag()
|
|
12541
|
+
obj._deserialize(item)
|
|
12542
|
+
self._Tags.append(obj)
|
|
12492
12543
|
memeber_set = set(params.keys())
|
|
12493
12544
|
for name, value in vars(self).items():
|
|
12494
12545
|
property_name = name[1:]
|
|
@@ -12579,6 +12630,8 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
12579
12630
|
:type AccessPolicyEnabled: bool
|
|
12580
12631
|
:param _SamlData: SAML-DATA,开启SSO时传。
|
|
12581
12632
|
:type SamlData: str
|
|
12633
|
+
:param _Tags: 指定绑定的标签列表
|
|
12634
|
+
:type Tags: list of Tag
|
|
12582
12635
|
"""
|
|
12583
12636
|
self._VpnGatewayId = None
|
|
12584
12637
|
self._SslVpnServerName = None
|
|
@@ -12592,6 +12645,7 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
12592
12645
|
self._SsoEnabled = None
|
|
12593
12646
|
self._AccessPolicyEnabled = None
|
|
12594
12647
|
self._SamlData = None
|
|
12648
|
+
self._Tags = None
|
|
12595
12649
|
|
|
12596
12650
|
@property
|
|
12597
12651
|
def VpnGatewayId(self):
|
|
@@ -12689,6 +12743,14 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
12689
12743
|
def SamlData(self, SamlData):
|
|
12690
12744
|
self._SamlData = SamlData
|
|
12691
12745
|
|
|
12746
|
+
@property
|
|
12747
|
+
def Tags(self):
|
|
12748
|
+
return self._Tags
|
|
12749
|
+
|
|
12750
|
+
@Tags.setter
|
|
12751
|
+
def Tags(self, Tags):
|
|
12752
|
+
self._Tags = Tags
|
|
12753
|
+
|
|
12692
12754
|
|
|
12693
12755
|
def _deserialize(self, params):
|
|
12694
12756
|
self._VpnGatewayId = params.get("VpnGatewayId")
|
|
@@ -12703,6 +12765,12 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
12703
12765
|
self._SsoEnabled = params.get("SsoEnabled")
|
|
12704
12766
|
self._AccessPolicyEnabled = params.get("AccessPolicyEnabled")
|
|
12705
12767
|
self._SamlData = params.get("SamlData")
|
|
12768
|
+
if params.get("Tags") is not None:
|
|
12769
|
+
self._Tags = []
|
|
12770
|
+
for item in params.get("Tags"):
|
|
12771
|
+
obj = Tag()
|
|
12772
|
+
obj._deserialize(item)
|
|
12773
|
+
self._Tags.append(obj)
|
|
12706
12774
|
memeber_set = set(params.keys())
|
|
12707
12775
|
for name, value in vars(self).items():
|
|
12708
12776
|
property_name = name[1:]
|
|
@@ -30667,9 +30735,9 @@ class EnableRoutesRequest(AbstractModel):
|
|
|
30667
30735
|
r"""
|
|
30668
30736
|
:param _RouteTableId: 路由表唯一ID。
|
|
30669
30737
|
:type RouteTableId: str
|
|
30670
|
-
:param _RouteIds: 路由策略ID。不能和RouteItemIds
|
|
30738
|
+
:param _RouteIds: 路由策略ID。不能和RouteItemIds同时使用,但至少输入一个。单次处理上限100个。该参数取值可通过查询路由列表([DescribeRouteTables](https://cloud.tencent.com/document/product/215/15763))获取。
|
|
30671
30739
|
:type RouteIds: list of int non-negative
|
|
30672
|
-
:param _RouteItemIds: 路由策略唯一ID。不能和RouteIds
|
|
30740
|
+
:param _RouteItemIds: 路由策略唯一ID。不能和RouteIds同时使用,但至少输入一个。单次处理上限100个。该参数取值可通过查询路由列表([DescribeRouteTables](https://cloud.tencent.com/document/product/215/15763))获取。
|
|
30673
30741
|
:type RouteItemIds: list of str
|
|
30674
30742
|
"""
|
|
30675
30743
|
self._RouteTableId = None
|
|
@@ -45592,7 +45660,7 @@ class Route(AbstractModel):
|
|
|
45592
45660
|
|
|
45593
45661
|
def __init__(self):
|
|
45594
45662
|
r"""
|
|
45595
|
-
:param _DestinationCidrBlock: 目的网段,取值不能在私有网络网段内,例如:112.20.51.0/24。
|
|
45663
|
+
:param _DestinationCidrBlock: 创建IPv4目的网段,取值不能在私有网络网段内,例如:112.20.51.0/24。
|
|
45596
45664
|
:type DestinationCidrBlock: str
|
|
45597
45665
|
:param _GatewayType: 下一跳类型,目前我们支持的类型有:
|
|
45598
45666
|
CVM:公网网关类型的云服务器;
|
|
@@ -45600,10 +45668,13 @@ VPN:VPN网关;
|
|
|
45600
45668
|
DIRECTCONNECT:专线网关;
|
|
45601
45669
|
PEERCONNECTION:对等连接;
|
|
45602
45670
|
HAVIP:高可用虚拟IP;
|
|
45603
|
-
NAT
|
|
45671
|
+
NAT:公网NAT网关;
|
|
45604
45672
|
NORMAL_CVM:普通云服务器;
|
|
45605
45673
|
EIP:云服务器的公网IP;
|
|
45606
|
-
LOCAL_GATEWAY
|
|
45674
|
+
LOCAL_GATEWAY:CDC本地网关;
|
|
45675
|
+
INTRANAT:私网NAT网关;
|
|
45676
|
+
USER_CCN;云联网(自定义路由)。
|
|
45677
|
+
|
|
45607
45678
|
:type GatewayType: str
|
|
45608
45679
|
:param _GatewayId: 下一跳地址,这里只需要指定不同下一跳类型的网关ID,系统会自动匹配到下一跳地址。
|
|
45609
45680
|
特殊说明:
|
|
@@ -45625,12 +45696,12 @@ CCN:云联网路由,系统默认下发,不可编辑与删除。
|
|
|
45625
45696
|
:type RouteType: str
|
|
45626
45697
|
:param _RouteTableId: 路由表实例ID,例如:rtb-azd4dt1c。
|
|
45627
45698
|
:type RouteTableId: str
|
|
45628
|
-
:param _DestinationIpv6CidrBlock:
|
|
45699
|
+
:param _DestinationIpv6CidrBlock: 创建IPv6目的网段,取值不能在私有网络网段内,例如:2402:4e00:1000:810b::/64。
|
|
45629
45700
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
45630
45701
|
:type DestinationIpv6CidrBlock: str
|
|
45631
45702
|
:param _RouteItemId: 路由唯一策略ID。
|
|
45632
45703
|
:type RouteItemId: str
|
|
45633
|
-
:param _PublishedToVbc:
|
|
45704
|
+
:param _PublishedToVbc: 路由策略是否发布到云联网。该字段仅做出参使用,作为入参字段时此参数不生效。
|
|
45634
45705
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
45635
45706
|
:type PublishedToVbc: bool
|
|
45636
45707
|
:param _CreatedTime: 路由策略创建时间
|
|
@@ -324,9 +324,9 @@ class VpcClient(AbstractClient):
|
|
|
324
324
|
def AssociateAddress(self, request):
|
|
325
325
|
"""本接口 (AssociateAddress) 用于将[弹性公网IP](https://cloud.tencent.com/document/product/213/1941)(简称 EIP)绑定到实例或弹性网卡的指定内网 IP 上。
|
|
326
326
|
* 将 EIP 绑定到实例(CVM)上,其本质是将 EIP 绑定到实例上主网卡的主内网 IP 上。
|
|
327
|
-
* 将 EIP 绑定到主网卡的主内网IP
|
|
327
|
+
* 将 EIP 绑定到主网卡的主内网IP时,如主内网IP已绑定普通公网IP,必须先退还才能绑定EIP。
|
|
328
328
|
* 将 EIP 绑定到指定网卡的内网 IP上(非主网卡的主内网IP),则必须先解绑该 EIP,才能再绑定新的。
|
|
329
|
-
* 将 EIP 绑定到内网型CLB
|
|
329
|
+
* 将 EIP 绑定到内网型CLB实例的功能处于内测阶段,如需使用,请提交[内测申请](https://cloud.tencent.com/apply/p/4kxj7picqci)。
|
|
330
330
|
* 将 EIP 绑定到NAT网关,请使用接口[AssociateNatGatewayAddress](https://cloud.tencent.com/document/product/215/36722)
|
|
331
331
|
* EIP 如果欠费或被封堵,则不能被绑定。
|
|
332
332
|
* 只有状态为 UNBIND 的 EIP 才能够被绑定。
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1234
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1218
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|