tencentcloud-sdk-python-intl-en 3.0.1162__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 CHANGED
@@ -13,4 +13,4 @@
13
13
  # See the License for the specific language governing permissions and
14
14
  # limitations under the License.
15
15
 
16
- __version__ = '3.0.1162'
16
+ __version__ = '3.0.1164'
@@ -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
 
@@ -515,6 +515,9 @@ INVALIDPARAMETER_INVALIDRESPONSEHEADERNAME = 'InvalidParameter.InvalidResponseHe
515
515
  # Invalid response header.
516
516
  INVALIDPARAMETER_INVALIDRESPONSEHEADERVALUE = 'InvalidParameter.InvalidResponseHeaderValue'
517
517
 
518
+ # The rule engine configuration is invalid.
519
+ INVALIDPARAMETER_INVALIDRULEENGINE = 'InvalidParameter.InvalidRuleEngine'
520
+
518
521
  # Invalid rule engine operation.
519
522
  INVALIDPARAMETER_INVALIDRULEENGINEACTION = 'InvalidParameter.InvalidRuleEngineAction'
520
523
 
@@ -31219,6 +31219,85 @@ class ModifyL4ProxyStatusResponse(AbstractModel):
31219
31219
  self._RequestId = params.get("RequestId")
31220
31220
 
31221
31221
 
31222
+ class ModifyL7AccRulePriorityRequest(AbstractModel):
31223
+ """ModifyL7AccRulePriority request structure.
31224
+
31225
+ """
31226
+
31227
+ def __init__(self):
31228
+ r"""
31229
+ :param _ZoneId: Zone ID.
31230
+ :type ZoneId: str
31231
+ :param _RuleIds: The complete rule ID list under the site ID can be obtained by [Querying the seven-layer acceleration rules](https://intl.cloud.tencent.com/document/product/1552/115820?from_cn_redirect=1). The final priority order will be adjusted to the order of the rule ID list, and will be executed from the front to the back.
31232
+ :type RuleIds: list of str
31233
+ """
31234
+ self._ZoneId = None
31235
+ self._RuleIds = None
31236
+
31237
+ @property
31238
+ def ZoneId(self):
31239
+ """Zone ID.
31240
+ :rtype: str
31241
+ """
31242
+ return self._ZoneId
31243
+
31244
+ @ZoneId.setter
31245
+ def ZoneId(self, ZoneId):
31246
+ self._ZoneId = ZoneId
31247
+
31248
+ @property
31249
+ def RuleIds(self):
31250
+ """The complete rule ID list under the site ID can be obtained by [Querying the seven-layer acceleration rules](https://intl.cloud.tencent.com/document/product/1552/115820?from_cn_redirect=1). The final priority order will be adjusted to the order of the rule ID list, and will be executed from the front to the back.
31251
+ :rtype: list of str
31252
+ """
31253
+ return self._RuleIds
31254
+
31255
+ @RuleIds.setter
31256
+ def RuleIds(self, RuleIds):
31257
+ self._RuleIds = RuleIds
31258
+
31259
+
31260
+ def _deserialize(self, params):
31261
+ self._ZoneId = params.get("ZoneId")
31262
+ self._RuleIds = params.get("RuleIds")
31263
+ memeber_set = set(params.keys())
31264
+ for name, value in vars(self).items():
31265
+ property_name = name[1:]
31266
+ if property_name in memeber_set:
31267
+ memeber_set.remove(property_name)
31268
+ if len(memeber_set) > 0:
31269
+ warnings.warn("%s fileds are useless." % ",".join(memeber_set))
31270
+
31271
+
31272
+
31273
+ class ModifyL7AccRulePriorityResponse(AbstractModel):
31274
+ """ModifyL7AccRulePriority response structure.
31275
+
31276
+ """
31277
+
31278
+ def __init__(self):
31279
+ r"""
31280
+ :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.
31281
+ :type RequestId: str
31282
+ """
31283
+ self._RequestId = None
31284
+
31285
+ @property
31286
+ def RequestId(self):
31287
+ """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.
31288
+ :rtype: str
31289
+ """
31290
+ return self._RequestId
31291
+
31292
+ @RequestId.setter
31293
+ def RequestId(self, RequestId):
31294
+ self._RequestId = RequestId
31295
+
31296
+
31297
+ def _deserialize(self, params):
31298
+ self._RequestId = params.get("RequestId")
31299
+
31300
+
31222
31301
  class ModifyL7AccRuleRequest(AbstractModel):
31223
31302
  """ModifyL7AccRule request structure.
31224
31303
 
@@ -2971,6 +2971,29 @@ class TeoClient(AbstractClient):
2971
2971
  raise TencentCloudSDKException(type(e).__name__, str(e))
2972
2972
 
2973
2973
 
2974
+ def ModifyL7AccRulePriority(self, request):
2975
+ """This interface is used to modify the priority of the rule list in the [Rule Engine](https://intl.cloud.tencent.com/document/product/1552/70901?from_cn_redirect=1). This interface requires the complete rule ID list under the site ID to be passed in. The rule ID list can be obtained through the [Query Seven-Layer Acceleration Rules](https://intl.cloud.tencent.com/document/product/1552/115820?from_cn_redirect=1) interface. The final priority order will be adjusted to the order of the rule ID list, and will be executed from front to back.
2976
+
2977
+ :param request: Request instance for ModifyL7AccRulePriority.
2978
+ :type request: :class:`tencentcloud.teo.v20220901.models.ModifyL7AccRulePriorityRequest`
2979
+ :rtype: :class:`tencentcloud.teo.v20220901.models.ModifyL7AccRulePriorityResponse`
2980
+
2981
+ """
2982
+ try:
2983
+ params = request._serialize()
2984
+ headers = request.headers
2985
+ body = self.call("ModifyL7AccRulePriority", params, headers=headers)
2986
+ response = json.loads(body)
2987
+ model = models.ModifyL7AccRulePriorityResponse()
2988
+ model._deserialize(response["Response"])
2989
+ return model
2990
+ except Exception as e:
2991
+ if isinstance(e, TencentCloudSDKException):
2992
+ raise
2993
+ else:
2994
+ raise TencentCloudSDKException(type(e).__name__, str(e))
2995
+
2996
+
2974
2997
  def ModifyL7AccSetting(self, request):
2975
2998
  """This API is used to modify the global configuration of [Site Acceleration](https://intl.cloud.tencent.com/document/product/1552/96193?from_cn_redirect=1).
2976
2999
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tencentcloud-sdk-python-intl-en
3
- Version: 3.0.1162
3
+ Version: 3.0.1164
4
4
  Summary: Tencent Cloud SDK for Python
5
5
  Home-page: https://github.com/TencentCloud/tencentcloud-sdk-python-intl-en
6
6
  Author: Tencent Cloud
@@ -1,4 +1,4 @@
1
- tencentcloud/__init__.py,sha256=0_tnIQg4fQIUU3KwtIGL4Q9rMZwwJFI2rYXQ_BL5BgU,630
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=aqKlB0ZQ2VqRSrr3SMn4M5sb3_7fBBqgVt_wM2d6ttg,95096
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=SlQ3zwVCoTjgkEWVZ77bUU7mXOfgcqtZA_uuq-D6Cnw,776861
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
@@ -558,9 +558,9 @@ tencentcloud/teo/v20220106/errorcodes.py,sha256=rbR15SA5lWz2Bfvn2Qb_33J7jDVaoBB1
558
558
  tencentcloud/teo/v20220106/models.py,sha256=O7LYEZTTKjloNI2BuDHcaBdEpxjHezVYck_xkVhQse8,777923
559
559
  tencentcloud/teo/v20220106/teo_client.py,sha256=xFgjEY9outkMEOonYeYfLL18TRUxVSRdE7Q3m6ACyWM,82902
560
560
  tencentcloud/teo/v20220901/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
561
- tencentcloud/teo/v20220901/errorcodes.py,sha256=MJPg6l1EQMd5FhtR2D1Ui8oIXcMmfzP3FKizlIz_blM,60593
562
- tencentcloud/teo/v20220901/models.py,sha256=LjieZBUnaCqo9Ao_7R-d2aHR4PWQaSVVpkYKIJceyN0,1612606
563
- tencentcloud/teo/v20220901/teo_client.py,sha256=x3NkL8accwWVAkXCO9zudrF4EOa-2kC6YWiqVizMH4E,148707
561
+ tencentcloud/teo/v20220901/errorcodes.py,sha256=1TLhna8MLSCt74G25lFKLjLNMgBQivezJy9DlXokTXE,60712
562
+ tencentcloud/teo/v20220901/models.py,sha256=vLTgglW7X31Lg099isJ3hMxA-hgUYTVw0Q2gila0ZJY,1615456
563
+ tencentcloud/teo/v20220901/teo_client.py,sha256=0jmQWMj9BptKkBIrvRLQ1-yfg8SdDsMkS2h6pdZGPVU,150134
564
564
  tencentcloud/tiw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
565
565
  tencentcloud/tiw/v20190919/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
566
566
  tencentcloud/tiw/v20190919/errorcodes.py,sha256=SWlIppzLafoknDCajqvlAdh2a83rRm07aksn1EUGVAc,6361
@@ -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.1162.dist-info/METADATA,sha256=UodWOtwgAmJbQvkqQSilV7rGBIkKQVXBdUZ5YgUKTQw,1628
643
- tencentcloud_sdk_python_intl_en-3.0.1162.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
644
- tencentcloud_sdk_python_intl_en-3.0.1162.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
645
- tencentcloud_sdk_python_intl_en-3.0.1162.dist-info/RECORD,,
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,,