tencentcloud-sdk-python-intl-en 3.0.1098__py2.py3-none-any.whl → 3.0.1099__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 +23 -0
- tencentcloud/intlpartnersmgt/v20220928/models.py +330 -0
- 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.1099.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python_intl_en-3.0.1098.dist-info → tencentcloud_sdk_python_intl_en-3.0.1099.dist-info}/RECORD +10 -10
- {tencentcloud_sdk_python_intl_en-3.0.1098.dist-info → tencentcloud_sdk_python_intl_en-3.0.1099.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python_intl_en-3.0.1098.dist-info → tencentcloud_sdk_python_intl_en-3.0.1099.dist-info}/top_level.txt +0 -0
tencentcloud/__init__.py
CHANGED
|
@@ -562,6 +562,29 @@ class IntlpartnersmgtClient(AbstractClient):
|
|
|
562
562
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
563
563
|
|
|
564
564
|
|
|
565
|
+
def QueryPolicyProductListByCode(self, request):
|
|
566
|
+
"""This API is used to query the product list information within the specified policy range. To call this API, contact your account manager to add it to the allowlist.
|
|
567
|
+
|
|
568
|
+
:param request: Request instance for QueryPolicyProductListByCode.
|
|
569
|
+
:type request: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryPolicyProductListByCodeRequest`
|
|
570
|
+
:rtype: :class:`tencentcloud.intlpartnersmgt.v20220928.models.QueryPolicyProductListByCodeResponse`
|
|
571
|
+
|
|
572
|
+
"""
|
|
573
|
+
try:
|
|
574
|
+
params = request._serialize()
|
|
575
|
+
headers = request.headers
|
|
576
|
+
body = self.call("QueryPolicyProductListByCode", params, headers=headers)
|
|
577
|
+
response = json.loads(body)
|
|
578
|
+
model = models.QueryPolicyProductListByCodeResponse()
|
|
579
|
+
model._deserialize(response["Response"])
|
|
580
|
+
return model
|
|
581
|
+
except Exception as e:
|
|
582
|
+
if isinstance(e, TencentCloudSDKException):
|
|
583
|
+
raise
|
|
584
|
+
else:
|
|
585
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
586
|
+
|
|
587
|
+
|
|
565
588
|
def QueryVoucherAmountByUin(self, request):
|
|
566
589
|
"""This API is used to query the voucher quota based on the customer UIN.
|
|
567
590
|
|
|
@@ -3889,6 +3889,192 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
3889
3889
|
|
|
3890
3890
|
|
|
3891
3891
|
|
|
3892
|
+
class PolicyProductList(AbstractModel):
|
|
3893
|
+
"""
|
|
3894
|
+
|
|
3895
|
+
"""
|
|
3896
|
+
|
|
3897
|
+
def __init__(self):
|
|
3898
|
+
r"""
|
|
3899
|
+
:param _PolicyCode: Policy code.
|
|
3900
|
+
:type PolicyCode: str
|
|
3901
|
+
:param _ProductCode: Product code, if the return is *, any item under this level is included in the policy product scope.
|
|
3902
|
+
:type ProductCode: str
|
|
3903
|
+
:param _ProductName: Product name, if the return is *, any item under this level is included in the policy product scope.
|
|
3904
|
+
:type ProductName: str
|
|
3905
|
+
:param _SubProductCode: SubProduct code, if the return is *, any item under this level is included in the policy product scope.
|
|
3906
|
+
:type SubProductCode: str
|
|
3907
|
+
:param _SubProductName: SubProduct name, if the return is *, any item under this level is included in the policy product scope.
|
|
3908
|
+
:type SubProductName: str
|
|
3909
|
+
:param _ComponentTypeCode: Component type code, if the return is *, any item under this level is included in the policy product scope.
|
|
3910
|
+
:type ComponentTypeCode: str
|
|
3911
|
+
:param _ComponentTypeName: Component type name, if the return is *, any item under this level is included in the policy product scope.
|
|
3912
|
+
:type ComponentTypeName: str
|
|
3913
|
+
:param _ComponentCode: Component code, if the return is *, any item under this level is included in the policy product scope.
|
|
3914
|
+
:type ComponentCode: str
|
|
3915
|
+
:param _ComponentName: Component name, if the return is *, any item under this level is included in the policy product scope.
|
|
3916
|
+
:type ComponentName: str
|
|
3917
|
+
:param _StartDate: Policy effective date.
|
|
3918
|
+
:type StartDate: str
|
|
3919
|
+
:param _EndDate: Policy expiration date.
|
|
3920
|
+
:type EndDate: str
|
|
3921
|
+
"""
|
|
3922
|
+
self._PolicyCode = None
|
|
3923
|
+
self._ProductCode = None
|
|
3924
|
+
self._ProductName = None
|
|
3925
|
+
self._SubProductCode = None
|
|
3926
|
+
self._SubProductName = None
|
|
3927
|
+
self._ComponentTypeCode = None
|
|
3928
|
+
self._ComponentTypeName = None
|
|
3929
|
+
self._ComponentCode = None
|
|
3930
|
+
self._ComponentName = None
|
|
3931
|
+
self._StartDate = None
|
|
3932
|
+
self._EndDate = None
|
|
3933
|
+
|
|
3934
|
+
@property
|
|
3935
|
+
def PolicyCode(self):
|
|
3936
|
+
"""Policy code.
|
|
3937
|
+
:rtype: str
|
|
3938
|
+
"""
|
|
3939
|
+
return self._PolicyCode
|
|
3940
|
+
|
|
3941
|
+
@PolicyCode.setter
|
|
3942
|
+
def PolicyCode(self, PolicyCode):
|
|
3943
|
+
self._PolicyCode = PolicyCode
|
|
3944
|
+
|
|
3945
|
+
@property
|
|
3946
|
+
def ProductCode(self):
|
|
3947
|
+
"""Product code, if the return is *, any item under this level is included in the policy product scope.
|
|
3948
|
+
:rtype: str
|
|
3949
|
+
"""
|
|
3950
|
+
return self._ProductCode
|
|
3951
|
+
|
|
3952
|
+
@ProductCode.setter
|
|
3953
|
+
def ProductCode(self, ProductCode):
|
|
3954
|
+
self._ProductCode = ProductCode
|
|
3955
|
+
|
|
3956
|
+
@property
|
|
3957
|
+
def ProductName(self):
|
|
3958
|
+
"""Product name, if the return is *, any item under this level is included in the policy product scope.
|
|
3959
|
+
:rtype: str
|
|
3960
|
+
"""
|
|
3961
|
+
return self._ProductName
|
|
3962
|
+
|
|
3963
|
+
@ProductName.setter
|
|
3964
|
+
def ProductName(self, ProductName):
|
|
3965
|
+
self._ProductName = ProductName
|
|
3966
|
+
|
|
3967
|
+
@property
|
|
3968
|
+
def SubProductCode(self):
|
|
3969
|
+
"""SubProduct code, if the return is *, any item under this level is included in the policy product scope.
|
|
3970
|
+
:rtype: str
|
|
3971
|
+
"""
|
|
3972
|
+
return self._SubProductCode
|
|
3973
|
+
|
|
3974
|
+
@SubProductCode.setter
|
|
3975
|
+
def SubProductCode(self, SubProductCode):
|
|
3976
|
+
self._SubProductCode = SubProductCode
|
|
3977
|
+
|
|
3978
|
+
@property
|
|
3979
|
+
def SubProductName(self):
|
|
3980
|
+
"""SubProduct name, if the return is *, any item under this level is included in the policy product scope.
|
|
3981
|
+
:rtype: str
|
|
3982
|
+
"""
|
|
3983
|
+
return self._SubProductName
|
|
3984
|
+
|
|
3985
|
+
@SubProductName.setter
|
|
3986
|
+
def SubProductName(self, SubProductName):
|
|
3987
|
+
self._SubProductName = SubProductName
|
|
3988
|
+
|
|
3989
|
+
@property
|
|
3990
|
+
def ComponentTypeCode(self):
|
|
3991
|
+
"""Component type code, if the return is *, any item under this level is included in the policy product scope.
|
|
3992
|
+
:rtype: str
|
|
3993
|
+
"""
|
|
3994
|
+
return self._ComponentTypeCode
|
|
3995
|
+
|
|
3996
|
+
@ComponentTypeCode.setter
|
|
3997
|
+
def ComponentTypeCode(self, ComponentTypeCode):
|
|
3998
|
+
self._ComponentTypeCode = ComponentTypeCode
|
|
3999
|
+
|
|
4000
|
+
@property
|
|
4001
|
+
def ComponentTypeName(self):
|
|
4002
|
+
"""Component type name, if the return is *, any item under this level is included in the policy product scope.
|
|
4003
|
+
:rtype: str
|
|
4004
|
+
"""
|
|
4005
|
+
return self._ComponentTypeName
|
|
4006
|
+
|
|
4007
|
+
@ComponentTypeName.setter
|
|
4008
|
+
def ComponentTypeName(self, ComponentTypeName):
|
|
4009
|
+
self._ComponentTypeName = ComponentTypeName
|
|
4010
|
+
|
|
4011
|
+
@property
|
|
4012
|
+
def ComponentCode(self):
|
|
4013
|
+
"""Component code, if the return is *, any item under this level is included in the policy product scope.
|
|
4014
|
+
:rtype: str
|
|
4015
|
+
"""
|
|
4016
|
+
return self._ComponentCode
|
|
4017
|
+
|
|
4018
|
+
@ComponentCode.setter
|
|
4019
|
+
def ComponentCode(self, ComponentCode):
|
|
4020
|
+
self._ComponentCode = ComponentCode
|
|
4021
|
+
|
|
4022
|
+
@property
|
|
4023
|
+
def ComponentName(self):
|
|
4024
|
+
"""Component name, if the return is *, any item under this level is included in the policy product scope.
|
|
4025
|
+
:rtype: str
|
|
4026
|
+
"""
|
|
4027
|
+
return self._ComponentName
|
|
4028
|
+
|
|
4029
|
+
@ComponentName.setter
|
|
4030
|
+
def ComponentName(self, ComponentName):
|
|
4031
|
+
self._ComponentName = ComponentName
|
|
4032
|
+
|
|
4033
|
+
@property
|
|
4034
|
+
def StartDate(self):
|
|
4035
|
+
"""Policy effective date.
|
|
4036
|
+
:rtype: str
|
|
4037
|
+
"""
|
|
4038
|
+
return self._StartDate
|
|
4039
|
+
|
|
4040
|
+
@StartDate.setter
|
|
4041
|
+
def StartDate(self, StartDate):
|
|
4042
|
+
self._StartDate = StartDate
|
|
4043
|
+
|
|
4044
|
+
@property
|
|
4045
|
+
def EndDate(self):
|
|
4046
|
+
"""Policy expiration date.
|
|
4047
|
+
:rtype: str
|
|
4048
|
+
"""
|
|
4049
|
+
return self._EndDate
|
|
4050
|
+
|
|
4051
|
+
@EndDate.setter
|
|
4052
|
+
def EndDate(self, EndDate):
|
|
4053
|
+
self._EndDate = EndDate
|
|
4054
|
+
|
|
4055
|
+
|
|
4056
|
+
def _deserialize(self, params):
|
|
4057
|
+
self._PolicyCode = params.get("PolicyCode")
|
|
4058
|
+
self._ProductCode = params.get("ProductCode")
|
|
4059
|
+
self._ProductName = params.get("ProductName")
|
|
4060
|
+
self._SubProductCode = params.get("SubProductCode")
|
|
4061
|
+
self._SubProductName = params.get("SubProductName")
|
|
4062
|
+
self._ComponentTypeCode = params.get("ComponentTypeCode")
|
|
4063
|
+
self._ComponentTypeName = params.get("ComponentTypeName")
|
|
4064
|
+
self._ComponentCode = params.get("ComponentCode")
|
|
4065
|
+
self._ComponentName = params.get("ComponentName")
|
|
4066
|
+
self._StartDate = params.get("StartDate")
|
|
4067
|
+
self._EndDate = params.get("EndDate")
|
|
4068
|
+
memeber_set = set(params.keys())
|
|
4069
|
+
for name, value in vars(self).items():
|
|
4070
|
+
property_name = name[1:]
|
|
4071
|
+
if property_name in memeber_set:
|
|
4072
|
+
memeber_set.remove(property_name)
|
|
4073
|
+
if len(memeber_set) > 0:
|
|
4074
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4075
|
+
|
|
4076
|
+
|
|
4077
|
+
|
|
3892
4078
|
class QueryAccountVerificationStatusRequest(AbstractModel):
|
|
3893
4079
|
"""QueryAccountVerificationStatus request structure.
|
|
3894
4080
|
|
|
@@ -4923,6 +5109,150 @@ class QueryPartnerCreditResponse(AbstractModel):
|
|
|
4923
5109
|
self._RequestId = params.get("RequestId")
|
|
4924
5110
|
|
|
4925
5111
|
|
|
5112
|
+
class QueryPolicyProductListByCodeRequest(AbstractModel):
|
|
5113
|
+
"""QueryPolicyProductListByCode request structure.
|
|
5114
|
+
|
|
5115
|
+
"""
|
|
5116
|
+
|
|
5117
|
+
def __init__(self):
|
|
5118
|
+
r"""
|
|
5119
|
+
:param _PolicyCode: Policy code
|
|
5120
|
+
:type PolicyCode: str
|
|
5121
|
+
:param _ProductCode: Product code
|
|
5122
|
+
:type ProductCode: str
|
|
5123
|
+
:param _ProductName: Product name
|
|
5124
|
+
:type ProductName: str
|
|
5125
|
+
:param _SubProductCode: Subproduct code
|
|
5126
|
+
:type SubProductCode: str
|
|
5127
|
+
:param _SubProductName: Subproduct name
|
|
5128
|
+
:type SubProductName: str
|
|
5129
|
+
"""
|
|
5130
|
+
self._PolicyCode = None
|
|
5131
|
+
self._ProductCode = None
|
|
5132
|
+
self._ProductName = None
|
|
5133
|
+
self._SubProductCode = None
|
|
5134
|
+
self._SubProductName = None
|
|
5135
|
+
|
|
5136
|
+
@property
|
|
5137
|
+
def PolicyCode(self):
|
|
5138
|
+
"""Policy code
|
|
5139
|
+
:rtype: str
|
|
5140
|
+
"""
|
|
5141
|
+
return self._PolicyCode
|
|
5142
|
+
|
|
5143
|
+
@PolicyCode.setter
|
|
5144
|
+
def PolicyCode(self, PolicyCode):
|
|
5145
|
+
self._PolicyCode = PolicyCode
|
|
5146
|
+
|
|
5147
|
+
@property
|
|
5148
|
+
def ProductCode(self):
|
|
5149
|
+
"""Product code
|
|
5150
|
+
:rtype: str
|
|
5151
|
+
"""
|
|
5152
|
+
return self._ProductCode
|
|
5153
|
+
|
|
5154
|
+
@ProductCode.setter
|
|
5155
|
+
def ProductCode(self, ProductCode):
|
|
5156
|
+
self._ProductCode = ProductCode
|
|
5157
|
+
|
|
5158
|
+
@property
|
|
5159
|
+
def ProductName(self):
|
|
5160
|
+
"""Product name
|
|
5161
|
+
:rtype: str
|
|
5162
|
+
"""
|
|
5163
|
+
return self._ProductName
|
|
5164
|
+
|
|
5165
|
+
@ProductName.setter
|
|
5166
|
+
def ProductName(self, ProductName):
|
|
5167
|
+
self._ProductName = ProductName
|
|
5168
|
+
|
|
5169
|
+
@property
|
|
5170
|
+
def SubProductCode(self):
|
|
5171
|
+
"""Subproduct code
|
|
5172
|
+
:rtype: str
|
|
5173
|
+
"""
|
|
5174
|
+
return self._SubProductCode
|
|
5175
|
+
|
|
5176
|
+
@SubProductCode.setter
|
|
5177
|
+
def SubProductCode(self, SubProductCode):
|
|
5178
|
+
self._SubProductCode = SubProductCode
|
|
5179
|
+
|
|
5180
|
+
@property
|
|
5181
|
+
def SubProductName(self):
|
|
5182
|
+
"""Subproduct name
|
|
5183
|
+
:rtype: str
|
|
5184
|
+
"""
|
|
5185
|
+
return self._SubProductName
|
|
5186
|
+
|
|
5187
|
+
@SubProductName.setter
|
|
5188
|
+
def SubProductName(self, SubProductName):
|
|
5189
|
+
self._SubProductName = SubProductName
|
|
5190
|
+
|
|
5191
|
+
|
|
5192
|
+
def _deserialize(self, params):
|
|
5193
|
+
self._PolicyCode = params.get("PolicyCode")
|
|
5194
|
+
self._ProductCode = params.get("ProductCode")
|
|
5195
|
+
self._ProductName = params.get("ProductName")
|
|
5196
|
+
self._SubProductCode = params.get("SubProductCode")
|
|
5197
|
+
self._SubProductName = params.get("SubProductName")
|
|
5198
|
+
memeber_set = set(params.keys())
|
|
5199
|
+
for name, value in vars(self).items():
|
|
5200
|
+
property_name = name[1:]
|
|
5201
|
+
if property_name in memeber_set:
|
|
5202
|
+
memeber_set.remove(property_name)
|
|
5203
|
+
if len(memeber_set) > 0:
|
|
5204
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5205
|
+
|
|
5206
|
+
|
|
5207
|
+
|
|
5208
|
+
class QueryPolicyProductListByCodeResponse(AbstractModel):
|
|
5209
|
+
"""QueryPolicyProductListByCode response structure.
|
|
5210
|
+
|
|
5211
|
+
"""
|
|
5212
|
+
|
|
5213
|
+
def __init__(self):
|
|
5214
|
+
r"""
|
|
5215
|
+
:param _ProductList: Policy product list
|
|
5216
|
+
:type ProductList: list of PolicyProductList
|
|
5217
|
+
: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.
|
|
5218
|
+
:type RequestId: str
|
|
5219
|
+
"""
|
|
5220
|
+
self._ProductList = None
|
|
5221
|
+
self._RequestId = None
|
|
5222
|
+
|
|
5223
|
+
@property
|
|
5224
|
+
def ProductList(self):
|
|
5225
|
+
"""Policy product list
|
|
5226
|
+
:rtype: list of PolicyProductList
|
|
5227
|
+
"""
|
|
5228
|
+
return self._ProductList
|
|
5229
|
+
|
|
5230
|
+
@ProductList.setter
|
|
5231
|
+
def ProductList(self, ProductList):
|
|
5232
|
+
self._ProductList = ProductList
|
|
5233
|
+
|
|
5234
|
+
@property
|
|
5235
|
+
def RequestId(self):
|
|
5236
|
+
"""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.
|
|
5237
|
+
:rtype: str
|
|
5238
|
+
"""
|
|
5239
|
+
return self._RequestId
|
|
5240
|
+
|
|
5241
|
+
@RequestId.setter
|
|
5242
|
+
def RequestId(self, RequestId):
|
|
5243
|
+
self._RequestId = RequestId
|
|
5244
|
+
|
|
5245
|
+
|
|
5246
|
+
def _deserialize(self, params):
|
|
5247
|
+
if params.get("ProductList") is not None:
|
|
5248
|
+
self._ProductList = []
|
|
5249
|
+
for item in params.get("ProductList"):
|
|
5250
|
+
obj = PolicyProductList()
|
|
5251
|
+
obj._deserialize(item)
|
|
5252
|
+
self._ProductList.append(obj)
|
|
5253
|
+
self._RequestId = params.get("RequestId")
|
|
5254
|
+
|
|
5255
|
+
|
|
4926
5256
|
class QueryVoucherAmountByUinItem(AbstractModel):
|
|
4927
5257
|
"""Customer voucher quota
|
|
4928
5258
|
|
|
@@ -65,6 +65,9 @@ FAILEDOPERATION_CREATELOGTOPICTASKAUTHFAILURE = 'FailedOperation.CreateLogTopicT
|
|
|
65
65
|
# The edge client certificate has expired. It is not supported to issue expired certificates for the time being.
|
|
66
66
|
FAILEDOPERATION_EDGECLIENTCERTIFICATEHASEXPIRED = 'FailedOperation.EdgeClientCertificateHasExpired'
|
|
67
67
|
|
|
68
|
+
#
|
|
69
|
+
FAILEDOPERATION_FAILEDTOCALLDNSPOD = 'FailedOperation.FailedToCallDNSPod'
|
|
70
|
+
|
|
68
71
|
# Another task is being deployed. Please try again later.
|
|
69
72
|
FAILEDOPERATION_FUNCTIONDEPLOYING = 'FailedOperation.FunctionDeploying'
|
|
70
73
|
|
|
@@ -110,9 +113,6 @@ INTERNALERROR_DBERROR = 'InternalError.DBError'
|
|
|
110
113
|
# Failed to get configuration
|
|
111
114
|
INTERNALERROR_DOMAINCONFIG = 'InternalError.DomainConfig'
|
|
112
115
|
|
|
113
|
-
# Failed to call DNSPod. Please try again later. If the issue persists, please contact the intelligent customer service or submit a ticket.
|
|
114
|
-
INTERNALERROR_FAILEDTOCALLDNSPOD = 'InternalError.FailedToCallDNSPod'
|
|
115
|
-
|
|
116
116
|
# Failed to generate an upload link.
|
|
117
117
|
INTERNALERROR_FAILEDTOGENERATEURL = 'InternalError.FailedToGenerateUrl'
|
|
118
118
|
|
|
@@ -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
|
|
@@ -1969,6 +1969,29 @@ class TeoClient(AbstractClient):
|
|
|
1969
1969
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1970
1970
|
|
|
1971
1971
|
|
|
1972
|
+
def DescribeZoneConfigImportResult(self, request):
|
|
1973
|
+
"""This API is used to query the results of site configuration import via API (ImportZoneConfig). This feature only supports the sites in the plans of the Standard Edition and the Enterprise Edition.
|
|
1974
|
+
|
|
1975
|
+
:param request: Request instance for DescribeZoneConfigImportResult.
|
|
1976
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.DescribeZoneConfigImportResultRequest`
|
|
1977
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.DescribeZoneConfigImportResultResponse`
|
|
1978
|
+
|
|
1979
|
+
"""
|
|
1980
|
+
try:
|
|
1981
|
+
params = request._serialize()
|
|
1982
|
+
headers = request.headers
|
|
1983
|
+
body = self.call("DescribeZoneConfigImportResult", params, headers=headers)
|
|
1984
|
+
response = json.loads(body)
|
|
1985
|
+
model = models.DescribeZoneConfigImportResultResponse()
|
|
1986
|
+
model._deserialize(response["Response"])
|
|
1987
|
+
return model
|
|
1988
|
+
except Exception as e:
|
|
1989
|
+
if isinstance(e, TencentCloudSDKException):
|
|
1990
|
+
raise
|
|
1991
|
+
else:
|
|
1992
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
1993
|
+
|
|
1994
|
+
|
|
1972
1995
|
def DescribeZoneSetting(self, request):
|
|
1973
1996
|
"""This API is used to query the site configuration.
|
|
1974
1997
|
|
|
@@ -2091,6 +2114,29 @@ class TeoClient(AbstractClient):
|
|
|
2091
2114
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2092
2115
|
|
|
2093
2116
|
|
|
2117
|
+
def ExportZoneConfig(self, request):
|
|
2118
|
+
"""This API is used to export site configuration . The exported configuration is used for import via the API (ImportZoneConfig). This feature only supports the sites in the plans of the Standard Edition and the Enterprise Edition.
|
|
2119
|
+
|
|
2120
|
+
:param request: Request instance for ExportZoneConfig.
|
|
2121
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ExportZoneConfigRequest`
|
|
2122
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ExportZoneConfigResponse`
|
|
2123
|
+
|
|
2124
|
+
"""
|
|
2125
|
+
try:
|
|
2126
|
+
params = request._serialize()
|
|
2127
|
+
headers = request.headers
|
|
2128
|
+
body = self.call("ExportZoneConfig", params, headers=headers)
|
|
2129
|
+
response = json.loads(body)
|
|
2130
|
+
model = models.ExportZoneConfigResponse()
|
|
2131
|
+
model._deserialize(response["Response"])
|
|
2132
|
+
return model
|
|
2133
|
+
except Exception as e:
|
|
2134
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2135
|
+
raise
|
|
2136
|
+
else:
|
|
2137
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2138
|
+
|
|
2139
|
+
|
|
2094
2140
|
def HandleFunctionRuntimeEnvironment(self, request):
|
|
2095
2141
|
"""This API is used to operate the runtime environment of an edge function. It supports related settings for environment variables.
|
|
2096
2142
|
After the environment variables are set, they can be used in the function code. For details, see [Edge Functions Referencing Environment Variables](https://intl.cloud.tencent.com/document/product/1552/109151?from_cn_redirect=1#0151fd9a-8b0e-407b-ae37-54553a60ded6).
|
|
@@ -2138,6 +2184,29 @@ class TeoClient(AbstractClient):
|
|
|
2138
2184
|
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2139
2185
|
|
|
2140
2186
|
|
|
2187
|
+
def ImportZoneConfig(self, request):
|
|
2188
|
+
"""This API is used to quickly import site configuration files. After the import is initiated, the API will return the corresponding task ID (TaskId). Users need to use the site configuration import result query API (DescribeZoneConfigImportResult) to obtain the results of this import task. This feature only supports the sites in the plans of the Standard Edition and the Enterprise Edition.
|
|
2189
|
+
|
|
2190
|
+
:param request: Request instance for ImportZoneConfig.
|
|
2191
|
+
:type request: :class:`tencentcloud.teo.v20220901.models.ImportZoneConfigRequest`
|
|
2192
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.ImportZoneConfigResponse`
|
|
2193
|
+
|
|
2194
|
+
"""
|
|
2195
|
+
try:
|
|
2196
|
+
params = request._serialize()
|
|
2197
|
+
headers = request.headers
|
|
2198
|
+
body = self.call("ImportZoneConfig", params, headers=headers)
|
|
2199
|
+
response = json.loads(body)
|
|
2200
|
+
model = models.ImportZoneConfigResponse()
|
|
2201
|
+
model._deserialize(response["Response"])
|
|
2202
|
+
return model
|
|
2203
|
+
except Exception as e:
|
|
2204
|
+
if isinstance(e, TencentCloudSDKException):
|
|
2205
|
+
raise
|
|
2206
|
+
else:
|
|
2207
|
+
raise TencentCloudSDKException(type(e).__name__, str(e))
|
|
2208
|
+
|
|
2209
|
+
|
|
2141
2210
|
def IncreasePlanQuota(self, request):
|
|
2142
2211
|
"""When the number of sites bound to your plan, the number of rules under "Web Protection - Custom Rules - Precision Matching Policy", or the number of rules under "Web Protection - Rate Limiting - Precision Rate Limiting Module" reaches the plan's quota, you can use this interface to purchase additional quotas.
|
|
2143
2212
|
> This interface only supports the Enterprise Edition Plan.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
tencentcloud/__init__.py,sha256=
|
|
1
|
+
tencentcloud/__init__.py,sha256=H5iHwgz2CkeI2Zd734iOEbMxmjThWxX6Rwx7UOSyi74,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
|
|
@@ -323,8 +323,8 @@ tencentcloud/ims/v20201229/models.py,sha256=Sfna_x1BytKq04dX2wwI9wbXDh9N4JPyS6WD
|
|
|
323
323
|
tencentcloud/intlpartnersmgt/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
324
324
|
tencentcloud/intlpartnersmgt/v20220928/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
325
325
|
tencentcloud/intlpartnersmgt/v20220928/errorcodes.py,sha256=kVIUiSL2ABQt2Ymcp8lqK2lWEWCgXf4IczqMD7ZiEhc,5503
|
|
326
|
-
tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py,sha256=
|
|
327
|
-
tencentcloud/intlpartnersmgt/v20220928/models.py,sha256=
|
|
326
|
+
tencentcloud/intlpartnersmgt/v20220928/intlpartnersmgt_client.py,sha256=79Mq0jaYV1sNUbULTldT4boxqB6wuSFMDYO-lN00Gyc,29467
|
|
327
|
+
tencentcloud/intlpartnersmgt/v20220928/models.py,sha256=sw1U8Ap-hyQrdR_PSOUXZmn0IFvq7Yk8g0geuWsm8go,193133
|
|
328
328
|
tencentcloud/iotcloud/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
329
329
|
tencentcloud/iotcloud/v20210408/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
330
330
|
tencentcloud/iotcloud/v20210408/errorcodes.py,sha256=ot2acVUWnZ1XbJLkM4K-jT_Gw5TQD53TtZwnfFzJJ9Y,5887
|
|
@@ -533,9 +533,9 @@ tencentcloud/teo/v20220106/errorcodes.py,sha256=rbR15SA5lWz2Bfvn2Qb_33J7jDVaoBB1
|
|
|
533
533
|
tencentcloud/teo/v20220106/models.py,sha256=O7LYEZTTKjloNI2BuDHcaBdEpxjHezVYck_xkVhQse8,777923
|
|
534
534
|
tencentcloud/teo/v20220106/teo_client.py,sha256=xFgjEY9outkMEOonYeYfLL18TRUxVSRdE7Q3m6ACyWM,82902
|
|
535
535
|
tencentcloud/teo/v20220901/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
536
|
-
tencentcloud/teo/v20220901/errorcodes.py,sha256=
|
|
537
|
-
tencentcloud/teo/v20220901/models.py,sha256=
|
|
538
|
-
tencentcloud/teo/v20220901/teo_client.py,sha256=
|
|
536
|
+
tencentcloud/teo/v20220901/errorcodes.py,sha256=0M6y1aD2cE4xAZkl7kdvi10eC4-K2fnK_wBZG6IkqJc,60296
|
|
537
|
+
tencentcloud/teo/v20220901/models.py,sha256=t2ZL0cEtKPaa1-ClY3_8ef1fewIvAXfh8-mJjech_xo,1288734
|
|
538
|
+
tencentcloud/teo/v20220901/teo_client.py,sha256=Vh5-st8h-Gxd5igPDzus-s_WXKKnHJQMr_q5a3R9sKU,131172
|
|
539
539
|
tencentcloud/tiw/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
540
540
|
tencentcloud/tiw/v20190919/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
541
541
|
tencentcloud/tiw/v20190919/errorcodes.py,sha256=SWlIppzLafoknDCajqvlAdh2a83rRm07aksn1EUGVAc,6361
|
|
@@ -609,7 +609,7 @@ tencentcloud/yunjing/v20180228/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
|
609
609
|
tencentcloud/yunjing/v20180228/errorcodes.py,sha256=VEqwMbMBe7F2oAW6ZDu3vAivBr60lbo7FWduFqRTEVg,3195
|
|
610
610
|
tencentcloud/yunjing/v20180228/models.py,sha256=0rnsJ4JkA5aCTV1cVwCuKnzooe6IhQ0NS3ij6tJ22uw,330670
|
|
611
611
|
tencentcloud/yunjing/v20180228/yunjing_client.py,sha256=GA7Fo5GmpEJ2kufV2upw-ZpMZxznsPZ3NKDKDDAI4Ao,67384
|
|
612
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
613
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
614
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
615
|
-
tencentcloud_sdk_python_intl_en-3.0.
|
|
612
|
+
tencentcloud_sdk_python_intl_en-3.0.1099.dist-info/METADATA,sha256=S1XwzsUxUjSV1be9y1a5ESW-m6BWVeZcGwgblcV_cqk,1628
|
|
613
|
+
tencentcloud_sdk_python_intl_en-3.0.1099.dist-info/WHEEL,sha256=z9j0xAa_JmUKMpmz72K0ZGALSM_n-wQVmGbleXx2VHg,110
|
|
614
|
+
tencentcloud_sdk_python_intl_en-3.0.1099.dist-info/top_level.txt,sha256=g-8OyzoqI6O6LiS85zkeNzhB-osEnRIPZMdyRd_0eL0,13
|
|
615
|
+
tencentcloud_sdk_python_intl_en-3.0.1099.dist-info/RECORD,,
|
|
File without changes
|