tencentcloud-sdk-python-intl-en 3.0.1098__py2.py3-none-any.whl → 3.0.1100__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/intlpartnersmgt/v20220928/intlpartnersmgt_client.py +26 -2
- tencentcloud/intlpartnersmgt/v20220928/models.py +344 -16
- tencentcloud/mps/v20190612/models.py +89 -28
- tencentcloud/teo/v20220901/errorcodes.py +3 -3
- tencentcloud/teo/v20220901/models.py +418 -74
- tencentcloud/teo/v20220901/teo_client.py +69 -0
- {tencentcloud_sdk_python_intl_en-3.0.1098.dist-info → tencentcloud_sdk_python_intl_en-3.0.1100.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1098.dist-info → tencentcloud_sdk_python_intl_en-3.0.1100.dist-info}/RECORD +11 -11
- {tencentcloud_sdk_python_intl_en-3.0.1098.dist-info → tencentcloud_sdk_python_intl_en-3.0.1100.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1098.dist-info → tencentcloud_sdk_python_intl_en-3.0.1100.dist-info}/top_level.txt +0 -0
|
@@ -17238,29 +17238,29 @@ class DescribeTopL7AnalysisDataRequest(AbstractModel):
|
|
|
17238
17238
|
:type StartTime: str
|
|
17239
17239
|
:param _EndTime: The end time.
|
|
17240
17240
|
:type EndTime: str
|
|
17241
|
-
:param _MetricName:
|
|
17242
|
-
<li> l7Flow_outFlux_country:
|
|
17243
|
-
<li> l7Flow_outFlux_province:
|
|
17244
|
-
<li> l7Flow_outFlux_statusCode:
|
|
17245
|
-
<li> l7Flow_outFlux_domain:
|
|
17246
|
-
<li> l7Flow_outFlux_url:
|
|
17247
|
-
<li> l7Flow_outFlux_resourceType:
|
|
17248
|
-
<li> l7Flow_outFlux_sip:
|
|
17249
|
-
<li> l7Flow_outFlux_referers:
|
|
17250
|
-
<li> l7Flow_outFlux_ua_device:
|
|
17251
|
-
<li> l7Flow_outFlux_ua_browser:
|
|
17252
|
-
<li>
|
|
17253
|
-
<li> l7Flow_request_country:
|
|
17254
|
-
<li> l7Flow_request_province:
|
|
17255
|
-
<li> l7Flow_request_statusCode:
|
|
17256
|
-
<li> l7Flow_request_domain:
|
|
17257
|
-
<li> l7Flow_request_url:
|
|
17258
|
-
<li> l7Flow_request_resourceType:
|
|
17259
|
-
<li> l7Flow_request_sip:
|
|
17260
|
-
<li> l7Flow_request_referer:
|
|
17261
|
-
<li> l7Flow_request_ua_device:
|
|
17262
|
-
<li> l7Flow_request_ua_browser:
|
|
17263
|
-
<li>
|
|
17241
|
+
:param _MetricName: Queried metric. Valid values:
|
|
17242
|
+
<li> l7Flow_outFlux_country: L7 EdgeOne response traffic metric counted by the country/region dimension;</li>
|
|
17243
|
+
<li> l7Flow_outFlux_province: L7 EdgeOne response traffic metric counted by the dimension of provinces in Chinese mainland;</li>
|
|
17244
|
+
<li> l7Flow_outFlux_statusCode: L7 EdgeOne response traffic metric counted by the status code dimension;</li>
|
|
17245
|
+
<li> l7Flow_outFlux_domain: L7 EdgeOne response traffic metric counted by the domain name dimension;</li>
|
|
17246
|
+
<li> l7Flow_outFlux_url: L7 EdgeOne response traffic metric counted by the URL path dimension;</li>
|
|
17247
|
+
<li> l7Flow_outFlux_resourceType: L7 EdgeOne response traffic metric counted by the resource type dimension;</li>
|
|
17248
|
+
<li> l7Flow_outFlux_sip: L7 EdgeOne response traffic metric counted by the client IP dimension;</li>
|
|
17249
|
+
<li> l7Flow_outFlux_referers: L7 EdgeOne response traffic metric counted by the referer dimension;</li>
|
|
17250
|
+
<li> l7Flow_outFlux_ua_device: L7 EdgeOne response traffic metric counted by the device type dimension;</li>
|
|
17251
|
+
<li> l7Flow_outFlux_ua_browser: L7 EdgeOne response traffic metric counted by the browser type dimension;</li>
|
|
17252
|
+
<li> l7Flow_outFlux_ua_os: L7 EdgeOne response traffic metric counted by the operating system type dimension;</li>
|
|
17253
|
+
<li> l7Flow_request_country: L7 access request count metric counted by the country/region dimension;</li>
|
|
17254
|
+
<li> l7Flow_request_province: L7 access request count metric counted by the dimension of provinces in the Chinese mainland;</li>
|
|
17255
|
+
<li> l7Flow_request_statusCode: L7 access request count metric counted by the status code dimension;</li>
|
|
17256
|
+
<li> l7Flow_request_domain: L7 access request count metric counted by the domain name dimension;</li>
|
|
17257
|
+
<li> l7Flow_request_url: L7 access request count metrics counted by the URL path dimension;</li>
|
|
17258
|
+
<li> l7Flow_request_resourceType: L7 access request count metric counted by the resource type dimension;</li>
|
|
17259
|
+
<li> l7Flow_request_sip: L7 access request count metric counted by the client IP dimension;</li>
|
|
17260
|
+
<li> l7Flow_request_referer: L7 access request count metric counted by the referer dimension;</li>
|
|
17261
|
+
<li> l7Flow_request_ua_device: L7 access request count metric counted by the device type dimension;</li>
|
|
17262
|
+
<li> l7Flow_request_ua_browser: L7 access request count metric counted by the browser type dimension;</li>
|
|
17263
|
+
<li> l7Flow_request_ua_os: L7 access request count metric counted by the operating system type dimension.</li>
|
|
17264
17264
|
|
|
17265
17265
|
:type MetricName: str
|
|
17266
17266
|
:param _ZoneIds: ZoneId set. This parameter is required.
|
|
@@ -17331,29 +17331,29 @@ class DescribeTopL7AnalysisDataRequest(AbstractModel):
|
|
|
17331
17331
|
|
|
17332
17332
|
@property
|
|
17333
17333
|
def MetricName(self):
|
|
17334
|
-
"""
|
|
17335
|
-
<li> l7Flow_outFlux_country:
|
|
17336
|
-
<li> l7Flow_outFlux_province:
|
|
17337
|
-
<li> l7Flow_outFlux_statusCode:
|
|
17338
|
-
<li> l7Flow_outFlux_domain:
|
|
17339
|
-
<li> l7Flow_outFlux_url:
|
|
17340
|
-
<li> l7Flow_outFlux_resourceType:
|
|
17341
|
-
<li> l7Flow_outFlux_sip:
|
|
17342
|
-
<li> l7Flow_outFlux_referers:
|
|
17343
|
-
<li> l7Flow_outFlux_ua_device:
|
|
17344
|
-
<li> l7Flow_outFlux_ua_browser:
|
|
17345
|
-
<li>
|
|
17346
|
-
<li> l7Flow_request_country:
|
|
17347
|
-
<li> l7Flow_request_province:
|
|
17348
|
-
<li> l7Flow_request_statusCode:
|
|
17349
|
-
<li> l7Flow_request_domain:
|
|
17350
|
-
<li> l7Flow_request_url:
|
|
17351
|
-
<li> l7Flow_request_resourceType:
|
|
17352
|
-
<li> l7Flow_request_sip:
|
|
17353
|
-
<li> l7Flow_request_referer:
|
|
17354
|
-
<li> l7Flow_request_ua_device:
|
|
17355
|
-
<li> l7Flow_request_ua_browser:
|
|
17356
|
-
<li>
|
|
17334
|
+
"""Queried metric. Valid values:
|
|
17335
|
+
<li> l7Flow_outFlux_country: L7 EdgeOne response traffic metric counted by the country/region dimension;</li>
|
|
17336
|
+
<li> l7Flow_outFlux_province: L7 EdgeOne response traffic metric counted by the dimension of provinces in Chinese mainland;</li>
|
|
17337
|
+
<li> l7Flow_outFlux_statusCode: L7 EdgeOne response traffic metric counted by the status code dimension;</li>
|
|
17338
|
+
<li> l7Flow_outFlux_domain: L7 EdgeOne response traffic metric counted by the domain name dimension;</li>
|
|
17339
|
+
<li> l7Flow_outFlux_url: L7 EdgeOne response traffic metric counted by the URL path dimension;</li>
|
|
17340
|
+
<li> l7Flow_outFlux_resourceType: L7 EdgeOne response traffic metric counted by the resource type dimension;</li>
|
|
17341
|
+
<li> l7Flow_outFlux_sip: L7 EdgeOne response traffic metric counted by the client IP dimension;</li>
|
|
17342
|
+
<li> l7Flow_outFlux_referers: L7 EdgeOne response traffic metric counted by the referer dimension;</li>
|
|
17343
|
+
<li> l7Flow_outFlux_ua_device: L7 EdgeOne response traffic metric counted by the device type dimension;</li>
|
|
17344
|
+
<li> l7Flow_outFlux_ua_browser: L7 EdgeOne response traffic metric counted by the browser type dimension;</li>
|
|
17345
|
+
<li> l7Flow_outFlux_ua_os: L7 EdgeOne response traffic metric counted by the operating system type dimension;</li>
|
|
17346
|
+
<li> l7Flow_request_country: L7 access request count metric counted by the country/region dimension;</li>
|
|
17347
|
+
<li> l7Flow_request_province: L7 access request count metric counted by the dimension of provinces in the Chinese mainland;</li>
|
|
17348
|
+
<li> l7Flow_request_statusCode: L7 access request count metric counted by the status code dimension;</li>
|
|
17349
|
+
<li> l7Flow_request_domain: L7 access request count metric counted by the domain name dimension;</li>
|
|
17350
|
+
<li> l7Flow_request_url: L7 access request count metrics counted by the URL path dimension;</li>
|
|
17351
|
+
<li> l7Flow_request_resourceType: L7 access request count metric counted by the resource type dimension;</li>
|
|
17352
|
+
<li> l7Flow_request_sip: L7 access request count metric counted by the client IP dimension;</li>
|
|
17353
|
+
<li> l7Flow_request_referer: L7 access request count metric counted by the referer dimension;</li>
|
|
17354
|
+
<li> l7Flow_request_ua_device: L7 access request count metric counted by the device type dimension;</li>
|
|
17355
|
+
<li> l7Flow_request_ua_browser: L7 access request count metric counted by the browser type dimension;</li>
|
|
17356
|
+
<li> l7Flow_request_ua_os: L7 access request count metric counted by the operating system type dimension.</li>
|
|
17357
17357
|
|
|
17358
17358
|
:rtype: str
|
|
17359
17359
|
"""
|
|
@@ -17779,6 +17779,160 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
17779
17779
|
self._RequestId = params.get("RequestId")
|
|
17780
17780
|
|
|
17781
17781
|
|
|
17782
|
+
class DescribeZoneConfigImportResultRequest(AbstractModel):
|
|
17783
|
+
"""DescribeZoneConfigImportResult request structure.
|
|
17784
|
+
|
|
17785
|
+
"""
|
|
17786
|
+
|
|
17787
|
+
def __init__(self):
|
|
17788
|
+
r"""
|
|
17789
|
+
:param _ZoneId: Zone ID.
|
|
17790
|
+
:type ZoneId: str
|
|
17791
|
+
:param _TaskId: It indicates the configuration import task ID for which the result needs to be queried. The import task ID is only retained for 7 days.
|
|
17792
|
+
:type TaskId: str
|
|
17793
|
+
"""
|
|
17794
|
+
self._ZoneId = None
|
|
17795
|
+
self._TaskId = None
|
|
17796
|
+
|
|
17797
|
+
@property
|
|
17798
|
+
def ZoneId(self):
|
|
17799
|
+
"""Zone ID.
|
|
17800
|
+
:rtype: str
|
|
17801
|
+
"""
|
|
17802
|
+
return self._ZoneId
|
|
17803
|
+
|
|
17804
|
+
@ZoneId.setter
|
|
17805
|
+
def ZoneId(self, ZoneId):
|
|
17806
|
+
self._ZoneId = ZoneId
|
|
17807
|
+
|
|
17808
|
+
@property
|
|
17809
|
+
def TaskId(self):
|
|
17810
|
+
"""It indicates the configuration import task ID for which the result needs to be queried. The import task ID is only retained for 7 days.
|
|
17811
|
+
:rtype: str
|
|
17812
|
+
"""
|
|
17813
|
+
return self._TaskId
|
|
17814
|
+
|
|
17815
|
+
@TaskId.setter
|
|
17816
|
+
def TaskId(self, TaskId):
|
|
17817
|
+
self._TaskId = TaskId
|
|
17818
|
+
|
|
17819
|
+
|
|
17820
|
+
def _deserialize(self, params):
|
|
17821
|
+
self._ZoneId = params.get("ZoneId")
|
|
17822
|
+
self._TaskId = params.get("TaskId")
|
|
17823
|
+
memeber_set = set(params.keys())
|
|
17824
|
+
for name, value in vars(self).items():
|
|
17825
|
+
property_name = name[1:]
|
|
17826
|
+
if property_name in memeber_set:
|
|
17827
|
+
memeber_set.remove(property_name)
|
|
17828
|
+
if len(memeber_set) > 0:
|
|
17829
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
17830
|
+
|
|
17831
|
+
|
|
17832
|
+
|
|
17833
|
+
class DescribeZoneConfigImportResultResponse(AbstractModel):
|
|
17834
|
+
"""DescribeZoneConfigImportResult response structure.
|
|
17835
|
+
|
|
17836
|
+
"""
|
|
17837
|
+
|
|
17838
|
+
def __init__(self):
|
|
17839
|
+
r"""
|
|
17840
|
+
:param _Status: The status of this import task. Valid values: <li>success: It indicates the configuration was successfully imported;</li> <li>failure: It indicates the configuration import failed;</li> <li>doing: It indicates the configuration is being imported.</li>
|
|
17841
|
+
:type Status: str
|
|
17842
|
+
:param _Message: The status message of this import task. If the configuration item import fails, you can view the failure cause through this field.
|
|
17843
|
+
:type Message: str
|
|
17844
|
+
:param _Content: The configuration content of this import task.
|
|
17845
|
+
:type Content: str
|
|
17846
|
+
:param _ImportTime: The start time of this import task.
|
|
17847
|
+
:type ImportTime: str
|
|
17848
|
+
:param _FinishTime: The end time of this import task.
|
|
17849
|
+
:type FinishTime: str
|
|
17850
|
+
: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.
|
|
17851
|
+
:type RequestId: str
|
|
17852
|
+
"""
|
|
17853
|
+
self._Status = None
|
|
17854
|
+
self._Message = None
|
|
17855
|
+
self._Content = None
|
|
17856
|
+
self._ImportTime = None
|
|
17857
|
+
self._FinishTime = None
|
|
17858
|
+
self._RequestId = None
|
|
17859
|
+
|
|
17860
|
+
@property
|
|
17861
|
+
def Status(self):
|
|
17862
|
+
"""The status of this import task. Valid values: <li>success: It indicates the configuration was successfully imported;</li> <li>failure: It indicates the configuration import failed;</li> <li>doing: It indicates the configuration is being imported.</li>
|
|
17863
|
+
:rtype: str
|
|
17864
|
+
"""
|
|
17865
|
+
return self._Status
|
|
17866
|
+
|
|
17867
|
+
@Status.setter
|
|
17868
|
+
def Status(self, Status):
|
|
17869
|
+
self._Status = Status
|
|
17870
|
+
|
|
17871
|
+
@property
|
|
17872
|
+
def Message(self):
|
|
17873
|
+
"""The status message of this import task. If the configuration item import fails, you can view the failure cause through this field.
|
|
17874
|
+
:rtype: str
|
|
17875
|
+
"""
|
|
17876
|
+
return self._Message
|
|
17877
|
+
|
|
17878
|
+
@Message.setter
|
|
17879
|
+
def Message(self, Message):
|
|
17880
|
+
self._Message = Message
|
|
17881
|
+
|
|
17882
|
+
@property
|
|
17883
|
+
def Content(self):
|
|
17884
|
+
"""The configuration content of this import task.
|
|
17885
|
+
:rtype: str
|
|
17886
|
+
"""
|
|
17887
|
+
return self._Content
|
|
17888
|
+
|
|
17889
|
+
@Content.setter
|
|
17890
|
+
def Content(self, Content):
|
|
17891
|
+
self._Content = Content
|
|
17892
|
+
|
|
17893
|
+
@property
|
|
17894
|
+
def ImportTime(self):
|
|
17895
|
+
"""The start time of this import task.
|
|
17896
|
+
:rtype: str
|
|
17897
|
+
"""
|
|
17898
|
+
return self._ImportTime
|
|
17899
|
+
|
|
17900
|
+
@ImportTime.setter
|
|
17901
|
+
def ImportTime(self, ImportTime):
|
|
17902
|
+
self._ImportTime = ImportTime
|
|
17903
|
+
|
|
17904
|
+
@property
|
|
17905
|
+
def FinishTime(self):
|
|
17906
|
+
"""The end time of this import task.
|
|
17907
|
+
:rtype: str
|
|
17908
|
+
"""
|
|
17909
|
+
return self._FinishTime
|
|
17910
|
+
|
|
17911
|
+
@FinishTime.setter
|
|
17912
|
+
def FinishTime(self, FinishTime):
|
|
17913
|
+
self._FinishTime = FinishTime
|
|
17914
|
+
|
|
17915
|
+
@property
|
|
17916
|
+
def RequestId(self):
|
|
17917
|
+
"""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.
|
|
17918
|
+
:rtype: str
|
|
17919
|
+
"""
|
|
17920
|
+
return self._RequestId
|
|
17921
|
+
|
|
17922
|
+
@RequestId.setter
|
|
17923
|
+
def RequestId(self, RequestId):
|
|
17924
|
+
self._RequestId = RequestId
|
|
17925
|
+
|
|
17926
|
+
|
|
17927
|
+
def _deserialize(self, params):
|
|
17928
|
+
self._Status = params.get("Status")
|
|
17929
|
+
self._Message = params.get("Message")
|
|
17930
|
+
self._Content = params.get("Content")
|
|
17931
|
+
self._ImportTime = params.get("ImportTime")
|
|
17932
|
+
self._FinishTime = params.get("FinishTime")
|
|
17933
|
+
self._RequestId = params.get("RequestId")
|
|
17934
|
+
|
|
17935
|
+
|
|
17782
17936
|
class DescribeZoneSettingRequest(AbstractModel):
|
|
17783
17937
|
"""DescribeZoneSetting request structure.
|
|
17784
17938
|
|
|
@@ -19938,6 +20092,102 @@ Note: This field may return `null`, indicating that no valid value can be obtain
|
|
|
19938
20092
|
|
|
19939
20093
|
|
|
19940
20094
|
|
|
20095
|
+
class ExportZoneConfigRequest(AbstractModel):
|
|
20096
|
+
"""ExportZoneConfig request structure.
|
|
20097
|
+
|
|
20098
|
+
"""
|
|
20099
|
+
|
|
20100
|
+
def __init__(self):
|
|
20101
|
+
r"""
|
|
20102
|
+
:param _ZoneId: Zone ID.
|
|
20103
|
+
:type ZoneId: str
|
|
20104
|
+
:param _Types: It indicates exporting the type list of configuration . If it is left blank, all types of configurations will be exported. Currently supported valid values:<li>L7AccelerationConfig: It indicates exporting the Layer-7 acceleration configuration, corresponding to the console's "Site Acceleration - Global Acceleration Configuration" and "Site Acceleration - Rule Engine".</li>
|
|
20105
|
+
Note: The types that will be supported for export in the future will increase with iterations. When exporting all types, pay attention to the export file size. It is recommended to specify the configuration types to be exported to control the request and response packet payload size.
|
|
20106
|
+
:type Types: list of str
|
|
20107
|
+
"""
|
|
20108
|
+
self._ZoneId = None
|
|
20109
|
+
self._Types = None
|
|
20110
|
+
|
|
20111
|
+
@property
|
|
20112
|
+
def ZoneId(self):
|
|
20113
|
+
"""Zone ID.
|
|
20114
|
+
:rtype: str
|
|
20115
|
+
"""
|
|
20116
|
+
return self._ZoneId
|
|
20117
|
+
|
|
20118
|
+
@ZoneId.setter
|
|
20119
|
+
def ZoneId(self, ZoneId):
|
|
20120
|
+
self._ZoneId = ZoneId
|
|
20121
|
+
|
|
20122
|
+
@property
|
|
20123
|
+
def Types(self):
|
|
20124
|
+
"""It indicates exporting the type list of configuration . If it is left blank, all types of configurations will be exported. Currently supported valid values:<li>L7AccelerationConfig: It indicates exporting the Layer-7 acceleration configuration, corresponding to the console's "Site Acceleration - Global Acceleration Configuration" and "Site Acceleration - Rule Engine".</li>
|
|
20125
|
+
Note: The types that will be supported for export in the future will increase with iterations. When exporting all types, pay attention to the export file size. It is recommended to specify the configuration types to be exported to control the request and response packet payload size.
|
|
20126
|
+
:rtype: list of str
|
|
20127
|
+
"""
|
|
20128
|
+
return self._Types
|
|
20129
|
+
|
|
20130
|
+
@Types.setter
|
|
20131
|
+
def Types(self, Types):
|
|
20132
|
+
self._Types = Types
|
|
20133
|
+
|
|
20134
|
+
|
|
20135
|
+
def _deserialize(self, params):
|
|
20136
|
+
self._ZoneId = params.get("ZoneId")
|
|
20137
|
+
self._Types = params.get("Types")
|
|
20138
|
+
memeber_set = set(params.keys())
|
|
20139
|
+
for name, value in vars(self).items():
|
|
20140
|
+
property_name = name[1:]
|
|
20141
|
+
if property_name in memeber_set:
|
|
20142
|
+
memeber_set.remove(property_name)
|
|
20143
|
+
if len(memeber_set) > 0:
|
|
20144
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20145
|
+
|
|
20146
|
+
|
|
20147
|
+
|
|
20148
|
+
class ExportZoneConfigResponse(AbstractModel):
|
|
20149
|
+
"""ExportZoneConfig response structure.
|
|
20150
|
+
|
|
20151
|
+
"""
|
|
20152
|
+
|
|
20153
|
+
def __init__(self):
|
|
20154
|
+
r"""
|
|
20155
|
+
:param _Content: The specific content of the exported configuration, returned in the JSON format and encoded in the UTF-8 mode. Refer to the example below for the configuration content.
|
|
20156
|
+
:type Content: str
|
|
20157
|
+
: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.
|
|
20158
|
+
:type RequestId: str
|
|
20159
|
+
"""
|
|
20160
|
+
self._Content = None
|
|
20161
|
+
self._RequestId = None
|
|
20162
|
+
|
|
20163
|
+
@property
|
|
20164
|
+
def Content(self):
|
|
20165
|
+
"""The specific content of the exported configuration, returned in the JSON format and encoded in the UTF-8 mode. Refer to the example below for the configuration content.
|
|
20166
|
+
:rtype: str
|
|
20167
|
+
"""
|
|
20168
|
+
return self._Content
|
|
20169
|
+
|
|
20170
|
+
@Content.setter
|
|
20171
|
+
def Content(self, Content):
|
|
20172
|
+
self._Content = Content
|
|
20173
|
+
|
|
20174
|
+
@property
|
|
20175
|
+
def RequestId(self):
|
|
20176
|
+
"""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.
|
|
20177
|
+
:rtype: str
|
|
20178
|
+
"""
|
|
20179
|
+
return self._RequestId
|
|
20180
|
+
|
|
20181
|
+
@RequestId.setter
|
|
20182
|
+
def RequestId(self, RequestId):
|
|
20183
|
+
self._RequestId = RequestId
|
|
20184
|
+
|
|
20185
|
+
|
|
20186
|
+
def _deserialize(self, params):
|
|
20187
|
+
self._Content = params.get("Content")
|
|
20188
|
+
self._RequestId = params.get("RequestId")
|
|
20189
|
+
|
|
20190
|
+
|
|
19941
20191
|
class FailReason(AbstractModel):
|
|
19942
20192
|
"""Failure reason
|
|
19943
20193
|
|
|
@@ -21937,6 +22187,100 @@ class ImageOptimize(AbstractModel):
|
|
|
21937
22187
|
|
|
21938
22188
|
|
|
21939
22189
|
|
|
22190
|
+
class ImportZoneConfigRequest(AbstractModel):
|
|
22191
|
+
"""ImportZoneConfig request structure.
|
|
22192
|
+
|
|
22193
|
+
"""
|
|
22194
|
+
|
|
22195
|
+
def __init__(self):
|
|
22196
|
+
r"""
|
|
22197
|
+
:param _ZoneId: Zone ID.
|
|
22198
|
+
:type ZoneId: str
|
|
22199
|
+
:param _Content: The configuration content to be imported, which should be in the JSON format and be encoded in the UTF-8 mode. The configuration content can be obtained through the site configuration export API (ExportZoneConfig). You can individually import "Site Acceleration - Global Acceleration Configuration" or "Site Acceleration - Rule Engine" by passing in the corresponding fields. Refer to the example below for details.
|
|
22200
|
+
:type Content: str
|
|
22201
|
+
"""
|
|
22202
|
+
self._ZoneId = None
|
|
22203
|
+
self._Content = None
|
|
22204
|
+
|
|
22205
|
+
@property
|
|
22206
|
+
def ZoneId(self):
|
|
22207
|
+
"""Zone ID.
|
|
22208
|
+
:rtype: str
|
|
22209
|
+
"""
|
|
22210
|
+
return self._ZoneId
|
|
22211
|
+
|
|
22212
|
+
@ZoneId.setter
|
|
22213
|
+
def ZoneId(self, ZoneId):
|
|
22214
|
+
self._ZoneId = ZoneId
|
|
22215
|
+
|
|
22216
|
+
@property
|
|
22217
|
+
def Content(self):
|
|
22218
|
+
"""The configuration content to be imported, which should be in the JSON format and be encoded in the UTF-8 mode. The configuration content can be obtained through the site configuration export API (ExportZoneConfig). You can individually import "Site Acceleration - Global Acceleration Configuration" or "Site Acceleration - Rule Engine" by passing in the corresponding fields. Refer to the example below for details.
|
|
22219
|
+
:rtype: str
|
|
22220
|
+
"""
|
|
22221
|
+
return self._Content
|
|
22222
|
+
|
|
22223
|
+
@Content.setter
|
|
22224
|
+
def Content(self, Content):
|
|
22225
|
+
self._Content = Content
|
|
22226
|
+
|
|
22227
|
+
|
|
22228
|
+
def _deserialize(self, params):
|
|
22229
|
+
self._ZoneId = params.get("ZoneId")
|
|
22230
|
+
self._Content = params.get("Content")
|
|
22231
|
+
memeber_set = set(params.keys())
|
|
22232
|
+
for name, value in vars(self).items():
|
|
22233
|
+
property_name = name[1:]
|
|
22234
|
+
if property_name in memeber_set:
|
|
22235
|
+
memeber_set.remove(property_name)
|
|
22236
|
+
if len(memeber_set) > 0:
|
|
22237
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
22238
|
+
|
|
22239
|
+
|
|
22240
|
+
|
|
22241
|
+
class ImportZoneConfigResponse(AbstractModel):
|
|
22242
|
+
"""ImportZoneConfig response structure.
|
|
22243
|
+
|
|
22244
|
+
"""
|
|
22245
|
+
|
|
22246
|
+
def __init__(self):
|
|
22247
|
+
r"""
|
|
22248
|
+
:param _TaskId: It indicates the task ID of this import configuration. You can obtain the result of this import task through the site configuration import result query API (DescribeZoneConfigImportResult). Note: The import task ID is only retained for 7 days.
|
|
22249
|
+
:type TaskId: str
|
|
22250
|
+
: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.
|
|
22251
|
+
:type RequestId: str
|
|
22252
|
+
"""
|
|
22253
|
+
self._TaskId = None
|
|
22254
|
+
self._RequestId = None
|
|
22255
|
+
|
|
22256
|
+
@property
|
|
22257
|
+
def TaskId(self):
|
|
22258
|
+
"""It indicates the task ID of this import configuration. You can obtain the result of this import task through the site configuration import result query API (DescribeZoneConfigImportResult). Note: The import task ID is only retained for 7 days.
|
|
22259
|
+
:rtype: str
|
|
22260
|
+
"""
|
|
22261
|
+
return self._TaskId
|
|
22262
|
+
|
|
22263
|
+
@TaskId.setter
|
|
22264
|
+
def TaskId(self, TaskId):
|
|
22265
|
+
self._TaskId = TaskId
|
|
22266
|
+
|
|
22267
|
+
@property
|
|
22268
|
+
def RequestId(self):
|
|
22269
|
+
"""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.
|
|
22270
|
+
:rtype: str
|
|
22271
|
+
"""
|
|
22272
|
+
return self._RequestId
|
|
22273
|
+
|
|
22274
|
+
@RequestId.setter
|
|
22275
|
+
def RequestId(self, RequestId):
|
|
22276
|
+
self._RequestId = RequestId
|
|
22277
|
+
|
|
22278
|
+
|
|
22279
|
+
def _deserialize(self, params):
|
|
22280
|
+
self._TaskId = params.get("TaskId")
|
|
22281
|
+
self._RequestId = params.get("RequestId")
|
|
22282
|
+
|
|
22283
|
+
|
|
21940
22284
|
class IncreasePlanQuotaRequest(AbstractModel):
|
|
21941
22285
|
"""IncreasePlanQuota request structure.
|
|
21942
22286
|
|
|
@@ -31899,21 +32243,21 @@ class RuleCondition(AbstractModel):
|
|
|
31899
32243
|
<li>`exist`: Exists</li>
|
|
31900
32244
|
<li>`notexist`: Does not exist</li>
|
|
31901
32245
|
:type Operator: str
|
|
31902
|
-
:param _Target:
|
|
32246
|
+
:param _Target: Matching type. Valid values: <li>filename: Filename;</li><li>extension: File suffix;</li><li>host: Host;</li><li>full_url: A complete URL path under the current site, including the HTTP protocol, the host, and the path;</li><li>url: The request for a URL path under the current site;</li><li>client_country: Client country/region;</li><li>query_string: The query string for a requested URL under the current site;</li><li>request_header: HTTP request header;</li><li>client_ip: Client IP;</li><li>request_protocol: Request protocol;</li><li>request_method: HTTP request method.</li>
|
|
31903
32247
|
:type Target: str
|
|
31904
|
-
:param _Values:
|
|
31905
|
-
<li> File
|
|
31906
|
-
<li>
|
|
31907
|
-
<li>
|
|
31908
|
-
<li>
|
|
31909
|
-
<li> URL
|
|
31910
|
-
<li> URL
|
|
31911
|
-
<li>
|
|
31912
|
-
<li>
|
|
31913
|
-
<li>
|
|
31914
|
-
<li>
|
|
31915
|
-
<li>
|
|
31916
|
-
<li>
|
|
32248
|
+
:param _Values: Parameter values for corresponding matching types. It is allowed to pass an empty array only when the matching type is query_string or request_header and the operator value is exist or not exist. Corresponding match types include:
|
|
32249
|
+
<li>extension: File suffix such as jpg or txt;</li>
|
|
32250
|
+
<li> filename: For example, foo in foo.jpg;</li>
|
|
32251
|
+
<li> all (any request under the site): all;</li>
|
|
32252
|
+
<li> host: The host under the current site. For example, www.maxx55.com;</li>
|
|
32253
|
+
<li> URL path: The request for a URL path under the current site. For example, /example;</li>
|
|
32254
|
+
<li> URL full: The request for a complete URL under the current site, including the HTTP protocol, the host, and the path. For example: https://www.maxx55.cn/example;</li>
|
|
32255
|
+
<li> client_country: Country/region identifier compliant with the ISO3166 standard;</li>
|
|
32256
|
+
<li> query_string: The parameter value in the query string of the requested URL under the current site. For example, cn and 1 in lang=cn&version=1;</li>
|
|
32257
|
+
<li> request_header: The value of the HTTP request header field. For example, zh-CN,zh;q=0.9 in Accept-Language:zh-CN,zh;q=0.9;</li>
|
|
32258
|
+
<li> client_ip: The client request IP carried in the current request, which supports IPv4/IPv6 and an IP range;</li>
|
|
32259
|
+
<li> request_protocol: The protocol of the current request. Valid values: HTTP and HTTPS;</li>
|
|
32260
|
+
<li> request_method: The method of the current request. Valid values: GET, HEAD, POST, PUT, DELETE, TRACE, CONNECT, OPTIONS, PATCH, COPY, LOCK, MKCOL, MOVE, PROPFIND, PROPPATCH, and UNLOCK. </li>
|
|
31917
32261
|
:type Values: list of str
|
|
31918
32262
|
:param _IgnoreCase: Whether the parameter value is case insensitive. Default value: false.
|
|
31919
32263
|
:type IgnoreCase: bool
|
|
@@ -31949,7 +32293,7 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
31949
32293
|
|
|
31950
32294
|
@property
|
|
31951
32295
|
def Target(self):
|
|
31952
|
-
"""
|
|
32296
|
+
"""Matching type. Valid values: <li>filename: Filename;</li><li>extension: File suffix;</li><li>host: Host;</li><li>full_url: A complete URL path under the current site, including the HTTP protocol, the host, and the path;</li><li>url: The request for a URL path under the current site;</li><li>client_country: Client country/region;</li><li>query_string: The query string for a requested URL under the current site;</li><li>request_header: HTTP request header;</li><li>client_ip: Client IP;</li><li>request_protocol: Request protocol;</li><li>request_method: HTTP request method.</li>
|
|
31953
32297
|
:rtype: str
|
|
31954
32298
|
"""
|
|
31955
32299
|
return self._Target
|
|
@@ -31960,19 +32304,19 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
31960
32304
|
|
|
31961
32305
|
@property
|
|
31962
32306
|
def Values(self):
|
|
31963
|
-
"""
|
|
31964
|
-
<li> File
|
|
31965
|
-
<li>
|
|
31966
|
-
<li>
|
|
31967
|
-
<li>
|
|
31968
|
-
<li> URL
|
|
31969
|
-
<li> URL
|
|
31970
|
-
<li>
|
|
31971
|
-
<li>
|
|
31972
|
-
<li>
|
|
31973
|
-
<li>
|
|
31974
|
-
<li>
|
|
31975
|
-
<li>
|
|
32307
|
+
"""Parameter values for corresponding matching types. It is allowed to pass an empty array only when the matching type is query_string or request_header and the operator value is exist or not exist. Corresponding match types include:
|
|
32308
|
+
<li>extension: File suffix such as jpg or txt;</li>
|
|
32309
|
+
<li> filename: For example, foo in foo.jpg;</li>
|
|
32310
|
+
<li> all (any request under the site): all;</li>
|
|
32311
|
+
<li> host: The host under the current site. For example, www.maxx55.com;</li>
|
|
32312
|
+
<li> URL path: The request for a URL path under the current site. For example, /example;</li>
|
|
32313
|
+
<li> URL full: The request for a complete URL under the current site, including the HTTP protocol, the host, and the path. For example: https://www.maxx55.cn/example;</li>
|
|
32314
|
+
<li> client_country: Country/region identifier compliant with the ISO3166 standard;</li>
|
|
32315
|
+
<li> query_string: The parameter value in the query string of the requested URL under the current site. For example, cn and 1 in lang=cn&version=1;</li>
|
|
32316
|
+
<li> request_header: The value of the HTTP request header field. For example, zh-CN,zh;q=0.9 in Accept-Language:zh-CN,zh;q=0.9;</li>
|
|
32317
|
+
<li> client_ip: The client request IP carried in the current request, which supports IPv4/IPv6 and an IP range;</li>
|
|
32318
|
+
<li> request_protocol: The protocol of the current request. Valid values: HTTP and HTTPS;</li>
|
|
32319
|
+
<li> request_method: The method of the current request. Valid values: GET, HEAD, POST, PUT, DELETE, TRACE, CONNECT, OPTIONS, PATCH, COPY, LOCK, MKCOL, MOVE, PROPFIND, PROPPATCH, and UNLOCK. </li>
|
|
31976
32320
|
:rtype: list of str
|
|
31977
32321
|
"""
|
|
31978
32322
|
return self._Values
|