tencentcloud-sdk-python-intl-en 3.0.1183__py2.py3-none-any.whl → 3.0.1184__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.
Potentially problematic release.
This version of tencentcloud-sdk-python-intl-en might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/vpc/v20170312/models.py +135 -0
- tencentcloud/vpc/v20170312/vpc_client.py +26 -0
- {tencentcloud_sdk_python_intl_en-3.0.1183.dist-info → tencentcloud_sdk_python_intl_en-3.0.1184.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1183.dist-info → tencentcloud_sdk_python_intl_en-3.0.1184.dist-info}/RECORD +7 -7
- {tencentcloud_sdk_python_intl_en-3.0.1183.dist-info → tencentcloud_sdk_python_intl_en-3.0.1184.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1183.dist-info → tencentcloud_sdk_python_intl_en-3.0.1184.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -18806,6 +18806,90 @@ class DescribeIPv6AddressesResponse(AbstractModel):
|
|
|
18806
18806
|
self._RequestId = params.get("RequestId")
|
|
18807
18807
|
|
|
18808
18808
|
|
|
18809
|
+
class DescribeInstanceJumboRequest(AbstractModel):
|
|
18810
|
+
"""DescribeInstanceJumbo request structure.
|
|
18811
|
+
|
|
18812
|
+
"""
|
|
18813
|
+
|
|
18814
|
+
def __init__(self):
|
|
18815
|
+
r"""
|
|
18816
|
+
:param _InstanceIds: Instance ID list of CVM. limits up to 10 instances for each query.
|
|
18817
|
+
:type InstanceIds: list of str
|
|
18818
|
+
"""
|
|
18819
|
+
self._InstanceIds = None
|
|
18820
|
+
|
|
18821
|
+
@property
|
|
18822
|
+
def InstanceIds(self):
|
|
18823
|
+
"""Instance ID list of CVM. limits up to 10 instances for each query.
|
|
18824
|
+
:rtype: list of str
|
|
18825
|
+
"""
|
|
18826
|
+
return self._InstanceIds
|
|
18827
|
+
|
|
18828
|
+
@InstanceIds.setter
|
|
18829
|
+
def InstanceIds(self, InstanceIds):
|
|
18830
|
+
self._InstanceIds = InstanceIds
|
|
18831
|
+
|
|
18832
|
+
|
|
18833
|
+
def _deserialize(self, params):
|
|
18834
|
+
self._InstanceIds = params.get("InstanceIds")
|
|
18835
|
+
memeber_set = set(params.keys())
|
|
18836
|
+
for name, value in vars(self).items():
|
|
18837
|
+
property_name = name[1:]
|
|
18838
|
+
if property_name in memeber_set:
|
|
18839
|
+
memeber_set.remove(property_name)
|
|
18840
|
+
if len(memeber_set) > 0:
|
|
18841
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18842
|
+
|
|
18843
|
+
|
|
18844
|
+
|
|
18845
|
+
class DescribeInstanceJumboResponse(AbstractModel):
|
|
18846
|
+
"""DescribeInstanceJumbo response structure.
|
|
18847
|
+
|
|
18848
|
+
"""
|
|
18849
|
+
|
|
18850
|
+
def __init__(self):
|
|
18851
|
+
r"""
|
|
18852
|
+
:param _InstanceJumboSet: Specifies the jumbo frame status of the cloud virtual machine.
|
|
18853
|
+
:type InstanceJumboSet: list of InstanceJumbo
|
|
18854
|
+
:param _RequestId: The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
18855
|
+
:type RequestId: str
|
|
18856
|
+
"""
|
|
18857
|
+
self._InstanceJumboSet = None
|
|
18858
|
+
self._RequestId = None
|
|
18859
|
+
|
|
18860
|
+
@property
|
|
18861
|
+
def InstanceJumboSet(self):
|
|
18862
|
+
"""Specifies the jumbo frame status of the cloud virtual machine.
|
|
18863
|
+
:rtype: list of InstanceJumbo
|
|
18864
|
+
"""
|
|
18865
|
+
return self._InstanceJumboSet
|
|
18866
|
+
|
|
18867
|
+
@InstanceJumboSet.setter
|
|
18868
|
+
def InstanceJumboSet(self, InstanceJumboSet):
|
|
18869
|
+
self._InstanceJumboSet = InstanceJumboSet
|
|
18870
|
+
|
|
18871
|
+
@property
|
|
18872
|
+
def RequestId(self):
|
|
18873
|
+
"""The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
18874
|
+
:rtype: str
|
|
18875
|
+
"""
|
|
18876
|
+
return self._RequestId
|
|
18877
|
+
|
|
18878
|
+
@RequestId.setter
|
|
18879
|
+
def RequestId(self, RequestId):
|
|
18880
|
+
self._RequestId = RequestId
|
|
18881
|
+
|
|
18882
|
+
|
|
18883
|
+
def _deserialize(self, params):
|
|
18884
|
+
if params.get("InstanceJumboSet") is not None:
|
|
18885
|
+
self._InstanceJumboSet = []
|
|
18886
|
+
for item in params.get("InstanceJumboSet"):
|
|
18887
|
+
obj = InstanceJumbo()
|
|
18888
|
+
obj._deserialize(item)
|
|
18889
|
+
self._InstanceJumboSet.append(obj)
|
|
18890
|
+
self._RequestId = params.get("RequestId")
|
|
18891
|
+
|
|
18892
|
+
|
|
18809
18893
|
class DescribeIp6AddressesRequest(AbstractModel):
|
|
18810
18894
|
"""DescribeIp6Addresses request structure.
|
|
18811
18895
|
|
|
@@ -30328,6 +30412,57 @@ class InstanceChargePrepaid(AbstractModel):
|
|
|
30328
30412
|
|
|
30329
30413
|
|
|
30330
30414
|
|
|
30415
|
+
class InstanceJumbo(AbstractModel):
|
|
30416
|
+
"""Cloud virtual machine jumbo frame status.
|
|
30417
|
+
|
|
30418
|
+
"""
|
|
30419
|
+
|
|
30420
|
+
def __init__(self):
|
|
30421
|
+
r"""
|
|
30422
|
+
:param _InstanceId: Instance ID.
|
|
30423
|
+
:type InstanceId: str
|
|
30424
|
+
:param _JumboState: Whether the instance supports jumbo frames.
|
|
30425
|
+
:type JumboState: bool
|
|
30426
|
+
"""
|
|
30427
|
+
self._InstanceId = None
|
|
30428
|
+
self._JumboState = None
|
|
30429
|
+
|
|
30430
|
+
@property
|
|
30431
|
+
def InstanceId(self):
|
|
30432
|
+
"""Instance ID.
|
|
30433
|
+
:rtype: str
|
|
30434
|
+
"""
|
|
30435
|
+
return self._InstanceId
|
|
30436
|
+
|
|
30437
|
+
@InstanceId.setter
|
|
30438
|
+
def InstanceId(self, InstanceId):
|
|
30439
|
+
self._InstanceId = InstanceId
|
|
30440
|
+
|
|
30441
|
+
@property
|
|
30442
|
+
def JumboState(self):
|
|
30443
|
+
"""Whether the instance supports jumbo frames.
|
|
30444
|
+
:rtype: bool
|
|
30445
|
+
"""
|
|
30446
|
+
return self._JumboState
|
|
30447
|
+
|
|
30448
|
+
@JumboState.setter
|
|
30449
|
+
def JumboState(self, JumboState):
|
|
30450
|
+
self._JumboState = JumboState
|
|
30451
|
+
|
|
30452
|
+
|
|
30453
|
+
def _deserialize(self, params):
|
|
30454
|
+
self._InstanceId = params.get("InstanceId")
|
|
30455
|
+
self._JumboState = params.get("JumboState")
|
|
30456
|
+
memeber_set = set(params.keys())
|
|
30457
|
+
for name, value in vars(self).items():
|
|
30458
|
+
property_name = name[1:]
|
|
30459
|
+
if property_name in memeber_set:
|
|
30460
|
+
memeber_set.remove(property_name)
|
|
30461
|
+
if len(memeber_set) > 0:
|
|
30462
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
30463
|
+
|
|
30464
|
+
|
|
30465
|
+
|
|
30331
30466
|
class InstanceStatistic(AbstractModel):
|
|
30332
30467
|
"""Statistics used to describe the instance
|
|
30333
30468
|
|
|
@@ -3008,6 +3008,32 @@ class VpcClient(AbstractClient):
|
|
|
3008
3008
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3009
3009
|
|
|
3010
3010
|
|
|
3011
|
+
def DescribeInstanceJumbo(self, request):
|
|
3012
|
+
"""This API is used to check whether Cloud Virtual Machines support jumbo frames.
|
|
3013
|
+
Usage limits.
|
|
3014
|
+
This API is used to perform operations that require CAM policy authorization and read access to the corresponding instance. The API accesses CVM instances, so it verifies whether there are CAM permissions for the instance. For example: CAM action allows vpc:DescribeInstanceJumbo; resource allows qcs::cvm:ap-guangzhou:uin/2126195383:instance/*.
|
|
3015
|
+
This API is used to check the jumbo frame status before and after instance migration. The status returned by this API may be inconsistent before and after migration. You need to check whether the host machines of the instance before and after migration both support jumbo frames. One possible reason is that the instance has been migrated to a host machine that does not support jumbo frames.
|
|
3016
|
+
|
|
3017
|
+
:param request: Request instance for DescribeInstanceJumbo.
|
|
3018
|
+
:type request: :class:`tencentcloud.vpc.v20170312.models.DescribeInstanceJumboRequest`
|
|
3019
|
+
:rtype: :class:`tencentcloud.vpc.v20170312.models.DescribeInstanceJumboResponse`
|
|
3020
|
+
|
|
3021
|
+
"""
|
|
3022
|
+
try:
|
|
3023
|
+
params = request._serialize()
|
|
3024
|
+
headers = request.headers
|
|
3025
|
+
body = self.call("DescribeInstanceJumbo", params, headers=headers)
|
|
3026
|
+
response = json.loads(body)
|
|
3027
|
+
model = models.DescribeInstanceJumboResponse()
|
|
3028
|
+
model._deserialize(response["Response"])
|
|
3029
|
+
return model
|
|
3030
|
+
except Exception as e:
|
|
3031
|
+
if isinstance(e, TencentCloudSDKException):
|
|
3032
|
+
raise
|
|
3033
|
+
else:
|
|
3034
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
3035
|
+
|
|
3036
|
+
|
|
3011
3037
|
def DescribeIp6Addresses(self, request):
|
|
3012
3038
|
"""This API is used to query the detailed information on one or multiple classic elastic public IPv6 instances.
|
|
3013
3039
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=OKZHBRFeFuc3QSDyDXT8ZI0rPtJCqS3g9HE_be-sLNM,630
|
|
2
2
|
tencentcloud/advisor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
3
|
tencentcloud/advisor/v20200721/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
tencentcloud/advisor/v20200721/advisor_client.py,sha256=FuBG5ZJpmnVpDyVC84G_cjEWSa-mm6oyBvOIDe5SP-g,2924
|
|
@@ -627,8 +627,8 @@ tencentcloud/vod/v20180717/vod_client.py,sha256=DMxebnzLEsU2E6nf1j4WZxEQu_D8kHOg
|
|
|
627
627
|
tencentcloud/vpc/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
628
628
|
tencentcloud/vpc/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
629
629
|
tencentcloud/vpc/v20170312/errorcodes.py,sha256=TjeuZ8IFlK9geQvCmmbnZfdqyIE4siI44dQMXYp5Qh8,48176
|
|
630
|
-
tencentcloud/vpc/v20170312/models.py,sha256=
|
|
631
|
-
tencentcloud/vpc/v20170312/vpc_client.py,sha256=
|
|
630
|
+
tencentcloud/vpc/v20170312/models.py,sha256=yzfXQ2hzqlnEN13AA1jTyt9qpdpIkMoeooS_bEqGS8M,1581102
|
|
631
|
+
tencentcloud/vpc/v20170312/vpc_client.py,sha256=36VbJeVHyFJCSAvVWxQWI8RXETsS9LSh-MKb80RJ0eA,306301
|
|
632
632
|
tencentcloud/waf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
633
633
|
tencentcloud/waf/v20180125/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
634
634
|
tencentcloud/waf/v20180125/errorcodes.py,sha256=zwBZcvnCjbuvBJKChDMzCaA89zkApEOvztAZ_ga3K44,6276
|
|
@@ -644,7 +644,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
644
644
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
|
|
645
645
|
tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
|
|
646
646
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=LY01pPiy1k_AXnHgG0FonGekRSFMY3t9pcYH8aE27oQ,67389
|
|
647
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
648
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
649
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
650
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
647
|
+
tencentcloud_sdk_python_intl_en-3.0.1184.dist-info/METADATA,sha256=EUvU9uL1LHf2IGRO6xNOTkeHiyh91Hg4Bo3dlzlX9lE,1628
|
|
648
|
+
tencentcloud_sdk_python_intl_en-3.0.1184.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
649
|
+
tencentcloud_sdk_python_intl_en-3.0.1184.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
650
|
+
tencentcloud_sdk_python_intl_en-3.0.1184.dist-info/RECORD,,
|
|
File without changes
|