tencentcloud-sdk-python-vpc 3.1.193__tar.gz → 3.1.201__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.1.193 → tencentcloud_sdk_python_vpc-3.1.201}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_vpc-3.1.193 → tencentcloud_sdk_python_vpc-3.1.201}/setup.py +1 -1
- {tencentcloud_sdk_python_vpc-3.1.193 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_vpc-3.1.193 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud/vpc/v20170312/models.py +24 -26
- {tencentcloud_sdk_python_vpc-3.1.193 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +2 -2
- tencentcloud_sdk_python_vpc-3.1.201/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
- tencentcloud_sdk_python_vpc-3.1.193/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_vpc-3.1.193 → tencentcloud_sdk_python_vpc-3.1.201}/README.rst +0 -0
- {tencentcloud_sdk_python_vpc-3.1.193 → tencentcloud_sdk_python_vpc-3.1.201}/setup.cfg +0 -0
- {tencentcloud_sdk_python_vpc-3.1.193 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud_sdk_python_vpc-3.1.193 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud_sdk_python_vpc-3.1.193 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud/vpc/v20170312/errorcodes.py +0 -0
- {tencentcloud_sdk_python_vpc-3.1.193 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud/vpc/v20170312/vpc_client.py +0 -0
- {tencentcloud_sdk_python_vpc-3.1.193 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud/vpc/v20170312/vpc_client_async.py +0 -0
- {tencentcloud_sdk_python_vpc-3.1.193 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_vpc-3.1.193 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_vpc-3.1.193 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud_sdk_python_vpc.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-vpc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.201
|
|
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
|
|
@@ -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.201
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -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.1.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common>=3.1.201,<4.0.0"],
|
|
12
12
|
|
|
13
13
|
version=tencentcloud.__version__,
|
|
14
14
|
description='Tencent Cloud Vpc SDK for Python',
|
|
@@ -69579,30 +69579,29 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69579
69579
|
|
|
69580
69580
|
def __init__(self):
|
|
69581
69581
|
r"""
|
|
69582
|
-
:param _PolicyIndex:
|
|
69582
|
+
:param _PolicyIndex: <p>安全组规则索引号,值会随着安全组规则的变更动态变化。使用PolicyIndex时,请先调用<code>DescribeSecurityGroupPolicies</code>获取到规则的PolicyIndex,并且结合返回值中的Version一起使用处理规则。</p>
|
|
69583
69583
|
:type PolicyIndex: int
|
|
69584
|
-
:param _Protocol:
|
|
69584
|
+
:param _Protocol: <p>协议, 取值: TCP,UDP,ICMP,ICMPv6,ALL。</p>
|
|
69585
69585
|
:type Protocol: str
|
|
69586
|
-
:param _Port:
|
|
69587
|
-
说明:如果Protocol设置为ALL,则Port也需要设置为all。
|
|
69586
|
+
:param _Port: <p>端口(all, 离散port, range)。<br>说明:如果Protocol设置为ALL,则Port也需要设置为all。</p>
|
|
69588
69587
|
:type Port: str
|
|
69589
|
-
:param _ServiceTemplate:
|
|
69588
|
+
:param _ServiceTemplate: <p>协议端口ID或者协议端口组ID。ServiceTemplate和Protocol+Port互斥。</p>
|
|
69590
69589
|
:type ServiceTemplate: :class:`tencentcloud.vpc.v20170312.models.ServiceTemplateSpecification`
|
|
69591
|
-
:param _CidrBlock:
|
|
69590
|
+
:param _CidrBlock: <p>网段或IP(互斥),特殊说明:0.0.0.0/n 都会映射为0.0.0.0/0。作为入参时,可使用字符串<code>MY_PUBLIC_IP</code>指代发起请求的公网IP地址。</p>
|
|
69592
69591
|
:type CidrBlock: str
|
|
69593
|
-
:param _Ipv6CidrBlock:
|
|
69592
|
+
:param _Ipv6CidrBlock: <p>网段或IPv6(互斥)。作为入参时,可使用字符串<code>MY_PUBLIC_IP</code>指代发起请求的公网IPv6地址。</p>
|
|
69594
69593
|
:type Ipv6CidrBlock: str
|
|
69595
|
-
:param _SecurityGroupId:
|
|
69594
|
+
:param _SecurityGroupId: <p>安全组实例ID,例如:sg-ohuuioma。</p>
|
|
69596
69595
|
:type SecurityGroupId: str
|
|
69597
|
-
:param _AddressTemplate: IP地址ID或者IP地址组ID
|
|
69596
|
+
:param _AddressTemplate: <p>IP地址ID或者IP地址组ID。</p>
|
|
69598
69597
|
:type AddressTemplate: :class:`tencentcloud.vpc.v20170312.models.AddressTemplateSpecification`
|
|
69599
|
-
:param _Action: ACCEPT 或 DROP
|
|
69598
|
+
:param _Action: <p>ACCEPT 或 DROP。</p>
|
|
69600
69599
|
:type Action: str
|
|
69601
|
-
:param _PolicyDescription:
|
|
69600
|
+
:param _PolicyDescription: <p>安全组规则描述。作为入参时,当未传递该参数或值为空,且参数CidrBlock或Ipv6CidrBlock值为MY_PUBLIC_IP时,该参数的值将会被自动填充为Replaced-From-MY_PUBLIC_IP。</p>
|
|
69602
69601
|
:type PolicyDescription: str
|
|
69603
|
-
:param _ModifyTime:
|
|
69602
|
+
:param _ModifyTime: <p>安全组最近修改时间。</p>
|
|
69604
69603
|
:type ModifyTime: str
|
|
69605
|
-
:param _Priority:
|
|
69604
|
+
:param _Priority: <p>安全组规则优先级,值会随着安全组规则的变更动态变化。使用Priority时,请先调用<code>DescribeSecurityGroupPolicies</code>获取到规则的Priority,并且结合返回值中的Version一起使用处理规则。</p>
|
|
69606
69605
|
:type Priority: int
|
|
69607
69606
|
"""
|
|
69608
69607
|
self._PolicyIndex = None
|
|
@@ -69620,7 +69619,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69620
69619
|
|
|
69621
69620
|
@property
|
|
69622
69621
|
def PolicyIndex(self):
|
|
69623
|
-
r"""
|
|
69622
|
+
r"""<p>安全组规则索引号,值会随着安全组规则的变更动态变化。使用PolicyIndex时,请先调用<code>DescribeSecurityGroupPolicies</code>获取到规则的PolicyIndex,并且结合返回值中的Version一起使用处理规则。</p>
|
|
69624
69623
|
:rtype: int
|
|
69625
69624
|
"""
|
|
69626
69625
|
return self._PolicyIndex
|
|
@@ -69631,7 +69630,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69631
69630
|
|
|
69632
69631
|
@property
|
|
69633
69632
|
def Protocol(self):
|
|
69634
|
-
r"""
|
|
69633
|
+
r"""<p>协议, 取值: TCP,UDP,ICMP,ICMPv6,ALL。</p>
|
|
69635
69634
|
:rtype: str
|
|
69636
69635
|
"""
|
|
69637
69636
|
return self._Protocol
|
|
@@ -69642,8 +69641,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69642
69641
|
|
|
69643
69642
|
@property
|
|
69644
69643
|
def Port(self):
|
|
69645
|
-
r"""
|
|
69646
|
-
说明:如果Protocol设置为ALL,则Port也需要设置为all。
|
|
69644
|
+
r"""<p>端口(all, 离散port, range)。<br>说明:如果Protocol设置为ALL,则Port也需要设置为all。</p>
|
|
69647
69645
|
:rtype: str
|
|
69648
69646
|
"""
|
|
69649
69647
|
return self._Port
|
|
@@ -69654,7 +69652,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69654
69652
|
|
|
69655
69653
|
@property
|
|
69656
69654
|
def ServiceTemplate(self):
|
|
69657
|
-
r"""
|
|
69655
|
+
r"""<p>协议端口ID或者协议端口组ID。ServiceTemplate和Protocol+Port互斥。</p>
|
|
69658
69656
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.ServiceTemplateSpecification`
|
|
69659
69657
|
"""
|
|
69660
69658
|
return self._ServiceTemplate
|
|
@@ -69665,7 +69663,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69665
69663
|
|
|
69666
69664
|
@property
|
|
69667
69665
|
def CidrBlock(self):
|
|
69668
|
-
r"""
|
|
69666
|
+
r"""<p>网段或IP(互斥),特殊说明:0.0.0.0/n 都会映射为0.0.0.0/0。作为入参时,可使用字符串<code>MY_PUBLIC_IP</code>指代发起请求的公网IP地址。</p>
|
|
69669
69667
|
:rtype: str
|
|
69670
69668
|
"""
|
|
69671
69669
|
return self._CidrBlock
|
|
@@ -69676,7 +69674,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69676
69674
|
|
|
69677
69675
|
@property
|
|
69678
69676
|
def Ipv6CidrBlock(self):
|
|
69679
|
-
r"""
|
|
69677
|
+
r"""<p>网段或IPv6(互斥)。作为入参时,可使用字符串<code>MY_PUBLIC_IP</code>指代发起请求的公网IPv6地址。</p>
|
|
69680
69678
|
:rtype: str
|
|
69681
69679
|
"""
|
|
69682
69680
|
return self._Ipv6CidrBlock
|
|
@@ -69687,7 +69685,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69687
69685
|
|
|
69688
69686
|
@property
|
|
69689
69687
|
def SecurityGroupId(self):
|
|
69690
|
-
r"""
|
|
69688
|
+
r"""<p>安全组实例ID,例如:sg-ohuuioma。</p>
|
|
69691
69689
|
:rtype: str
|
|
69692
69690
|
"""
|
|
69693
69691
|
return self._SecurityGroupId
|
|
@@ -69698,7 +69696,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69698
69696
|
|
|
69699
69697
|
@property
|
|
69700
69698
|
def AddressTemplate(self):
|
|
69701
|
-
r"""IP地址ID或者IP地址组ID
|
|
69699
|
+
r"""<p>IP地址ID或者IP地址组ID。</p>
|
|
69702
69700
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.AddressTemplateSpecification`
|
|
69703
69701
|
"""
|
|
69704
69702
|
return self._AddressTemplate
|
|
@@ -69709,7 +69707,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69709
69707
|
|
|
69710
69708
|
@property
|
|
69711
69709
|
def Action(self):
|
|
69712
|
-
r"""ACCEPT 或 DROP
|
|
69710
|
+
r"""<p>ACCEPT 或 DROP。</p>
|
|
69713
69711
|
:rtype: str
|
|
69714
69712
|
"""
|
|
69715
69713
|
return self._Action
|
|
@@ -69720,7 +69718,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69720
69718
|
|
|
69721
69719
|
@property
|
|
69722
69720
|
def PolicyDescription(self):
|
|
69723
|
-
r"""
|
|
69721
|
+
r"""<p>安全组规则描述。作为入参时,当未传递该参数或值为空,且参数CidrBlock或Ipv6CidrBlock值为MY_PUBLIC_IP时,该参数的值将会被自动填充为Replaced-From-MY_PUBLIC_IP。</p>
|
|
69724
69722
|
:rtype: str
|
|
69725
69723
|
"""
|
|
69726
69724
|
return self._PolicyDescription
|
|
@@ -69731,7 +69729,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69731
69729
|
|
|
69732
69730
|
@property
|
|
69733
69731
|
def ModifyTime(self):
|
|
69734
|
-
r"""
|
|
69732
|
+
r"""<p>安全组最近修改时间。</p>
|
|
69735
69733
|
:rtype: str
|
|
69736
69734
|
"""
|
|
69737
69735
|
return self._ModifyTime
|
|
@@ -69742,7 +69740,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69742
69740
|
|
|
69743
69741
|
@property
|
|
69744
69742
|
def Priority(self):
|
|
69745
|
-
r"""
|
|
69743
|
+
r"""<p>安全组规则优先级,值会随着安全组规则的变更动态变化。使用Priority时,请先调用<code>DescribeSecurityGroupPolicies</code>获取到规则的Priority,并且结合返回值中的Version一起使用处理规则。</p>
|
|
69746
69744
|
:rtype: int
|
|
69747
69745
|
"""
|
|
69748
69746
|
return self._Priority
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-vpc
|
|
3
|
-
Version: 3.1.
|
|
3
|
+
Version: 3.1.201
|
|
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
|
|
@@ -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.201
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.1.201
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.1.193
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|