tencentcloud-sdk-python-vpc 3.0.1478__tar.gz → 3.0.1482__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.1482/PKG-INFO +46 -0
- {tencentcloud-sdk-python-vpc-3.0.1478 → tencentcloud_sdk_python_vpc-3.0.1482}/setup.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1478 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1478 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- {tencentcloud-sdk-python-vpc-3.0.1478 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud/vpc/v20170312/models.py +293 -83
- {tencentcloud-sdk-python-vpc-3.0.1478 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud_sdk_python_vpc-3.0.1482/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +46 -0
- tencentcloud_sdk_python_vpc-3.0.1482/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-vpc-3.0.1478/PKG-INFO +0 -45
- tencentcloud-sdk-python-vpc-3.0.1478/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +0 -45
- tencentcloud-sdk-python-vpc-3.0.1478/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-vpc-3.0.1478 → tencentcloud_sdk_python_vpc-3.0.1482}/README.rst +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1478 → tencentcloud_sdk_python_vpc-3.0.1482}/setup.cfg +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1478 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1478 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1478 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1478 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1478 → tencentcloud_sdk_python_vpc-3.0.1482}/tencentcloud_sdk_python_vpc.egg-info/top_level.txt +0 -0
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-vpc
|
|
3
|
+
Version: 3.0.1482
|
|
4
|
+
Summary: Tencent Cloud Vpc SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1482
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Vpc SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-vpc
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common vpc
|
|
46
|
+
|
|
@@ -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.1482,<4.0.0"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Vpc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -419,6 +419,9 @@ INVALIDPARAMETERVALUE_PRIVATENATRULENOTEXISTS = 'InvalidParameterValue.PrivateNa
|
|
|
419
419
|
# 私网NAT网关传入规则类型不支持。
|
|
420
420
|
INVALIDPARAMETERVALUE_PRIVATENATSNATRULENOTSUPPORT = 'InvalidParameterValue.PrivateNatSnatRuleNotSupport'
|
|
421
421
|
|
|
422
|
+
# 必须携带服务等级。
|
|
423
|
+
INVALIDPARAMETERVALUE_QOSLEVELREQUIRED = 'InvalidParameterValue.QosLevelRequired'
|
|
424
|
+
|
|
422
425
|
# 参数值不在指定范围。
|
|
423
426
|
INVALIDPARAMETERVALUE_RANGE = 'InvalidParameterValue.Range'
|
|
424
427
|
|
|
@@ -1430,6 +1433,9 @@ UNSUPPORTEDOPERATION_VPNGATEWAYVPCNOIPV6SUBNET = 'UnsupportedOperation.VpnGatewa
|
|
|
1430
1433
|
# VPC类型VPN网关必须携带VpcId。
|
|
1431
1434
|
UNSUPPORTEDOPERATION_VPNGWVPCIDMUSTHAVE = 'UnsupportedOperation.VpnGwVpcIdMustHave'
|
|
1432
1435
|
|
|
1436
|
+
# CCN类型VPN网关 不用携带VpcId
|
|
1437
|
+
UNSUPPORTEDOPERATION_VPNGWVPCIDNOTHAVE = 'UnsupportedOperation.VpnGwVpcIdNotHave'
|
|
1438
|
+
|
|
1433
1439
|
# VPN不支持BGP
|
|
1434
1440
|
UNSUPPORTEDOPERATION_VPNUNSUPPORTEDBGP = 'UnsupportedOperation.VpnUnsupportedBgp'
|
|
1435
1441
|
|
|
@@ -1586,6 +1586,8 @@ class AddressTemplateItem(AbstractModel):
|
|
|
1586
1586
|
|
|
1587
1587
|
@property
|
|
1588
1588
|
def AddressTemplateName(self):
|
|
1589
|
+
warnings.warn("parameter `AddressTemplateName` is deprecated", DeprecationWarning)
|
|
1590
|
+
|
|
1589
1591
|
r"""IP模板名称,废弃字段。
|
|
1590
1592
|
:rtype: str
|
|
1591
1593
|
"""
|
|
@@ -1593,10 +1595,14 @@ class AddressTemplateItem(AbstractModel):
|
|
|
1593
1595
|
|
|
1594
1596
|
@AddressTemplateName.setter
|
|
1595
1597
|
def AddressTemplateName(self, AddressTemplateName):
|
|
1598
|
+
warnings.warn("parameter `AddressTemplateName` is deprecated", DeprecationWarning)
|
|
1599
|
+
|
|
1596
1600
|
self._AddressTemplateName = AddressTemplateName
|
|
1597
1601
|
|
|
1598
1602
|
@property
|
|
1599
1603
|
def From(self):
|
|
1604
|
+
warnings.warn("parameter `From` is deprecated", DeprecationWarning)
|
|
1605
|
+
|
|
1600
1606
|
r"""废弃字段。
|
|
1601
1607
|
:rtype: str
|
|
1602
1608
|
"""
|
|
@@ -1604,10 +1610,14 @@ class AddressTemplateItem(AbstractModel):
|
|
|
1604
1610
|
|
|
1605
1611
|
@From.setter
|
|
1606
1612
|
def From(self, From):
|
|
1613
|
+
warnings.warn("parameter `From` is deprecated", DeprecationWarning)
|
|
1614
|
+
|
|
1607
1615
|
self._From = From
|
|
1608
1616
|
|
|
1609
1617
|
@property
|
|
1610
1618
|
def To(self):
|
|
1619
|
+
warnings.warn("parameter `To` is deprecated", DeprecationWarning)
|
|
1620
|
+
|
|
1611
1621
|
r"""废弃字段
|
|
1612
1622
|
:rtype: str
|
|
1613
1623
|
"""
|
|
@@ -1615,6 +1625,8 @@ class AddressTemplateItem(AbstractModel):
|
|
|
1615
1625
|
|
|
1616
1626
|
@To.setter
|
|
1617
1627
|
def To(self, To):
|
|
1628
|
+
warnings.warn("parameter `To` is deprecated", DeprecationWarning)
|
|
1629
|
+
|
|
1618
1630
|
self._To = To
|
|
1619
1631
|
|
|
1620
1632
|
@property
|
|
@@ -8750,6 +8762,8 @@ class ConflictItem(AbstractModel):
|
|
|
8750
8762
|
|
|
8751
8763
|
@property
|
|
8752
8764
|
def ConfilctId(self):
|
|
8765
|
+
warnings.warn("parameter `ConfilctId` is deprecated", DeprecationWarning)
|
|
8766
|
+
|
|
8753
8767
|
r"""冲突资源的ID。已废弃
|
|
8754
8768
|
:rtype: str
|
|
8755
8769
|
"""
|
|
@@ -8757,6 +8771,8 @@ class ConflictItem(AbstractModel):
|
|
|
8757
8771
|
|
|
8758
8772
|
@ConfilctId.setter
|
|
8759
8773
|
def ConfilctId(self, ConfilctId):
|
|
8774
|
+
warnings.warn("parameter `ConfilctId` is deprecated", DeprecationWarning)
|
|
8775
|
+
|
|
8760
8776
|
self._ConfilctId = ConfilctId
|
|
8761
8777
|
|
|
8762
8778
|
@property
|
|
@@ -10822,7 +10838,7 @@ class CreateFlowLogRequest(AbstractModel):
|
|
|
10822
10838
|
r"""
|
|
10823
10839
|
:param _FlowLogName: 流日志实例名称。长度为不超过60个字符。
|
|
10824
10840
|
:type FlowLogName: str
|
|
10825
|
-
:param _ResourceType: 流日志所属资源类型,
|
|
10841
|
+
:param _ResourceType: 流日志所属资源类型,NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。当选择CCN,DCG时,请通过工单加入白名单。
|
|
10826
10842
|
:type ResourceType: str
|
|
10827
10843
|
:param _ResourceId: 资源唯一ID。
|
|
10828
10844
|
:type ResourceId: str
|
|
@@ -10843,6 +10859,8 @@ class CreateFlowLogRequest(AbstractModel):
|
|
|
10843
10859
|
:type FlowLogStorage: :class:`tencentcloud.vpc.v20170312.models.FlowLogStorage`
|
|
10844
10860
|
:param _CloudLogRegion: 流日志存储ID对应的地域,不传递默认为本地域。
|
|
10845
10861
|
:type CloudLogRegion: str
|
|
10862
|
+
:param _Period: 流日志采集周期,只支持CCN类型流日志。取值范围(单位s):60, 300, 600。
|
|
10863
|
+
:type Period: int
|
|
10846
10864
|
"""
|
|
10847
10865
|
self._FlowLogName = None
|
|
10848
10866
|
self._ResourceType = None
|
|
@@ -10855,6 +10873,7 @@ class CreateFlowLogRequest(AbstractModel):
|
|
|
10855
10873
|
self._StorageType = None
|
|
10856
10874
|
self._FlowLogStorage = None
|
|
10857
10875
|
self._CloudLogRegion = None
|
|
10876
|
+
self._Period = None
|
|
10858
10877
|
|
|
10859
10878
|
@property
|
|
10860
10879
|
def FlowLogName(self):
|
|
@@ -10869,7 +10888,7 @@ class CreateFlowLogRequest(AbstractModel):
|
|
|
10869
10888
|
|
|
10870
10889
|
@property
|
|
10871
10890
|
def ResourceType(self):
|
|
10872
|
-
r"""流日志所属资源类型,
|
|
10891
|
+
r"""流日志所属资源类型,NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转化),DCG(专线网关)。当选择CCN,DCG时,请通过工单加入白名单。
|
|
10873
10892
|
:rtype: str
|
|
10874
10893
|
"""
|
|
10875
10894
|
return self._ResourceType
|
|
@@ -10978,6 +10997,17 @@ class CreateFlowLogRequest(AbstractModel):
|
|
|
10978
10997
|
def CloudLogRegion(self, CloudLogRegion):
|
|
10979
10998
|
self._CloudLogRegion = CloudLogRegion
|
|
10980
10999
|
|
|
11000
|
+
@property
|
|
11001
|
+
def Period(self):
|
|
11002
|
+
r"""流日志采集周期,只支持CCN类型流日志。取值范围(单位s):60, 300, 600。
|
|
11003
|
+
:rtype: int
|
|
11004
|
+
"""
|
|
11005
|
+
return self._Period
|
|
11006
|
+
|
|
11007
|
+
@Period.setter
|
|
11008
|
+
def Period(self, Period):
|
|
11009
|
+
self._Period = Period
|
|
11010
|
+
|
|
10981
11011
|
|
|
10982
11012
|
def _deserialize(self, params):
|
|
10983
11013
|
self._FlowLogName = params.get("FlowLogName")
|
|
@@ -10998,6 +11028,7 @@ class CreateFlowLogRequest(AbstractModel):
|
|
|
10998
11028
|
self._FlowLogStorage = FlowLogStorage()
|
|
10999
11029
|
self._FlowLogStorage._deserialize(params.get("FlowLogStorage"))
|
|
11000
11030
|
self._CloudLogRegion = params.get("CloudLogRegion")
|
|
11031
|
+
self._Period = params.get("Period")
|
|
11001
11032
|
memeber_set = set(params.keys())
|
|
11002
11033
|
for name, value in vars(self).items():
|
|
11003
11034
|
property_name = name[1:]
|
|
@@ -16444,6 +16475,8 @@ class CreateVpcRequest(AbstractModel):
|
|
|
16444
16475
|
:type DomainName: str
|
|
16445
16476
|
:param _Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
|
|
16446
16477
|
:type Tags: list of Tag
|
|
16478
|
+
:param _EnableRouteVpcPublish: vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
|
|
16479
|
+
:type EnableRouteVpcPublish: bool
|
|
16447
16480
|
"""
|
|
16448
16481
|
self._VpcName = None
|
|
16449
16482
|
self._CidrBlock = None
|
|
@@ -16451,6 +16484,7 @@ class CreateVpcRequest(AbstractModel):
|
|
|
16451
16484
|
self._DnsServers = None
|
|
16452
16485
|
self._DomainName = None
|
|
16453
16486
|
self._Tags = None
|
|
16487
|
+
self._EnableRouteVpcPublish = None
|
|
16454
16488
|
|
|
16455
16489
|
@property
|
|
16456
16490
|
def VpcName(self):
|
|
@@ -16518,6 +16552,17 @@ class CreateVpcRequest(AbstractModel):
|
|
|
16518
16552
|
def Tags(self, Tags):
|
|
16519
16553
|
self._Tags = Tags
|
|
16520
16554
|
|
|
16555
|
+
@property
|
|
16556
|
+
def EnableRouteVpcPublish(self):
|
|
16557
|
+
r"""vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
|
|
16558
|
+
:rtype: bool
|
|
16559
|
+
"""
|
|
16560
|
+
return self._EnableRouteVpcPublish
|
|
16561
|
+
|
|
16562
|
+
@EnableRouteVpcPublish.setter
|
|
16563
|
+
def EnableRouteVpcPublish(self, EnableRouteVpcPublish):
|
|
16564
|
+
self._EnableRouteVpcPublish = EnableRouteVpcPublish
|
|
16565
|
+
|
|
16521
16566
|
|
|
16522
16567
|
def _deserialize(self, params):
|
|
16523
16568
|
self._VpcName = params.get("VpcName")
|
|
@@ -16531,6 +16576,7 @@ class CreateVpcRequest(AbstractModel):
|
|
|
16531
16576
|
obj = Tag()
|
|
16532
16577
|
obj._deserialize(item)
|
|
16533
16578
|
self._Tags.append(obj)
|
|
16579
|
+
self._EnableRouteVpcPublish = params.get("EnableRouteVpcPublish")
|
|
16534
16580
|
memeber_set = set(params.keys())
|
|
16535
16581
|
for name, value in vars(self).items():
|
|
16536
16582
|
property_name = name[1:]
|
|
@@ -23651,11 +23697,11 @@ class DescribeAddressesRequest(AbstractModel):
|
|
|
23651
23697
|
:type AddressIds: list of str
|
|
23652
23698
|
:param _Filters: 每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。详细的过滤条件如下:
|
|
23653
23699
|
<li> address-id - String - 是否必填:否 - (过滤条件)按照 EIP 的唯一 ID 过滤。EIP 唯一 ID 形如:eip-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-id。</li>
|
|
23654
|
-
<li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-name
|
|
23700
|
+
<li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-name。注意:当指定 address-name 参数时,仅支持按第一个传入的 address-name 参数执行查询操作。</li>
|
|
23655
23701
|
<li> address-ip - String - 是否必填:否 - (过滤条件)按照 EIP 的 IP 地址过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-ip。</li>
|
|
23656
23702
|
<li> address-status - String - 是否必填:否 - (过滤条件)按照 EIP 的状态过滤。状态包含:'CREATING':创建中,'BINDING':绑定中,'BIND':已绑,'UNBINDING':解绑中,'UNBIND':未绑定,'OFFLINING':下线中,'BIND_ENI':绑定了ENI。</li>
|
|
23657
23703
|
<li> instance-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的实例 ID 过滤。实例 ID 形如:ins-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取instance-id。</li>
|
|
23658
|
-
<li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取private-ip-address
|
|
23704
|
+
<li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取private-ip-address。注意:当指定 private-ip-address 参数时,仅支持按第一个传入的 private-ip-address 参数执行查询操作。</li>
|
|
23659
23705
|
<li> network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如:eni-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取network-interface-id。</li>
|
|
23660
23706
|
<li> is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。(TRUE:EIP 处于欠费状态|FALSE:EIP 费用状态正常)</li>
|
|
23661
23707
|
<li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'WanIP':普通公网 IP, 'EIP':弹性公网 IP,'AnycastEIP':加速 IP,'HighQualityEIP':精品弹性公网 IP, 'AntiDDoSEIP':高防 IP。默认值是'EIP'。</li>
|
|
@@ -23690,11 +23736,11 @@ class DescribeAddressesRequest(AbstractModel):
|
|
|
23690
23736
|
def Filters(self):
|
|
23691
23737
|
r"""每次请求的`Filters`的上限为10,`Filter.Values`的上限为100。详细的过滤条件如下:
|
|
23692
23738
|
<li> address-id - String - 是否必填:否 - (过滤条件)按照 EIP 的唯一 ID 过滤。EIP 唯一 ID 形如:eip-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-id。</li>
|
|
23693
|
-
<li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-name
|
|
23739
|
+
<li> address-name - String - 是否必填:否 - (过滤条件)按照 EIP 名称过滤。不支持模糊过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-name。注意:当指定 address-name 参数时,仅支持按第一个传入的 address-name 参数执行查询操作。</li>
|
|
23694
23740
|
<li> address-ip - String - 是否必填:否 - (过滤条件)按照 EIP 的 IP 地址过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取address-ip。</li>
|
|
23695
23741
|
<li> address-status - String - 是否必填:否 - (过滤条件)按照 EIP 的状态过滤。状态包含:'CREATING':创建中,'BINDING':绑定中,'BIND':已绑,'UNBINDING':解绑中,'UNBIND':未绑定,'OFFLINING':下线中,'BIND_ENI':绑定了ENI。</li>
|
|
23696
23742
|
<li> instance-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的实例 ID 过滤。实例 ID 形如:ins-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取instance-id。</li>
|
|
23697
|
-
<li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取private-ip-address
|
|
23743
|
+
<li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取private-ip-address。注意:当指定 private-ip-address 参数时,仅支持按第一个传入的 private-ip-address 参数执行查询操作。</li>
|
|
23698
23744
|
<li> network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如:eni-11112222。可以使用[DescribeAddresses](https://cloud.tencent.com/document/product/215/16702)接口获取network-interface-id。</li>
|
|
23699
23745
|
<li> is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。(TRUE:EIP 处于欠费状态|FALSE:EIP 费用状态正常)</li>
|
|
23700
23746
|
<li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'WanIP':普通公网 IP, 'EIP':弹性公网 IP,'AnycastEIP':加速 IP,'HighQualityEIP':精品弹性公网 IP, 'AntiDDoSEIP':高防 IP。默认值是'EIP'。</li>
|
|
@@ -33879,6 +33925,125 @@ class DescribeSecurityGroupAssociationStatisticsResponse(AbstractModel):
|
|
|
33879
33925
|
self._RequestId = params.get("RequestId")
|
|
33880
33926
|
|
|
33881
33927
|
|
|
33928
|
+
class DescribeSecurityGroupExpandedPoliciesRequest(AbstractModel):
|
|
33929
|
+
r"""DescribeSecurityGroupExpandedPolicies请求参数结构体
|
|
33930
|
+
|
|
33931
|
+
"""
|
|
33932
|
+
|
|
33933
|
+
def __init__(self):
|
|
33934
|
+
r"""
|
|
33935
|
+
:param _SecurityGroupId: 安全组实例ID,例如:sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
|
33936
|
+
:type SecurityGroupId: str
|
|
33937
|
+
:param _Filters: 过滤条件。
|
|
33938
|
+
<li>security-group-id - String - 规则中的安全组ID。</li>
|
|
33939
|
+
<li>ip - String - IP,支持IPV4和IPV6模糊匹配。</li>
|
|
33940
|
+
<li>address-module - String - IP地址模板或IP地址组模板ID。</li>
|
|
33941
|
+
<li>service-module - String - 协议端口模板或协议端口组模板ID。</li>
|
|
33942
|
+
<li>protocol-type - String - 安全组策略支持的协议,可选值:`TCP`, `UDP`, `ICMP`, `ICMPV6`, `GRE`, `ALL`。</li>
|
|
33943
|
+
<li>port - String - 是否必填:否 -协议端口,支持模糊匹配,值为`ALL`时,查询所有的端口。</li>
|
|
33944
|
+
<li>poly - String - 协议策略,可选值:`ALL`,所有策略;`ACCEPT`,允许;`DROP`,拒绝。</li>
|
|
33945
|
+
<li>direction - String - 协议规则,可选值:`ALL`,所有策略;`INBOUND`,入站规则;`OUTBOUND`,出站规则。</li>
|
|
33946
|
+
<li>description - String - 协议描述,该过滤条件支持模糊匹配。</li>
|
|
33947
|
+
:type Filters: list of Filter
|
|
33948
|
+
"""
|
|
33949
|
+
self._SecurityGroupId = None
|
|
33950
|
+
self._Filters = None
|
|
33951
|
+
|
|
33952
|
+
@property
|
|
33953
|
+
def SecurityGroupId(self):
|
|
33954
|
+
r"""安全组实例ID,例如:sg-33ocnj9n,可通过<a href="https://cloud.tencent.com/document/product/215/15808">DescribeSecurityGroups</a>获取。
|
|
33955
|
+
:rtype: str
|
|
33956
|
+
"""
|
|
33957
|
+
return self._SecurityGroupId
|
|
33958
|
+
|
|
33959
|
+
@SecurityGroupId.setter
|
|
33960
|
+
def SecurityGroupId(self, SecurityGroupId):
|
|
33961
|
+
self._SecurityGroupId = SecurityGroupId
|
|
33962
|
+
|
|
33963
|
+
@property
|
|
33964
|
+
def Filters(self):
|
|
33965
|
+
r"""过滤条件。
|
|
33966
|
+
<li>security-group-id - String - 规则中的安全组ID。</li>
|
|
33967
|
+
<li>ip - String - IP,支持IPV4和IPV6模糊匹配。</li>
|
|
33968
|
+
<li>address-module - String - IP地址模板或IP地址组模板ID。</li>
|
|
33969
|
+
<li>service-module - String - 协议端口模板或协议端口组模板ID。</li>
|
|
33970
|
+
<li>protocol-type - String - 安全组策略支持的协议,可选值:`TCP`, `UDP`, `ICMP`, `ICMPV6`, `GRE`, `ALL`。</li>
|
|
33971
|
+
<li>port - String - 是否必填:否 -协议端口,支持模糊匹配,值为`ALL`时,查询所有的端口。</li>
|
|
33972
|
+
<li>poly - String - 协议策略,可选值:`ALL`,所有策略;`ACCEPT`,允许;`DROP`,拒绝。</li>
|
|
33973
|
+
<li>direction - String - 协议规则,可选值:`ALL`,所有策略;`INBOUND`,入站规则;`OUTBOUND`,出站规则。</li>
|
|
33974
|
+
<li>description - String - 协议描述,该过滤条件支持模糊匹配。</li>
|
|
33975
|
+
:rtype: list of Filter
|
|
33976
|
+
"""
|
|
33977
|
+
return self._Filters
|
|
33978
|
+
|
|
33979
|
+
@Filters.setter
|
|
33980
|
+
def Filters(self, Filters):
|
|
33981
|
+
self._Filters = Filters
|
|
33982
|
+
|
|
33983
|
+
|
|
33984
|
+
def _deserialize(self, params):
|
|
33985
|
+
self._SecurityGroupId = params.get("SecurityGroupId")
|
|
33986
|
+
if params.get("Filters") is not None:
|
|
33987
|
+
self._Filters = []
|
|
33988
|
+
for item in params.get("Filters"):
|
|
33989
|
+
obj = Filter()
|
|
33990
|
+
obj._deserialize(item)
|
|
33991
|
+
self._Filters.append(obj)
|
|
33992
|
+
memeber_set = set(params.keys())
|
|
33993
|
+
for name, value in vars(self).items():
|
|
33994
|
+
property_name = name[1:]
|
|
33995
|
+
if property_name in memeber_set:
|
|
33996
|
+
memeber_set.remove(property_name)
|
|
33997
|
+
if len(memeber_set) > 0:
|
|
33998
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33999
|
+
|
|
34000
|
+
|
|
34001
|
+
|
|
34002
|
+
class DescribeSecurityGroupExpandedPoliciesResponse(AbstractModel):
|
|
34003
|
+
r"""DescribeSecurityGroupExpandedPolicies返回参数结构体
|
|
34004
|
+
|
|
34005
|
+
"""
|
|
34006
|
+
|
|
34007
|
+
def __init__(self):
|
|
34008
|
+
r"""
|
|
34009
|
+
:param _SecurityGroupPolicySet: 安全组规则集合。
|
|
34010
|
+
:type SecurityGroupPolicySet: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
|
|
34011
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
34012
|
+
:type RequestId: str
|
|
34013
|
+
"""
|
|
34014
|
+
self._SecurityGroupPolicySet = None
|
|
34015
|
+
self._RequestId = None
|
|
34016
|
+
|
|
34017
|
+
@property
|
|
34018
|
+
def SecurityGroupPolicySet(self):
|
|
34019
|
+
r"""安全组规则集合。
|
|
34020
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.SecurityGroupPolicySet`
|
|
34021
|
+
"""
|
|
34022
|
+
return self._SecurityGroupPolicySet
|
|
34023
|
+
|
|
34024
|
+
@SecurityGroupPolicySet.setter
|
|
34025
|
+
def SecurityGroupPolicySet(self, SecurityGroupPolicySet):
|
|
34026
|
+
self._SecurityGroupPolicySet = SecurityGroupPolicySet
|
|
34027
|
+
|
|
34028
|
+
@property
|
|
34029
|
+
def RequestId(self):
|
|
34030
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
34031
|
+
:rtype: str
|
|
34032
|
+
"""
|
|
34033
|
+
return self._RequestId
|
|
34034
|
+
|
|
34035
|
+
@RequestId.setter
|
|
34036
|
+
def RequestId(self, RequestId):
|
|
34037
|
+
self._RequestId = RequestId
|
|
34038
|
+
|
|
34039
|
+
|
|
34040
|
+
def _deserialize(self, params):
|
|
34041
|
+
if params.get("SecurityGroupPolicySet") is not None:
|
|
34042
|
+
self._SecurityGroupPolicySet = SecurityGroupPolicySet()
|
|
34043
|
+
self._SecurityGroupPolicySet._deserialize(params.get("SecurityGroupPolicySet"))
|
|
34044
|
+
self._RequestId = params.get("RequestId")
|
|
34045
|
+
|
|
34046
|
+
|
|
33882
34047
|
class DescribeSecurityGroupLimitsRequest(AbstractModel):
|
|
33883
34048
|
r"""DescribeSecurityGroupLimits请求参数结构体
|
|
33884
34049
|
|
|
@@ -39619,23 +39784,23 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39619
39784
|
r"""
|
|
39620
39785
|
:param _Protocol: 协议
|
|
39621
39786
|
:type Protocol: str
|
|
39622
|
-
:param _OriginalPort:
|
|
39787
|
+
:param _OriginalPort: 映射前端口
|
|
39623
39788
|
:type OriginalPort: int
|
|
39624
|
-
:param _OriginalIp:
|
|
39789
|
+
:param _OriginalIp: 映射前IP
|
|
39625
39790
|
:type OriginalIp: str
|
|
39626
|
-
:param _TranslationPort:
|
|
39791
|
+
:param _TranslationPort: 映射后端口
|
|
39627
39792
|
:type TranslationPort: int
|
|
39628
|
-
:param _TranslationIp:
|
|
39793
|
+
:param _TranslationIp: 映射后IP
|
|
39629
39794
|
:type TranslationIp: str
|
|
39630
39795
|
:param _OldProtocol: 旧协议。
|
|
39631
39796
|
:type OldProtocol: str
|
|
39632
|
-
:param _OldOriginalPort:
|
|
39797
|
+
:param _OldOriginalPort: 旧映射前端口
|
|
39633
39798
|
:type OldOriginalPort: int
|
|
39634
|
-
:param _OldOriginalIp:
|
|
39799
|
+
:param _OldOriginalIp: 旧映射前IP
|
|
39635
39800
|
:type OldOriginalIp: str
|
|
39636
|
-
:param _OldTranslationPort:
|
|
39801
|
+
:param _OldTranslationPort: 旧映射后端口
|
|
39637
39802
|
:type OldTranslationPort: int
|
|
39638
|
-
:param _OldTranslationIp:
|
|
39803
|
+
:param _OldTranslationIp: 旧映射后IP
|
|
39639
39804
|
:type OldTranslationIp: str
|
|
39640
39805
|
:param _Description: 描述
|
|
39641
39806
|
:type Description: str
|
|
@@ -39665,7 +39830,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39665
39830
|
|
|
39666
39831
|
@property
|
|
39667
39832
|
def OriginalPort(self):
|
|
39668
|
-
r"""
|
|
39833
|
+
r"""映射前端口
|
|
39669
39834
|
:rtype: int
|
|
39670
39835
|
"""
|
|
39671
39836
|
return self._OriginalPort
|
|
@@ -39676,7 +39841,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39676
39841
|
|
|
39677
39842
|
@property
|
|
39678
39843
|
def OriginalIp(self):
|
|
39679
|
-
r"""
|
|
39844
|
+
r"""映射前IP
|
|
39680
39845
|
:rtype: str
|
|
39681
39846
|
"""
|
|
39682
39847
|
return self._OriginalIp
|
|
@@ -39687,7 +39852,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39687
39852
|
|
|
39688
39853
|
@property
|
|
39689
39854
|
def TranslationPort(self):
|
|
39690
|
-
r"""
|
|
39855
|
+
r"""映射后端口
|
|
39691
39856
|
:rtype: int
|
|
39692
39857
|
"""
|
|
39693
39858
|
return self._TranslationPort
|
|
@@ -39698,7 +39863,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39698
39863
|
|
|
39699
39864
|
@property
|
|
39700
39865
|
def TranslationIp(self):
|
|
39701
|
-
r"""
|
|
39866
|
+
r"""映射后IP
|
|
39702
39867
|
:rtype: str
|
|
39703
39868
|
"""
|
|
39704
39869
|
return self._TranslationIp
|
|
@@ -39720,7 +39885,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39720
39885
|
|
|
39721
39886
|
@property
|
|
39722
39887
|
def OldOriginalPort(self):
|
|
39723
|
-
r"""
|
|
39888
|
+
r"""旧映射前端口
|
|
39724
39889
|
:rtype: int
|
|
39725
39890
|
"""
|
|
39726
39891
|
return self._OldOriginalPort
|
|
@@ -39731,7 +39896,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39731
39896
|
|
|
39732
39897
|
@property
|
|
39733
39898
|
def OldOriginalIp(self):
|
|
39734
|
-
r"""
|
|
39899
|
+
r"""旧映射前IP
|
|
39735
39900
|
:rtype: str
|
|
39736
39901
|
"""
|
|
39737
39902
|
return self._OldOriginalIp
|
|
@@ -39742,7 +39907,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39742
39907
|
|
|
39743
39908
|
@property
|
|
39744
39909
|
def OldTranslationPort(self):
|
|
39745
|
-
r"""
|
|
39910
|
+
r"""旧映射后端口
|
|
39746
39911
|
:rtype: int
|
|
39747
39912
|
"""
|
|
39748
39913
|
return self._OldTranslationPort
|
|
@@ -39753,7 +39918,7 @@ class DestinationIpPortTranslationNatRuleDiff(AbstractModel):
|
|
|
39753
39918
|
|
|
39754
39919
|
@property
|
|
39755
39920
|
def OldTranslationIp(self):
|
|
39756
|
-
r"""
|
|
39921
|
+
r"""旧映射后IP
|
|
39757
39922
|
:rtype: str
|
|
39758
39923
|
"""
|
|
39759
39924
|
return self._OldTranslationIp
|
|
@@ -43543,13 +43708,13 @@ class FlowLog(AbstractModel):
|
|
|
43543
43708
|
|
|
43544
43709
|
def __init__(self):
|
|
43545
43710
|
r"""
|
|
43546
|
-
:param _VpcId:
|
|
43711
|
+
:param _VpcId: 私有网络唯一ID。可通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)接口获取。
|
|
43547
43712
|
:type VpcId: str
|
|
43548
43713
|
:param _FlowLogId: 流日志唯一ID。
|
|
43549
43714
|
:type FlowLogId: str
|
|
43550
43715
|
:param _FlowLogName: 流日志实例名字。
|
|
43551
43716
|
:type FlowLogName: str
|
|
43552
|
-
:param _ResourceType: 流日志所属资源类型:VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT
|
|
43717
|
+
:param _ResourceType: 流日志所属资源类型:VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转换),DCG(专线网关)。
|
|
43553
43718
|
:type ResourceType: str
|
|
43554
43719
|
:param _ResourceId: 资源唯一ID。
|
|
43555
43720
|
:type ResourceId: str
|
|
@@ -43573,6 +43738,8 @@ class FlowLog(AbstractModel):
|
|
|
43573
43738
|
:type FlowLogStorage: :class:`tencentcloud.vpc.v20170312.models.FlowLogStorage`
|
|
43574
43739
|
:param _CloudLogRegion: 流日志存储ID对应的地域信息。
|
|
43575
43740
|
:type CloudLogRegion: str
|
|
43741
|
+
:param _Period: 流日志采集周期,只支持CCN类型流日志。取值范围(单位s):60, 300, 600。
|
|
43742
|
+
:type Period: int
|
|
43576
43743
|
"""
|
|
43577
43744
|
self._VpcId = None
|
|
43578
43745
|
self._FlowLogId = None
|
|
@@ -43589,10 +43756,11 @@ class FlowLog(AbstractModel):
|
|
|
43589
43756
|
self._StorageType = None
|
|
43590
43757
|
self._FlowLogStorage = None
|
|
43591
43758
|
self._CloudLogRegion = None
|
|
43759
|
+
self._Period = None
|
|
43592
43760
|
|
|
43593
43761
|
@property
|
|
43594
43762
|
def VpcId(self):
|
|
43595
|
-
r"""
|
|
43763
|
+
r"""私有网络唯一ID。可通过[DescribeVpcs](https://cloud.tencent.com/document/product/215/15778)接口获取。
|
|
43596
43764
|
:rtype: str
|
|
43597
43765
|
"""
|
|
43598
43766
|
return self._VpcId
|
|
@@ -43625,7 +43793,7 @@ class FlowLog(AbstractModel):
|
|
|
43625
43793
|
|
|
43626
43794
|
@property
|
|
43627
43795
|
def ResourceType(self):
|
|
43628
|
-
r"""流日志所属资源类型:VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT
|
|
43796
|
+
r"""流日志所属资源类型:VPC(私有网络),SUBNET(子网),NETWORKINTERFACE(网卡),CCN(云联网),NAT(网络地址转换),DCG(专线网关)。
|
|
43629
43797
|
:rtype: str
|
|
43630
43798
|
"""
|
|
43631
43799
|
return self._ResourceType
|
|
@@ -43755,6 +43923,17 @@ class FlowLog(AbstractModel):
|
|
|
43755
43923
|
def CloudLogRegion(self, CloudLogRegion):
|
|
43756
43924
|
self._CloudLogRegion = CloudLogRegion
|
|
43757
43925
|
|
|
43926
|
+
@property
|
|
43927
|
+
def Period(self):
|
|
43928
|
+
r"""流日志采集周期,只支持CCN类型流日志。取值范围(单位s):60, 300, 600。
|
|
43929
|
+
:rtype: int
|
|
43930
|
+
"""
|
|
43931
|
+
return self._Period
|
|
43932
|
+
|
|
43933
|
+
@Period.setter
|
|
43934
|
+
def Period(self, Period):
|
|
43935
|
+
self._Period = Period
|
|
43936
|
+
|
|
43758
43937
|
|
|
43759
43938
|
def _deserialize(self, params):
|
|
43760
43939
|
self._VpcId = params.get("VpcId")
|
|
@@ -43779,6 +43958,7 @@ class FlowLog(AbstractModel):
|
|
|
43779
43958
|
self._FlowLogStorage = FlowLogStorage()
|
|
43780
43959
|
self._FlowLogStorage._deserialize(params.get("FlowLogStorage"))
|
|
43781
43960
|
self._CloudLogRegion = params.get("CloudLogRegion")
|
|
43961
|
+
self._Period = params.get("Period")
|
|
43782
43962
|
memeber_set = set(params.keys())
|
|
43783
43963
|
for name, value in vars(self).items():
|
|
43784
43964
|
property_name = name[1:]
|
|
@@ -48025,15 +48205,15 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
48025
48205
|
|
|
48026
48206
|
def __init__(self):
|
|
48027
48207
|
r"""
|
|
48028
|
-
:param _Protocol:
|
|
48208
|
+
:param _Protocol: 协议,包含TCP和UDP
|
|
48029
48209
|
:type Protocol: str
|
|
48030
|
-
:param _OriginalPort:
|
|
48210
|
+
:param _OriginalPort: 映射前端口
|
|
48031
48211
|
:type OriginalPort: int
|
|
48032
|
-
:param _OriginalIp:
|
|
48212
|
+
:param _OriginalIp: 映射前IP
|
|
48033
48213
|
:type OriginalIp: str
|
|
48034
|
-
:param _TranslationPort:
|
|
48214
|
+
:param _TranslationPort: 映射后端口
|
|
48035
48215
|
:type TranslationPort: int
|
|
48036
|
-
:param _TranslationIp:
|
|
48216
|
+
:param _TranslationIp: 映射后IP
|
|
48037
48217
|
:type TranslationIp: str
|
|
48038
48218
|
:param _Description: 描述
|
|
48039
48219
|
:type Description: str
|
|
@@ -48047,7 +48227,7 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
48047
48227
|
|
|
48048
48228
|
@property
|
|
48049
48229
|
def Protocol(self):
|
|
48050
|
-
r"""
|
|
48230
|
+
r"""协议,包含TCP和UDP
|
|
48051
48231
|
:rtype: str
|
|
48052
48232
|
"""
|
|
48053
48233
|
return self._Protocol
|
|
@@ -48058,7 +48238,7 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
48058
48238
|
|
|
48059
48239
|
@property
|
|
48060
48240
|
def OriginalPort(self):
|
|
48061
|
-
r"""
|
|
48241
|
+
r"""映射前端口
|
|
48062
48242
|
:rtype: int
|
|
48063
48243
|
"""
|
|
48064
48244
|
return self._OriginalPort
|
|
@@ -48069,7 +48249,7 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
48069
48249
|
|
|
48070
48250
|
@property
|
|
48071
48251
|
def OriginalIp(self):
|
|
48072
|
-
r"""
|
|
48252
|
+
r"""映射前IP
|
|
48073
48253
|
:rtype: str
|
|
48074
48254
|
"""
|
|
48075
48255
|
return self._OriginalIp
|
|
@@ -48080,7 +48260,7 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
48080
48260
|
|
|
48081
48261
|
@property
|
|
48082
48262
|
def TranslationPort(self):
|
|
48083
|
-
r"""
|
|
48263
|
+
r"""映射后端口
|
|
48084
48264
|
:rtype: int
|
|
48085
48265
|
"""
|
|
48086
48266
|
return self._TranslationPort
|
|
@@ -48091,7 +48271,7 @@ class LocalDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
48091
48271
|
|
|
48092
48272
|
@property
|
|
48093
48273
|
def TranslationIp(self):
|
|
48094
|
-
r"""
|
|
48274
|
+
r"""映射后IP
|
|
48095
48275
|
:rtype: str
|
|
48096
48276
|
"""
|
|
48097
48277
|
return self._TranslationIp
|
|
@@ -54495,6 +54675,8 @@ class ModifyVpcAttributeRequest(AbstractModel):
|
|
|
54495
54675
|
:type DnsServers: list of str
|
|
54496
54676
|
:param _DomainName: 域名。
|
|
54497
54677
|
:type DomainName: str
|
|
54678
|
+
:param _EnableRouteVpcPublish: vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
|
|
54679
|
+
:type EnableRouteVpcPublish: bool
|
|
54498
54680
|
:param _EnableCdcPublish: 发布cdc 子网到云联网的开关。true: 发布, false: 不发布。
|
|
54499
54681
|
:type EnableCdcPublish: bool
|
|
54500
54682
|
"""
|
|
@@ -54503,6 +54685,7 @@ class ModifyVpcAttributeRequest(AbstractModel):
|
|
|
54503
54685
|
self._EnableMulticast = None
|
|
54504
54686
|
self._DnsServers = None
|
|
54505
54687
|
self._DomainName = None
|
|
54688
|
+
self._EnableRouteVpcPublish = None
|
|
54506
54689
|
self._EnableCdcPublish = None
|
|
54507
54690
|
|
|
54508
54691
|
@property
|
|
@@ -54560,6 +54743,17 @@ class ModifyVpcAttributeRequest(AbstractModel):
|
|
|
54560
54743
|
def DomainName(self, DomainName):
|
|
54561
54744
|
self._DomainName = DomainName
|
|
54562
54745
|
|
|
54746
|
+
@property
|
|
54747
|
+
def EnableRouteVpcPublish(self):
|
|
54748
|
+
r"""vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
|
|
54749
|
+
:rtype: bool
|
|
54750
|
+
"""
|
|
54751
|
+
return self._EnableRouteVpcPublish
|
|
54752
|
+
|
|
54753
|
+
@EnableRouteVpcPublish.setter
|
|
54754
|
+
def EnableRouteVpcPublish(self, EnableRouteVpcPublish):
|
|
54755
|
+
self._EnableRouteVpcPublish = EnableRouteVpcPublish
|
|
54756
|
+
|
|
54563
54757
|
@property
|
|
54564
54758
|
def EnableCdcPublish(self):
|
|
54565
54759
|
r"""发布cdc 子网到云联网的开关。true: 发布, false: 不发布。
|
|
@@ -54578,6 +54772,7 @@ class ModifyVpcAttributeRequest(AbstractModel):
|
|
|
54578
54772
|
self._EnableMulticast = params.get("EnableMulticast")
|
|
54579
54773
|
self._DnsServers = params.get("DnsServers")
|
|
54580
54774
|
self._DomainName = params.get("DomainName")
|
|
54775
|
+
self._EnableRouteVpcPublish = params.get("EnableRouteVpcPublish")
|
|
54581
54776
|
self._EnableCdcPublish = params.get("EnableCdcPublish")
|
|
54582
54777
|
memeber_set = set(params.keys())
|
|
54583
54778
|
for name, value in vars(self).items():
|
|
@@ -59154,13 +59349,13 @@ class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
59154
59349
|
r"""
|
|
59155
59350
|
:param _Protocol: 协议
|
|
59156
59351
|
:type Protocol: str
|
|
59157
|
-
:param _OriginalPort:
|
|
59352
|
+
:param _OriginalPort: 映射前端口
|
|
59158
59353
|
:type OriginalPort: int
|
|
59159
|
-
:param _OriginalIp:
|
|
59354
|
+
:param _OriginalIp: 映射前IP
|
|
59160
59355
|
:type OriginalIp: str
|
|
59161
|
-
:param _TranslationPort:
|
|
59356
|
+
:param _TranslationPort: 映射后端口
|
|
59162
59357
|
:type TranslationPort: int
|
|
59163
|
-
:param _TranslationIp:
|
|
59358
|
+
:param _TranslationIp: 映射后IP
|
|
59164
59359
|
:type TranslationIp: str
|
|
59165
59360
|
:param _Description: 描述
|
|
59166
59361
|
:type Description: str
|
|
@@ -59191,7 +59386,7 @@ class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
59191
59386
|
|
|
59192
59387
|
@property
|
|
59193
59388
|
def OriginalPort(self):
|
|
59194
|
-
r"""
|
|
59389
|
+
r"""映射前端口
|
|
59195
59390
|
:rtype: int
|
|
59196
59391
|
"""
|
|
59197
59392
|
return self._OriginalPort
|
|
@@ -59202,7 +59397,7 @@ class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
59202
59397
|
|
|
59203
59398
|
@property
|
|
59204
59399
|
def OriginalIp(self):
|
|
59205
|
-
r"""
|
|
59400
|
+
r"""映射前IP
|
|
59206
59401
|
:rtype: str
|
|
59207
59402
|
"""
|
|
59208
59403
|
return self._OriginalIp
|
|
@@ -59213,7 +59408,7 @@ class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
59213
59408
|
|
|
59214
59409
|
@property
|
|
59215
59410
|
def TranslationPort(self):
|
|
59216
|
-
r"""
|
|
59411
|
+
r"""映射后端口
|
|
59217
59412
|
:rtype: int
|
|
59218
59413
|
"""
|
|
59219
59414
|
return self._TranslationPort
|
|
@@ -59224,7 +59419,7 @@ class PrivateNatDestinationIpPortTranslationNatRule(AbstractModel):
|
|
|
59224
59419
|
|
|
59225
59420
|
@property
|
|
59226
59421
|
def TranslationIp(self):
|
|
59227
|
-
r"""
|
|
59422
|
+
r"""映射后IP
|
|
59228
59423
|
:rtype: str
|
|
59229
59424
|
"""
|
|
59230
59425
|
return self._TranslationIp
|
|
@@ -59309,7 +59504,7 @@ class PrivateNatGateway(AbstractModel):
|
|
|
59309
59504
|
:type TagSet: list of Tag
|
|
59310
59505
|
:param _DirectConnectGatewayIds: 专线网关唯一`ID`
|
|
59311
59506
|
:type DirectConnectGatewayIds: list of str
|
|
59312
|
-
:param _NatType:
|
|
59507
|
+
:param _NatType: 私网网关类型。可选类型:"DCG","VPC","CCN",分别对应专线网关、私有网络、云联网。
|
|
59313
59508
|
:type NatType: str
|
|
59314
59509
|
:param _CrossDomainInfo: 私网NAT跨域信息
|
|
59315
59510
|
:type CrossDomainInfo: :class:`tencentcloud.vpc.v20170312.models.PrivateNatCrossDomainInfo`
|
|
@@ -59424,7 +59619,7 @@ class PrivateNatGateway(AbstractModel):
|
|
|
59424
59619
|
|
|
59425
59620
|
@property
|
|
59426
59621
|
def NatType(self):
|
|
59427
|
-
r"""
|
|
59622
|
+
r"""私网网关类型。可选类型:"DCG","VPC","CCN",分别对应专线网关、私有网络、云联网。
|
|
59428
59623
|
:rtype: str
|
|
59429
59624
|
"""
|
|
59430
59625
|
return self._NatType
|
|
@@ -66898,7 +67093,7 @@ class SourceIpTranslationNatRule(AbstractModel):
|
|
|
66898
67093
|
r"""
|
|
66899
67094
|
:param _ResourceId: 资源ID,如果ResourceType为USERDEFINED,可以为空字符串
|
|
66900
67095
|
:type ResourceId: str
|
|
66901
|
-
:param _ResourceType: 资源类型,目前包含SUBNET、NETWORKINTERFACE、USERDEFINED
|
|
67096
|
+
:param _ResourceType: 资源类型,目前包含SUBNET、NETWORKINTERFACE、USERDEFINED,分别表示子网、网卡、自定义网段
|
|
66902
67097
|
:type ResourceType: str
|
|
66903
67098
|
:param _PrivateIpAddress: 源IP/网段
|
|
66904
67099
|
:type PrivateIpAddress: str
|
|
@@ -66938,7 +67133,7 @@ class SourceIpTranslationNatRule(AbstractModel):
|
|
|
66938
67133
|
|
|
66939
67134
|
@property
|
|
66940
67135
|
def ResourceType(self):
|
|
66941
|
-
r"""资源类型,目前包含SUBNET、NETWORKINTERFACE、USERDEFINED
|
|
67136
|
+
r"""资源类型,目前包含SUBNET、NETWORKINTERFACE、USERDEFINED,分别表示子网、网卡、自定义网段
|
|
66942
67137
|
:rtype: str
|
|
66943
67138
|
"""
|
|
66944
67139
|
return self._ResourceType
|
|
@@ -69391,13 +69586,13 @@ class TranslationNatRule(AbstractModel):
|
|
|
69391
69586
|
r"""
|
|
69392
69587
|
:param _TranslationDirection: 转换规则目标,可选值"LOCAL","PEER"。
|
|
69393
69588
|
:type TranslationDirection: str
|
|
69394
|
-
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"
|
|
69589
|
+
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层和四层。
|
|
69395
69590
|
:type TranslationType: str
|
|
69396
|
-
:param _TranslationIp:
|
|
69591
|
+
:param _TranslationIp: 映射后IP,当转换规则类型为四层时为`IP`池。
|
|
69397
69592
|
:type TranslationIp: str
|
|
69398
69593
|
:param _Description: 转换规则描述。
|
|
69399
69594
|
:type Description: str
|
|
69400
|
-
:param _OriginalIp:
|
|
69595
|
+
:param _OriginalIp: 映射前IP,当转换规则类型为三层时有效。
|
|
69401
69596
|
:type OriginalIp: str
|
|
69402
69597
|
:param _CreateTime: 创建时间。
|
|
69403
69598
|
:type CreateTime: str
|
|
@@ -69425,7 +69620,7 @@ class TranslationNatRule(AbstractModel):
|
|
|
69425
69620
|
|
|
69426
69621
|
@property
|
|
69427
69622
|
def TranslationType(self):
|
|
69428
|
-
r"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"
|
|
69623
|
+
r"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层和四层。
|
|
69429
69624
|
:rtype: str
|
|
69430
69625
|
"""
|
|
69431
69626
|
return self._TranslationType
|
|
@@ -69436,7 +69631,7 @@ class TranslationNatRule(AbstractModel):
|
|
|
69436
69631
|
|
|
69437
69632
|
@property
|
|
69438
69633
|
def TranslationIp(self):
|
|
69439
|
-
r"""
|
|
69634
|
+
r"""映射后IP,当转换规则类型为四层时为`IP`池。
|
|
69440
69635
|
:rtype: str
|
|
69441
69636
|
"""
|
|
69442
69637
|
return self._TranslationIp
|
|
@@ -69458,7 +69653,7 @@ class TranslationNatRule(AbstractModel):
|
|
|
69458
69653
|
|
|
69459
69654
|
@property
|
|
69460
69655
|
def OriginalIp(self):
|
|
69461
|
-
r"""
|
|
69656
|
+
r"""映射前IP,当转换规则类型为三层时有效。
|
|
69462
69657
|
:rtype: str
|
|
69463
69658
|
"""
|
|
69464
69659
|
return self._OriginalIp
|
|
@@ -69517,24 +69712,24 @@ class TranslationNatRuleDiff(AbstractModel):
|
|
|
69517
69712
|
r"""
|
|
69518
69713
|
:param _TranslationDirection: 转发规则目标,可选值"LOCAL","PEER"。
|
|
69519
69714
|
:type TranslationDirection: str
|
|
69520
|
-
:param _TranslationType:
|
|
69715
|
+
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层、四层。
|
|
69521
69716
|
:type TranslationType: str
|
|
69522
|
-
:param _TranslationIp:
|
|
69717
|
+
:param _TranslationIp: 转发规则映射后`IP`,当转发规则类型为四层时为`IP`池
|
|
69523
69718
|
:type TranslationIp: str
|
|
69719
|
+
:param _OldTranslationIp: 旧转发规则映射后`IP`,当转发规则类型为四层时为`IP`池
|
|
69720
|
+
:type OldTranslationIp: str
|
|
69524
69721
|
:param _Description: 转发规则描述。
|
|
69525
69722
|
:type Description: str
|
|
69526
|
-
:param
|
|
69527
|
-
:type OldTranslationIp: str
|
|
69528
|
-
:param _OriginalIp: 新转发规则源`IP`,当转发规则类型为三层时有效
|
|
69723
|
+
:param _OriginalIp: 新转发规则映射前`IP`,当转发规则类型为三层时有效
|
|
69529
69724
|
:type OriginalIp: str
|
|
69530
|
-
:param _OldOriginalIp:
|
|
69725
|
+
:param _OldOriginalIp: 旧转发规则映射前`IP`,当转发规则类型为三层时有效
|
|
69531
69726
|
:type OldOriginalIp: str
|
|
69532
69727
|
"""
|
|
69533
69728
|
self._TranslationDirection = None
|
|
69534
69729
|
self._TranslationType = None
|
|
69535
69730
|
self._TranslationIp = None
|
|
69536
|
-
self._Description = None
|
|
69537
69731
|
self._OldTranslationIp = None
|
|
69732
|
+
self._Description = None
|
|
69538
69733
|
self._OriginalIp = None
|
|
69539
69734
|
self._OldOriginalIp = None
|
|
69540
69735
|
|
|
@@ -69551,7 +69746,7 @@ class TranslationNatRuleDiff(AbstractModel):
|
|
|
69551
69746
|
|
|
69552
69747
|
@property
|
|
69553
69748
|
def TranslationType(self):
|
|
69554
|
-
r"""
|
|
69749
|
+
r"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层、四层。
|
|
69555
69750
|
:rtype: str
|
|
69556
69751
|
"""
|
|
69557
69752
|
return self._TranslationType
|
|
@@ -69562,7 +69757,7 @@ class TranslationNatRuleDiff(AbstractModel):
|
|
|
69562
69757
|
|
|
69563
69758
|
@property
|
|
69564
69759
|
def TranslationIp(self):
|
|
69565
|
-
r"""
|
|
69760
|
+
r"""转发规则映射后`IP`,当转发规则类型为四层时为`IP`池
|
|
69566
69761
|
:rtype: str
|
|
69567
69762
|
"""
|
|
69568
69763
|
return self._TranslationIp
|
|
@@ -69571,6 +69766,17 @@ class TranslationNatRuleDiff(AbstractModel):
|
|
|
69571
69766
|
def TranslationIp(self, TranslationIp):
|
|
69572
69767
|
self._TranslationIp = TranslationIp
|
|
69573
69768
|
|
|
69769
|
+
@property
|
|
69770
|
+
def OldTranslationIp(self):
|
|
69771
|
+
r"""旧转发规则映射后`IP`,当转发规则类型为四层时为`IP`池
|
|
69772
|
+
:rtype: str
|
|
69773
|
+
"""
|
|
69774
|
+
return self._OldTranslationIp
|
|
69775
|
+
|
|
69776
|
+
@OldTranslationIp.setter
|
|
69777
|
+
def OldTranslationIp(self, OldTranslationIp):
|
|
69778
|
+
self._OldTranslationIp = OldTranslationIp
|
|
69779
|
+
|
|
69574
69780
|
@property
|
|
69575
69781
|
def Description(self):
|
|
69576
69782
|
r"""转发规则描述。
|
|
@@ -69582,20 +69788,9 @@ class TranslationNatRuleDiff(AbstractModel):
|
|
|
69582
69788
|
def Description(self, Description):
|
|
69583
69789
|
self._Description = Description
|
|
69584
69790
|
|
|
69585
|
-
@property
|
|
69586
|
-
def OldTranslationIp(self):
|
|
69587
|
-
r"""旧转发规则映射`IP`,当转发规则类型为四层时为`IP`池
|
|
69588
|
-
:rtype: str
|
|
69589
|
-
"""
|
|
69590
|
-
return self._OldTranslationIp
|
|
69591
|
-
|
|
69592
|
-
@OldTranslationIp.setter
|
|
69593
|
-
def OldTranslationIp(self, OldTranslationIp):
|
|
69594
|
-
self._OldTranslationIp = OldTranslationIp
|
|
69595
|
-
|
|
69596
69791
|
@property
|
|
69597
69792
|
def OriginalIp(self):
|
|
69598
|
-
r"""
|
|
69793
|
+
r"""新转发规则映射前`IP`,当转发规则类型为三层时有效
|
|
69599
69794
|
:rtype: str
|
|
69600
69795
|
"""
|
|
69601
69796
|
return self._OriginalIp
|
|
@@ -69606,7 +69801,7 @@ class TranslationNatRuleDiff(AbstractModel):
|
|
|
69606
69801
|
|
|
69607
69802
|
@property
|
|
69608
69803
|
def OldOriginalIp(self):
|
|
69609
|
-
r"""
|
|
69804
|
+
r"""旧转发规则映射前`IP`,当转发规则类型为三层时有效
|
|
69610
69805
|
:rtype: str
|
|
69611
69806
|
"""
|
|
69612
69807
|
return self._OldOriginalIp
|
|
@@ -69620,8 +69815,8 @@ class TranslationNatRuleDiff(AbstractModel):
|
|
|
69620
69815
|
self._TranslationDirection = params.get("TranslationDirection")
|
|
69621
69816
|
self._TranslationType = params.get("TranslationType")
|
|
69622
69817
|
self._TranslationIp = params.get("TranslationIp")
|
|
69623
|
-
self._Description = params.get("Description")
|
|
69624
69818
|
self._OldTranslationIp = params.get("OldTranslationIp")
|
|
69819
|
+
self._Description = params.get("Description")
|
|
69625
69820
|
self._OriginalIp = params.get("OriginalIp")
|
|
69626
69821
|
self._OldOriginalIp = params.get("OldOriginalIp")
|
|
69627
69822
|
memeber_set = set(params.keys())
|
|
@@ -69643,13 +69838,13 @@ class TranslationNatRuleInput(AbstractModel):
|
|
|
69643
69838
|
r"""
|
|
69644
69839
|
:param _TranslationDirection: 转换规则目标,可选值"LOCAL","PEER"。
|
|
69645
69840
|
:type TranslationDirection: str
|
|
69646
|
-
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"
|
|
69841
|
+
:param _TranslationType: 转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层、四层。
|
|
69647
69842
|
:type TranslationType: str
|
|
69648
|
-
:param _TranslationIp:
|
|
69843
|
+
:param _TranslationIp: 映射后`IP`,当转换规则类型为四层时为`IP`池。
|
|
69649
69844
|
:type TranslationIp: str
|
|
69650
69845
|
:param _Description: 转换规则描述。
|
|
69651
69846
|
:type Description: str
|
|
69652
|
-
:param _OriginalIp:
|
|
69847
|
+
:param _OriginalIp: 映射前`IP`,当转换规则类型为三层时有效。
|
|
69653
69848
|
:type OriginalIp: str
|
|
69654
69849
|
"""
|
|
69655
69850
|
self._TranslationDirection = None
|
|
@@ -69671,7 +69866,7 @@ class TranslationNatRuleInput(AbstractModel):
|
|
|
69671
69866
|
|
|
69672
69867
|
@property
|
|
69673
69868
|
def TranslationType(self):
|
|
69674
|
-
r"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"
|
|
69869
|
+
r"""转换规则类型,可选值"NETWORK_LAYER","TRANSPORT_LAYER"。分别对应三层、四层。
|
|
69675
69870
|
:rtype: str
|
|
69676
69871
|
"""
|
|
69677
69872
|
return self._TranslationType
|
|
@@ -69682,7 +69877,7 @@ class TranslationNatRuleInput(AbstractModel):
|
|
|
69682
69877
|
|
|
69683
69878
|
@property
|
|
69684
69879
|
def TranslationIp(self):
|
|
69685
|
-
r"""
|
|
69880
|
+
r"""映射后`IP`,当转换规则类型为四层时为`IP`池。
|
|
69686
69881
|
:rtype: str
|
|
69687
69882
|
"""
|
|
69688
69883
|
return self._TranslationIp
|
|
@@ -69704,7 +69899,7 @@ class TranslationNatRuleInput(AbstractModel):
|
|
|
69704
69899
|
|
|
69705
69900
|
@property
|
|
69706
69901
|
def OriginalIp(self):
|
|
69707
|
-
r"""
|
|
69902
|
+
r"""映射前`IP`,当转换规则类型为三层时有效。
|
|
69708
69903
|
:rtype: str
|
|
69709
69904
|
"""
|
|
69710
69905
|
return self._OriginalIp
|
|
@@ -70605,6 +70800,8 @@ class Vpc(AbstractModel):
|
|
|
70605
70800
|
:type TagSet: list of Tag
|
|
70606
70801
|
:param _AssistantCidrSet: 辅助CIDR
|
|
70607
70802
|
:type AssistantCidrSet: list of AssistantCidr
|
|
70803
|
+
:param _EnableRouteVpcPublish: vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
|
|
70804
|
+
:type EnableRouteVpcPublish: bool
|
|
70608
70805
|
:param _Ipv6CidrBlockSet: 返回多运营商IPv6 Cidr Block
|
|
70609
70806
|
:type Ipv6CidrBlockSet: list of ISPIPv6CidrBlock
|
|
70610
70807
|
"""
|
|
@@ -70621,6 +70818,7 @@ class Vpc(AbstractModel):
|
|
|
70621
70818
|
self._Ipv6CidrBlock = None
|
|
70622
70819
|
self._TagSet = None
|
|
70623
70820
|
self._AssistantCidrSet = None
|
|
70821
|
+
self._EnableRouteVpcPublish = None
|
|
70624
70822
|
self._Ipv6CidrBlockSet = None
|
|
70625
70823
|
|
|
70626
70824
|
@property
|
|
@@ -70766,6 +70964,17 @@ class Vpc(AbstractModel):
|
|
|
70766
70964
|
def AssistantCidrSet(self, AssistantCidrSet):
|
|
70767
70965
|
self._AssistantCidrSet = AssistantCidrSet
|
|
70768
70966
|
|
|
70967
|
+
@property
|
|
70968
|
+
def EnableRouteVpcPublish(self):
|
|
70969
|
+
r"""vpc关联云联网时路由发布策略, true:开启cidr路由发布,false:开启subnet子网路由发布。创建vpc时默认为子网路由发布,当选择cidr路由发布时,请通过工单加入白名单
|
|
70970
|
+
:rtype: bool
|
|
70971
|
+
"""
|
|
70972
|
+
return self._EnableRouteVpcPublish
|
|
70973
|
+
|
|
70974
|
+
@EnableRouteVpcPublish.setter
|
|
70975
|
+
def EnableRouteVpcPublish(self, EnableRouteVpcPublish):
|
|
70976
|
+
self._EnableRouteVpcPublish = EnableRouteVpcPublish
|
|
70977
|
+
|
|
70769
70978
|
@property
|
|
70770
70979
|
def Ipv6CidrBlockSet(self):
|
|
70771
70980
|
r"""返回多运营商IPv6 Cidr Block
|
|
@@ -70802,6 +71011,7 @@ class Vpc(AbstractModel):
|
|
|
70802
71011
|
obj = AssistantCidr()
|
|
70803
71012
|
obj._deserialize(item)
|
|
70804
71013
|
self._AssistantCidrSet.append(obj)
|
|
71014
|
+
self._EnableRouteVpcPublish = params.get("EnableRouteVpcPublish")
|
|
70805
71015
|
if params.get("Ipv6CidrBlockSet") is not None:
|
|
70806
71016
|
self._Ipv6CidrBlockSet = []
|
|
70807
71017
|
for item in params.get("Ipv6CidrBlockSet"):
|
|
@@ -5436,6 +5436,29 @@ class VpcClient(AbstractClient):
|
|
|
5436
5436
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5437
5437
|
|
|
5438
5438
|
|
|
5439
|
+
def DescribeSecurityGroupExpandedPolicies(self, request):
|
|
5440
|
+
r"""本接口(DescribeSecurityGroupExpandedPolicies)用于查看参数模板展开后的安全组规则。本接口会通过缓存降低请求后端服务的调用次数,因此拉取结果会存在延迟(缓存超时时间为1分钟)。
|
|
5441
|
+
|
|
5442
|
+
:param request: Request instance for DescribeSecurityGroupExpandedPolicies.
|
|
5443
|
+
:type request: :class:`tencentcloud.vpc.v20170312.models.DescribeSecurityGroupExpandedPoliciesRequest`
|
|
5444
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.DescribeSecurityGroupExpandedPoliciesResponse`
|
|
5445
|
+
|
|
5446
|
+
"""
|
|
5447
|
+
try:
|
|
5448
|
+
params = request._serialize()
|
|
5449
|
+
headers = request.headers
|
|
5450
|
+
body = self.call("DescribeSecurityGroupExpandedPolicies", params, headers=headers)
|
|
5451
|
+
response = json.loads(body)
|
|
5452
|
+
model = models.DescribeSecurityGroupExpandedPoliciesResponse()
|
|
5453
|
+
model._deserialize(response["Response"])
|
|
5454
|
+
return model
|
|
5455
|
+
except Exception as e:
|
|
5456
|
+
if isinstance(e, TencentCloudSDKException):
|
|
5457
|
+
raise
|
|
5458
|
+
else:
|
|
5459
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
5460
|
+
|
|
5461
|
+
|
|
5439
5462
|
def DescribeSecurityGroupLimits(self, request):
|
|
5440
5463
|
r"""本接口(DescribeSecurityGroupLimits)用于查询用户安全组配额。
|
|
5441
5464
|
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: tencentcloud-sdk-python-vpc
|
|
3
|
+
Version: 3.0.1482
|
|
4
|
+
Summary: Tencent Cloud Vpc SDK for Python
|
|
5
|
+
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
+
Author: Tencent Cloud
|
|
7
|
+
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
+
License: Apache License 2.0
|
|
9
|
+
Platform: any
|
|
10
|
+
Classifier: Development Status :: 5 - Production/Stable
|
|
11
|
+
Classifier: Intended Audience :: Developers
|
|
12
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
13
|
+
Classifier: Programming Language :: Python
|
|
14
|
+
Classifier: Programming Language :: Python :: 2.7
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.6
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.7
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common<4.0.0,>=3.0.1482
|
|
19
|
+
|
|
20
|
+
============================
|
|
21
|
+
Tencent Cloud SDK for Python
|
|
22
|
+
============================
|
|
23
|
+
|
|
24
|
+
Tencent Cloud Python Vpc SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
25
|
+
The SDK works on Python versions:
|
|
26
|
+
|
|
27
|
+
* 2.7 and greater, including 3.x
|
|
28
|
+
|
|
29
|
+
Quick Start
|
|
30
|
+
-----------
|
|
31
|
+
|
|
32
|
+
First, install the library:
|
|
33
|
+
|
|
34
|
+
.. code-block:: sh
|
|
35
|
+
|
|
36
|
+
$ pip install tencentcloud-sdk-python-common
|
|
37
|
+
$ pip install tencentcloud-sdk-python-vpc
|
|
38
|
+
|
|
39
|
+
or download source code from github and install:
|
|
40
|
+
|
|
41
|
+
.. code-block:: sh
|
|
42
|
+
|
|
43
|
+
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
44
|
+
$ cd tencentcloud-sdk-python
|
|
45
|
+
$ python package.py --components common vpc
|
|
46
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common<4.0.0,>=3.0.1482
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-vpc
|
|
3
|
-
Version: 3.0.1478
|
|
4
|
-
Summary: Tencent Cloud Vpc SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Vpc SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-vpc
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common vpc
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 1.2
|
|
2
|
-
Name: tencentcloud-sdk-python-vpc
|
|
3
|
-
Version: 3.0.1478
|
|
4
|
-
Summary: Tencent Cloud Vpc SDK for Python
|
|
5
|
-
Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python
|
|
6
|
-
Author: Tencent Cloud
|
|
7
|
-
Maintainer-email: tencentcloudapi@tencent.com
|
|
8
|
-
License: Apache License 2.0
|
|
9
|
-
Description: ============================
|
|
10
|
-
Tencent Cloud SDK for Python
|
|
11
|
-
============================
|
|
12
|
-
|
|
13
|
-
Tencent Cloud Python Vpc SDK is the official software development kit, which allows Python developers to write software that makes use of Tencent Cloud services like CVM and CBS.
|
|
14
|
-
The SDK works on Python versions:
|
|
15
|
-
|
|
16
|
-
* 2.7 and greater, including 3.x
|
|
17
|
-
|
|
18
|
-
Quick Start
|
|
19
|
-
-----------
|
|
20
|
-
|
|
21
|
-
First, install the library:
|
|
22
|
-
|
|
23
|
-
.. code-block:: sh
|
|
24
|
-
|
|
25
|
-
$ pip install tencentcloud-sdk-python-common
|
|
26
|
-
$ pip install tencentcloud-sdk-python-vpc
|
|
27
|
-
|
|
28
|
-
or download source code from github and install:
|
|
29
|
-
|
|
30
|
-
.. code-block:: sh
|
|
31
|
-
|
|
32
|
-
$ git clone https://github.com/tencentcloud/tencentcloud-sdk-python.git
|
|
33
|
-
$ cd tencentcloud-sdk-python
|
|
34
|
-
$ python package.py --components common vpc
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
Platform: any
|
|
38
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
39
|
-
Classifier: Intended Audience :: Developers
|
|
40
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
41
|
-
Classifier: Programming Language :: Python
|
|
42
|
-
Classifier: Programming Language :: Python :: 2.7
|
|
43
|
-
Classifier: Programming Language :: Python :: 3
|
|
44
|
-
Classifier: Programming Language :: Python :: 3.6
|
|
45
|
-
Classifier: Programming Language :: Python :: 3.7
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common<4.0.0,>=3.0.1478
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|