tencentcloud-sdk-python-vpc 3.0.1245__tar.gz → 3.0.1257__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.1245 → tencentcloud-sdk-python-vpc-3.0.1257}/PKG-INFO +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1245 → tencentcloud-sdk-python-vpc-3.0.1257}/setup.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1245 → tencentcloud-sdk-python-vpc-3.0.1257}/tencentcloud/__init__.py +1 -1
- {tencentcloud-sdk-python-vpc-3.0.1245 → tencentcloud-sdk-python-vpc-3.0.1257}/tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- {tencentcloud-sdk-python-vpc-3.0.1245 → tencentcloud-sdk-python-vpc-3.0.1257}/tencentcloud/vpc/v20170312/models.py +58 -43
- {tencentcloud-sdk-python-vpc-3.0.1245 → tencentcloud-sdk-python-vpc-3.0.1257}/tencentcloud/vpc/v20170312/vpc_client.py +3 -3
- {tencentcloud-sdk-python-vpc-3.0.1245 → tencentcloud-sdk-python-vpc-3.0.1257}/tencentcloud_sdk_python_vpc.egg-info/PKG-INFO +1 -1
- tencentcloud-sdk-python-vpc-3.0.1257/tencentcloud_sdk_python_vpc.egg-info/requires.txt +1 -0
- tencentcloud-sdk-python-vpc-3.0.1245/tencentcloud_sdk_python_vpc.egg-info/requires.txt +0 -1
- {tencentcloud-sdk-python-vpc-3.0.1245 → tencentcloud-sdk-python-vpc-3.0.1257}/README.rst +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1245 → tencentcloud-sdk-python-vpc-3.0.1257}/setup.cfg +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1245 → tencentcloud-sdk-python-vpc-3.0.1257}/tencentcloud/vpc/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1245 → tencentcloud-sdk-python-vpc-3.0.1257}/tencentcloud/vpc/v20170312/__init__.py +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1245 → tencentcloud-sdk-python-vpc-3.0.1257}/tencentcloud_sdk_python_vpc.egg-info/SOURCES.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1245 → tencentcloud-sdk-python-vpc-3.0.1257}/tencentcloud_sdk_python_vpc.egg-info/dependency_links.txt +0 -0
- {tencentcloud-sdk-python-vpc-3.0.1245 → tencentcloud-sdk-python-vpc-3.0.1257}/tencentcloud_sdk_python_vpc.egg-info/top_level.txt +0 -0
|
@@ -8,7 +8,7 @@ ROOT = os.path.dirname(__file__)
|
|
|
8
8
|
|
|
9
9
|
setup(
|
|
10
10
|
name='tencentcloud-sdk-python-vpc',
|
|
11
|
-
install_requires=["tencentcloud-sdk-python-common==3.0.
|
|
11
|
+
install_requires=["tencentcloud-sdk-python-common==3.0.1257"],
|
|
12
12
|
version=tencentcloud.__version__,
|
|
13
13
|
description='Tencent Cloud Vpc SDK for Python',
|
|
14
14
|
long_description=open('README.rst').read(),
|
|
@@ -746,6 +746,9 @@ UNSUPPORTEDOPERATION_BANDWIDTHPACKAGEIDNOTSUPPORTED = 'UnsupportedOperation.Band
|
|
|
746
746
|
# 已绑定EIP。
|
|
747
747
|
UNSUPPORTEDOPERATION_BINDEIP = 'UnsupportedOperation.BindEIP'
|
|
748
748
|
|
|
749
|
+
# 添加 community 时,传播条件只支持 vpg 类型或 vpg 实例
|
|
750
|
+
UNSUPPORTEDOPERATION_BROADCASTCONDITIONMUSTBEVPGTYPEORVPGINSTANCE = 'UnsupportedOperation.BroadcastConditionMustBeVpgTypeOrVpgInstance'
|
|
751
|
+
|
|
749
752
|
# 指定VPC CIDR范围不支持私有网络和基础网络设备互通。
|
|
750
753
|
UNSUPPORTEDOPERATION_CIDRUNSUPPORTEDCLASSICLINK = 'UnsupportedOperation.CIDRUnSupportedClassicLink'
|
|
751
754
|
|
|
@@ -770,6 +773,9 @@ UNSUPPORTEDOPERATION_CCNNOTATTACHED = 'UnsupportedOperation.CcnNotAttached'
|
|
|
770
773
|
# 当前云联网未开启路由传播策略。
|
|
771
774
|
UNSUPPORTEDOPERATION_CCNNOTENABLEBROADCASTPOLICY = 'UnsupportedOperation.CcnNotEnableBroadcastPolicy'
|
|
772
775
|
|
|
776
|
+
# 添加 community 时,vpg 需要开通传播 community 白名单
|
|
777
|
+
UNSUPPORTEDOPERATION_CCNNOTENABLECOMMUNITY = 'UnsupportedOperation.CcnNotEnableCommunity'
|
|
778
|
+
|
|
773
779
|
# 跨账号场景下不支持自驾云账号实例 关联普通账号云联网。
|
|
774
780
|
UNSUPPORTEDOPERATION_CCNORDINARYACCOUNTREFUSEATTACH = 'UnsupportedOperation.CcnOrdinaryAccountRefuseAttach'
|
|
775
781
|
|
|
@@ -2388,12 +2388,15 @@ class AssociateAddressRequest(AbstractModel):
|
|
|
2388
2388
|
:type PrivateIpAddress: str
|
|
2389
2389
|
:param _EipDirectConnection: 指定绑定时是否设置直通。弹性公网 IP 直通请参见 [EIP 直通](https://cloud.tencent.com/document/product/1199/41709)。取值:True、False,默认值为 False。当绑定 CVM 实例、EKS 弹性集群时,可设定此参数为 True。此参数目前处于内测中,如需使用,请提交 [工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=163&source=0&data_title=%E8%B4%9F%E8%BD%BD%E5%9D%87%E8%A1%A1%20CLB&level3_id=1071&queue=96&scene_code=34639&step=2)。
|
|
2390
2390
|
:type EipDirectConnection: bool
|
|
2391
|
+
:param _InstanceRegion: 要绑定的实例所在的地域
|
|
2392
|
+
:type InstanceRegion: str
|
|
2391
2393
|
"""
|
|
2392
2394
|
self._AddressId = None
|
|
2393
2395
|
self._InstanceId = None
|
|
2394
2396
|
self._NetworkInterfaceId = None
|
|
2395
2397
|
self._PrivateIpAddress = None
|
|
2396
2398
|
self._EipDirectConnection = None
|
|
2399
|
+
self._InstanceRegion = None
|
|
2397
2400
|
|
|
2398
2401
|
@property
|
|
2399
2402
|
def AddressId(self):
|
|
@@ -2435,6 +2438,14 @@ class AssociateAddressRequest(AbstractModel):
|
|
|
2435
2438
|
def EipDirectConnection(self, EipDirectConnection):
|
|
2436
2439
|
self._EipDirectConnection = EipDirectConnection
|
|
2437
2440
|
|
|
2441
|
+
@property
|
|
2442
|
+
def InstanceRegion(self):
|
|
2443
|
+
return self._InstanceRegion
|
|
2444
|
+
|
|
2445
|
+
@InstanceRegion.setter
|
|
2446
|
+
def InstanceRegion(self, InstanceRegion):
|
|
2447
|
+
self._InstanceRegion = InstanceRegion
|
|
2448
|
+
|
|
2438
2449
|
|
|
2439
2450
|
def _deserialize(self, params):
|
|
2440
2451
|
self._AddressId = params.get("AddressId")
|
|
@@ -2442,6 +2453,7 @@ class AssociateAddressRequest(AbstractModel):
|
|
|
2442
2453
|
self._NetworkInterfaceId = params.get("NetworkInterfaceId")
|
|
2443
2454
|
self._PrivateIpAddress = params.get("PrivateIpAddress")
|
|
2444
2455
|
self._EipDirectConnection = params.get("EipDirectConnection")
|
|
2456
|
+
self._InstanceRegion = params.get("InstanceRegion")
|
|
2445
2457
|
memeber_set = set(params.keys())
|
|
2446
2458
|
for name, value in vars(self).items():
|
|
2447
2459
|
property_name = name[1:]
|
|
@@ -3910,7 +3922,7 @@ class CCN(AbstractModel):
|
|
|
3910
3922
|
:type DirectConnectAccelerateChannelFlag: bool
|
|
3911
3923
|
:param _Ipv6Flag: 是否支持ipv6路由表
|
|
3912
3924
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3913
|
-
:type Ipv6Flag:
|
|
3925
|
+
:type Ipv6Flag: bool
|
|
3914
3926
|
:param _MrtbAggregatePolicyFlag: 是否支持路由表聚合策略
|
|
3915
3927
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3916
3928
|
:type MrtbAggregatePolicyFlag: bool
|
|
@@ -8955,27 +8967,27 @@ class CreateNatGatewayRequest(AbstractModel):
|
|
|
8955
8967
|
:type NatGatewayName: str
|
|
8956
8968
|
:param _VpcId: VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
|
|
8957
8969
|
:type VpcId: str
|
|
8958
|
-
:param _InternetMaxBandwidthOut: NAT网关最大外网出带宽(
|
|
8970
|
+
:param _InternetMaxBandwidthOut: NAT网关最大外网出带宽(单位:Mbps),支持的参数值:20, 50, 100, 200, 500, 1000, 2000, 5000,默认: 100Mbps。 当以下NatProductVersion参数值为2即标准型时,此参数无需填写,默认为5000Mbps。
|
|
8959
8971
|
:type InternetMaxBandwidthOut: int
|
|
8960
|
-
:param _MaxConcurrentConnection: NAT
|
|
8972
|
+
:param _MaxConcurrentConnection: NAT网关并发连接数上限,支持参数值:1000000、3000000、10000000,默认值为100000。 当以下NatProductVersion参数值为2即标准型时,此参数无需填写,默认为2000000。
|
|
8961
8973
|
:type MaxConcurrentConnection: int
|
|
8962
|
-
:param _AddressCount:
|
|
8974
|
+
:param _AddressCount: 新建弹性公网IP个数,系统会按您的要求创建对应数量的弹性公网IP,其中AddressCount和PublicAddresses两个参数至少填写一个。
|
|
8963
8975
|
:type AddressCount: int
|
|
8964
|
-
:param _PublicIpAddresses: 绑定NAT
|
|
8976
|
+
:param _PublicIpAddresses: 绑定NAT网关的已有弹性公网IP数组,其中AddressCount和PublicAddresses两个参数至少填写一个。 示例值:["139.199.232.119"]
|
|
8965
8977
|
:type PublicIpAddresses: list of str
|
|
8966
8978
|
:param _Zone: 可用区,形如:`ap-guangzhou-1`。
|
|
8967
8979
|
:type Zone: str
|
|
8968
8980
|
:param _Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
|
|
8969
8981
|
:type Tags: list of Tag
|
|
8970
|
-
:param _SubnetId: NAT
|
|
8982
|
+
:param _SubnetId: NAT网关所属子网,已废弃
|
|
8971
8983
|
:type SubnetId: str
|
|
8972
|
-
:param _StockPublicIpAddressesBandwidthOut: 绑定NAT
|
|
8984
|
+
:param _StockPublicIpAddressesBandwidthOut: 绑定NAT网关的弹性公网IP带宽值(单位:Mbps)。不填写此参数时:则该参数默认为弹性公网IP的带宽值,部分用户默认为该用户类型的弹性公网IP的带宽上限。
|
|
8973
8985
|
:type StockPublicIpAddressesBandwidthOut: int
|
|
8974
8986
|
:param _PublicIpAddressesBandwidthOut: 需要申请公网IP带宽大小(单位Mbps),默认为当前用户类型所能使用的最大值。
|
|
8975
8987
|
:type PublicIpAddressesBandwidthOut: int
|
|
8976
8988
|
:param _PublicIpFromSameZone: 公网IP是否强制与NAT网关来自同可用区,true表示需要与NAT网关同可用区;false表示可与NAT网关不是同一个可用区。此参数只有当参数Zone存在时才能生效。
|
|
8977
8989
|
:type PublicIpFromSameZone: bool
|
|
8978
|
-
:param _NatProductVersion: NAT
|
|
8990
|
+
:param _NatProductVersion: NAT网关类型,1表示传统型NAT网关,2表示标准型NAT网关,默认值是1。
|
|
8979
8991
|
:type NatProductVersion: int
|
|
8980
8992
|
"""
|
|
8981
8993
|
self._NatGatewayName = None
|
|
@@ -9058,10 +9070,14 @@ class CreateNatGatewayRequest(AbstractModel):
|
|
|
9058
9070
|
|
|
9059
9071
|
@property
|
|
9060
9072
|
def SubnetId(self):
|
|
9073
|
+
warnings.warn("parameter `SubnetId` is deprecated", DeprecationWarning)
|
|
9074
|
+
|
|
9061
9075
|
return self._SubnetId
|
|
9062
9076
|
|
|
9063
9077
|
@SubnetId.setter
|
|
9064
9078
|
def SubnetId(self, SubnetId):
|
|
9079
|
+
warnings.warn("parameter `SubnetId` is deprecated", DeprecationWarning)
|
|
9080
|
+
|
|
9065
9081
|
self._SubnetId = SubnetId
|
|
9066
9082
|
|
|
9067
9083
|
@property
|
|
@@ -12920,10 +12936,10 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
12920
12936
|
:type VpnGatewayId: str
|
|
12921
12937
|
:param _SslVpnServerName: SSL-VPN-SERVER 实例名称,长度不超过60个字节。
|
|
12922
12938
|
:type SslVpnServerName: str
|
|
12923
|
-
:param _LocalAddress: 云端地址(CIDR)列表。
|
|
12924
|
-
:type LocalAddress: list of str
|
|
12925
12939
|
:param _RemoteAddress: 客户端地址网段。
|
|
12926
12940
|
:type RemoteAddress: str
|
|
12941
|
+
:param _LocalAddress: 云端地址(CIDR)列表。
|
|
12942
|
+
:type LocalAddress: list of str
|
|
12927
12943
|
:param _SslVpnProtocol: SSL VPN服务端监听协议。当前仅支持 UDP,默认UDP。
|
|
12928
12944
|
:type SslVpnProtocol: str
|
|
12929
12945
|
:param _SslVpnPort: SSL VPN服务端监听协议端口,默认1194。
|
|
@@ -12945,8 +12961,8 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
12945
12961
|
"""
|
|
12946
12962
|
self._VpnGatewayId = None
|
|
12947
12963
|
self._SslVpnServerName = None
|
|
12948
|
-
self._LocalAddress = None
|
|
12949
12964
|
self._RemoteAddress = None
|
|
12965
|
+
self._LocalAddress = None
|
|
12950
12966
|
self._SslVpnProtocol = None
|
|
12951
12967
|
self._SslVpnPort = None
|
|
12952
12968
|
self._IntegrityAlgorithm = None
|
|
@@ -12973,14 +12989,6 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
12973
12989
|
def SslVpnServerName(self, SslVpnServerName):
|
|
12974
12990
|
self._SslVpnServerName = SslVpnServerName
|
|
12975
12991
|
|
|
12976
|
-
@property
|
|
12977
|
-
def LocalAddress(self):
|
|
12978
|
-
return self._LocalAddress
|
|
12979
|
-
|
|
12980
|
-
@LocalAddress.setter
|
|
12981
|
-
def LocalAddress(self, LocalAddress):
|
|
12982
|
-
self._LocalAddress = LocalAddress
|
|
12983
|
-
|
|
12984
12992
|
@property
|
|
12985
12993
|
def RemoteAddress(self):
|
|
12986
12994
|
return self._RemoteAddress
|
|
@@ -12989,6 +12997,14 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
12989
12997
|
def RemoteAddress(self, RemoteAddress):
|
|
12990
12998
|
self._RemoteAddress = RemoteAddress
|
|
12991
12999
|
|
|
13000
|
+
@property
|
|
13001
|
+
def LocalAddress(self):
|
|
13002
|
+
return self._LocalAddress
|
|
13003
|
+
|
|
13004
|
+
@LocalAddress.setter
|
|
13005
|
+
def LocalAddress(self, LocalAddress):
|
|
13006
|
+
self._LocalAddress = LocalAddress
|
|
13007
|
+
|
|
12992
13008
|
@property
|
|
12993
13009
|
def SslVpnProtocol(self):
|
|
12994
13010
|
return self._SslVpnProtocol
|
|
@@ -13065,8 +13081,8 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
13065
13081
|
def _deserialize(self, params):
|
|
13066
13082
|
self._VpnGatewayId = params.get("VpnGatewayId")
|
|
13067
13083
|
self._SslVpnServerName = params.get("SslVpnServerName")
|
|
13068
|
-
self._LocalAddress = params.get("LocalAddress")
|
|
13069
13084
|
self._RemoteAddress = params.get("RemoteAddress")
|
|
13085
|
+
self._LocalAddress = params.get("LocalAddress")
|
|
13070
13086
|
self._SslVpnProtocol = params.get("SslVpnProtocol")
|
|
13071
13087
|
self._SslVpnPort = params.get("SslVpnPort")
|
|
13072
13088
|
self._IntegrityAlgorithm = params.get("IntegrityAlgorithm")
|
|
@@ -17526,7 +17542,7 @@ class DescribeAddressesRequest(AbstractModel):
|
|
|
17526
17542
|
<li> private-ip-address - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的内网 IP 过滤。</li>
|
|
17527
17543
|
<li> network-interface-id - String - 是否必填:否 - (过滤条件)按照 EIP 绑定的弹性网卡 ID 过滤。弹性网卡 ID 形如:eni-11112222。</li>
|
|
17528
17544
|
<li> is-arrears - String - 是否必填:否 - (过滤条件)按照 EIP 是否欠费进行过滤。(TRUE:EIP 处于欠费状态|FALSE:EIP 费用状态正常)</li>
|
|
17529
|
-
<li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'WanIP', 'EIP','AnycastEIP','HighQualityEIP'。默认值是'EIP'。</li>
|
|
17545
|
+
<li> address-type - String - 是否必填:否 - (过滤条件)按照 IP类型 进行过滤。可选值:'WanIP', 'EIP','AnycastEIP','HighQualityEIP', 'AntiDDoSEIP'。默认值是'EIP'。</li>
|
|
17530
17546
|
<li> address-isp - String - 是否必填:否 - (过滤条件)按照 运营商类型 进行过滤。可选值:'BGP','CMCC','CUCC', 'CTCC'</li>
|
|
17531
17547
|
<li> dedicated-cluster-id - String - 是否必填:否 - (过滤条件)按照 CDC 的唯一 ID 过滤。CDC 唯一 ID 形如:cluster-11112222。</li>
|
|
17532
17548
|
<li> tag-key - String - 是否必填:否 - (过滤条件)按照标签键进行过滤。</li>
|
|
@@ -24828,8 +24844,7 @@ class DescribeRoutesRequest(AbstractModel):
|
|
|
24828
24844
|
|
|
24829
24845
|
def __init__(self):
|
|
24830
24846
|
r"""
|
|
24831
|
-
:param _Filters:
|
|
24832
|
-
<li>vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。</li>
|
|
24847
|
+
:param _Filters: <li>vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-f49l6u0z。</li>
|
|
24833
24848
|
<li>gateway-id - String - (过滤条件)网关ID。</li>
|
|
24834
24849
|
<li>description - String - (过滤条件)路由描述。</li>
|
|
24835
24850
|
<li>route-table-id - String - (过滤条件)路由表实例ID。</li>
|
|
@@ -30404,7 +30419,7 @@ class DisableCcnRoutesRequest(AbstractModel):
|
|
|
30404
30419
|
r"""
|
|
30405
30420
|
:param _CcnId: CCN实例ID。形如:ccn-f49l6u0z。
|
|
30406
30421
|
:type CcnId: str
|
|
30407
|
-
:param _RouteIds: CCN路由策略唯一ID。形如:ccnr-f49l6u0z
|
|
30422
|
+
:param _RouteIds: CCN路由策略唯一ID。形如:ccnr-f49l6u0z。可通过DescribeCcnRoutes获取。
|
|
30408
30423
|
:type RouteIds: list of str
|
|
30409
30424
|
"""
|
|
30410
30425
|
self._CcnId = None
|
|
@@ -30815,7 +30830,7 @@ class DisassociateAddressRequest(AbstractModel):
|
|
|
30815
30830
|
r"""
|
|
30816
30831
|
:param _AddressId: 标识 EIP 的唯一 ID。EIP 唯一 ID 形如:`eip-11112222`。
|
|
30817
30832
|
:type AddressId: str
|
|
30818
|
-
:param _ReallocateNormalPublicIp: 表示解绑 EIP 之后是否分配普通公网 IP。取值范围:<br><li
|
|
30833
|
+
:param _ReallocateNormalPublicIp: 表示解绑 EIP 之后是否分配普通公网 IP。取值范围:<br><li />TRUE:表示解绑 EIP 之后分配普通公网 IP。<br><li />FALSE:表示解绑 EIP 之后不分配普通公网 IP。<br>默认取值:FALSE。<br><br>只有满足以下条件时才能指定该参数:<br><li /> 只有在解绑主网卡的主内网 IP 上的 EIP 时才能指定该参数。<br><li />解绑 EIP 后重新分配普通公网 IP 操作一个账号每天最多操作 10 次;详情可通过 [DescribeAddressQuota](https://cloud.tencent.com/document/api/213/1378) 接口获取。
|
|
30819
30834
|
:type ReallocateNormalPublicIp: bool
|
|
30820
30835
|
"""
|
|
30821
30836
|
self._AddressId = None
|
|
@@ -31560,7 +31575,7 @@ class EnableCcnRoutesRequest(AbstractModel):
|
|
|
31560
31575
|
r"""
|
|
31561
31576
|
:param _CcnId: CCN实例ID。形如:ccn-f49l6u0z。
|
|
31562
31577
|
:type CcnId: str
|
|
31563
|
-
:param _RouteIds: CCN路由策略唯一ID。形如:ccnr-f49l6u0z
|
|
31578
|
+
:param _RouteIds: CCN路由策略唯一ID。形如:ccnr-f49l6u0z。可通过DescribeCcnRoutes接口获取。
|
|
31564
31579
|
:type RouteIds: list of str
|
|
31565
31580
|
"""
|
|
31566
31581
|
self._CcnId = None
|
|
@@ -39787,9 +39802,9 @@ class ModifyRouteTableInfo(AbstractModel):
|
|
|
39787
39802
|
r"""
|
|
39788
39803
|
:param _RouteTableId: 云联网路由表id。
|
|
39789
39804
|
:type RouteTableId: str
|
|
39790
|
-
:param _Name: 云联网路由表名称。
|
|
39805
|
+
:param _Name: 云联网路由表名称。Name和Description 两者必传一个。
|
|
39791
39806
|
:type Name: str
|
|
39792
|
-
:param _Description: 云联网路由表描述。
|
|
39807
|
+
:param _Description: 云联网路由表描述。Name和Description 两者必传一个。
|
|
39793
39808
|
:type Description: str
|
|
39794
39809
|
"""
|
|
39795
39810
|
self._RouteTableId = None
|
|
@@ -41883,7 +41898,7 @@ class NatGateway(AbstractModel):
|
|
|
41883
41898
|
:param _RestrictState: NAT网关是否被封禁。“NORMAL”:未被封禁,“RESTRICTED”:已被封禁。
|
|
41884
41899
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
41885
41900
|
:type RestrictState: str
|
|
41886
|
-
:param _NatProductVersion: NAT
|
|
41901
|
+
:param _NatProductVersion: NAT网关类型,1表示传统型NAT网关,2表示标准型NAT网关
|
|
41887
41902
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
41888
41903
|
:type NatProductVersion: int
|
|
41889
41904
|
:param _SmartScheduleMode: 是否启用根据目的网段选择SNAT使用的EIP功能
|
|
@@ -43556,27 +43571,19 @@ class NetworkInterfaceAttachment(AbstractModel):
|
|
|
43556
43571
|
|
|
43557
43572
|
def __init__(self):
|
|
43558
43573
|
r"""
|
|
43559
|
-
:param _InstanceId: 云主机实例ID。
|
|
43560
|
-
:type InstanceId: str
|
|
43561
43574
|
:param _DeviceIndex: 网卡在云主机实例内的序号。
|
|
43562
43575
|
:type DeviceIndex: int
|
|
43563
43576
|
:param _InstanceAccountId: 云主机所有者账户信息。
|
|
43564
43577
|
:type InstanceAccountId: str
|
|
43565
43578
|
:param _AttachTime: 绑定时间。
|
|
43566
43579
|
:type AttachTime: str
|
|
43580
|
+
:param _InstanceId: 云主机实例ID。
|
|
43581
|
+
:type InstanceId: str
|
|
43567
43582
|
"""
|
|
43568
|
-
self._InstanceId = None
|
|
43569
43583
|
self._DeviceIndex = None
|
|
43570
43584
|
self._InstanceAccountId = None
|
|
43571
43585
|
self._AttachTime = None
|
|
43572
|
-
|
|
43573
|
-
@property
|
|
43574
|
-
def InstanceId(self):
|
|
43575
|
-
return self._InstanceId
|
|
43576
|
-
|
|
43577
|
-
@InstanceId.setter
|
|
43578
|
-
def InstanceId(self, InstanceId):
|
|
43579
|
-
self._InstanceId = InstanceId
|
|
43586
|
+
self._InstanceId = None
|
|
43580
43587
|
|
|
43581
43588
|
@property
|
|
43582
43589
|
def DeviceIndex(self):
|
|
@@ -43602,12 +43609,20 @@ class NetworkInterfaceAttachment(AbstractModel):
|
|
|
43602
43609
|
def AttachTime(self, AttachTime):
|
|
43603
43610
|
self._AttachTime = AttachTime
|
|
43604
43611
|
|
|
43612
|
+
@property
|
|
43613
|
+
def InstanceId(self):
|
|
43614
|
+
return self._InstanceId
|
|
43615
|
+
|
|
43616
|
+
@InstanceId.setter
|
|
43617
|
+
def InstanceId(self, InstanceId):
|
|
43618
|
+
self._InstanceId = InstanceId
|
|
43619
|
+
|
|
43605
43620
|
|
|
43606
43621
|
def _deserialize(self, params):
|
|
43607
|
-
self._InstanceId = params.get("InstanceId")
|
|
43608
43622
|
self._DeviceIndex = params.get("DeviceIndex")
|
|
43609
43623
|
self._InstanceAccountId = params.get("InstanceAccountId")
|
|
43610
43624
|
self._AttachTime = params.get("AttachTime")
|
|
43625
|
+
self._InstanceId = params.get("InstanceId")
|
|
43611
43626
|
memeber_set = set(params.keys())
|
|
43612
43627
|
for name, value in vars(self).items():
|
|
43613
43628
|
property_name = name[1:]
|
|
@@ -48589,10 +48604,10 @@ class SecurityGroupPolicy(AbstractModel):
|
|
|
48589
48604
|
:param _ServiceTemplate: 协议端口ID或者协议端口组ID。ServiceTemplate和Protocol+Port互斥。
|
|
48590
48605
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
48591
48606
|
:type ServiceTemplate: :class:`tencentcloud.vpc.v20170312.models.ServiceTemplateSpecification`
|
|
48592
|
-
:param _CidrBlock: 网段或IP(互斥),特殊说明:0.0.0.0/n 都会映射为0.0.0.0/0
|
|
48607
|
+
:param _CidrBlock: 网段或IP(互斥),特殊说明:0.0.0.0/n 都会映射为0.0.0.0/0。作为入参时,可使用字符串`MY_PUBLIC_IP`指代发起请求的公网IP地址。
|
|
48593
48608
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
48594
48609
|
:type CidrBlock: str
|
|
48595
|
-
:param _Ipv6CidrBlock: 网段或IPv6(互斥)
|
|
48610
|
+
:param _Ipv6CidrBlock: 网段或IPv6(互斥)。作为入参时,可使用字符串`MY_PUBLIC_IP`指代发起请求的公网IPv6地址。
|
|
48596
48611
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
48597
48612
|
:type Ipv6CidrBlock: str
|
|
48598
48613
|
:param _SecurityGroupId: 安全组实例ID,例如:sg-ohuuioma。
|
|
@@ -296,7 +296,7 @@ class VpcClient(AbstractClient):
|
|
|
296
296
|
def AssignPrivateIpAddresses(self, request):
|
|
297
297
|
"""本接口(AssignPrivateIpAddresses)用于弹性网卡申请内网 IP。
|
|
298
298
|
* 一个弹性网卡支持绑定的IP地址是有限制的,更多资源限制信息详见<a href="/document/product/576/18527">弹性网卡使用限制</a>。
|
|
299
|
-
* 可以指定内网IP地址申请,内网IP地址类型不能为主IP,主IP已存在,不能修改,内网IP
|
|
299
|
+
* 可以指定内网IP地址申请,内网IP地址类型不能为主IP,主IP已存在,不能修改,内网IP必须要在弹性网卡所在子网内,而且不能被占用。
|
|
300
300
|
* 在弹性网卡上申请一个到多个辅助内网IP,接口会在弹性网卡所在子网网段内返回指定数量的辅助内网IP。
|
|
301
301
|
>?本接口为异步接口,可调用 [DescribeVpcTaskResult](https://cloud.tencent.com/document/api/215/59037) 接口查询任务执行结果,待任务执行成功后再进行其他操作。
|
|
302
302
|
>
|
|
@@ -8181,7 +8181,7 @@ class VpcClient(AbstractClient):
|
|
|
8181
8181
|
|
|
8182
8182
|
**路由条件支持以下四种:**
|
|
8183
8183
|
|
|
8184
|
-
- 实例类型: `instance-type`,可选值:私有网络 `VPC`、专线网关 `DIRECTCONNECT
|
|
8184
|
+
- 实例类型: `instance-type`,可选值:私有网络 `VPC`、专线网关 `DIRECTCONNECT`、VPN网关 `VPNGW`
|
|
8185
8185
|
- 实例ID: `instance-id`,例如:`dcg-8zljkrft`、`vpc-jdevjrup`,暂不支持 `Edge` 实例
|
|
8186
8186
|
- 实例地域: `instance-region`,例如:`ap-guangzhou`<br />产品支持的所有地域列表可通过接口 [DescribeRegions](https://cloud.tencent.com/document/product/1596/77930) 查询,其中参数 `Product` 设置为 `ccn`
|
|
8187
8187
|
- 路由前缀: `cidr-block`,例如:`10.1.0.0/16`
|
|
@@ -8750,7 +8750,7 @@ class VpcClient(AbstractClient):
|
|
|
8750
8750
|
|
|
8751
8751
|
def UnassignPrivateIpAddresses(self, request):
|
|
8752
8752
|
"""本接口(UnassignPrivateIpAddresses)用于弹性网卡退还内网 IP。
|
|
8753
|
-
* 退还弹性网卡上的辅助内网IP
|
|
8753
|
+
* 退还弹性网卡上的辅助内网IP,接口自动解除关联弹性公网 IP。不能退还弹性网卡的主内网IP。
|
|
8754
8754
|
|
|
8755
8755
|
本接口是异步完成,如需查询异步任务执行结果,请使用本接口返回的`RequestId`轮询`DescribeVpcTaskResult`接口。
|
|
8756
8756
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
tencentcloud-sdk-python-common==3.0.1257
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
tencentcloud-sdk-python-common==3.0.1245
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|