tencentcloud-sdk-python-vpc 3.0.838__py2.py3-none-any.whl → 3.0.842__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 CHANGED
@@ -14,4 +14,4 @@
14
14
  # limitations under the License.
15
15
 
16
16
 
17
- __version__ = '3.0.838'
17
+ __version__ = '3.0.842'
@@ -578,6 +578,9 @@ UNKNOWNPARAMETER_WITHGUESS = 'UnknownParameter.WithGuess'
578
578
  # 操作不支持。
579
579
  UNSUPPORTEDOPERATION = 'UnsupportedOperation'
580
580
 
581
+ # 不支持的账户。
582
+ UNSUPPORTEDOPERATION_ACCOUNTNOTSUPPORTED = 'UnsupportedOperation.AccountNotSupported'
583
+
581
584
  # 接口不存在。
582
585
  UNSUPPORTEDOPERATION_ACTIONNOTFOUND = 'UnsupportedOperation.ActionNotFound'
583
586
 
@@ -602,6 +605,9 @@ UNSUPPORTEDOPERATION_APPIDMISMATCH = 'UnsupportedOperation.AppIdMismatch'
602
605
  # APPId不存在。
603
606
  UNSUPPORTEDOPERATION_APPIDNOTFOUND = 'UnsupportedOperation.AppIdNotFound'
604
607
 
608
+ # CCN关联的其他vpc已经存在nat的路由
609
+ UNSUPPORTEDOPERATION_ASSOCIATEDVPCOFCCNHADNATROUTE = 'UnsupportedOperation.AssociatedVpcOfCcnHadNatRoute'
610
+
605
611
  # 绑定关系已存在。
606
612
  UNSUPPORTEDOPERATION_ATTACHMENTALREADYEXISTS = 'UnsupportedOperation.AttachmentAlreadyExists'
607
613
 
@@ -571,16 +571,24 @@ class AddressTemplateItem(AbstractModel):
571
571
 
572
572
  def __init__(self):
573
573
  r"""
574
- :param From: 起始地址。
574
+ :param AddressTemplateId: ipm-xxxxxxxx
575
+ :type AddressTemplateId: str
576
+ :param AddressTemplateName: IP模板名称
577
+ :type AddressTemplateName: str
578
+ :param From: 废弃字段
575
579
  :type From: str
576
- :param To: 结束地址。
580
+ :param To: 废弃字段
577
581
  :type To: str
578
582
  """
583
+ self.AddressTemplateId = None
584
+ self.AddressTemplateName = None
579
585
  self.From = None
580
586
  self.To = None
581
587
 
582
588
 
583
589
  def _deserialize(self, params):
590
+ self.AddressTemplateId = params.get("AddressTemplateId")
591
+ self.AddressTemplateName = params.get("AddressTemplateName")
584
592
  self.From = params.get("From")
585
593
  self.To = params.get("To")
586
594
  memeber_set = set(params.keys())
@@ -3231,7 +3239,7 @@ class CreateDefaultVpcResponse(AbstractModel):
3231
3239
 
3232
3240
  def __init__(self):
3233
3241
  r"""
3234
- :param Vpc: 默认VPC和子网ID
3242
+ :param Vpc: 默认VPC和子网ID。
3235
3243
  :type Vpc: :class:`tencentcloud.vpc.v20170312.models.DefaultVpcSubnet`
3236
3244
  :param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3237
3245
  :type RequestId: str
@@ -3909,7 +3917,7 @@ class CreateNetDetectRequest(AbstractModel):
3909
3917
 
3910
3918
  def __init__(self):
3911
3919
  r"""
3912
- :param VpcId: `VPC`实例`ID`。形如:`vpc-12345678`
3920
+ :param VpcId: `VPC`实例`ID`。形如:`vpc-12345678`。
3913
3921
  :type VpcId: str
3914
3922
  :param SubnetId: 子网实例ID。形如:subnet-12345678。
3915
3923
  :type SubnetId: str
@@ -3924,6 +3932,7 @@ PEERCONNECTION:对等连接;
3924
3932
  NAT:NAT网关;
3925
3933
  NORMAL_CVM:普通云服务器;
3926
3934
  CCN:云联网网关;
3935
+ NONEXTHOP:无下一跳;
3927
3936
  :type NextHopType: str
3928
3937
  :param NextHopDestination: 下一跳目的网关,取值与“下一跳类型”相关:
3929
3938
  下一跳类型为VPN,取值VPN网关ID,形如:vpngw-12345678;
@@ -3931,7 +3940,8 @@ CCN:云联网网关;
3931
3940
  下一跳类型为PEERCONNECTION,取值对等连接ID,形如:pcx-12345678;
3932
3941
  下一跳类型为NAT,取值Nat网关,形如:nat-12345678;
3933
3942
  下一跳类型为NORMAL_CVM,取值云服务器IPv4地址,形如:10.0.0.12;
3934
- 下一跳类型为CCN,取值云联网ID,形如:ccn-12345678;
3943
+ 下一跳类型为CCN,取值云云联网ID,形如:ccn-12345678;
3944
+ 下一跳类型为NONEXTHOP,指定网络探测为无下一跳的网络探测;
3935
3945
  :type NextHopDestination: str
3936
3946
  :param NetDetectDescription: 网络探测描述。
3937
3947
  :type NetDetectDescription: str
@@ -4368,7 +4378,7 @@ class CreateSecurityGroupRequest(AbstractModel):
4368
4378
  :type GroupDescription: str
4369
4379
  :param ProjectId: 项目ID,默认0。可在qcloud控制台项目管理页面查询到。
4370
4380
  :type ProjectId: str
4371
- :param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]
4381
+ :param Tags: 指定绑定的标签列表,例如:[{"Key": "city", "Value": "shanghai"}]。
4372
4382
  :type Tags: list of Tag
4373
4383
  """
4374
4384
  self.GroupName = None
@@ -5816,18 +5826,30 @@ class DefaultVpcSubnet(AbstractModel):
5816
5826
 
5817
5827
  def __init__(self):
5818
5828
  r"""
5819
- :param VpcId: 默认VpcId
5829
+ :param VpcId: 默认VpcId。
5820
5830
  :type VpcId: str
5821
- :param SubnetId: 默认SubnetId
5831
+ :param SubnetId: 默认SubnetId。
5822
5832
  :type SubnetId: str
5833
+ :param VpcName: 默认Vpc名字。
5834
+ :type VpcName: str
5835
+ :param SubnetName: 默认Subnet名字。
5836
+ :type SubnetName: str
5837
+ :param CidrBlock: 默认子网网段。
5838
+ :type CidrBlock: str
5823
5839
  """
5824
5840
  self.VpcId = None
5825
5841
  self.SubnetId = None
5842
+ self.VpcName = None
5843
+ self.SubnetName = None
5844
+ self.CidrBlock = None
5826
5845
 
5827
5846
 
5828
5847
  def _deserialize(self, params):
5829
5848
  self.VpcId = params.get("VpcId")
5830
5849
  self.SubnetId = params.get("SubnetId")
5850
+ self.VpcName = params.get("VpcName")
5851
+ self.SubnetName = params.get("SubnetName")
5852
+ self.CidrBlock = params.get("CidrBlock")
5831
5853
  memeber_set = set(params.keys())
5832
5854
  for name, value in vars(self).items():
5833
5855
  if name in memeber_set:
@@ -6533,7 +6555,7 @@ class DeleteNetDetectRequest(AbstractModel):
6533
6555
 
6534
6556
  def __init__(self):
6535
6557
  r"""
6536
- :param NetDetectId: 网络探测实例`ID`。形如:`netd-12345678`
6558
+ :param NetDetectId: 网络探测实例`ID`。形如:`netd-12345678`。
6537
6559
  :type NetDetectId: str
6538
6560
  """
6539
6561
  self.NetDetectId = None
@@ -10076,10 +10098,10 @@ class DescribeNetDetectStatesRequest(AbstractModel):
10076
10098
 
10077
10099
  def __init__(self):
10078
10100
  r"""
10079
- :param NetDetectIds: 网络探测实例`ID`数组。形如:[`netd-12345678`]
10101
+ :param NetDetectIds: 网络探测实例`ID`数组。形如:[`netd-12345678`]。
10080
10102
  :type NetDetectIds: list of str
10081
10103
  :param Filters: 过滤条件,参数不支持同时指定NetDetectIds和Filters。
10082
- <li>net-detect-id - String - (过滤条件)网络探测实例ID,形如:netd-12345678</li>
10104
+ <li>net-detect-id - String - (过滤条件)网络探测实例ID,形如:netd-12345678。</li>
10083
10105
  :type Filters: list of Filter
10084
10106
  :param Offset: 偏移量,默认为0。
10085
10107
  :type Offset: int
@@ -10150,7 +10172,7 @@ class DescribeNetDetectsRequest(AbstractModel):
10150
10172
 
10151
10173
  def __init__(self):
10152
10174
  r"""
10153
- :param NetDetectIds: 网络探测实例`ID`数组。形如:[`netd-12345678`]
10175
+ :param NetDetectIds: 网络探测实例`ID`数组。形如:[`netd-12345678`]。
10154
10176
  :type NetDetectIds: list of str
10155
10177
  :param Filters: 过滤条件,参数不支持同时指定NetDetectIds和Filters。
10156
10178
  <li>vpc-id - String - (过滤条件)VPC实例ID,形如:vpc-12345678</li>
@@ -17264,6 +17286,7 @@ PEERCONNECTION:对等连接;
17264
17286
  NAT:NAT网关;
17265
17287
  NORMAL_CVM:普通云服务器;
17266
17288
  CCN:云联网网关;
17289
+ NONEXTHOP:无下一跳;
17267
17290
  :type NextHopType: str
17268
17291
  :param NextHopDestination: 下一跳目的网关,取值与“下一跳类型”相关:
17269
17292
  下一跳类型为VPN,取值VPN网关ID,形如:vpngw-12345678;
@@ -17271,7 +17294,8 @@ CCN:云联网网关;
17271
17294
  下一跳类型为PEERCONNECTION,取值对等连接ID,形如:pcx-12345678;
17272
17295
  下一跳类型为NAT,取值Nat网关,形如:nat-12345678;
17273
17296
  下一跳类型为NORMAL_CVM,取值云服务器IPv4地址,形如:10.0.0.12;
17274
- 下一跳类型为CCN,取值云联网ID,形如:ccn-44csczop;
17297
+ 下一跳类型为CCN,取值云云联网ID,形如:ccn-12345678;
17298
+ 下一跳类型为NONEXTHOP,指定网络探测为无下一跳的网络探测;
17275
17299
  :type NextHopDestination: str
17276
17300
  :param NetDetectDescription: 网络探测描述。
17277
17301
  :type NetDetectDescription: str
@@ -18780,6 +18804,7 @@ PEERCONNECTION:对等连接;
18780
18804
  NAT:NAT网关;
18781
18805
  NORMAL_CVM:普通云服务器;
18782
18806
  CCN:云联网网关;
18807
+ NONEXTHOP:无下一跳;
18783
18808
  :type NextHopType: str
18784
18809
  :param NextHopDestination: 下一跳目的网关,取值与“下一跳类型”相关:
18785
18810
  下一跳类型为VPN,取值VPN网关ID,形如:vpngw-12345678;
@@ -18787,7 +18812,8 @@ CCN:云联网网关;
18787
18812
  下一跳类型为PEERCONNECTION,取值对等连接ID,形如:pcx-12345678;
18788
18813
  下一跳类型为NAT,取值Nat网关,形如:nat-12345678;
18789
18814
  下一跳类型为NORMAL_CVM,取值云服务器IPv4地址,形如:10.0.0.12;
18790
- 下一跳类型为CCN,取值云联网网关,形如:ccn-12345678;
18815
+ 下一跳类型为CCN,取值云云联网ID,形如:ccn-12345678;
18816
+ 下一跳类型为NONEXTHOP,指定网络探测为无下一跳的网络探测;
18791
18817
  :type NextHopDestination: str
18792
18818
  :param NextHopName: 下一跳网关名称。
18793
18819
  注意:此字段可能返回 null,表示取不到有效值。
@@ -874,7 +874,7 @@ class VpcClient(AbstractClient):
874
874
  * 支持基础网络、VPC,返回VpcId为0
875
875
  * 只支持VPC,返回默认VPC信息
876
876
 
877
- 您也可以通过 Force 参数,强制返回默认VPC
877
+ 您也可以通过 Force 参数,强制返回默认VPC。
878
878
 
879
879
  :param request: Request instance for CreateDefaultVpc.
880
880
  :type request: :class:`tencentcloud.vpc.v20170312.models.CreateDefaultVpcRequest`
@@ -1129,7 +1129,7 @@ class VpcClient(AbstractClient):
1129
1129
 
1130
1130
 
1131
1131
  def CreateNetDetect(self, request):
1132
- """本接口(CreateNetDetect)用于创建网络探测。
1132
+ """本接口(CreateNetDetect)用于创建网络探测。
1133
1133
 
1134
1134
  :param request: Request instance for CreateNetDetect.
1135
1135
  :type request: :class:`tencentcloud.vpc.v20170312.models.CreateNetDetectRequest`
@@ -2117,7 +2117,7 @@ class VpcClient(AbstractClient):
2117
2117
 
2118
2118
 
2119
2119
  def DeleteNetDetect(self, request):
2120
- """本接口(DeleteNetDetect)用于删除网络探测实例。
2120
+ """本接口(DeleteNetDetect)用于删除网络探测实例。
2121
2121
 
2122
2122
  :param request: Request instance for DeleteNetDetect.
2123
2123
  :type request: :class:`tencentcloud.vpc.v20170312.models.DeleteNetDetectRequest`
@@ -2213,7 +2213,7 @@ class VpcClient(AbstractClient):
2213
2213
 
2214
2214
 
2215
2215
  def DeleteRouteTable(self, request):
2216
- """删除路由表
2216
+ """本接口(DeleteRouteTable)用于删除路由表。
2217
2217
 
2218
2218
  :param request: Request instance for DeleteRouteTable.
2219
2219
  :type request: :class:`tencentcloud.vpc.v20170312.models.DeleteRouteTableRequest`
@@ -3355,6 +3355,7 @@ class VpcClient(AbstractClient):
3355
3355
 
3356
3356
  def DescribeIpGeolocationDatabaseUrl(self, request):
3357
3357
  """本接口(DescribeIpGeolocationDatabaseUrl)用于获取IP地理位置库下载链接。
3358
+ <font color="#FF0000">本接口即将下线,仅供存量用户使用,暂停新增用户。</font>
3358
3359
 
3359
3360
  :param request: Request instance for DescribeIpGeolocationDatabaseUrl.
3360
3361
  :type request: :class:`tencentcloud.vpc.v20170312.models.DescribeIpGeolocationDatabaseUrlRequest`
@@ -3378,7 +3379,7 @@ class VpcClient(AbstractClient):
3378
3379
 
3379
3380
  def DescribeIpGeolocationInfos(self, request):
3380
3381
  """本接口(DescribeIpGeolocationInfos)用于查询IP地址信息,包括地理位置信息和网络信息。
3381
- 本接口仅供存量客户使用,如有疑问,请提交[工单申请](https://console.cloud.tencent.com/workorder/category?level1_id=6&level2_id=660&source=0&data_title=%E5%BC%B9%E6%80%A7%E5%85%AC%E7%BD%91%20EIP&level3_id=662&queue=96&scene_code=16400&step=2)。
3382
+ <font color="#FF0000">本接口即将下线,仅供存量客户使用,暂停新增用户。</font>
3382
3383
 
3383
3384
  :param request: Request instance for DescribeIpGeolocationInfos.
3384
3385
  :type request: :class:`tencentcloud.vpc.v20170312.models.DescribeIpGeolocationInfosRequest`
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-vpc
3
- Version: 3.0.838
3
+ Version: 3.0.842
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
@@ -0,0 +1,10 @@
1
+ tencentcloud/__init__.py,sha256=-zGLGVQ7AFxocQwWF2H89Se25Nc0dVaQaFF3TSktTHs,630
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=GWzgJRjs0VqsHVI26q5OURqJJX98kGWtli01TkOlNzI,39989
5
+ tencentcloud/vpc/v20170312/models.py,sha256=uHWU2sdL1CZf2eN2XqOqGKKZs6p-SwVO9AJHug0eaZk,824476
6
+ tencentcloud/vpc/v20170312/vpc_client.py,sha256=ySM4AjVbz1ELuxNjAnwdevKSvs0oVrY6zwGp2x246QI,326449
7
+ tencentcloud_sdk_python_vpc-3.0.842.dist-info/METADATA,sha256=usUpGdXS6NB-_2nXP6estNeueGp9JBTfT7yn2mN6YZM,1432
8
+ tencentcloud_sdk_python_vpc-3.0.842.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
+ tencentcloud_sdk_python_vpc-3.0.842.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
+ tencentcloud_sdk_python_vpc-3.0.842.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- tencentcloud/__init__.py,sha256=wA9Zm78HHA93vVmRN_hgXhOQ2wJsAM6y4eJSSUyEpgQ,630
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=BymOvkmoMa8-i2SN3XXFKTMtKQ6NyXpWQj005DLfbHQ,39723
5
- tencentcloud/vpc/v20170312/models.py,sha256=UxLmUWARJkvBS4oS7AHTwuAym7AMIB7EMNy4WL7OlrM,823274
6
- tencentcloud/vpc/v20170312/vpc_client.py,sha256=WkCqLjKhxD-WGTNll4DUzHaghWM6oSI8ZZgOkCtks4A,326454
7
- tencentcloud_sdk_python_vpc-3.0.838.dist-info/METADATA,sha256=8hB8Fj0ErozFsIPFcepVLd-FYHIgYcb2qK_iHBggv-A,1432
8
- tencentcloud_sdk_python_vpc-3.0.838.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
9
- tencentcloud_sdk_python_vpc-3.0.838.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
10
- tencentcloud_sdk_python_vpc-3.0.838.dist-info/RECORD,,