tencentcloud-sdk-python-vpc 3.1.189__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.189 → tencentcloud_sdk_python_vpc-3.1.201}/PKG-INFO +2 -2
- {tencentcloud_sdk_python_vpc-3.1.189 → tencentcloud_sdk_python_vpc-3.1.201}/setup.py +1 -1
- {tencentcloud_sdk_python_vpc-3.1.189 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud/__init__.py +1 -1
- {tencentcloud_sdk_python_vpc-3.1.189 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud/vpc/v20170312/models.py +133 -138
- {tencentcloud_sdk_python_vpc-3.1.189 → 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.189/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud_sdk_python_vpc-3.1.189 → tencentcloud_sdk_python_vpc-3.1.201}/README.rst +0 -0
- {tencentcloud_sdk_python_vpc-3.1.189 → tencentcloud_sdk_python_vpc-3.1.201}/setup.cfg +0 -0
- {tencentcloud_sdk_python_vpc-3.1.189 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud_sdk_python_vpc-3.1.189 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud_sdk_python_vpc-3.1.189 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud/vpc/v20170312/errorcodes.py +0 -0
- {tencentcloud_sdk_python_vpc-3.1.189 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud/vpc/v20170312/vpc_client.py +0 -0
- {tencentcloud_sdk_python_vpc-3.1.189 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud/vpc/v20170312/vpc_client_async.py +0 -0
- {tencentcloud_sdk_python_vpc-3.1.189 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud_sdk_python_vpc-3.1.189 → tencentcloud_sdk_python_vpc-3.1.201}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud_sdk_python_vpc-3.1.189 → 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',
|
|
@@ -688,89 +688,68 @@ class Address(AbstractModel):
|
|
|
688
688
|
|
|
689
689
|
def __init__(self):
|
|
690
690
|
r"""
|
|
691
|
-
:param _AddressId:
|
|
691
|
+
:param _AddressId: <p><code>EIP</code>的<code>ID</code>,是<code>EIP</code>的唯一标识。</p>
|
|
692
692
|
:type AddressId: str
|
|
693
|
-
:param _AddressName:
|
|
693
|
+
:param _AddressName: <p><code>EIP</code>名称。</p>
|
|
694
694
|
:type AddressName: str
|
|
695
|
-
:param _AddressStatus:
|
|
695
|
+
:param _AddressStatus: <p><code>EIP</code>状态,包含'CREATING'(创建中),'BINDING'(绑定中),'BIND'(已绑定),'UNBINDING'(解绑中),'UNBIND'(已解绑),'OFFLINING'(释放中),'BIND_ENI'(绑定悬空弹性网卡)</p>
|
|
696
696
|
:type AddressStatus: str
|
|
697
|
-
:param _AddressIp:
|
|
697
|
+
:param _AddressIp: <p>外网IP地址</p>
|
|
698
698
|
:type AddressIp: str
|
|
699
|
-
:param _InstanceId:
|
|
699
|
+
:param _InstanceId: <p>绑定的资源实例<code>ID</code>。可能是一个<code>CVM</code>,<code>NAT</code>。</p>
|
|
700
700
|
:type InstanceId: str
|
|
701
|
-
:param _CreatedTime:
|
|
701
|
+
:param _CreatedTime: <p>创建时间。按照<code>ISO8601</code>标准表示,并且使用<code>UTC</code>时间。格式为:<code>YYYY-MM-DDThh:mm:ssZ</code>。</p>
|
|
702
702
|
:type CreatedTime: str
|
|
703
|
-
:param _NetworkInterfaceId:
|
|
703
|
+
:param _NetworkInterfaceId: <p>绑定的弹性网卡ID,null表示没有绑定弹性网卡。</p>
|
|
704
704
|
:type NetworkInterfaceId: str
|
|
705
|
-
:param _PrivateAddressIp:
|
|
705
|
+
:param _PrivateAddressIp: <p>绑定的资源内网ip,null表示没有绑定资源内网ip。</p>
|
|
706
706
|
:type PrivateAddressIp: str
|
|
707
|
-
:param _IsArrears:
|
|
707
|
+
:param _IsArrears: <p>资源隔离状态。true表示eip处于隔离状态,false表示资源处于未隔离状态</p>
|
|
708
708
|
:type IsArrears: bool
|
|
709
|
-
:param _IsBlocked:
|
|
709
|
+
:param _IsBlocked: <p>资源封堵状态。true表示eip处于封堵状态,false表示eip处于未封堵状态</p>
|
|
710
710
|
:type IsBlocked: bool
|
|
711
|
-
:param _IsEipDirectConnection: eip是否支持直通模式。true表示eip支持直通模式,false
|
|
711
|
+
:param _IsEipDirectConnection: <p>eip是否支持直通模式。true表示eip支持直通模式,false表示资源不支持直通模式</p>
|
|
712
712
|
:type IsEipDirectConnection: bool
|
|
713
|
-
:param _AddressType: EIP 资源类型,包括CalcIP、WanIP、EIP和AnycastEIP、高防EIP
|
|
713
|
+
:param _AddressType: <p>EIP 资源类型,包括CalcIP、WanIP、EIP和AnycastEIP、高防EIP。其中:<code>CalcIP</code> 表示设备 IP,<code>WanIP</code> 表示普通公网 IP,<code>EIP</code> 表示弹性公网 IP,<code>AnycastEIP</code> 表示加速 EIP,<code>AntiDDoSEIP</code>表示高防EIP。</p>
|
|
714
714
|
:type AddressType: str
|
|
715
|
-
:param _CascadeRelease: eip是否在解绑后自动释放。true表示eip将会在解绑后自动释放,false表示eip
|
|
715
|
+
:param _CascadeRelease: <p>eip是否在解绑后自动释放。true表示eip将会在解绑后自动释放,false表示eip在解绑后不会自动释放</p>
|
|
716
716
|
:type CascadeRelease: bool
|
|
717
|
-
:param _EipAlgType: EIP ALG
|
|
717
|
+
:param _EipAlgType: <p>EIP ALG开启的协议类型。</p>
|
|
718
718
|
:type EipAlgType: :class:`tencentcloud.vpc.v20170312.models.AlgType`
|
|
719
|
-
:param _InternetServiceProvider:
|
|
719
|
+
:param _InternetServiceProvider: <p>弹性公网IP的运营商信息,当前可能返回值包括"CMCC"(移动),"CTCC"(电信),"CUCC"(联通),"BGP"(常规BGP)。</p>
|
|
720
720
|
:type InternetServiceProvider: str
|
|
721
|
-
:param _LocalBgp:
|
|
722
|
-
<li>true:本地带宽EIP</li>
|
|
723
|
-
<li>false:非本地带宽EIP</li>
|
|
721
|
+
:param _LocalBgp: <p>是否本地带宽EIP,可选值:</p><li>true:本地带宽EIP</li><li>false:非本地带宽EIP</li>
|
|
724
722
|
:type LocalBgp: bool
|
|
725
|
-
:param _Bandwidth:
|
|
723
|
+
:param _Bandwidth: <p>弹性公网IP的带宽值。注意,传统账户类型账户的弹性公网IP没有带宽属性,值为空。</p>
|
|
726
724
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
727
725
|
:type Bandwidth: int
|
|
728
|
-
:param _InternetChargeType:
|
|
729
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
730
|
-
包括:
|
|
731
|
-
<li><strong>BANDWIDTH_PREPAID_BY_MONTH</strong></li>
|
|
732
|
-
<p style="padding-left: 30px;">表示包月带宽预付费。</p>
|
|
733
|
-
<li><strong>TRAFFIC_POSTPAID_BY_HOUR</strong></li>
|
|
734
|
-
<p style="padding-left: 30px;">表示按小时流量后付费。</p>
|
|
735
|
-
<li><strong>BANDWIDTH_POSTPAID_BY_HOUR</strong></li>
|
|
736
|
-
<p style="padding-left: 30px;">表示按小时带宽后付费。</p>
|
|
737
|
-
<li><strong>BANDWIDTH_PACKAGE</strong></li>
|
|
738
|
-
<p style="padding-left: 30px;">表示共享带宽包。</p>
|
|
726
|
+
:param _InternetChargeType: <p>弹性公网IP的网络计费模式。注意,传统账户类型账户的弹性公网IP没有网络计费模式属性,值为空。<br>注意:此字段可能返回 null,表示取不到有效值。<br>包括:</p><li><strong>BANDWIDTH_PREPAID_BY_MONTH</strong></li><p style="padding-left: 30px;">表示包月带宽预付费。</p><li><strong>TRAFFIC_POSTPAID_BY_HOUR</strong></li><p style="padding-left: 30px;">表示按小时流量后付费。</p><li><strong>BANDWIDTH_POSTPAID_BY_HOUR</strong></li><p style="padding-left: 30px;">表示按小时带宽后付费。</p><li><strong>BANDWIDTH_PACKAGE</strong></li><p style="padding-left: 30px;">表示共享带宽包。</p>
|
|
739
727
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
740
728
|
:type InternetChargeType: str
|
|
741
|
-
:param _TagSet:
|
|
729
|
+
:param _TagSet: <p>弹性公网IP关联的标签列表。</p>
|
|
742
730
|
:type TagSet: list of Tag
|
|
743
|
-
:param _DeadlineDate:
|
|
744
|
-
时间格式:YYYY-MM-DDThh:mm:ssZ
|
|
731
|
+
:param _DeadlineDate: <p>预付费包月带宽IP到期时间。<br>时间格式:YYYY-MM-DDThh:mm:ssZ</p>
|
|
745
732
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
746
733
|
:type DeadlineDate: str
|
|
747
|
-
:param _InstanceType: EIP
|
|
748
|
-
<li>CVM:云服务器</li>
|
|
749
|
-
<li>NAT:NAT 网关</li>
|
|
750
|
-
<li>HAVIP:高可用虚拟IP</li>
|
|
751
|
-
<li>ENI:弹性网卡</li>
|
|
752
|
-
<li>CLB:内网CLB</li>
|
|
753
|
-
<li>DHCPIP:弹性内网IP</li>
|
|
754
|
-
|
|
755
|
-
|
|
734
|
+
:param _InstanceType: <p>EIP绑定的实例类型。可选值:</p><li>CVM:云服务器</li><li>NAT:NAT 网关</li><li>HAVIP:高可用虚拟IP</li><li>ENI:弹性网卡</li><li>CLB:内网CLB</li><li>DHCPIP:弹性内网IP</li>
|
|
756
735
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
757
736
|
:type InstanceType: str
|
|
758
|
-
:param _Egress:
|
|
737
|
+
:param _Egress: <p>静态单线IP网络出口</p>
|
|
759
738
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
760
739
|
:type Egress: str
|
|
761
|
-
:param _AntiDDoSPackageId:
|
|
740
|
+
:param _AntiDDoSPackageId: <p>高防包ID,当EIP类型为高防EIP时,返回EIP绑定的高防包ID.</p>
|
|
762
741
|
:type AntiDDoSPackageId: str
|
|
763
|
-
:param _RenewFlag:
|
|
764
|
-
<li>NOTIFY_AND_MANUAL_RENEW:正常续费</li><li>NOTIFY_AND_AUTO_RENEW:自动续费</li><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:到期不续费 </li>
|
|
765
|
-
|
|
742
|
+
:param _RenewFlag: <p>当前EIP是否自动续费,只有按月带宽预付费的EIP才会显示该字段,具体值示例如下:</p><li>NOTIFY_AND_MANUAL_RENEW:正常续费</li><li>NOTIFY_AND_AUTO_RENEW:自动续费</li><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:到期不续费 </li>
|
|
766
743
|
:type RenewFlag: str
|
|
767
|
-
:param _BandwidthPackageId:
|
|
744
|
+
:param _BandwidthPackageId: <p>当前公网IP所关联的带宽包ID,如果该公网IP未使用带宽包计费,则返回为空</p>
|
|
768
745
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
769
746
|
:type BandwidthPackageId: str
|
|
770
|
-
:param _UnVpcId:
|
|
747
|
+
:param _UnVpcId: <p>传统弹性公网IPv6所属vpc唯一ID</p>
|
|
771
748
|
:type UnVpcId: str
|
|
772
|
-
:param _DedicatedClusterId: CDC唯一ID
|
|
749
|
+
:param _DedicatedClusterId: <p>CDC唯一ID</p>
|
|
773
750
|
:type DedicatedClusterId: str
|
|
751
|
+
:param _EipVisibleOnEni: <p>eip是否在网卡上可见。true表示支持,false表示不支持</p>
|
|
752
|
+
:type EipVisibleOnEni: bool
|
|
774
753
|
"""
|
|
775
754
|
self._AddressId = None
|
|
776
755
|
self._AddressName = None
|
|
@@ -799,10 +778,11 @@ class Address(AbstractModel):
|
|
|
799
778
|
self._BandwidthPackageId = None
|
|
800
779
|
self._UnVpcId = None
|
|
801
780
|
self._DedicatedClusterId = None
|
|
781
|
+
self._EipVisibleOnEni = None
|
|
802
782
|
|
|
803
783
|
@property
|
|
804
784
|
def AddressId(self):
|
|
805
|
-
r"""
|
|
785
|
+
r"""<p><code>EIP</code>的<code>ID</code>,是<code>EIP</code>的唯一标识。</p>
|
|
806
786
|
:rtype: str
|
|
807
787
|
"""
|
|
808
788
|
return self._AddressId
|
|
@@ -813,7 +793,7 @@ class Address(AbstractModel):
|
|
|
813
793
|
|
|
814
794
|
@property
|
|
815
795
|
def AddressName(self):
|
|
816
|
-
r"""
|
|
796
|
+
r"""<p><code>EIP</code>名称。</p>
|
|
817
797
|
:rtype: str
|
|
818
798
|
"""
|
|
819
799
|
return self._AddressName
|
|
@@ -824,7 +804,7 @@ class Address(AbstractModel):
|
|
|
824
804
|
|
|
825
805
|
@property
|
|
826
806
|
def AddressStatus(self):
|
|
827
|
-
r"""
|
|
807
|
+
r"""<p><code>EIP</code>状态,包含'CREATING'(创建中),'BINDING'(绑定中),'BIND'(已绑定),'UNBINDING'(解绑中),'UNBIND'(已解绑),'OFFLINING'(释放中),'BIND_ENI'(绑定悬空弹性网卡)</p>
|
|
828
808
|
:rtype: str
|
|
829
809
|
"""
|
|
830
810
|
return self._AddressStatus
|
|
@@ -835,7 +815,7 @@ class Address(AbstractModel):
|
|
|
835
815
|
|
|
836
816
|
@property
|
|
837
817
|
def AddressIp(self):
|
|
838
|
-
r"""
|
|
818
|
+
r"""<p>外网IP地址</p>
|
|
839
819
|
:rtype: str
|
|
840
820
|
"""
|
|
841
821
|
return self._AddressIp
|
|
@@ -846,7 +826,7 @@ class Address(AbstractModel):
|
|
|
846
826
|
|
|
847
827
|
@property
|
|
848
828
|
def InstanceId(self):
|
|
849
|
-
r"""
|
|
829
|
+
r"""<p>绑定的资源实例<code>ID</code>。可能是一个<code>CVM</code>,<code>NAT</code>。</p>
|
|
850
830
|
:rtype: str
|
|
851
831
|
"""
|
|
852
832
|
return self._InstanceId
|
|
@@ -857,7 +837,7 @@ class Address(AbstractModel):
|
|
|
857
837
|
|
|
858
838
|
@property
|
|
859
839
|
def CreatedTime(self):
|
|
860
|
-
r"""
|
|
840
|
+
r"""<p>创建时间。按照<code>ISO8601</code>标准表示,并且使用<code>UTC</code>时间。格式为:<code>YYYY-MM-DDThh:mm:ssZ</code>。</p>
|
|
861
841
|
:rtype: str
|
|
862
842
|
"""
|
|
863
843
|
return self._CreatedTime
|
|
@@ -868,7 +848,7 @@ class Address(AbstractModel):
|
|
|
868
848
|
|
|
869
849
|
@property
|
|
870
850
|
def NetworkInterfaceId(self):
|
|
871
|
-
r"""
|
|
851
|
+
r"""<p>绑定的弹性网卡ID,null表示没有绑定弹性网卡。</p>
|
|
872
852
|
:rtype: str
|
|
873
853
|
"""
|
|
874
854
|
return self._NetworkInterfaceId
|
|
@@ -879,7 +859,7 @@ class Address(AbstractModel):
|
|
|
879
859
|
|
|
880
860
|
@property
|
|
881
861
|
def PrivateAddressIp(self):
|
|
882
|
-
r"""
|
|
862
|
+
r"""<p>绑定的资源内网ip,null表示没有绑定资源内网ip。</p>
|
|
883
863
|
:rtype: str
|
|
884
864
|
"""
|
|
885
865
|
return self._PrivateAddressIp
|
|
@@ -890,7 +870,7 @@ class Address(AbstractModel):
|
|
|
890
870
|
|
|
891
871
|
@property
|
|
892
872
|
def IsArrears(self):
|
|
893
|
-
r"""
|
|
873
|
+
r"""<p>资源隔离状态。true表示eip处于隔离状态,false表示资源处于未隔离状态</p>
|
|
894
874
|
:rtype: bool
|
|
895
875
|
"""
|
|
896
876
|
return self._IsArrears
|
|
@@ -901,7 +881,7 @@ class Address(AbstractModel):
|
|
|
901
881
|
|
|
902
882
|
@property
|
|
903
883
|
def IsBlocked(self):
|
|
904
|
-
r"""
|
|
884
|
+
r"""<p>资源封堵状态。true表示eip处于封堵状态,false表示eip处于未封堵状态</p>
|
|
905
885
|
:rtype: bool
|
|
906
886
|
"""
|
|
907
887
|
return self._IsBlocked
|
|
@@ -912,7 +892,7 @@ class Address(AbstractModel):
|
|
|
912
892
|
|
|
913
893
|
@property
|
|
914
894
|
def IsEipDirectConnection(self):
|
|
915
|
-
r"""eip是否支持直通模式。true表示eip支持直通模式,false
|
|
895
|
+
r"""<p>eip是否支持直通模式。true表示eip支持直通模式,false表示资源不支持直通模式</p>
|
|
916
896
|
:rtype: bool
|
|
917
897
|
"""
|
|
918
898
|
return self._IsEipDirectConnection
|
|
@@ -923,7 +903,7 @@ class Address(AbstractModel):
|
|
|
923
903
|
|
|
924
904
|
@property
|
|
925
905
|
def AddressType(self):
|
|
926
|
-
r"""EIP 资源类型,包括CalcIP、WanIP、EIP和AnycastEIP、高防EIP
|
|
906
|
+
r"""<p>EIP 资源类型,包括CalcIP、WanIP、EIP和AnycastEIP、高防EIP。其中:<code>CalcIP</code> 表示设备 IP,<code>WanIP</code> 表示普通公网 IP,<code>EIP</code> 表示弹性公网 IP,<code>AnycastEIP</code> 表示加速 EIP,<code>AntiDDoSEIP</code>表示高防EIP。</p>
|
|
927
907
|
:rtype: str
|
|
928
908
|
"""
|
|
929
909
|
return self._AddressType
|
|
@@ -934,7 +914,7 @@ class Address(AbstractModel):
|
|
|
934
914
|
|
|
935
915
|
@property
|
|
936
916
|
def CascadeRelease(self):
|
|
937
|
-
r"""eip是否在解绑后自动释放。true表示eip将会在解绑后自动释放,false表示eip
|
|
917
|
+
r"""<p>eip是否在解绑后自动释放。true表示eip将会在解绑后自动释放,false表示eip在解绑后不会自动释放</p>
|
|
938
918
|
:rtype: bool
|
|
939
919
|
"""
|
|
940
920
|
return self._CascadeRelease
|
|
@@ -945,7 +925,7 @@ class Address(AbstractModel):
|
|
|
945
925
|
|
|
946
926
|
@property
|
|
947
927
|
def EipAlgType(self):
|
|
948
|
-
r"""EIP ALG
|
|
928
|
+
r"""<p>EIP ALG开启的协议类型。</p>
|
|
949
929
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.AlgType`
|
|
950
930
|
"""
|
|
951
931
|
return self._EipAlgType
|
|
@@ -956,7 +936,7 @@ class Address(AbstractModel):
|
|
|
956
936
|
|
|
957
937
|
@property
|
|
958
938
|
def InternetServiceProvider(self):
|
|
959
|
-
r"""
|
|
939
|
+
r"""<p>弹性公网IP的运营商信息,当前可能返回值包括"CMCC"(移动),"CTCC"(电信),"CUCC"(联通),"BGP"(常规BGP)。</p>
|
|
960
940
|
:rtype: str
|
|
961
941
|
"""
|
|
962
942
|
return self._InternetServiceProvider
|
|
@@ -967,9 +947,7 @@ class Address(AbstractModel):
|
|
|
967
947
|
|
|
968
948
|
@property
|
|
969
949
|
def LocalBgp(self):
|
|
970
|
-
r"""
|
|
971
|
-
<li>true:本地带宽EIP</li>
|
|
972
|
-
<li>false:非本地带宽EIP</li>
|
|
950
|
+
r"""<p>是否本地带宽EIP,可选值:</p><li>true:本地带宽EIP</li><li>false:非本地带宽EIP</li>
|
|
973
951
|
:rtype: bool
|
|
974
952
|
"""
|
|
975
953
|
return self._LocalBgp
|
|
@@ -980,7 +958,7 @@ class Address(AbstractModel):
|
|
|
980
958
|
|
|
981
959
|
@property
|
|
982
960
|
def Bandwidth(self):
|
|
983
|
-
r"""
|
|
961
|
+
r"""<p>弹性公网IP的带宽值。注意,传统账户类型账户的弹性公网IP没有带宽属性,值为空。</p>
|
|
984
962
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
985
963
|
:rtype: int
|
|
986
964
|
"""
|
|
@@ -992,17 +970,7 @@ class Address(AbstractModel):
|
|
|
992
970
|
|
|
993
971
|
@property
|
|
994
972
|
def InternetChargeType(self):
|
|
995
|
-
r"""
|
|
996
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
997
|
-
包括:
|
|
998
|
-
<li><strong>BANDWIDTH_PREPAID_BY_MONTH</strong></li>
|
|
999
|
-
<p style="padding-left: 30px;">表示包月带宽预付费。</p>
|
|
1000
|
-
<li><strong>TRAFFIC_POSTPAID_BY_HOUR</strong></li>
|
|
1001
|
-
<p style="padding-left: 30px;">表示按小时流量后付费。</p>
|
|
1002
|
-
<li><strong>BANDWIDTH_POSTPAID_BY_HOUR</strong></li>
|
|
1003
|
-
<p style="padding-left: 30px;">表示按小时带宽后付费。</p>
|
|
1004
|
-
<li><strong>BANDWIDTH_PACKAGE</strong></li>
|
|
1005
|
-
<p style="padding-left: 30px;">表示共享带宽包。</p>
|
|
973
|
+
r"""<p>弹性公网IP的网络计费模式。注意,传统账户类型账户的弹性公网IP没有网络计费模式属性,值为空。<br>注意:此字段可能返回 null,表示取不到有效值。<br>包括:</p><li><strong>BANDWIDTH_PREPAID_BY_MONTH</strong></li><p style="padding-left: 30px;">表示包月带宽预付费。</p><li><strong>TRAFFIC_POSTPAID_BY_HOUR</strong></li><p style="padding-left: 30px;">表示按小时流量后付费。</p><li><strong>BANDWIDTH_POSTPAID_BY_HOUR</strong></li><p style="padding-left: 30px;">表示按小时带宽后付费。</p><li><strong>BANDWIDTH_PACKAGE</strong></li><p style="padding-left: 30px;">表示共享带宽包。</p>
|
|
1006
974
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1007
975
|
:rtype: str
|
|
1008
976
|
"""
|
|
@@ -1014,7 +982,7 @@ class Address(AbstractModel):
|
|
|
1014
982
|
|
|
1015
983
|
@property
|
|
1016
984
|
def TagSet(self):
|
|
1017
|
-
r"""
|
|
985
|
+
r"""<p>弹性公网IP关联的标签列表。</p>
|
|
1018
986
|
:rtype: list of Tag
|
|
1019
987
|
"""
|
|
1020
988
|
return self._TagSet
|
|
@@ -1025,8 +993,7 @@ class Address(AbstractModel):
|
|
|
1025
993
|
|
|
1026
994
|
@property
|
|
1027
995
|
def DeadlineDate(self):
|
|
1028
|
-
r"""
|
|
1029
|
-
时间格式:YYYY-MM-DDThh:mm:ssZ
|
|
996
|
+
r"""<p>预付费包月带宽IP到期时间。<br>时间格式:YYYY-MM-DDThh:mm:ssZ</p>
|
|
1030
997
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1031
998
|
:rtype: str
|
|
1032
999
|
"""
|
|
@@ -1038,15 +1005,7 @@ class Address(AbstractModel):
|
|
|
1038
1005
|
|
|
1039
1006
|
@property
|
|
1040
1007
|
def InstanceType(self):
|
|
1041
|
-
r"""EIP
|
|
1042
|
-
<li>CVM:云服务器</li>
|
|
1043
|
-
<li>NAT:NAT 网关</li>
|
|
1044
|
-
<li>HAVIP:高可用虚拟IP</li>
|
|
1045
|
-
<li>ENI:弹性网卡</li>
|
|
1046
|
-
<li>CLB:内网CLB</li>
|
|
1047
|
-
<li>DHCPIP:弹性内网IP</li>
|
|
1048
|
-
|
|
1049
|
-
|
|
1008
|
+
r"""<p>EIP绑定的实例类型。可选值:</p><li>CVM:云服务器</li><li>NAT:NAT 网关</li><li>HAVIP:高可用虚拟IP</li><li>ENI:弹性网卡</li><li>CLB:内网CLB</li><li>DHCPIP:弹性内网IP</li>
|
|
1050
1009
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1051
1010
|
:rtype: str
|
|
1052
1011
|
"""
|
|
@@ -1058,7 +1017,7 @@ class Address(AbstractModel):
|
|
|
1058
1017
|
|
|
1059
1018
|
@property
|
|
1060
1019
|
def Egress(self):
|
|
1061
|
-
r"""
|
|
1020
|
+
r"""<p>静态单线IP网络出口</p>
|
|
1062
1021
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1063
1022
|
:rtype: str
|
|
1064
1023
|
"""
|
|
@@ -1070,7 +1029,7 @@ class Address(AbstractModel):
|
|
|
1070
1029
|
|
|
1071
1030
|
@property
|
|
1072
1031
|
def AntiDDoSPackageId(self):
|
|
1073
|
-
r"""
|
|
1032
|
+
r"""<p>高防包ID,当EIP类型为高防EIP时,返回EIP绑定的高防包ID.</p>
|
|
1074
1033
|
:rtype: str
|
|
1075
1034
|
"""
|
|
1076
1035
|
return self._AntiDDoSPackageId
|
|
@@ -1081,9 +1040,7 @@ class Address(AbstractModel):
|
|
|
1081
1040
|
|
|
1082
1041
|
@property
|
|
1083
1042
|
def RenewFlag(self):
|
|
1084
|
-
r"""
|
|
1085
|
-
<li>NOTIFY_AND_MANUAL_RENEW:正常续费</li><li>NOTIFY_AND_AUTO_RENEW:自动续费</li><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:到期不续费 </li>
|
|
1086
|
-
|
|
1043
|
+
r"""<p>当前EIP是否自动续费,只有按月带宽预付费的EIP才会显示该字段,具体值示例如下:</p><li>NOTIFY_AND_MANUAL_RENEW:正常续费</li><li>NOTIFY_AND_AUTO_RENEW:自动续费</li><li>DISABLE_NOTIFY_AND_MANUAL_RENEW:到期不续费 </li>
|
|
1087
1044
|
:rtype: str
|
|
1088
1045
|
"""
|
|
1089
1046
|
return self._RenewFlag
|
|
@@ -1094,7 +1051,7 @@ class Address(AbstractModel):
|
|
|
1094
1051
|
|
|
1095
1052
|
@property
|
|
1096
1053
|
def BandwidthPackageId(self):
|
|
1097
|
-
r"""
|
|
1054
|
+
r"""<p>当前公网IP所关联的带宽包ID,如果该公网IP未使用带宽包计费,则返回为空</p>
|
|
1098
1055
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
1099
1056
|
:rtype: str
|
|
1100
1057
|
"""
|
|
@@ -1106,7 +1063,7 @@ class Address(AbstractModel):
|
|
|
1106
1063
|
|
|
1107
1064
|
@property
|
|
1108
1065
|
def UnVpcId(self):
|
|
1109
|
-
r"""
|
|
1066
|
+
r"""<p>传统弹性公网IPv6所属vpc唯一ID</p>
|
|
1110
1067
|
:rtype: str
|
|
1111
1068
|
"""
|
|
1112
1069
|
return self._UnVpcId
|
|
@@ -1117,7 +1074,7 @@ class Address(AbstractModel):
|
|
|
1117
1074
|
|
|
1118
1075
|
@property
|
|
1119
1076
|
def DedicatedClusterId(self):
|
|
1120
|
-
r"""CDC唯一ID
|
|
1077
|
+
r"""<p>CDC唯一ID</p>
|
|
1121
1078
|
:rtype: str
|
|
1122
1079
|
"""
|
|
1123
1080
|
return self._DedicatedClusterId
|
|
@@ -1126,6 +1083,17 @@ class Address(AbstractModel):
|
|
|
1126
1083
|
def DedicatedClusterId(self, DedicatedClusterId):
|
|
1127
1084
|
self._DedicatedClusterId = DedicatedClusterId
|
|
1128
1085
|
|
|
1086
|
+
@property
|
|
1087
|
+
def EipVisibleOnEni(self):
|
|
1088
|
+
r"""<p>eip是否在网卡上可见。true表示支持,false表示不支持</p>
|
|
1089
|
+
:rtype: bool
|
|
1090
|
+
"""
|
|
1091
|
+
return self._EipVisibleOnEni
|
|
1092
|
+
|
|
1093
|
+
@EipVisibleOnEni.setter
|
|
1094
|
+
def EipVisibleOnEni(self, EipVisibleOnEni):
|
|
1095
|
+
self._EipVisibleOnEni = EipVisibleOnEni
|
|
1096
|
+
|
|
1129
1097
|
|
|
1130
1098
|
def _deserialize(self, params):
|
|
1131
1099
|
self._AddressId = params.get("AddressId")
|
|
@@ -1162,6 +1130,7 @@ class Address(AbstractModel):
|
|
|
1162
1130
|
self._BandwidthPackageId = params.get("BandwidthPackageId")
|
|
1163
1131
|
self._UnVpcId = params.get("UnVpcId")
|
|
1164
1132
|
self._DedicatedClusterId = params.get("DedicatedClusterId")
|
|
1133
|
+
self._EipVisibleOnEni = params.get("EipVisibleOnEni")
|
|
1165
1134
|
memeber_set = set(params.keys())
|
|
1166
1135
|
for name, value in vars(self).items():
|
|
1167
1136
|
property_name = name[1:]
|
|
@@ -51698,21 +51667,23 @@ class ModifyAddressAttributeRequest(AbstractModel):
|
|
|
51698
51667
|
|
|
51699
51668
|
def __init__(self):
|
|
51700
51669
|
r"""
|
|
51701
|
-
:param _AddressId:
|
|
51670
|
+
:param _AddressId: <p>标识 EIP 的唯一 ID。EIP 唯一 ID 形如:<code>eip-11112222</code>。可以使用<a href="https://cloud.tencent.com/document/product/215/16702">DescribeAddresses</a>接口获取AddressId。</p>
|
|
51702
51671
|
:type AddressId: str
|
|
51703
|
-
:param _AddressName:
|
|
51672
|
+
:param _AddressName: <p>修改后的 EIP 名称。长度上限为128个字符,允许使用大小写字母、汉字、数字、连字符"-"和下划线"_",不能包含空格。</p>
|
|
51704
51673
|
:type AddressName: str
|
|
51705
|
-
:param _EipDirectConnection:
|
|
51706
|
-
注意:该参数仅对 EIP 直通功能可见的用户可以设定,EIP 必须为绑定状态,绑定的对象为 CVM 。
|
|
51674
|
+
:param _EipDirectConnection: <p>设定EIP是否直通,"TRUE"表示直通,"FALSE"表示非直通。<br>注意:该参数仅对 EIP 直通功能可见的用户可以设定,EIP 必须为绑定状态,绑定的对象为 CVM 。</p>
|
|
51707
51675
|
:type EipDirectConnection: str
|
|
51676
|
+
:param _EipVisibleOnEni: <p>设定EIP是否在网卡可见</p>
|
|
51677
|
+
:type EipVisibleOnEni: bool
|
|
51708
51678
|
"""
|
|
51709
51679
|
self._AddressId = None
|
|
51710
51680
|
self._AddressName = None
|
|
51711
51681
|
self._EipDirectConnection = None
|
|
51682
|
+
self._EipVisibleOnEni = None
|
|
51712
51683
|
|
|
51713
51684
|
@property
|
|
51714
51685
|
def AddressId(self):
|
|
51715
|
-
r"""
|
|
51686
|
+
r"""<p>标识 EIP 的唯一 ID。EIP 唯一 ID 形如:<code>eip-11112222</code>。可以使用<a href="https://cloud.tencent.com/document/product/215/16702">DescribeAddresses</a>接口获取AddressId。</p>
|
|
51716
51687
|
:rtype: str
|
|
51717
51688
|
"""
|
|
51718
51689
|
return self._AddressId
|
|
@@ -51723,7 +51694,7 @@ class ModifyAddressAttributeRequest(AbstractModel):
|
|
|
51723
51694
|
|
|
51724
51695
|
@property
|
|
51725
51696
|
def AddressName(self):
|
|
51726
|
-
r"""
|
|
51697
|
+
r"""<p>修改后的 EIP 名称。长度上限为128个字符,允许使用大小写字母、汉字、数字、连字符"-"和下划线"_",不能包含空格。</p>
|
|
51727
51698
|
:rtype: str
|
|
51728
51699
|
"""
|
|
51729
51700
|
return self._AddressName
|
|
@@ -51734,8 +51705,7 @@ class ModifyAddressAttributeRequest(AbstractModel):
|
|
|
51734
51705
|
|
|
51735
51706
|
@property
|
|
51736
51707
|
def EipDirectConnection(self):
|
|
51737
|
-
r"""
|
|
51738
|
-
注意:该参数仅对 EIP 直通功能可见的用户可以设定,EIP 必须为绑定状态,绑定的对象为 CVM 。
|
|
51708
|
+
r"""<p>设定EIP是否直通,"TRUE"表示直通,"FALSE"表示非直通。<br>注意:该参数仅对 EIP 直通功能可见的用户可以设定,EIP 必须为绑定状态,绑定的对象为 CVM 。</p>
|
|
51739
51709
|
:rtype: str
|
|
51740
51710
|
"""
|
|
51741
51711
|
return self._EipDirectConnection
|
|
@@ -51744,11 +51714,23 @@ class ModifyAddressAttributeRequest(AbstractModel):
|
|
|
51744
51714
|
def EipDirectConnection(self, EipDirectConnection):
|
|
51745
51715
|
self._EipDirectConnection = EipDirectConnection
|
|
51746
51716
|
|
|
51717
|
+
@property
|
|
51718
|
+
def EipVisibleOnEni(self):
|
|
51719
|
+
r"""<p>设定EIP是否在网卡可见</p>
|
|
51720
|
+
:rtype: bool
|
|
51721
|
+
"""
|
|
51722
|
+
return self._EipVisibleOnEni
|
|
51723
|
+
|
|
51724
|
+
@EipVisibleOnEni.setter
|
|
51725
|
+
def EipVisibleOnEni(self, EipVisibleOnEni):
|
|
51726
|
+
self._EipVisibleOnEni = EipVisibleOnEni
|
|
51727
|
+
|
|
51747
51728
|
|
|
51748
51729
|
def _deserialize(self, params):
|
|
51749
51730
|
self._AddressId = params.get("AddressId")
|
|
51750
51731
|
self._AddressName = params.get("AddressName")
|
|
51751
51732
|
self._EipDirectConnection = params.get("EipDirectConnection")
|
|
51733
|
+
self._EipVisibleOnEni = params.get("EipVisibleOnEni")
|
|
51752
51734
|
memeber_set = set(params.keys())
|
|
51753
51735
|
for name, value in vars(self).items():
|
|
51754
51736
|
property_name = name[1:]
|
|
@@ -54410,17 +54392,20 @@ class ModifyIPv6AddressesAttributesRequest(AbstractModel):
|
|
|
54410
54392
|
|
|
54411
54393
|
def __init__(self):
|
|
54412
54394
|
r"""
|
|
54413
|
-
:param _IPv6AddressIds:
|
|
54395
|
+
:param _IPv6AddressIds: <p>弹性公网IPv6唯一ID列表。可以使用<a href="https://cloud.tencent.com/document/api/215/113677">DescribeIPv6Addresses</a>接口获取IPv6AddressIds。</p>
|
|
54414
54396
|
:type IPv6AddressIds: list of str
|
|
54415
|
-
:param _IPv6AddressName:
|
|
54397
|
+
:param _IPv6AddressName: <p>弹性公网IPv6地址名称,长度上限为128个字符,允许使用大小写字母、汉字、数字、连字符"-"和下划线"_",不能包含空格。</p>
|
|
54416
54398
|
:type IPv6AddressName: str
|
|
54399
|
+
:param _EipVisibleOnEni: <p>是否开启弹性公网IPv6地址网卡可见</p>
|
|
54400
|
+
:type EipVisibleOnEni: bool
|
|
54417
54401
|
"""
|
|
54418
54402
|
self._IPv6AddressIds = None
|
|
54419
54403
|
self._IPv6AddressName = None
|
|
54404
|
+
self._EipVisibleOnEni = None
|
|
54420
54405
|
|
|
54421
54406
|
@property
|
|
54422
54407
|
def IPv6AddressIds(self):
|
|
54423
|
-
r"""
|
|
54408
|
+
r"""<p>弹性公网IPv6唯一ID列表。可以使用<a href="https://cloud.tencent.com/document/api/215/113677">DescribeIPv6Addresses</a>接口获取IPv6AddressIds。</p>
|
|
54424
54409
|
:rtype: list of str
|
|
54425
54410
|
"""
|
|
54426
54411
|
return self._IPv6AddressIds
|
|
@@ -54431,7 +54416,7 @@ class ModifyIPv6AddressesAttributesRequest(AbstractModel):
|
|
|
54431
54416
|
|
|
54432
54417
|
@property
|
|
54433
54418
|
def IPv6AddressName(self):
|
|
54434
|
-
r"""
|
|
54419
|
+
r"""<p>弹性公网IPv6地址名称,长度上限为128个字符,允许使用大小写字母、汉字、数字、连字符"-"和下划线"_",不能包含空格。</p>
|
|
54435
54420
|
:rtype: str
|
|
54436
54421
|
"""
|
|
54437
54422
|
return self._IPv6AddressName
|
|
@@ -54440,10 +54425,22 @@ class ModifyIPv6AddressesAttributesRequest(AbstractModel):
|
|
|
54440
54425
|
def IPv6AddressName(self, IPv6AddressName):
|
|
54441
54426
|
self._IPv6AddressName = IPv6AddressName
|
|
54442
54427
|
|
|
54428
|
+
@property
|
|
54429
|
+
def EipVisibleOnEni(self):
|
|
54430
|
+
r"""<p>是否开启弹性公网IPv6地址网卡可见</p>
|
|
54431
|
+
:rtype: bool
|
|
54432
|
+
"""
|
|
54433
|
+
return self._EipVisibleOnEni
|
|
54434
|
+
|
|
54435
|
+
@EipVisibleOnEni.setter
|
|
54436
|
+
def EipVisibleOnEni(self, EipVisibleOnEni):
|
|
54437
|
+
self._EipVisibleOnEni = EipVisibleOnEni
|
|
54438
|
+
|
|
54443
54439
|
|
|
54444
54440
|
def _deserialize(self, params):
|
|
54445
54441
|
self._IPv6AddressIds = params.get("IPv6AddressIds")
|
|
54446
54442
|
self._IPv6AddressName = params.get("IPv6AddressName")
|
|
54443
|
+
self._EipVisibleOnEni = params.get("EipVisibleOnEni")
|
|
54447
54444
|
memeber_set = set(params.keys())
|
|
54448
54445
|
for name, value in vars(self).items():
|
|
54449
54446
|
property_name = name[1:]
|
|
@@ -69582,30 +69579,29 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69582
69579
|
|
|
69583
69580
|
def __init__(self):
|
|
69584
69581
|
r"""
|
|
69585
|
-
:param _PolicyIndex:
|
|
69582
|
+
:param _PolicyIndex: <p>安全组规则索引号,值会随着安全组规则的变更动态变化。使用PolicyIndex时,请先调用<code>DescribeSecurityGroupPolicies</code>获取到规则的PolicyIndex,并且结合返回值中的Version一起使用处理规则。</p>
|
|
69586
69583
|
:type PolicyIndex: int
|
|
69587
|
-
:param _Protocol:
|
|
69584
|
+
:param _Protocol: <p>协议, 取值: TCP,UDP,ICMP,ICMPv6,ALL。</p>
|
|
69588
69585
|
:type Protocol: str
|
|
69589
|
-
:param _Port:
|
|
69590
|
-
说明:如果Protocol设置为ALL,则Port也需要设置为all。
|
|
69586
|
+
:param _Port: <p>端口(all, 离散port, range)。<br>说明:如果Protocol设置为ALL,则Port也需要设置为all。</p>
|
|
69591
69587
|
:type Port: str
|
|
69592
|
-
:param _ServiceTemplate:
|
|
69588
|
+
:param _ServiceTemplate: <p>协议端口ID或者协议端口组ID。ServiceTemplate和Protocol+Port互斥。</p>
|
|
69593
69589
|
:type ServiceTemplate: :class:`tencentcloud.vpc.v20170312.models.ServiceTemplateSpecification`
|
|
69594
|
-
:param _CidrBlock:
|
|
69590
|
+
:param _CidrBlock: <p>网段或IP(互斥),特殊说明:0.0.0.0/n 都会映射为0.0.0.0/0。作为入参时,可使用字符串<code>MY_PUBLIC_IP</code>指代发起请求的公网IP地址。</p>
|
|
69595
69591
|
:type CidrBlock: str
|
|
69596
|
-
:param _Ipv6CidrBlock:
|
|
69592
|
+
:param _Ipv6CidrBlock: <p>网段或IPv6(互斥)。作为入参时,可使用字符串<code>MY_PUBLIC_IP</code>指代发起请求的公网IPv6地址。</p>
|
|
69597
69593
|
:type Ipv6CidrBlock: str
|
|
69598
|
-
:param _SecurityGroupId:
|
|
69594
|
+
:param _SecurityGroupId: <p>安全组实例ID,例如:sg-ohuuioma。</p>
|
|
69599
69595
|
:type SecurityGroupId: str
|
|
69600
|
-
:param _AddressTemplate: IP地址ID或者IP地址组ID
|
|
69596
|
+
:param _AddressTemplate: <p>IP地址ID或者IP地址组ID。</p>
|
|
69601
69597
|
:type AddressTemplate: :class:`tencentcloud.vpc.v20170312.models.AddressTemplateSpecification`
|
|
69602
|
-
:param _Action: ACCEPT 或 DROP
|
|
69598
|
+
:param _Action: <p>ACCEPT 或 DROP。</p>
|
|
69603
69599
|
:type Action: str
|
|
69604
|
-
:param _PolicyDescription:
|
|
69600
|
+
:param _PolicyDescription: <p>安全组规则描述。作为入参时,当未传递该参数或值为空,且参数CidrBlock或Ipv6CidrBlock值为MY_PUBLIC_IP时,该参数的值将会被自动填充为Replaced-From-MY_PUBLIC_IP。</p>
|
|
69605
69601
|
:type PolicyDescription: str
|
|
69606
|
-
:param _ModifyTime:
|
|
69602
|
+
:param _ModifyTime: <p>安全组最近修改时间。</p>
|
|
69607
69603
|
:type ModifyTime: str
|
|
69608
|
-
:param _Priority:
|
|
69604
|
+
:param _Priority: <p>安全组规则优先级,值会随着安全组规则的变更动态变化。使用Priority时,请先调用<code>DescribeSecurityGroupPolicies</code>获取到规则的Priority,并且结合返回值中的Version一起使用处理规则。</p>
|
|
69609
69605
|
:type Priority: int
|
|
69610
69606
|
"""
|
|
69611
69607
|
self._PolicyIndex = None
|
|
@@ -69623,7 +69619,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69623
69619
|
|
|
69624
69620
|
@property
|
|
69625
69621
|
def PolicyIndex(self):
|
|
69626
|
-
r"""
|
|
69622
|
+
r"""<p>安全组规则索引号,值会随着安全组规则的变更动态变化。使用PolicyIndex时,请先调用<code>DescribeSecurityGroupPolicies</code>获取到规则的PolicyIndex,并且结合返回值中的Version一起使用处理规则。</p>
|
|
69627
69623
|
:rtype: int
|
|
69628
69624
|
"""
|
|
69629
69625
|
return self._PolicyIndex
|
|
@@ -69634,7 +69630,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69634
69630
|
|
|
69635
69631
|
@property
|
|
69636
69632
|
def Protocol(self):
|
|
69637
|
-
r"""
|
|
69633
|
+
r"""<p>协议, 取值: TCP,UDP,ICMP,ICMPv6,ALL。</p>
|
|
69638
69634
|
:rtype: str
|
|
69639
69635
|
"""
|
|
69640
69636
|
return self._Protocol
|
|
@@ -69645,8 +69641,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69645
69641
|
|
|
69646
69642
|
@property
|
|
69647
69643
|
def Port(self):
|
|
69648
|
-
r"""
|
|
69649
|
-
说明:如果Protocol设置为ALL,则Port也需要设置为all。
|
|
69644
|
+
r"""<p>端口(all, 离散port, range)。<br>说明:如果Protocol设置为ALL,则Port也需要设置为all。</p>
|
|
69650
69645
|
:rtype: str
|
|
69651
69646
|
"""
|
|
69652
69647
|
return self._Port
|
|
@@ -69657,7 +69652,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69657
69652
|
|
|
69658
69653
|
@property
|
|
69659
69654
|
def ServiceTemplate(self):
|
|
69660
|
-
r"""
|
|
69655
|
+
r"""<p>协议端口ID或者协议端口组ID。ServiceTemplate和Protocol+Port互斥。</p>
|
|
69661
69656
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.ServiceTemplateSpecification`
|
|
69662
69657
|
"""
|
|
69663
69658
|
return self._ServiceTemplate
|
|
@@ -69668,7 +69663,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69668
69663
|
|
|
69669
69664
|
@property
|
|
69670
69665
|
def CidrBlock(self):
|
|
69671
|
-
r"""
|
|
69666
|
+
r"""<p>网段或IP(互斥),特殊说明:0.0.0.0/n 都会映射为0.0.0.0/0。作为入参时,可使用字符串<code>MY_PUBLIC_IP</code>指代发起请求的公网IP地址。</p>
|
|
69672
69667
|
:rtype: str
|
|
69673
69668
|
"""
|
|
69674
69669
|
return self._CidrBlock
|
|
@@ -69679,7 +69674,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69679
69674
|
|
|
69680
69675
|
@property
|
|
69681
69676
|
def Ipv6CidrBlock(self):
|
|
69682
|
-
r"""
|
|
69677
|
+
r"""<p>网段或IPv6(互斥)。作为入参时,可使用字符串<code>MY_PUBLIC_IP</code>指代发起请求的公网IPv6地址。</p>
|
|
69683
69678
|
:rtype: str
|
|
69684
69679
|
"""
|
|
69685
69680
|
return self._Ipv6CidrBlock
|
|
@@ -69690,7 +69685,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69690
69685
|
|
|
69691
69686
|
@property
|
|
69692
69687
|
def SecurityGroupId(self):
|
|
69693
|
-
r"""
|
|
69688
|
+
r"""<p>安全组实例ID,例如:sg-ohuuioma。</p>
|
|
69694
69689
|
:rtype: str
|
|
69695
69690
|
"""
|
|
69696
69691
|
return self._SecurityGroupId
|
|
@@ -69701,7 +69696,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69701
69696
|
|
|
69702
69697
|
@property
|
|
69703
69698
|
def AddressTemplate(self):
|
|
69704
|
-
r"""IP地址ID或者IP地址组ID
|
|
69699
|
+
r"""<p>IP地址ID或者IP地址组ID。</p>
|
|
69705
69700
|
:rtype: :class:`tencentcloud.vpc.v20170312.models.AddressTemplateSpecification`
|
|
69706
69701
|
"""
|
|
69707
69702
|
return self._AddressTemplate
|
|
@@ -69712,7 +69707,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69712
69707
|
|
|
69713
69708
|
@property
|
|
69714
69709
|
def Action(self):
|
|
69715
|
-
r"""ACCEPT 或 DROP
|
|
69710
|
+
r"""<p>ACCEPT 或 DROP。</p>
|
|
69716
69711
|
:rtype: str
|
|
69717
69712
|
"""
|
|
69718
69713
|
return self._Action
|
|
@@ -69723,7 +69718,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69723
69718
|
|
|
69724
69719
|
@property
|
|
69725
69720
|
def PolicyDescription(self):
|
|
69726
|
-
r"""
|
|
69721
|
+
r"""<p>安全组规则描述。作为入参时,当未传递该参数或值为空,且参数CidrBlock或Ipv6CidrBlock值为MY_PUBLIC_IP时,该参数的值将会被自动填充为Replaced-From-MY_PUBLIC_IP。</p>
|
|
69727
69722
|
:rtype: str
|
|
69728
69723
|
"""
|
|
69729
69724
|
return self._PolicyDescription
|
|
@@ -69734,7 +69729,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69734
69729
|
|
|
69735
69730
|
@property
|
|
69736
69731
|
def ModifyTime(self):
|
|
69737
|
-
r"""
|
|
69732
|
+
r"""<p>安全组最近修改时间。</p>
|
|
69738
69733
|
:rtype: str
|
|
69739
69734
|
"""
|
|
69740
69735
|
return self._ModifyTime
|
|
@@ -69745,7 +69740,7 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
69745
69740
|
|
|
69746
69741
|
@property
|
|
69747
69742
|
def Priority(self):
|
|
69748
|
-
r"""
|
|
69743
|
+
r"""<p>安全组规则优先级,值会随着安全组规则的变更动态变化。使用Priority时,请先调用<code>DescribeSecurityGroupPolicies</code>获取到规则的Priority,并且结合返回值中的Version一起使用处理规则。</p>
|
|
69749
69744
|
:rtype: int
|
|
69750
69745
|
"""
|
|
69751
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.189
|
|
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
|