tencentcloud-sdk-python-vpc 3.0.1246__py2.py3-none-any.whl → 3.0.1256__py2.py3-none-any.whl
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/__init__.py +1 -1
- tencentcloud/vpc/v20170312/errorcodes.py +6 -0
- tencentcloud/vpc/v20170312/models.py +53 -41
- tencentcloud/vpc/v20170312/vpc_client.py +3 -3
- {tencentcloud_sdk_python_vpc-3.0.1246.dist-info → tencentcloud_sdk_python_vpc-3.0.1256.dist-info}/METADATA +2 -2
- tencentcloud_sdk_python_vpc-3.0.1256.dist-info/RECORD +10 -0
- tencentcloud_sdk_python_vpc-3.0.1246.dist-info/RECORD +0 -10
- {tencentcloud_sdk_python_vpc-3.0.1246.dist-info → tencentcloud_sdk_python_vpc-3.0.1256.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_vpc-3.0.1246.dist-info → tencentcloud_sdk_python_vpc-3.0.1256.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -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
|
|
@@ -4104,14 +4116,10 @@ class CCN(AbstractModel):
|
|
|
4104
4116
|
|
|
4105
4117
|
@property
|
|
4106
4118
|
def Ipv6Flag(self):
|
|
4107
|
-
warnings.warn("parameter `Ipv6Flag` is deprecated", DeprecationWarning)
|
|
4108
|
-
|
|
4109
4119
|
return self._Ipv6Flag
|
|
4110
4120
|
|
|
4111
4121
|
@Ipv6Flag.setter
|
|
4112
4122
|
def Ipv6Flag(self, Ipv6Flag):
|
|
4113
|
-
warnings.warn("parameter `Ipv6Flag` is deprecated", DeprecationWarning)
|
|
4114
|
-
|
|
4115
4123
|
self._Ipv6Flag = Ipv6Flag
|
|
4116
4124
|
|
|
4117
4125
|
@property
|
|
@@ -8959,27 +8967,27 @@ class CreateNatGatewayRequest(AbstractModel):
|
|
|
8959
8967
|
:type NatGatewayName: str
|
|
8960
8968
|
:param _VpcId: VPC实例ID。可通过DescribeVpcs接口返回值中的VpcId获取。
|
|
8961
8969
|
:type VpcId: str
|
|
8962
|
-
:param _InternetMaxBandwidthOut: NAT网关最大外网出带宽(
|
|
8970
|
+
:param _InternetMaxBandwidthOut: NAT网关最大外网出带宽(单位:Mbps),支持的参数值:20, 50, 100, 200, 500, 1000, 2000, 5000,默认: 100Mbps。 当以下NatProductVersion参数值为2即标准型时,此参数无需填写,默认为5000Mbps。
|
|
8963
8971
|
:type InternetMaxBandwidthOut: int
|
|
8964
|
-
:param _MaxConcurrentConnection: NAT
|
|
8972
|
+
:param _MaxConcurrentConnection: NAT网关并发连接数上限,支持参数值:1000000、3000000、10000000,默认值为100000。 当以下NatProductVersion参数值为2即标准型时,此参数无需填写,默认为2000000。
|
|
8965
8973
|
:type MaxConcurrentConnection: int
|
|
8966
|
-
:param _AddressCount:
|
|
8974
|
+
:param _AddressCount: 新建弹性公网IP个数,系统会按您的要求创建对应数量的弹性公网IP,其中AddressCount和PublicAddresses两个参数至少填写一个。
|
|
8967
8975
|
:type AddressCount: int
|
|
8968
|
-
:param _PublicIpAddresses: 绑定NAT
|
|
8976
|
+
:param _PublicIpAddresses: 绑定NAT网关的已有弹性公网IP数组,其中AddressCount和PublicAddresses两个参数至少填写一个。 示例值:["139.199.232.119"]
|
|
8969
8977
|
:type PublicIpAddresses: list of str
|
|
8970
8978
|
:param _Zone: 可用区,形如:`ap-guangzhou-1`。
|
|
8971
8979
|
:type Zone: str
|
|
8972
8980
|
:param _Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
|
|
8973
8981
|
:type Tags: list of Tag
|
|
8974
|
-
:param _SubnetId: NAT
|
|
8982
|
+
:param _SubnetId: NAT网关所属子网,已废弃
|
|
8975
8983
|
:type SubnetId: str
|
|
8976
|
-
:param _StockPublicIpAddressesBandwidthOut: 绑定NAT
|
|
8984
|
+
:param _StockPublicIpAddressesBandwidthOut: 绑定NAT网关的弹性公网IP带宽值(单位:Mbps)。不填写此参数时:则该参数默认为弹性公网IP的带宽值,部分用户默认为该用户类型的弹性公网IP的带宽上限。
|
|
8977
8985
|
:type StockPublicIpAddressesBandwidthOut: int
|
|
8978
8986
|
:param _PublicIpAddressesBandwidthOut: 需要申请公网IP带宽大小(单位Mbps),默认为当前用户类型所能使用的最大值。
|
|
8979
8987
|
:type PublicIpAddressesBandwidthOut: int
|
|
8980
8988
|
:param _PublicIpFromSameZone: 公网IP是否强制与NAT网关来自同可用区,true表示需要与NAT网关同可用区;false表示可与NAT网关不是同一个可用区。此参数只有当参数Zone存在时才能生效。
|
|
8981
8989
|
:type PublicIpFromSameZone: bool
|
|
8982
|
-
:param _NatProductVersion: NAT
|
|
8990
|
+
:param _NatProductVersion: NAT网关类型,1表示传统型NAT网关,2表示标准型NAT网关,默认值是1。
|
|
8983
8991
|
:type NatProductVersion: int
|
|
8984
8992
|
"""
|
|
8985
8993
|
self._NatGatewayName = None
|
|
@@ -9062,10 +9070,14 @@ class CreateNatGatewayRequest(AbstractModel):
|
|
|
9062
9070
|
|
|
9063
9071
|
@property
|
|
9064
9072
|
def SubnetId(self):
|
|
9073
|
+
warnings.warn("parameter `SubnetId` is deprecated", DeprecationWarning)
|
|
9074
|
+
|
|
9065
9075
|
return self._SubnetId
|
|
9066
9076
|
|
|
9067
9077
|
@SubnetId.setter
|
|
9068
9078
|
def SubnetId(self, SubnetId):
|
|
9079
|
+
warnings.warn("parameter `SubnetId` is deprecated", DeprecationWarning)
|
|
9080
|
+
|
|
9069
9081
|
self._SubnetId = SubnetId
|
|
9070
9082
|
|
|
9071
9083
|
@property
|
|
@@ -12924,10 +12936,10 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
12924
12936
|
:type VpnGatewayId: str
|
|
12925
12937
|
:param _SslVpnServerName: SSL-VPN-SERVER 实例名称,长度不超过60个字节。
|
|
12926
12938
|
:type SslVpnServerName: str
|
|
12927
|
-
:param _LocalAddress: 云端地址(CIDR)列表。
|
|
12928
|
-
:type LocalAddress: list of str
|
|
12929
12939
|
:param _RemoteAddress: 客户端地址网段。
|
|
12930
12940
|
:type RemoteAddress: str
|
|
12941
|
+
:param _LocalAddress: 云端地址(CIDR)列表。
|
|
12942
|
+
:type LocalAddress: list of str
|
|
12931
12943
|
:param _SslVpnProtocol: SSL VPN服务端监听协议。当前仅支持 UDP,默认UDP。
|
|
12932
12944
|
:type SslVpnProtocol: str
|
|
12933
12945
|
:param _SslVpnPort: SSL VPN服务端监听协议端口,默认1194。
|
|
@@ -12949,8 +12961,8 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
12949
12961
|
"""
|
|
12950
12962
|
self._VpnGatewayId = None
|
|
12951
12963
|
self._SslVpnServerName = None
|
|
12952
|
-
self._LocalAddress = None
|
|
12953
12964
|
self._RemoteAddress = None
|
|
12965
|
+
self._LocalAddress = None
|
|
12954
12966
|
self._SslVpnProtocol = None
|
|
12955
12967
|
self._SslVpnPort = None
|
|
12956
12968
|
self._IntegrityAlgorithm = None
|
|
@@ -12977,14 +12989,6 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
12977
12989
|
def SslVpnServerName(self, SslVpnServerName):
|
|
12978
12990
|
self._SslVpnServerName = SslVpnServerName
|
|
12979
12991
|
|
|
12980
|
-
@property
|
|
12981
|
-
def LocalAddress(self):
|
|
12982
|
-
return self._LocalAddress
|
|
12983
|
-
|
|
12984
|
-
@LocalAddress.setter
|
|
12985
|
-
def LocalAddress(self, LocalAddress):
|
|
12986
|
-
self._LocalAddress = LocalAddress
|
|
12987
|
-
|
|
12988
12992
|
@property
|
|
12989
12993
|
def RemoteAddress(self):
|
|
12990
12994
|
return self._RemoteAddress
|
|
@@ -12993,6 +12997,14 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
12993
12997
|
def RemoteAddress(self, RemoteAddress):
|
|
12994
12998
|
self._RemoteAddress = RemoteAddress
|
|
12995
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
|
+
|
|
12996
13008
|
@property
|
|
12997
13009
|
def SslVpnProtocol(self):
|
|
12998
13010
|
return self._SslVpnProtocol
|
|
@@ -13069,8 +13081,8 @@ class CreateVpnGatewaySslServerRequest(AbstractModel):
|
|
|
13069
13081
|
def _deserialize(self, params):
|
|
13070
13082
|
self._VpnGatewayId = params.get("VpnGatewayId")
|
|
13071
13083
|
self._SslVpnServerName = params.get("SslVpnServerName")
|
|
13072
|
-
self._LocalAddress = params.get("LocalAddress")
|
|
13073
13084
|
self._RemoteAddress = params.get("RemoteAddress")
|
|
13085
|
+
self._LocalAddress = params.get("LocalAddress")
|
|
13074
13086
|
self._SslVpnProtocol = params.get("SslVpnProtocol")
|
|
13075
13087
|
self._SslVpnPort = params.get("SslVpnPort")
|
|
13076
13088
|
self._IntegrityAlgorithm = params.get("IntegrityAlgorithm")
|
|
@@ -30408,7 +30420,7 @@ class DisableCcnRoutesRequest(AbstractModel):
|
|
|
30408
30420
|
r"""
|
|
30409
30421
|
:param _CcnId: CCN实例ID。形如:ccn-f49l6u0z。
|
|
30410
30422
|
:type CcnId: str
|
|
30411
|
-
:param _RouteIds: CCN路由策略唯一ID。形如:ccnr-f49l6u0z
|
|
30423
|
+
:param _RouteIds: CCN路由策略唯一ID。形如:ccnr-f49l6u0z。可通过DescribeCcnRoutes获取。
|
|
30412
30424
|
:type RouteIds: list of str
|
|
30413
30425
|
"""
|
|
30414
30426
|
self._CcnId = None
|
|
@@ -31564,7 +31576,7 @@ class EnableCcnRoutesRequest(AbstractModel):
|
|
|
31564
31576
|
r"""
|
|
31565
31577
|
:param _CcnId: CCN实例ID。形如:ccn-f49l6u0z。
|
|
31566
31578
|
:type CcnId: str
|
|
31567
|
-
:param _RouteIds: CCN路由策略唯一ID。形如:ccnr-f49l6u0z
|
|
31579
|
+
:param _RouteIds: CCN路由策略唯一ID。形如:ccnr-f49l6u0z。可通过DescribeCcnRoutes接口获取。
|
|
31568
31580
|
:type RouteIds: list of str
|
|
31569
31581
|
"""
|
|
31570
31582
|
self._CcnId = None
|
|
@@ -39791,9 +39803,9 @@ class ModifyRouteTableInfo(AbstractModel):
|
|
|
39791
39803
|
r"""
|
|
39792
39804
|
:param _RouteTableId: 云联网路由表id。
|
|
39793
39805
|
:type RouteTableId: str
|
|
39794
|
-
:param _Name: 云联网路由表名称。
|
|
39806
|
+
:param _Name: 云联网路由表名称。Name和Description 两者必传一个。
|
|
39795
39807
|
:type Name: str
|
|
39796
|
-
:param _Description: 云联网路由表描述。
|
|
39808
|
+
:param _Description: 云联网路由表描述。Name和Description 两者必传一个。
|
|
39797
39809
|
:type Description: str
|
|
39798
39810
|
"""
|
|
39799
39811
|
self._RouteTableId = None
|
|
@@ -41887,7 +41899,7 @@ class NatGateway(AbstractModel):
|
|
|
41887
41899
|
:param _RestrictState: NAT网关是否被封禁。“NORMAL”:未被封禁,“RESTRICTED”:已被封禁。
|
|
41888
41900
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
41889
41901
|
:type RestrictState: str
|
|
41890
|
-
:param _NatProductVersion: NAT
|
|
41902
|
+
:param _NatProductVersion: NAT网关类型,1表示传统型NAT网关,2表示标准型NAT网关
|
|
41891
41903
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
41892
41904
|
:type NatProductVersion: int
|
|
41893
41905
|
:param _SmartScheduleMode: 是否启用根据目的网段选择SNAT使用的EIP功能
|
|
@@ -43560,27 +43572,19 @@ class NetworkInterfaceAttachment(AbstractModel):
|
|
|
43560
43572
|
|
|
43561
43573
|
def __init__(self):
|
|
43562
43574
|
r"""
|
|
43563
|
-
:param _InstanceId: 云主机实例ID。
|
|
43564
|
-
:type InstanceId: str
|
|
43565
43575
|
:param _DeviceIndex: 网卡在云主机实例内的序号。
|
|
43566
43576
|
:type DeviceIndex: int
|
|
43567
43577
|
:param _InstanceAccountId: 云主机所有者账户信息。
|
|
43568
43578
|
:type InstanceAccountId: str
|
|
43569
43579
|
:param _AttachTime: 绑定时间。
|
|
43570
43580
|
:type AttachTime: str
|
|
43581
|
+
:param _InstanceId: 云主机实例ID。
|
|
43582
|
+
:type InstanceId: str
|
|
43571
43583
|
"""
|
|
43572
|
-
self._InstanceId = None
|
|
43573
43584
|
self._DeviceIndex = None
|
|
43574
43585
|
self._InstanceAccountId = None
|
|
43575
43586
|
self._AttachTime = None
|
|
43576
|
-
|
|
43577
|
-
@property
|
|
43578
|
-
def InstanceId(self):
|
|
43579
|
-
return self._InstanceId
|
|
43580
|
-
|
|
43581
|
-
@InstanceId.setter
|
|
43582
|
-
def InstanceId(self, InstanceId):
|
|
43583
|
-
self._InstanceId = InstanceId
|
|
43587
|
+
self._InstanceId = None
|
|
43584
43588
|
|
|
43585
43589
|
@property
|
|
43586
43590
|
def DeviceIndex(self):
|
|
@@ -43606,12 +43610,20 @@ class NetworkInterfaceAttachment(AbstractModel):
|
|
|
43606
43610
|
def AttachTime(self, AttachTime):
|
|
43607
43611
|
self._AttachTime = AttachTime
|
|
43608
43612
|
|
|
43613
|
+
@property
|
|
43614
|
+
def InstanceId(self):
|
|
43615
|
+
return self._InstanceId
|
|
43616
|
+
|
|
43617
|
+
@InstanceId.setter
|
|
43618
|
+
def InstanceId(self, InstanceId):
|
|
43619
|
+
self._InstanceId = InstanceId
|
|
43620
|
+
|
|
43609
43621
|
|
|
43610
43622
|
def _deserialize(self, params):
|
|
43611
|
-
self._InstanceId = params.get("InstanceId")
|
|
43612
43623
|
self._DeviceIndex = params.get("DeviceIndex")
|
|
43613
43624
|
self._InstanceAccountId = params.get("InstanceAccountId")
|
|
43614
43625
|
self._AttachTime = params.get("AttachTime")
|
|
43626
|
+
self._InstanceId = params.get("InstanceId")
|
|
43615
43627
|
memeber_set = set(params.keys())
|
|
43616
43628
|
for name, value in vars(self).items():
|
|
43617
43629
|
property_name = name[1:]
|
|
@@ -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
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: tencentcloud-sdk-python-vpc
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.1256
|
|
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 (==3.0.
|
|
18
|
+
Requires-Dist: tencentcloud-sdk-python-common (==3.0.1256)
|
|
19
19
|
|
|
20
20
|
============================
|
|
21
21
|
Tencent Cloud SDK for Python
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
tencentcloud/__init__.py,sha256=zqIARMhni6F66xI31jzVgmVQZsqK51uzIiV2Oq-c4LU,631
|
|
2
|
+
tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
+
tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
tencentcloud/vpc/v20170312/errorcodes.py,sha256=cNyrLQDmJ9TdXep_6EHLxAmv8GT1ks37Oe4tGAKpVbs,52148
|
|
5
|
+
tencentcloud/vpc/v20170312/models.py,sha256=W4423jGvYRbFrvjyP569rlJeZah_RW4I6W5oFkBel-o,1679979
|
|
6
|
+
tencentcloud/vpc/v20170312/vpc_client.py,sha256=bUdXZwTw_gGSeWVTHYMsvZf0A1Sg60TRXejkvme9Jjg,401769
|
|
7
|
+
tencentcloud_sdk_python_vpc-3.0.1256.dist-info/METADATA,sha256=OPduoZe4yQ6BwRSW7WCwq09lRa6tLrxC8i56E8fxuwM,1492
|
|
8
|
+
tencentcloud_sdk_python_vpc-3.0.1256.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
+
tencentcloud_sdk_python_vpc-3.0.1256.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
+
tencentcloud_sdk_python_vpc-3.0.1256.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=TQtfiz-r3aVa6I8ADIdxZ_ikUib_205KXpeAnltK1wM,631
|
|
2
|
-
tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
tencentcloud/vpc/v20170312/errorcodes.py,sha256=mhrtiuqWMzpT08Knugs-jVW1GL-hE_KUdS3muZguGxw,51780
|
|
5
|
-
tencentcloud/vpc/v20170312/models.py,sha256=LkV8UrzlC-s43mC_TPnX7hxb89Q4QE52VGGqvmeU-x4,1678986
|
|
6
|
-
tencentcloud/vpc/v20170312/vpc_client.py,sha256=hlg5M2OWQbpsjmVDFALqMhK-3HmbJiT8cYpWDUUhgE0,401766
|
|
7
|
-
tencentcloud_sdk_python_vpc-3.0.1246.dist-info/METADATA,sha256=O001OhIEaReP9CqR_SYTprfqsMLSbvwHFIMvrhzcew0,1492
|
|
8
|
-
tencentcloud_sdk_python_vpc-3.0.1246.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
9
|
-
tencentcloud_sdk_python_vpc-3.0.1246.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
10
|
-
tencentcloud_sdk_python_vpc-3.0.1246.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|