tencentcloud-sdk-python-intl-en 3.0.1163__py2.py3-none-any.whl → 3.0.1164__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/cvm/v20170312/cvm_client.py +23 -0
- tencentcloud/cvm/v20170312/models.py +190 -0
- {tencentcloud_sdk_python_intl_en-3.0.1163.dist-info → tencentcloud_sdk_python_intl_en-3.0.1164.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1163.dist-info → tencentcloud_sdk_python_intl_en-3.0.1164.dist-info}/RECORD +7 -7
- {tencentcloud_sdk_python_intl_en-3.0.1163.dist-info → tencentcloud_sdk_python_intl_en-3.0.1164.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1163.dist-info → tencentcloud_sdk_python_intl_en-3.0.1164.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -701,6 +701,29 @@ class CvmClient(AbstractClient):
|
|
|
701
701
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
702
702
|
|
|
703
703
|
|
|
704
|
+
def DescribeInstancesAttributes(self, request):
|
|
705
|
+
"""This API is used to obtain the attributes of specified instances. Currently, it supports querying the custom data UserData of instances.
|
|
706
|
+
|
|
707
|
+
:param request: Request instance for DescribeInstancesAttributes.
|
|
708
|
+
:type request: :class:`tencentcloud.cvm.v20170312.models.DescribeInstancesAttributesRequest`
|
|
709
|
+
:rtype: :class:`tencentcloud.cvm.v20170312.models.DescribeInstancesAttributesResponse`
|
|
710
|
+
|
|
711
|
+
"""
|
|
712
|
+
try:
|
|
713
|
+
params = request._serialize()
|
|
714
|
+
headers = request.headers
|
|
715
|
+
body = self.call("DescribeInstancesAttributes", params, headers=headers)
|
|
716
|
+
response = json.loads(body)
|
|
717
|
+
model = models.DescribeInstancesAttributesResponse()
|
|
718
|
+
model._deserialize(response["Response"])
|
|
719
|
+
return model
|
|
720
|
+
except Exception as e:
|
|
721
|
+
if isinstance(e, TencentCloudSDKException):
|
|
722
|
+
raise
|
|
723
|
+
else:
|
|
724
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
725
|
+
|
|
726
|
+
|
|
704
727
|
def DescribeInstancesOperationLimit(self, request):
|
|
705
728
|
"""This API is used to query limitations on operations on an instance.
|
|
706
729
|
|
|
@@ -498,6 +498,42 @@ class AssociateSecurityGroupsResponse(AbstractModel):
|
|
|
498
498
|
self._RequestId = params.get("RequestId")
|
|
499
499
|
|
|
500
500
|
|
|
501
|
+
class Attribute(AbstractModel):
|
|
502
|
+
"""Attribute information.
|
|
503
|
+
|
|
504
|
+
"""
|
|
505
|
+
|
|
506
|
+
def __init__(self):
|
|
507
|
+
r"""
|
|
508
|
+
:param _UserData: Custom data of instances.
|
|
509
|
+
:type UserData: str
|
|
510
|
+
"""
|
|
511
|
+
self._UserData = None
|
|
512
|
+
|
|
513
|
+
@property
|
|
514
|
+
def UserData(self):
|
|
515
|
+
"""Custom data of instances.
|
|
516
|
+
:rtype: str
|
|
517
|
+
"""
|
|
518
|
+
return self._UserData
|
|
519
|
+
|
|
520
|
+
@UserData.setter
|
|
521
|
+
def UserData(self, UserData):
|
|
522
|
+
self._UserData = UserData
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
def _deserialize(self, params):
|
|
526
|
+
self._UserData = params.get("UserData")
|
|
527
|
+
memeber_set = set(params.keys())
|
|
528
|
+
for name, value in vars(self).items():
|
|
529
|
+
property_name = name[1:]
|
|
530
|
+
if property_name in memeber_set:
|
|
531
|
+
memeber_set.remove(property_name)
|
|
532
|
+
if len(memeber_set) > 0:
|
|
533
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
|
|
501
537
|
class ChargePrepaid(AbstractModel):
|
|
502
538
|
"""Parameters related to the prepaid billing method, including the subscription period, the auto renewal logic, etc.
|
|
503
539
|
|
|
@@ -4904,6 +4940,107 @@ class DescribeInstanceFamilyConfigsResponse(AbstractModel):
|
|
|
4904
4940
|
self._RequestId = params.get("RequestId")
|
|
4905
4941
|
|
|
4906
4942
|
|
|
4943
|
+
class DescribeInstancesAttributesRequest(AbstractModel):
|
|
4944
|
+
"""DescribeInstancesAttributes request structure.
|
|
4945
|
+
|
|
4946
|
+
"""
|
|
4947
|
+
|
|
4948
|
+
def __init__(self):
|
|
4949
|
+
r"""
|
|
4950
|
+
:param _Attributes: Instance attributes to be obtained. Valid value(s):
|
|
4951
|
+
UserData: Custom data of instances.
|
|
4952
|
+
:type Attributes: list of str
|
|
4953
|
+
:param _InstanceIds: Instance ID list.
|
|
4954
|
+
:type InstanceIds: list of str
|
|
4955
|
+
"""
|
|
4956
|
+
self._Attributes = None
|
|
4957
|
+
self._InstanceIds = None
|
|
4958
|
+
|
|
4959
|
+
@property
|
|
4960
|
+
def Attributes(self):
|
|
4961
|
+
"""Instance attributes to be obtained. Valid value(s):
|
|
4962
|
+
UserData: Custom data of instances.
|
|
4963
|
+
:rtype: list of str
|
|
4964
|
+
"""
|
|
4965
|
+
return self._Attributes
|
|
4966
|
+
|
|
4967
|
+
@Attributes.setter
|
|
4968
|
+
def Attributes(self, Attributes):
|
|
4969
|
+
self._Attributes = Attributes
|
|
4970
|
+
|
|
4971
|
+
@property
|
|
4972
|
+
def InstanceIds(self):
|
|
4973
|
+
"""Instance ID list.
|
|
4974
|
+
:rtype: list of str
|
|
4975
|
+
"""
|
|
4976
|
+
return self._InstanceIds
|
|
4977
|
+
|
|
4978
|
+
@InstanceIds.setter
|
|
4979
|
+
def InstanceIds(self, InstanceIds):
|
|
4980
|
+
self._InstanceIds = InstanceIds
|
|
4981
|
+
|
|
4982
|
+
|
|
4983
|
+
def _deserialize(self, params):
|
|
4984
|
+
self._Attributes = params.get("Attributes")
|
|
4985
|
+
self._InstanceIds = params.get("InstanceIds")
|
|
4986
|
+
memeber_set = set(params.keys())
|
|
4987
|
+
for name, value in vars(self).items():
|
|
4988
|
+
property_name = name[1:]
|
|
4989
|
+
if property_name in memeber_set:
|
|
4990
|
+
memeber_set.remove(property_name)
|
|
4991
|
+
if len(memeber_set) > 0:
|
|
4992
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4993
|
+
|
|
4994
|
+
|
|
4995
|
+
|
|
4996
|
+
class DescribeInstancesAttributesResponse(AbstractModel):
|
|
4997
|
+
"""DescribeInstancesAttributes response structure.
|
|
4998
|
+
|
|
4999
|
+
"""
|
|
5000
|
+
|
|
5001
|
+
def __init__(self):
|
|
5002
|
+
r"""
|
|
5003
|
+
:param _InstanceSet: List of attributes of specified instances.
|
|
5004
|
+
:type InstanceSet: list of InstanceAttribute
|
|
5005
|
+
: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.
|
|
5006
|
+
:type RequestId: str
|
|
5007
|
+
"""
|
|
5008
|
+
self._InstanceSet = None
|
|
5009
|
+
self._RequestId = None
|
|
5010
|
+
|
|
5011
|
+
@property
|
|
5012
|
+
def InstanceSet(self):
|
|
5013
|
+
"""List of attributes of specified instances.
|
|
5014
|
+
:rtype: list of InstanceAttribute
|
|
5015
|
+
"""
|
|
5016
|
+
return self._InstanceSet
|
|
5017
|
+
|
|
5018
|
+
@InstanceSet.setter
|
|
5019
|
+
def InstanceSet(self, InstanceSet):
|
|
5020
|
+
self._InstanceSet = InstanceSet
|
|
5021
|
+
|
|
5022
|
+
@property
|
|
5023
|
+
def RequestId(self):
|
|
5024
|
+
"""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.
|
|
5025
|
+
:rtype: str
|
|
5026
|
+
"""
|
|
5027
|
+
return self._RequestId
|
|
5028
|
+
|
|
5029
|
+
@RequestId.setter
|
|
5030
|
+
def RequestId(self, RequestId):
|
|
5031
|
+
self._RequestId = RequestId
|
|
5032
|
+
|
|
5033
|
+
|
|
5034
|
+
def _deserialize(self, params):
|
|
5035
|
+
if params.get("InstanceSet") is not None:
|
|
5036
|
+
self._InstanceSet = []
|
|
5037
|
+
for item in params.get("InstanceSet"):
|
|
5038
|
+
obj = InstanceAttribute()
|
|
5039
|
+
obj._deserialize(item)
|
|
5040
|
+
self._InstanceSet.append(obj)
|
|
5041
|
+
self._RequestId = params.get("RequestId")
|
|
5042
|
+
|
|
5043
|
+
|
|
4907
5044
|
class DescribeInstancesOperationLimitRequest(AbstractModel):
|
|
4908
5045
|
"""DescribeInstancesOperationLimit request structure.
|
|
4909
5046
|
|
|
@@ -10426,6 +10563,59 @@ Note: This field may return `null`, indicating that no valid values can be obtai
|
|
|
10426
10563
|
|
|
10427
10564
|
|
|
10428
10565
|
|
|
10566
|
+
class InstanceAttribute(AbstractModel):
|
|
10567
|
+
"""Instance attributes.
|
|
10568
|
+
|
|
10569
|
+
"""
|
|
10570
|
+
|
|
10571
|
+
def __init__(self):
|
|
10572
|
+
r"""
|
|
10573
|
+
:param _InstanceId: Instance ID.
|
|
10574
|
+
:type InstanceId: str
|
|
10575
|
+
:param _Attributes: Instance attribute information.
|
|
10576
|
+
:type Attributes: :class:`tencentcloud.cvm.v20170312.models.Attribute`
|
|
10577
|
+
"""
|
|
10578
|
+
self._InstanceId = None
|
|
10579
|
+
self._Attributes = None
|
|
10580
|
+
|
|
10581
|
+
@property
|
|
10582
|
+
def InstanceId(self):
|
|
10583
|
+
"""Instance ID.
|
|
10584
|
+
:rtype: str
|
|
10585
|
+
"""
|
|
10586
|
+
return self._InstanceId
|
|
10587
|
+
|
|
10588
|
+
@InstanceId.setter
|
|
10589
|
+
def InstanceId(self, InstanceId):
|
|
10590
|
+
self._InstanceId = InstanceId
|
|
10591
|
+
|
|
10592
|
+
@property
|
|
10593
|
+
def Attributes(self):
|
|
10594
|
+
"""Instance attribute information.
|
|
10595
|
+
:rtype: :class:`tencentcloud.cvm.v20170312.models.Attribute`
|
|
10596
|
+
"""
|
|
10597
|
+
return self._Attributes
|
|
10598
|
+
|
|
10599
|
+
@Attributes.setter
|
|
10600
|
+
def Attributes(self, Attributes):
|
|
10601
|
+
self._Attributes = Attributes
|
|
10602
|
+
|
|
10603
|
+
|
|
10604
|
+
def _deserialize(self, params):
|
|
10605
|
+
self._InstanceId = params.get("InstanceId")
|
|
10606
|
+
if params.get("Attributes") is not None:
|
|
10607
|
+
self._Attributes = Attribute()
|
|
10608
|
+
self._Attributes._deserialize(params.get("Attributes"))
|
|
10609
|
+
memeber_set = set(params.keys())
|
|
10610
|
+
for name, value in vars(self).items():
|
|
10611
|
+
property_name = name[1:]
|
|
10612
|
+
if property_name in memeber_set:
|
|
10613
|
+
memeber_set.remove(property_name)
|
|
10614
|
+
if len(memeber_set) > 0:
|
|
10615
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
10616
|
+
|
|
10617
|
+
|
|
10618
|
+
|
|
10429
10619
|
class InstanceChargePrepaid(AbstractModel):
|
|
10430
10620
|
"""Describes the billing method of an instance.
|
|
10431
10621
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=CxAe0YbWCDgh8qNb8W8hmAo5KlL87b_0OHsaQSTt-ag,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=b5pLP_oF5HZHo4xbn-hI4dkpnirhcHB2rNDWvGf4q1Y,2919
|
|
@@ -184,9 +184,9 @@ tencentcloud/csip/v20221121/errorcodes.py,sha256=BtrJ2Ezz21uWHzoEJED1bUeiBgp3zuf
|
|
|
184
184
|
tencentcloud/csip/v20221121/models.py,sha256=hAdedmdDrD4HWsZQb7SdqtymGVFHoXVZYqkjYeZV5Ms,480806
|
|
185
185
|
tencentcloud/cvm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
186
186
|
tencentcloud/cvm/v20170312/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
187
|
-
tencentcloud/cvm/v20170312/cvm_client.py,sha256=
|
|
187
|
+
tencentcloud/cvm/v20170312/cvm_client.py,sha256=0BhcgzJCIxIaD6W2ZDC3ZHJuQtkT5CdBCnQCA1zUlp0,96143
|
|
188
188
|
tencentcloud/cvm/v20170312/errorcodes.py,sha256=yw7oOTf6MWVHxVGdSA1DFU7P7O8V9g87r-Vlczufp44,52481
|
|
189
|
-
tencentcloud/cvm/v20170312/models.py,sha256=
|
|
189
|
+
tencentcloud/cvm/v20170312/models.py,sha256=cM4k8eT5L153FX7MePaoMJwv42nr-WeWT8j9ZowL1nU,782516
|
|
190
190
|
tencentcloud/cwp/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
191
191
|
tencentcloud/cwp/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
192
192
|
tencentcloud/cwp/v20180228/cwp_client.py,sha256=XlAOIbfCE2PH5kdpATOrUkuE7eZd74lqbvhm2UDECi0,444132
|
|
@@ -639,7 +639,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
639
639
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
|
|
640
640
|
tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
|
|
641
641
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=GA7Fo5GmpEJ2kufV2upw-ZpMZxznsPZ3NKDKDDAI4Ao,67384
|
|
642
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
643
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
644
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
645
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
642
|
+
tencentcloud_sdk_python_intl_en-3.0.1164.dist-info/METADATA,sha256=z8-rWzZpyWCJc9RJwCl5BjX3G4G52LNQq1xpsyg9KcU,1628
|
|
643
|
+
tencentcloud_sdk_python_intl_en-3.0.1164.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
644
|
+
tencentcloud_sdk_python_intl_en-3.0.1164.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
645
|
+
tencentcloud_sdk_python_intl_en-3.0.1164.dist-info/RECORD,,
|
|
File without changes
|