tencentcloud-sdk-python-intl-en 3.0.1162__py2.py3-none-any.whl → 3.0.1163__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.1163'
@@ -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.1163
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=bkIzwfdH2ZqLx_HjuWhVLGz1VAPyeobUAD2DyyA59nY,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
@@ -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.1163.dist-info/METADATA,sha256=laGjotcIueVudIvUyv4RqFooAhk99dTkyMXhIyy1a2o,1628
643
+ tencentcloud_sdk_python_intl_en-3.0.1163.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
644
+ tencentcloud_sdk_python_intl_en-3.0.1163.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
645
+ tencentcloud_sdk_python_intl_en-3.0.1163.dist-info/RECORD,,