tencentcloud-sdk-python-vpc 3.0.1242__tar.gz → 3.0.1246__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.
Files changed (16) hide show
  1. {tencentcloud-sdk-python-vpc-3.0.1242 → tencentcloud-sdk-python-vpc-3.0.1246}/PKG-INFO +1 -1
  2. {tencentcloud-sdk-python-vpc-3.0.1242 → tencentcloud-sdk-python-vpc-3.0.1246}/setup.py +1 -1
  3. {tencentcloud-sdk-python-vpc-3.0.1242 → tencentcloud-sdk-python-vpc-3.0.1246}/tencentcloud/__init__.py +1 -1
  4. {tencentcloud-sdk-python-vpc-3.0.1242 → tencentcloud-sdk-python-vpc-3.0.1246}/tencentcloud/vpc/v20170312/models.py +70 -2
  5. {tencentcloud-sdk-python-vpc-3.0.1242 → tencentcloud-sdk-python-vpc-3.0.1246}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +1 -1
  6. tencentcloud-sdk-python-vpc-3.0.1246/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
  7. tencentcloud-sdk-python-vpc-3.0.1242/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
  8. {tencentcloud-sdk-python-vpc-3.0.1242 → tencentcloud-sdk-python-vpc-3.0.1246}/README.rst +0 -0
  9. {tencentcloud-sdk-python-vpc-3.0.1242 → tencentcloud-sdk-python-vpc-3.0.1246}/setup.cfg +0 -0
  10. {tencentcloud-sdk-python-vpc-3.0.1242 → tencentcloud-sdk-python-vpc-3.0.1246}/tencentcloud/vpc/__init__.py +0 -0
  11. {tencentcloud-sdk-python-vpc-3.0.1242 → tencentcloud-sdk-python-vpc-3.0.1246}/tencentcloud/vpc/v20170312/__init__.py +0 -0
  12. {tencentcloud-sdk-python-vpc-3.0.1242 → tencentcloud-sdk-python-vpc-3.0.1246}/tencentcloud/vpc/v20170312/errorcodes.py +0 -0
  13. {tencentcloud-sdk-python-vpc-3.0.1242 → tencentcloud-sdk-python-vpc-3.0.1246}/tencentcloud/vpc/v20170312/vpc_client.py +0 -0
  14. {tencentcloud-sdk-python-vpc-3.0.1242 → tencentcloud-sdk-python-vpc-3.0.1246}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
  15. {tencentcloud-sdk-python-vpc-3.0.1242 → tencentcloud-sdk-python-vpc-3.0.1246}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
  16. {tencentcloud-sdk-python-vpc-3.0.1242 → tencentcloud-sdk-python-vpc-3.0.1246}/tencentcloud_sdk_python_vpc.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-vpc
3
- Version: 3.0.1242
3
+ Version: 3.0.1246
4
4
  Summary: Tencent Cloud Vpc SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -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.1242"],
11
+ install_requires=["tencentcloud-sdk-python-common==3.0.1246"],
12
12
  version=tencentcloud.__version__,
13
13
  description='Tencent Cloud Vpc SDK for Python',
14
14
  long_description=open('README.rst').read(),
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.1242'
17
+ __version__ = '3.0.1246'
@@ -4104,10 +4104,14 @@ class CCN(AbstractModel):
4104
4104
 
4105
4105
  @property
4106
4106
  def Ipv6Flag(self):
4107
+ warnings.warn("parameter `Ipv6Flag` is deprecated", DeprecationWarning)
4108
+
4107
4109
  return self._Ipv6Flag
4108
4110
 
4109
4111
  @Ipv6Flag.setter
4110
4112
  def Ipv6Flag(self, Ipv6Flag):
4113
+ warnings.warn("parameter `Ipv6Flag` is deprecated", DeprecationWarning)
4114
+
4111
4115
  self._Ipv6Flag = Ipv6Flag
4112
4116
 
4113
4117
  @property
@@ -11845,6 +11849,8 @@ class CreateVpcPeeringConnectionRequest(AbstractModel):
11845
11849
  :type ChargeType: str
11846
11850
  :param _QosLevel: 服务分级:PT、AU、AG。
11847
11851
  :type QosLevel: str
11852
+ :param _Tags: 标签键值对
11853
+ :type Tags: list of Tags
11848
11854
  """
11849
11855
  self._SourceVpcId = None
11850
11856
  self._PeeringConnectionName = None
@@ -11855,6 +11861,7 @@ class CreateVpcPeeringConnectionRequest(AbstractModel):
11855
11861
  self._Type = None
11856
11862
  self._ChargeType = None
11857
11863
  self._QosLevel = None
11864
+ self._Tags = None
11858
11865
 
11859
11866
  @property
11860
11867
  def SourceVpcId(self):
@@ -11928,6 +11935,14 @@ class CreateVpcPeeringConnectionRequest(AbstractModel):
11928
11935
  def QosLevel(self, QosLevel):
11929
11936
  self._QosLevel = QosLevel
11930
11937
 
11938
+ @property
11939
+ def Tags(self):
11940
+ return self._Tags
11941
+
11942
+ @Tags.setter
11943
+ def Tags(self, Tags):
11944
+ self._Tags = Tags
11945
+
11931
11946
 
11932
11947
  def _deserialize(self, params):
11933
11948
  self._SourceVpcId = params.get("SourceVpcId")
@@ -11939,6 +11954,12 @@ class CreateVpcPeeringConnectionRequest(AbstractModel):
11939
11954
  self._Type = params.get("Type")
11940
11955
  self._ChargeType = params.get("ChargeType")
11941
11956
  self._QosLevel = params.get("QosLevel")
11957
+ if params.get("Tags") is not None:
11958
+ self._Tags = []
11959
+ for item in params.get("Tags"):
11960
+ obj = Tags()
11961
+ obj._deserialize(item)
11962
+ self._Tags.append(obj)
11942
11963
  memeber_set = set(params.keys())
11943
11964
  for name, value in vars(self).items():
11944
11965
  property_name = name[1:]
@@ -17509,7 +17530,7 @@ class DescribeAddressesRequest(AbstractModel):
17509
17530
  <li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。</li>
17510
17531
  <li> network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如:eni-11112222。</li>
17511
17532
  <li> is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。(TRUE:EIP 处于欠费状态|FALSE:EIP 费用状态正常)</li>
17512
- <li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'WanIP', 'EIP','AnycastEIP','HighQualityEIP'。默认值是'EIP'。</li>
17533
+ <li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'WanIP', 'EIP','AnycastEIP','HighQualityEIP', 'AntiDDoSEIP'。默认值是'EIP'。</li>
17513
17534
  <li> address-isp - String - 是否必填:否 - (过滤条件)按照 运营商类型 进行过滤。可选值:'BGP','CMCC','CUCC', 'CTCC'</li>
17514
17535
  <li> dedicated-cluster-id - String - 是否必填:否 - (过滤条件)按照 CDC 的唯一 ID 过滤。CDC 唯一 ID 形如:cluster-11112222。</li>
17515
17536
  <li> tag-key - String - 是否必填:否 - (过滤条件)按照标签键进行过滤。</li>
@@ -30798,7 +30819,7 @@ class DisassociateAddressRequest(AbstractModel):
30798
30819
  r"""
30799
30820
  :param _AddressId: 标识 EIP 的唯一 ID。EIP 唯一 ID 形如:`eip-11112222`。
30800
30821
  :type AddressId: str
30801
- :param _ReallocateNormalPublicIp: 表示解绑 EIP 之后是否分配普通公网 IP。取值范围:<br><li>TRUE:表示解绑 EIP 之后分配普通公网 IP。<br><li>FALSE:表示解绑 EIP 之后不分配普通公网 IP。<br>默认取值:FALSE。<br><br>只有满足以下条件时才能指定该参数:<br><li> 只有在解绑主网卡的主内网 IP 上的 EIP 时才能指定该参数。<br><li>解绑 EIP 后重新分配普通公网 IP 操作一个账号每天最多操作 10 次;详情可通过 [DescribeAddressQuota](https://cloud.tencent.com/document/api/213/1378) 接口获取。
30822
+ :param _ReallocateNormalPublicIp: 表示解绑 EIP 之后是否分配普通公网 IP。取值范围:<br><li />TRUE:表示解绑 EIP 之后分配普通公网 IP。<br><li />FALSE:表示解绑 EIP 之后不分配普通公网 IP。<br>默认取值:FALSE。<br><br>只有满足以下条件时才能指定该参数:<br><li /> 只有在解绑主网卡的主内网 IP 上的 EIP 时才能指定该参数。<br><li />解绑 EIP 后重新分配普通公网 IP 操作一个账号每天最多操作 10 次;详情可通过 [DescribeAddressQuota](https://cloud.tencent.com/document/api/213/1378) 接口获取。
30802
30823
  :type ReallocateNormalPublicIp: bool
30803
30824
  """
30804
30825
  self._AddressId = None
@@ -50619,6 +50640,53 @@ class Tag(AbstractModel):
50619
50640
 
50620
50641
 
50621
50642
 
50643
+ class Tags(AbstractModel):
50644
+ """标签描述信息
50645
+
50646
+ """
50647
+
50648
+ def __init__(self):
50649
+ r"""
50650
+ :param _Key: 标签键
50651
+ 注意:此字段可能返回 null,表示取不到有效值。
50652
+ :type Key: str
50653
+ :param _Value: 标签值
50654
+ 注意:此字段可能返回 null,表示取不到有效值。
50655
+ :type Value: str
50656
+ """
50657
+ self._Key = None
50658
+ self._Value = None
50659
+
50660
+ @property
50661
+ def Key(self):
50662
+ return self._Key
50663
+
50664
+ @Key.setter
50665
+ def Key(self, Key):
50666
+ self._Key = Key
50667
+
50668
+ @property
50669
+ def Value(self):
50670
+ return self._Value
50671
+
50672
+ @Value.setter
50673
+ def Value(self, Value):
50674
+ self._Value = Value
50675
+
50676
+
50677
+ def _deserialize(self, params):
50678
+ self._Key = params.get("Key")
50679
+ self._Value = params.get("Value")
50680
+ memeber_set = set(params.keys())
50681
+ for name, value in vars(self).items():
50682
+ property_name = name[1:]
50683
+ if property_name in memeber_set:
50684
+ memeber_set.remove(property_name)
50685
+ if len(memeber_set) > 0:
50686
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
50687
+
50688
+
50689
+
50622
50690
  class TemplateLimit(AbstractModel):
50623
50691
  """参数模板配额
50624
50692
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 1.1
2
2
  Name: tencentcloud-sdk-python-vpc
3
- Version: 3.0.1242
3
+ Version: 3.0.1246
4
4
  Summary: Tencent Cloud Vpc SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
6
6
  Author: Tencent Cloud
@@ -0,0 +1 @@
1
+ tencentcloud-sdk-python-common==3.0.1246
@@ -1 +0,0 @@
1
- tencentcloud-sdk-python-common==3.0.1242