tencentcloud-sdk-python 3.1.13__py2.py3-none-any.whl → 3.1.33__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 might be problematic. Click here for more details.
- tencentcloud/__init__.py +1 -1
- tencentcloud/ags/v20250920/ags_client.py +46 -0
- tencentcloud/ags/v20250920/ags_client_async.py +36 -0
- tencentcloud/ags/v20250920/errorcodes.py +45 -0
- tencentcloud/ags/v20250920/models.py +1704 -110
- tencentcloud/ai3d/v20250513/ai3d_client.py +4 -4
- tencentcloud/ai3d/v20250513/ai3d_client_async.py +4 -4
- tencentcloud/ai3d/v20250513/models.py +78 -36
- tencentcloud/aiart/v20221229/aiart_client.py +46 -0
- tencentcloud/aiart/v20221229/aiart_client_async.py +36 -0
- tencentcloud/aiart/v20221229/models.py +289 -0
- tencentcloud/ams/v20201229/models.py +101 -0
- tencentcloud/antiddos/v20200309/antiddos_client.py +69 -0
- tencentcloud/antiddos/v20200309/antiddos_client_async.py +54 -0
- tencentcloud/antiddos/v20200309/errorcodes.py +27 -0
- tencentcloud/antiddos/v20200309/models.py +1671 -97
- tencentcloud/apm/v20210622/apm_client.py +23 -0
- tencentcloud/apm/v20210622/apm_client_async.py +18 -0
- tencentcloud/apm/v20210622/errorcodes.py +3 -0
- tencentcloud/apm/v20210622/models.py +1678 -78
- tencentcloud/asr/v20190614/models.py +100 -2
- tencentcloud/autoscaling/v20180419/autoscaling_client.py +1 -1
- tencentcloud/autoscaling/v20180419/autoscaling_client_async.py +1 -1
- tencentcloud/autoscaling/v20180419/models.py +475 -338
- tencentcloud/bh/v20230418/models.py +179 -6
- tencentcloud/billing/v20180709/billing_client.py +23 -0
- tencentcloud/billing/v20180709/billing_client_async.py +18 -0
- tencentcloud/billing/v20180709/models.py +328 -6
- tencentcloud/cam/v20190116/models.py +111 -2
- tencentcloud/car/v20220110/car_client.py +23 -0
- tencentcloud/car/v20220110/car_client_async.py +18 -0
- tencentcloud/car/v20220110/models.py +109 -0
- tencentcloud/cbs/v20170312/models.py +14 -14
- tencentcloud/ccc/v20200210/ccc_client.py +42 -13
- tencentcloud/ccc/v20200210/ccc_client_async.py +37 -13
- tencentcloud/ccc/v20200210/errorcodes.py +6 -0
- tencentcloud/ccc/v20200210/models.py +256 -4
- tencentcloud/cdb/v20170320/models.py +37 -16
- tencentcloud/cdc/v20201214/models.py +92 -124
- tencentcloud/cdn/v20180606/cdn_client.py +0 -78
- tencentcloud/cdn/v20180606/cdn_client_async.py +0 -63
- tencentcloud/cdn/v20180606/errorcodes.py +3 -0
- tencentcloud/cdn/v20180606/models.py +464 -1028
- tencentcloud/cdwch/v20200915/cdwch_client.py +23 -0
- tencentcloud/cdwch/v20200915/cdwch_client_async.py +18 -0
- tencentcloud/cdwch/v20200915/models.py +555 -0
- tencentcloud/cdwdoris/v20211228/models.py +505 -0
- tencentcloud/cfs/v20190719/errorcodes.py +1 -1
- tencentcloud/cfs/v20190719/models.py +2 -2
- tencentcloud/cfw/v20190904/cfw_client.py +278 -23
- tencentcloud/cfw/v20190904/cfw_client_async.py +218 -18
- tencentcloud/cfw/v20190904/models.py +3319 -1154
- tencentcloud/chdfs/v20201112/models.py +150 -0
- tencentcloud/ckafka/v20190819/models.py +458 -282
- tencentcloud/clb/v20180317/clb_client.py +23 -0
- tencentcloud/clb/v20180317/clb_client_async.py +18 -0
- tencentcloud/clb/v20180317/models.py +230 -130
- tencentcloud/cloudapp/v20220530/models.py +190 -36
- tencentcloud/cloudaudit/v20190319/models.py +32 -4
- tencentcloud/cloudmate/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/__init__.py +0 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client.py +45 -0
- tencentcloud/cloudmate/v20251030/cloudmate_client_async.py +45 -0
- tencentcloud/cloudmate/v20251030/errorcodes.py +30 -0
- tencentcloud/cloudmate/v20251030/models.py +387 -0
- tencentcloud/cls/v20201016/cls_client.py +1064 -0
- tencentcloud/cls/v20201016/cls_client_async.py +860 -26
- tencentcloud/cls/v20201016/models.py +10246 -384
- tencentcloud/cme/v20191029/models.py +23 -0
- tencentcloud/csip/v20221121/models.py +317 -0
- tencentcloud/cvm/v20170312/cvm_client.py +1 -1
- tencentcloud/cvm/v20170312/cvm_client_async.py +1 -1
- tencentcloud/cvm/v20170312/errorcodes.py +9 -0
- tencentcloud/cvm/v20170312/models.py +28 -8
- tencentcloud/cwp/v20180228/cwp_client.py +0 -188
- tencentcloud/cwp/v20180228/cwp_client_async.py +0 -148
- tencentcloud/cwp/v20180228/models.py +1097 -1814
- tencentcloud/cynosdb/v20190107/models.py +181 -48
- tencentcloud/dataagent/v20250513/dataagent_client.py +161 -0
- tencentcloud/dataagent/v20250513/dataagent_client_async.py +126 -0
- tencentcloud/dataagent/v20250513/models.py +1477 -52
- tencentcloud/dbbrain/v20210527/dbbrain_client.py +23 -0
- tencentcloud/dbbrain/v20210527/dbbrain_client_async.py +18 -0
- tencentcloud/dbbrain/v20210527/models.py +261 -15
- tencentcloud/dbs/v20211108/dbs_client.py +69 -0
- tencentcloud/dbs/v20211108/dbs_client_async.py +54 -0
- tencentcloud/dbs/v20211108/errorcodes.py +15 -0
- tencentcloud/dbs/v20211108/models.py +1173 -27
- tencentcloud/dlc/v20210125/dlc_client.py +69 -0
- tencentcloud/dlc/v20210125/dlc_client_async.py +54 -0
- tencentcloud/dlc/v20210125/errorcodes.py +15 -0
- tencentcloud/dlc/v20210125/models.py +1016 -0
- tencentcloud/dnspod/v20210323/errorcodes.py +6 -0
- tencentcloud/dnspod/v20210323/models.py +4 -4
- tencentcloud/emr/v20190103/emr_client.py +46 -0
- tencentcloud/emr/v20190103/emr_client_async.py +36 -0
- tencentcloud/emr/v20190103/models.py +625 -2
- tencentcloud/es/v20180416/errorcodes.py +15 -0
- tencentcloud/es/v20180416/es_client.py +115 -0
- tencentcloud/es/v20180416/es_client_async.py +90 -0
- tencentcloud/es/v20180416/models.py +498 -4
- tencentcloud/ess/v20201111/ess_client.py +153 -6
- tencentcloud/ess/v20201111/ess_client_async.py +128 -6
- tencentcloud/ess/v20201111/models.py +1496 -58
- tencentcloud/essbasic/v20210526/models.py +129 -23
- tencentcloud/evt/v20250217/evt_client.py +46 -0
- tencentcloud/evt/v20250217/evt_client_async.py +36 -0
- tencentcloud/evt/v20250217/models.py +188 -0
- tencentcloud/faceid/v20180301/models.py +10 -4
- tencentcloud/gaap/v20180529/models.py +260 -352
- tencentcloud/gs/v20191118/models.py +150 -4
- tencentcloud/gwlb/v20240906/models.py +48 -70
- tencentcloud/iai/v20180301/models.py +4 -4
- tencentcloud/iai/v20200303/models.py +4 -4
- tencentcloud/igtm/v20231024/errorcodes.py +1 -1
- tencentcloud/ims/v20201229/ims_client.py +1 -1
- tencentcloud/ims/v20201229/ims_client_async.py +1 -1
- tencentcloud/ioa/v20220601/models.py +60 -0
- tencentcloud/keewidb/v20220308/models.py +52 -68
- tencentcloud/lcic/v20220817/models.py +15 -0
- tencentcloud/lighthouse/v20200324/errorcodes.py +2 -2
- tencentcloud/lighthouse/v20200324/models.py +8 -0
- tencentcloud/live/v20180801/errorcodes.py +6 -0
- tencentcloud/live/v20180801/live_client.py +143 -0
- tencentcloud/live/v20180801/live_client_async.py +113 -0
- tencentcloud/live/v20180801/models.py +914 -311
- tencentcloud/lke/v20231130/lke_client.py +48 -1
- tencentcloud/lke/v20231130/lke_client_async.py +43 -1
- tencentcloud/lke/v20231130/models.py +2940 -459
- tencentcloud/lkeap/v20240522/lkeap_client.py +1 -1
- tencentcloud/lkeap/v20240522/lkeap_client_async.py +1 -1
- tencentcloud/lkeap/v20240522/models.py +2 -6
- tencentcloud/lowcode/v20210108/models.py +30 -0
- tencentcloud/mna/v20210119/models.py +18 -2
- tencentcloud/mongodb/v20190725/models.py +2 -2
- tencentcloud/monitor/v20180724/models.py +258 -0
- tencentcloud/mps/v20190612/errorcodes.py +9 -0
- tencentcloud/mps/v20190612/models.py +3007 -140
- tencentcloud/mps/v20190612/mps_client.py +115 -0
- tencentcloud/mps/v20190612/mps_client_async.py +90 -0
- tencentcloud/oceanus/v20190422/errorcodes.py +9 -0
- tencentcloud/oceanus/v20190422/models.py +210 -4
- tencentcloud/ocr/v20181119/models.py +72 -4
- tencentcloud/ocr/v20181119/ocr_client.py +12 -8
- tencentcloud/ocr/v20181119/ocr_client_async.py +11 -7
- tencentcloud/partners/v20180321/models.py +88 -92
- tencentcloud/pts/v20210728/models.py +206 -0
- tencentcloud/rce/v20250425/__init__.py +0 -0
- tencentcloud/rce/v20250425/errorcodes.py +15 -0
- tencentcloud/rce/v20250425/models.py +301 -0
- tencentcloud/rce/v20250425/rce_client.py +49 -0
- tencentcloud/rce/v20250425/rce_client_async.py +44 -0
- tencentcloud/redis/v20180412/models.py +65 -70
- tencentcloud/rum/v20210622/models.py +548 -0
- tencentcloud/rum/v20210622/rum_client.py +23 -0
- tencentcloud/rum/v20210622/rum_client_async.py +18 -0
- tencentcloud/scf/v20180416/models.py +28 -2
- tencentcloud/ses/v20201002/errorcodes.py +3 -0
- tencentcloud/ssl/v20191205/models.py +991 -70
- tencentcloud/ssl/v20191205/ssl_client.py +2 -2
- tencentcloud/ssl/v20191205/ssl_client_async.py +2 -2
- tencentcloud/ssm/v20190923/models.py +134 -0
- tencentcloud/svp/v20240125/models.py +35 -20
- tencentcloud/tag/v20180813/models.py +34 -54
- tencentcloud/tat/v20201028/models.py +2 -0
- tencentcloud/tcaplusdb/v20190823/models.py +0 -337
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client.py +0 -25
- tencentcloud/tcaplusdb/v20190823/tcaplusdb_client_async.py +0 -20
- tencentcloud/tcb/v20180608/errorcodes.py +15 -12
- tencentcloud/tcb/v20180608/models.py +5761 -8383
- tencentcloud/tcb/v20180608/tcb_client.py +0 -276
- tencentcloud/tcb/v20180608/tcb_client_async.py +0 -216
- tencentcloud/tcbr/v20220217/errorcodes.py +27 -0
- tencentcloud/tcbr/v20220217/models.py +4193 -1389
- tencentcloud/tcbr/v20220217/tcbr_client.py +207 -0
- tencentcloud/tcbr/v20220217/tcbr_client_async.py +162 -0
- tencentcloud/tcr/v20190924/models.py +727 -61
- tencentcloud/tcr/v20190924/tcr_client.py +92 -0
- tencentcloud/tcr/v20190924/tcr_client_async.py +72 -0
- tencentcloud/tcss/v20201101/models.py +30 -0
- tencentcloud/tdai/v20250717/models.py +440 -2
- tencentcloud/tdai/v20250717/tdai_client.py +23 -0
- tencentcloud/tdai/v20250717/tdai_client_async.py +18 -0
- tencentcloud/tdmq/v20200217/errorcodes.py +1 -1
- tencentcloud/tdmq/v20200217/models.py +432 -4
- tencentcloud/tdmq/v20200217/tdmq_client.py +24 -0
- tencentcloud/tdmq/v20200217/tdmq_client_async.py +19 -0
- tencentcloud/teo/v20220901/errorcodes.py +39 -0
- tencentcloud/teo/v20220901/models.py +596 -79
- tencentcloud/teo/v20220901/teo_client.py +107 -1
- tencentcloud/teo/v20220901/teo_client_async.py +97 -1
- tencentcloud/thpc/v20211109/models.py +14 -14
- tencentcloud/thpc/v20220401/models.py +14 -14
- tencentcloud/thpc/v20230321/models.py +20 -54
- tencentcloud/tione/v20211111/errorcodes.py +9 -0
- tencentcloud/tione/v20211111/models.py +910 -73
- tencentcloud/tione/v20211111/tione_client.py +69 -0
- tencentcloud/tione/v20211111/tione_client_async.py +54 -0
- tencentcloud/tke/v20180525/models.py +468 -18
- tencentcloud/tke/v20180525/tke_client.py +69 -0
- tencentcloud/tke/v20180525/tke_client_async.py +54 -0
- tencentcloud/tke/v20220501/models.py +539 -0
- tencentcloud/tke/v20220501/tke_client.py +23 -0
- tencentcloud/tke/v20220501/tke_client_async.py +18 -0
- tencentcloud/trocket/v20230308/models.py +42 -21
- tencentcloud/trocket/v20230308/trocket_client.py +2 -1
- tencentcloud/trocket/v20230308/trocket_client_async.py +2 -1
- tencentcloud/trtc/v20190722/errorcodes.py +3 -0
- tencentcloud/trtc/v20190722/models.py +173 -30
- tencentcloud/tse/v20201207/models.py +42 -0
- tencentcloud/tsf/v20180326/errorcodes.py +4 -4
- tencentcloud/tsf/v20180326/models.py +15 -510
- tencentcloud/tsf/v20180326/tsf_client.py +66 -47
- tencentcloud/tsf/v20180326/tsf_client_async.py +44 -20
- tencentcloud/tts/v20190823/tts_client.py +1 -1
- tencentcloud/tts/v20190823/tts_client_async.py +1 -1
- tencentcloud/vclm/v20240523/models.py +383 -0
- tencentcloud/vclm/v20240523/vclm_client.py +46 -0
- tencentcloud/vclm/v20240523/vclm_client_async.py +36 -0
- tencentcloud/vcube/v20220410/models.py +30 -0
- tencentcloud/vdb/v20230616/models.py +567 -0
- tencentcloud/vdb/v20230616/vdb_client.py +69 -0
- tencentcloud/vdb/v20230616/vdb_client_async.py +54 -0
- tencentcloud/vm/v20210922/models.py +116 -0
- tencentcloud/vod/v20180717/errorcodes.py +3 -0
- tencentcloud/vod/v20180717/models.py +4107 -622
- tencentcloud/vod/v20180717/vod_client.py +72 -3
- tencentcloud/vod/v20180717/vod_client_async.py +57 -3
- tencentcloud/vpc/v20170312/errorcodes.py +15 -0
- tencentcloud/vpc/v20170312/models.py +387 -2
- tencentcloud/vpc/v20170312/vpc_client.py +23 -0
- tencentcloud/vpc/v20170312/vpc_client_async.py +18 -0
- tencentcloud/waf/v20180125/errorcodes.py +3 -0
- tencentcloud/waf/v20180125/models.py +970 -0
- tencentcloud/waf/v20180125/waf_client.py +46 -0
- tencentcloud/waf/v20180125/waf_client_async.py +36 -0
- tencentcloud/wedata/v20210820/models.py +2851 -29
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- tencentcloud/wedata/v20210820/wedata_client_async.py +18 -0
- tencentcloud/wedata/v20250806/errorcodes.py +21 -0
- tencentcloud/wedata/v20250806/models.py +40999 -15704
- tencentcloud/wedata/v20250806/wedata_client.py +1402 -65
- tencentcloud/wedata/v20250806/wedata_client_async.py +1047 -0
- tencentcloud/weilingwith/v20230427/errorcodes.py +0 -3
- tencentcloud/weilingwith/v20230427/models.py +17 -336
- tencentcloud/weilingwith/v20230427/weilingwith_client.py +0 -25
- tencentcloud/weilingwith/v20230427/weilingwith_client_async.py +0 -20
- tencentcloud/wimgs/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/__init__.py +0 -0
- tencentcloud/wimgs/v20251106/errorcodes.py +33 -0
- tencentcloud/wimgs/v20251106/models.py +132 -0
- tencentcloud/wimgs/v20251106/wimgs_client.py +49 -0
- tencentcloud/wimgs/v20251106/wimgs_client_async.py +44 -0
- tencentcloud/wsa/v20250508/errorcodes.py +6 -0
- tencentcloud/wsa/v20250508/models.py +17 -2
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/RECORD +260 -243
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/WHEEL +1 -1
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.1.13.dist-info → tencentcloud_sdk_python-3.1.33.dist-info}/top_level.txt +0 -0
|
@@ -3027,6 +3027,66 @@ hex:十六进制
|
|
|
3027
3027
|
|
|
3028
3028
|
|
|
3029
3029
|
|
|
3030
|
+
class AutoGuard(AbstractModel):
|
|
3031
|
+
r"""流量防盗刷配置(仅限大陆地区)
|
|
3032
|
+
|
|
3033
|
+
"""
|
|
3034
|
+
|
|
3035
|
+
def __init__(self):
|
|
3036
|
+
r"""
|
|
3037
|
+
:param _Switch: 流量防盗刷配置开关,取值有: on:开启 off:关闭
|
|
3038
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3039
|
+
:type Switch: str
|
|
3040
|
+
:param _FilterRules: 流量防盗刷配置规则
|
|
3041
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3042
|
+
:type FilterRules: list of FilterRules
|
|
3043
|
+
"""
|
|
3044
|
+
self._Switch = None
|
|
3045
|
+
self._FilterRules = None
|
|
3046
|
+
|
|
3047
|
+
@property
|
|
3048
|
+
def Switch(self):
|
|
3049
|
+
r"""流量防盗刷配置开关,取值有: on:开启 off:关闭
|
|
3050
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3051
|
+
:rtype: str
|
|
3052
|
+
"""
|
|
3053
|
+
return self._Switch
|
|
3054
|
+
|
|
3055
|
+
@Switch.setter
|
|
3056
|
+
def Switch(self, Switch):
|
|
3057
|
+
self._Switch = Switch
|
|
3058
|
+
|
|
3059
|
+
@property
|
|
3060
|
+
def FilterRules(self):
|
|
3061
|
+
r"""流量防盗刷配置规则
|
|
3062
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
3063
|
+
:rtype: list of FilterRules
|
|
3064
|
+
"""
|
|
3065
|
+
return self._FilterRules
|
|
3066
|
+
|
|
3067
|
+
@FilterRules.setter
|
|
3068
|
+
def FilterRules(self, FilterRules):
|
|
3069
|
+
self._FilterRules = FilterRules
|
|
3070
|
+
|
|
3071
|
+
|
|
3072
|
+
def _deserialize(self, params):
|
|
3073
|
+
self._Switch = params.get("Switch")
|
|
3074
|
+
if params.get("FilterRules") is not None:
|
|
3075
|
+
self._FilterRules = []
|
|
3076
|
+
for item in params.get("FilterRules"):
|
|
3077
|
+
obj = FilterRules()
|
|
3078
|
+
obj._deserialize(item)
|
|
3079
|
+
self._FilterRules.append(obj)
|
|
3080
|
+
memeber_set = set(params.keys())
|
|
3081
|
+
for name, value in vars(self).items():
|
|
3082
|
+
property_name = name[1:]
|
|
3083
|
+
if property_name in memeber_set:
|
|
3084
|
+
memeber_set.remove(property_name)
|
|
3085
|
+
if len(memeber_set) > 0:
|
|
3086
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3087
|
+
|
|
3088
|
+
|
|
3089
|
+
|
|
3030
3090
|
class AvifAdapter(AbstractModel):
|
|
3031
3091
|
r"""图片优化-AvifAdapter配置
|
|
3032
3092
|
|
|
@@ -4835,95 +4895,6 @@ PEM 格式,需要进行 Base 64 编码
|
|
|
4835
4895
|
|
|
4836
4896
|
|
|
4837
4897
|
|
|
4838
|
-
class ClientInfo(AbstractModel):
|
|
4839
|
-
r"""客户端信息
|
|
4840
|
-
|
|
4841
|
-
"""
|
|
4842
|
-
|
|
4843
|
-
def __init__(self):
|
|
4844
|
-
r"""
|
|
4845
|
-
:param _ProvName: 省份。
|
|
4846
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4847
|
-
:type ProvName: str
|
|
4848
|
-
:param _Country: 国家。
|
|
4849
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4850
|
-
:type Country: str
|
|
4851
|
-
:param _IspName: 运营商。
|
|
4852
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4853
|
-
:type IspName: str
|
|
4854
|
-
:param _Ip: 客户端IP
|
|
4855
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4856
|
-
:type Ip: str
|
|
4857
|
-
"""
|
|
4858
|
-
self._ProvName = None
|
|
4859
|
-
self._Country = None
|
|
4860
|
-
self._IspName = None
|
|
4861
|
-
self._Ip = None
|
|
4862
|
-
|
|
4863
|
-
@property
|
|
4864
|
-
def ProvName(self):
|
|
4865
|
-
r"""省份。
|
|
4866
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4867
|
-
:rtype: str
|
|
4868
|
-
"""
|
|
4869
|
-
return self._ProvName
|
|
4870
|
-
|
|
4871
|
-
@ProvName.setter
|
|
4872
|
-
def ProvName(self, ProvName):
|
|
4873
|
-
self._ProvName = ProvName
|
|
4874
|
-
|
|
4875
|
-
@property
|
|
4876
|
-
def Country(self):
|
|
4877
|
-
r"""国家。
|
|
4878
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4879
|
-
:rtype: str
|
|
4880
|
-
"""
|
|
4881
|
-
return self._Country
|
|
4882
|
-
|
|
4883
|
-
@Country.setter
|
|
4884
|
-
def Country(self, Country):
|
|
4885
|
-
self._Country = Country
|
|
4886
|
-
|
|
4887
|
-
@property
|
|
4888
|
-
def IspName(self):
|
|
4889
|
-
r"""运营商。
|
|
4890
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4891
|
-
:rtype: str
|
|
4892
|
-
"""
|
|
4893
|
-
return self._IspName
|
|
4894
|
-
|
|
4895
|
-
@IspName.setter
|
|
4896
|
-
def IspName(self, IspName):
|
|
4897
|
-
self._IspName = IspName
|
|
4898
|
-
|
|
4899
|
-
@property
|
|
4900
|
-
def Ip(self):
|
|
4901
|
-
r"""客户端IP
|
|
4902
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
4903
|
-
:rtype: str
|
|
4904
|
-
"""
|
|
4905
|
-
return self._Ip
|
|
4906
|
-
|
|
4907
|
-
@Ip.setter
|
|
4908
|
-
def Ip(self, Ip):
|
|
4909
|
-
self._Ip = Ip
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
def _deserialize(self, params):
|
|
4913
|
-
self._ProvName = params.get("ProvName")
|
|
4914
|
-
self._Country = params.get("Country")
|
|
4915
|
-
self._IspName = params.get("IspName")
|
|
4916
|
-
self._Ip = params.get("Ip")
|
|
4917
|
-
memeber_set = set(params.keys())
|
|
4918
|
-
for name, value in vars(self).items():
|
|
4919
|
-
property_name = name[1:]
|
|
4920
|
-
if property_name in memeber_set:
|
|
4921
|
-
memeber_set.remove(property_name)
|
|
4922
|
-
if len(memeber_set) > 0:
|
|
4923
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4924
|
-
|
|
4925
|
-
|
|
4926
|
-
|
|
4927
4898
|
class ClsLogIpData(AbstractModel):
|
|
4928
4899
|
r"""通过Cls日志,计算出来的IP每秒访问数量
|
|
4929
4900
|
|
|
@@ -5660,100 +5631,6 @@ class CreateClsLogTopicResponse(AbstractModel):
|
|
|
5660
5631
|
self._RequestId = params.get("RequestId")
|
|
5661
5632
|
|
|
5662
5633
|
|
|
5663
|
-
class CreateDiagnoseUrlRequest(AbstractModel):
|
|
5664
|
-
r"""CreateDiagnoseUrl请求参数结构体
|
|
5665
|
-
|
|
5666
|
-
"""
|
|
5667
|
-
|
|
5668
|
-
def __init__(self):
|
|
5669
|
-
r"""
|
|
5670
|
-
:param _Url: 需诊断的url,形如:http://www.test.com/test.txt。
|
|
5671
|
-
:type Url: str
|
|
5672
|
-
:param _Origin: 请求源带协议头,形如:https://console.cloud.tencent.com
|
|
5673
|
-
:type Origin: str
|
|
5674
|
-
"""
|
|
5675
|
-
self._Url = None
|
|
5676
|
-
self._Origin = None
|
|
5677
|
-
|
|
5678
|
-
@property
|
|
5679
|
-
def Url(self):
|
|
5680
|
-
r"""需诊断的url,形如:http://www.test.com/test.txt。
|
|
5681
|
-
:rtype: str
|
|
5682
|
-
"""
|
|
5683
|
-
return self._Url
|
|
5684
|
-
|
|
5685
|
-
@Url.setter
|
|
5686
|
-
def Url(self, Url):
|
|
5687
|
-
self._Url = Url
|
|
5688
|
-
|
|
5689
|
-
@property
|
|
5690
|
-
def Origin(self):
|
|
5691
|
-
r"""请求源带协议头,形如:https://console.cloud.tencent.com
|
|
5692
|
-
:rtype: str
|
|
5693
|
-
"""
|
|
5694
|
-
return self._Origin
|
|
5695
|
-
|
|
5696
|
-
@Origin.setter
|
|
5697
|
-
def Origin(self, Origin):
|
|
5698
|
-
self._Origin = Origin
|
|
5699
|
-
|
|
5700
|
-
|
|
5701
|
-
def _deserialize(self, params):
|
|
5702
|
-
self._Url = params.get("Url")
|
|
5703
|
-
self._Origin = params.get("Origin")
|
|
5704
|
-
memeber_set = set(params.keys())
|
|
5705
|
-
for name, value in vars(self).items():
|
|
5706
|
-
property_name = name[1:]
|
|
5707
|
-
if property_name in memeber_set:
|
|
5708
|
-
memeber_set.remove(property_name)
|
|
5709
|
-
if len(memeber_set) > 0:
|
|
5710
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
5711
|
-
|
|
5712
|
-
|
|
5713
|
-
|
|
5714
|
-
class CreateDiagnoseUrlResponse(AbstractModel):
|
|
5715
|
-
r"""CreateDiagnoseUrl返回参数结构体
|
|
5716
|
-
|
|
5717
|
-
"""
|
|
5718
|
-
|
|
5719
|
-
def __init__(self):
|
|
5720
|
-
r"""
|
|
5721
|
-
:param _DiagnoseLink: 系统生成的诊断链接,一个诊断链接最多可访问10次,有效期为24h。
|
|
5722
|
-
:type DiagnoseLink: str
|
|
5723
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5724
|
-
:type RequestId: str
|
|
5725
|
-
"""
|
|
5726
|
-
self._DiagnoseLink = None
|
|
5727
|
-
self._RequestId = None
|
|
5728
|
-
|
|
5729
|
-
@property
|
|
5730
|
-
def DiagnoseLink(self):
|
|
5731
|
-
r"""系统生成的诊断链接,一个诊断链接最多可访问10次,有效期为24h。
|
|
5732
|
-
:rtype: str
|
|
5733
|
-
"""
|
|
5734
|
-
return self._DiagnoseLink
|
|
5735
|
-
|
|
5736
|
-
@DiagnoseLink.setter
|
|
5737
|
-
def DiagnoseLink(self, DiagnoseLink):
|
|
5738
|
-
self._DiagnoseLink = DiagnoseLink
|
|
5739
|
-
|
|
5740
|
-
@property
|
|
5741
|
-
def RequestId(self):
|
|
5742
|
-
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
5743
|
-
:rtype: str
|
|
5744
|
-
"""
|
|
5745
|
-
return self._RequestId
|
|
5746
|
-
|
|
5747
|
-
@RequestId.setter
|
|
5748
|
-
def RequestId(self, RequestId):
|
|
5749
|
-
self._RequestId = RequestId
|
|
5750
|
-
|
|
5751
|
-
|
|
5752
|
-
def _deserialize(self, params):
|
|
5753
|
-
self._DiagnoseLink = params.get("DiagnoseLink")
|
|
5754
|
-
self._RequestId = params.get("RequestId")
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
5634
|
class CreateEdgePackTaskRequest(AbstractModel):
|
|
5758
5635
|
r"""CreateEdgePackTask请求参数结构体
|
|
5759
5636
|
|
|
@@ -7363,299 +7240,82 @@ class DescribeCertDomainsResponse(AbstractModel):
|
|
|
7363
7240
|
self._RequestId = params.get("RequestId")
|
|
7364
7241
|
|
|
7365
7242
|
|
|
7366
|
-
class
|
|
7367
|
-
r"""
|
|
7243
|
+
class DescribeDistrictIspDataRequest(AbstractModel):
|
|
7244
|
+
r"""DescribeDistrictIspData请求参数结构体
|
|
7368
7245
|
|
|
7369
7246
|
"""
|
|
7370
7247
|
|
|
7371
7248
|
def __init__(self):
|
|
7372
7249
|
r"""
|
|
7373
|
-
:param
|
|
7374
|
-
:type
|
|
7250
|
+
:param _Domains: 域名列表,最多支持20个域名
|
|
7251
|
+
:type Domains: list of str
|
|
7252
|
+
:param _StartTime: 查询起始时间,如:2018-09-04 10:40:00,返回结果大于等于指定时间
|
|
7253
|
+
支持近 60 天内的数据查询,每次查询时间区间为 3 小时
|
|
7254
|
+
:type StartTime: str
|
|
7255
|
+
:param _EndTime: 查询结束时间,如:2018-09-04 10:40:00,返回结果小于等于指定时间
|
|
7256
|
+
结束时间与起始时间区间最大为 3 小时
|
|
7257
|
+
:type EndTime: str
|
|
7258
|
+
:param _Metric: 指定查询指标,支持:
|
|
7259
|
+
bandwidth:带宽,单位为 bps
|
|
7260
|
+
flux:流量,单位为 byte
|
|
7261
|
+
request:请求数,单位为 次
|
|
7262
|
+
statusCode:状态码,返回 0、2xx、3xx、4xx、5xx 汇总数据,单位为 次
|
|
7263
|
+
2xx:返回 2xx 状态码汇总及各 2 开头状态码数据,单位为 次
|
|
7264
|
+
3xx:返回 3xx 状态码汇总及各 3 开头状态码数据,单位为 次
|
|
7265
|
+
4xx:返回 4xx 状态码汇总及各 4 开头状态码数据,单位为 次
|
|
7266
|
+
5xx:返回 5xx 状态码汇总及各 5 开头状态码数据,单位为 次
|
|
7267
|
+
支持指定具体状态码查询,若未产生过,则返回为空
|
|
7268
|
+
:type Metric: str
|
|
7269
|
+
:param _Districts: 指定省份查询,不填充表示查询所有省份
|
|
7270
|
+
省份、国家/地区编码可以查看 [省份编码映射](https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8)
|
|
7271
|
+
:type Districts: list of int
|
|
7272
|
+
:param _Isps: 指定运营商查询,不填充表示查询所有运营商
|
|
7273
|
+
运营商编码可以查看 [运营商编码映射](https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8)
|
|
7274
|
+
:type Isps: list of int
|
|
7275
|
+
:param _Protocol: 指定协议查询,不填充表示查询所有协议
|
|
7276
|
+
all:所有协议
|
|
7277
|
+
http:指定查询 HTTP 对应指标
|
|
7278
|
+
https:指定查询 HTTPS 对应指标
|
|
7279
|
+
:type Protocol: str
|
|
7280
|
+
:param _IpProtocol: 指定IP协议查询,不填充表示查询所有协议
|
|
7281
|
+
all:所有协议
|
|
7282
|
+
ipv4:指定查询 ipv4 对应指标
|
|
7283
|
+
ipv6:指定查询 ipv6 对应指标
|
|
7284
|
+
指定IP协议查询时,不可同时指定省份、运营商查询
|
|
7285
|
+
:type IpProtocol: str
|
|
7286
|
+
:param _Interval: 时间粒度,支持以下几种模式(默认5min):
|
|
7287
|
+
min:1 分钟粒度,支持近 60 天内的数据查询,每次查询时间区间不超过10分钟,可返回 1 分钟粒度明细数据
|
|
7288
|
+
5min:5 分钟粒度,支持近 60 天内的数据查询,每次查询时间区间不超过3 小时,可返回 5 分钟粒度明细数据
|
|
7289
|
+
:type Interval: str
|
|
7375
7290
|
"""
|
|
7376
|
-
self.
|
|
7291
|
+
self._Domains = None
|
|
7292
|
+
self._StartTime = None
|
|
7293
|
+
self._EndTime = None
|
|
7294
|
+
self._Metric = None
|
|
7295
|
+
self._Districts = None
|
|
7296
|
+
self._Isps = None
|
|
7297
|
+
self._Protocol = None
|
|
7298
|
+
self._IpProtocol = None
|
|
7299
|
+
self._Interval = None
|
|
7377
7300
|
|
|
7378
7301
|
@property
|
|
7379
|
-
def
|
|
7380
|
-
r"""
|
|
7381
|
-
:rtype: str
|
|
7302
|
+
def Domains(self):
|
|
7303
|
+
r"""域名列表,最多支持20个域名
|
|
7304
|
+
:rtype: list of str
|
|
7382
7305
|
"""
|
|
7383
|
-
return self.
|
|
7306
|
+
return self._Domains
|
|
7384
7307
|
|
|
7385
|
-
@
|
|
7386
|
-
def
|
|
7387
|
-
self.
|
|
7308
|
+
@Domains.setter
|
|
7309
|
+
def Domains(self, Domains):
|
|
7310
|
+
self._Domains = Domains
|
|
7388
7311
|
|
|
7389
|
-
|
|
7390
|
-
def
|
|
7391
|
-
|
|
7392
|
-
|
|
7393
|
-
|
|
7394
|
-
|
|
7395
|
-
|
|
7396
|
-
memeber_set.remove(property_name)
|
|
7397
|
-
if len(memeber_set) > 0:
|
|
7398
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
7399
|
-
|
|
7400
|
-
|
|
7401
|
-
|
|
7402
|
-
class DescribeDiagnoseReportResponse(AbstractModel):
|
|
7403
|
-
r"""DescribeDiagnoseReport返回参数结构体
|
|
7404
|
-
|
|
7405
|
-
"""
|
|
7406
|
-
|
|
7407
|
-
def __init__(self):
|
|
7408
|
-
r"""
|
|
7409
|
-
:param _BaskInfo: 诊断报告基础信息
|
|
7410
|
-
:type BaskInfo: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7411
|
-
:param _CnameInfo: CNAME检测信息
|
|
7412
|
-
:type CnameInfo: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7413
|
-
:param _ClientInfo: 客户端检测信息
|
|
7414
|
-
:type ClientInfo: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7415
|
-
:param _DnsInfo: DNS检测信息
|
|
7416
|
-
:type DnsInfo: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7417
|
-
:param _NetworkInfo: 网络检测信息
|
|
7418
|
-
:type NetworkInfo: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7419
|
-
:param _OcNodeInfo: 边缘节点检测信息
|
|
7420
|
-
:type OcNodeInfo: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7421
|
-
:param _MidNodeInfo: 中间源节点检测信息
|
|
7422
|
-
:type MidNodeInfo: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7423
|
-
:param _OriginInfo: 源站检测信息
|
|
7424
|
-
:type OriginInfo: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7425
|
-
:param _PurgeInfo: 刷新检测信息
|
|
7426
|
-
:type PurgeInfo: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7427
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7428
|
-
:type RequestId: str
|
|
7429
|
-
"""
|
|
7430
|
-
self._BaskInfo = None
|
|
7431
|
-
self._CnameInfo = None
|
|
7432
|
-
self._ClientInfo = None
|
|
7433
|
-
self._DnsInfo = None
|
|
7434
|
-
self._NetworkInfo = None
|
|
7435
|
-
self._OcNodeInfo = None
|
|
7436
|
-
self._MidNodeInfo = None
|
|
7437
|
-
self._OriginInfo = None
|
|
7438
|
-
self._PurgeInfo = None
|
|
7439
|
-
self._RequestId = None
|
|
7440
|
-
|
|
7441
|
-
@property
|
|
7442
|
-
def BaskInfo(self):
|
|
7443
|
-
r"""诊断报告基础信息
|
|
7444
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7445
|
-
"""
|
|
7446
|
-
return self._BaskInfo
|
|
7447
|
-
|
|
7448
|
-
@BaskInfo.setter
|
|
7449
|
-
def BaskInfo(self, BaskInfo):
|
|
7450
|
-
self._BaskInfo = BaskInfo
|
|
7451
|
-
|
|
7452
|
-
@property
|
|
7453
|
-
def CnameInfo(self):
|
|
7454
|
-
r"""CNAME检测信息
|
|
7455
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7456
|
-
"""
|
|
7457
|
-
return self._CnameInfo
|
|
7458
|
-
|
|
7459
|
-
@CnameInfo.setter
|
|
7460
|
-
def CnameInfo(self, CnameInfo):
|
|
7461
|
-
self._CnameInfo = CnameInfo
|
|
7462
|
-
|
|
7463
|
-
@property
|
|
7464
|
-
def ClientInfo(self):
|
|
7465
|
-
r"""客户端检测信息
|
|
7466
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7467
|
-
"""
|
|
7468
|
-
return self._ClientInfo
|
|
7469
|
-
|
|
7470
|
-
@ClientInfo.setter
|
|
7471
|
-
def ClientInfo(self, ClientInfo):
|
|
7472
|
-
self._ClientInfo = ClientInfo
|
|
7473
|
-
|
|
7474
|
-
@property
|
|
7475
|
-
def DnsInfo(self):
|
|
7476
|
-
r"""DNS检测信息
|
|
7477
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7478
|
-
"""
|
|
7479
|
-
return self._DnsInfo
|
|
7480
|
-
|
|
7481
|
-
@DnsInfo.setter
|
|
7482
|
-
def DnsInfo(self, DnsInfo):
|
|
7483
|
-
self._DnsInfo = DnsInfo
|
|
7484
|
-
|
|
7485
|
-
@property
|
|
7486
|
-
def NetworkInfo(self):
|
|
7487
|
-
r"""网络检测信息
|
|
7488
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7489
|
-
"""
|
|
7490
|
-
return self._NetworkInfo
|
|
7491
|
-
|
|
7492
|
-
@NetworkInfo.setter
|
|
7493
|
-
def NetworkInfo(self, NetworkInfo):
|
|
7494
|
-
self._NetworkInfo = NetworkInfo
|
|
7495
|
-
|
|
7496
|
-
@property
|
|
7497
|
-
def OcNodeInfo(self):
|
|
7498
|
-
r"""边缘节点检测信息
|
|
7499
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7500
|
-
"""
|
|
7501
|
-
return self._OcNodeInfo
|
|
7502
|
-
|
|
7503
|
-
@OcNodeInfo.setter
|
|
7504
|
-
def OcNodeInfo(self, OcNodeInfo):
|
|
7505
|
-
self._OcNodeInfo = OcNodeInfo
|
|
7506
|
-
|
|
7507
|
-
@property
|
|
7508
|
-
def MidNodeInfo(self):
|
|
7509
|
-
r"""中间源节点检测信息
|
|
7510
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7511
|
-
"""
|
|
7512
|
-
return self._MidNodeInfo
|
|
7513
|
-
|
|
7514
|
-
@MidNodeInfo.setter
|
|
7515
|
-
def MidNodeInfo(self, MidNodeInfo):
|
|
7516
|
-
self._MidNodeInfo = MidNodeInfo
|
|
7517
|
-
|
|
7518
|
-
@property
|
|
7519
|
-
def OriginInfo(self):
|
|
7520
|
-
r"""源站检测信息
|
|
7521
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7522
|
-
"""
|
|
7523
|
-
return self._OriginInfo
|
|
7524
|
-
|
|
7525
|
-
@OriginInfo.setter
|
|
7526
|
-
def OriginInfo(self, OriginInfo):
|
|
7527
|
-
self._OriginInfo = OriginInfo
|
|
7528
|
-
|
|
7529
|
-
@property
|
|
7530
|
-
def PurgeInfo(self):
|
|
7531
|
-
r"""刷新检测信息
|
|
7532
|
-
:rtype: :class:`tencentcloud.cdn.v20180606.models.DiagnoseData`
|
|
7533
|
-
"""
|
|
7534
|
-
return self._PurgeInfo
|
|
7535
|
-
|
|
7536
|
-
@PurgeInfo.setter
|
|
7537
|
-
def PurgeInfo(self, PurgeInfo):
|
|
7538
|
-
self._PurgeInfo = PurgeInfo
|
|
7539
|
-
|
|
7540
|
-
@property
|
|
7541
|
-
def RequestId(self):
|
|
7542
|
-
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
7543
|
-
:rtype: str
|
|
7544
|
-
"""
|
|
7545
|
-
return self._RequestId
|
|
7546
|
-
|
|
7547
|
-
@RequestId.setter
|
|
7548
|
-
def RequestId(self, RequestId):
|
|
7549
|
-
self._RequestId = RequestId
|
|
7550
|
-
|
|
7551
|
-
|
|
7552
|
-
def _deserialize(self, params):
|
|
7553
|
-
if params.get("BaskInfo") is not None:
|
|
7554
|
-
self._BaskInfo = DiagnoseData()
|
|
7555
|
-
self._BaskInfo._deserialize(params.get("BaskInfo"))
|
|
7556
|
-
if params.get("CnameInfo") is not None:
|
|
7557
|
-
self._CnameInfo = DiagnoseData()
|
|
7558
|
-
self._CnameInfo._deserialize(params.get("CnameInfo"))
|
|
7559
|
-
if params.get("ClientInfo") is not None:
|
|
7560
|
-
self._ClientInfo = DiagnoseData()
|
|
7561
|
-
self._ClientInfo._deserialize(params.get("ClientInfo"))
|
|
7562
|
-
if params.get("DnsInfo") is not None:
|
|
7563
|
-
self._DnsInfo = DiagnoseData()
|
|
7564
|
-
self._DnsInfo._deserialize(params.get("DnsInfo"))
|
|
7565
|
-
if params.get("NetworkInfo") is not None:
|
|
7566
|
-
self._NetworkInfo = DiagnoseData()
|
|
7567
|
-
self._NetworkInfo._deserialize(params.get("NetworkInfo"))
|
|
7568
|
-
if params.get("OcNodeInfo") is not None:
|
|
7569
|
-
self._OcNodeInfo = DiagnoseData()
|
|
7570
|
-
self._OcNodeInfo._deserialize(params.get("OcNodeInfo"))
|
|
7571
|
-
if params.get("MidNodeInfo") is not None:
|
|
7572
|
-
self._MidNodeInfo = DiagnoseData()
|
|
7573
|
-
self._MidNodeInfo._deserialize(params.get("MidNodeInfo"))
|
|
7574
|
-
if params.get("OriginInfo") is not None:
|
|
7575
|
-
self._OriginInfo = DiagnoseData()
|
|
7576
|
-
self._OriginInfo._deserialize(params.get("OriginInfo"))
|
|
7577
|
-
if params.get("PurgeInfo") is not None:
|
|
7578
|
-
self._PurgeInfo = DiagnoseData()
|
|
7579
|
-
self._PurgeInfo._deserialize(params.get("PurgeInfo"))
|
|
7580
|
-
self._RequestId = params.get("RequestId")
|
|
7581
|
-
|
|
7582
|
-
|
|
7583
|
-
class DescribeDistrictIspDataRequest(AbstractModel):
|
|
7584
|
-
r"""DescribeDistrictIspData请求参数结构体
|
|
7585
|
-
|
|
7586
|
-
"""
|
|
7587
|
-
|
|
7588
|
-
def __init__(self):
|
|
7589
|
-
r"""
|
|
7590
|
-
:param _Domains: 域名列表,最多支持20个域名
|
|
7591
|
-
:type Domains: list of str
|
|
7592
|
-
:param _StartTime: 查询起始时间,如:2018-09-04 10:40:00,返回结果大于等于指定时间
|
|
7593
|
-
支持近 60 天内的数据查询,每次查询时间区间为 3 小时
|
|
7594
|
-
:type StartTime: str
|
|
7595
|
-
:param _EndTime: 查询结束时间,如:2018-09-04 10:40:00,返回结果小于等于指定时间
|
|
7596
|
-
结束时间与起始时间区间最大为 3 小时
|
|
7597
|
-
:type EndTime: str
|
|
7598
|
-
:param _Metric: 指定查询指标,支持:
|
|
7599
|
-
bandwidth:带宽,单位为 bps
|
|
7600
|
-
flux:流量,单位为 byte
|
|
7601
|
-
request:请求数,单位为 次
|
|
7602
|
-
statusCode:状态码,返回 0、2xx、3xx、4xx、5xx 汇总数据,单位为 次
|
|
7603
|
-
2xx:返回 2xx 状态码汇总及各 2 开头状态码数据,单位为 次
|
|
7604
|
-
3xx:返回 3xx 状态码汇总及各 3 开头状态码数据,单位为 次
|
|
7605
|
-
4xx:返回 4xx 状态码汇总及各 4 开头状态码数据,单位为 次
|
|
7606
|
-
5xx:返回 5xx 状态码汇总及各 5 开头状态码数据,单位为 次
|
|
7607
|
-
支持指定具体状态码查询,若未产生过,则返回为空
|
|
7608
|
-
:type Metric: str
|
|
7609
|
-
:param _Districts: 指定省份查询,不填充表示查询所有省份
|
|
7610
|
-
省份、国家/地区编码可以查看 [省份编码映射](https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8)
|
|
7611
|
-
:type Districts: list of int
|
|
7612
|
-
:param _Isps: 指定运营商查询,不填充表示查询所有运营商
|
|
7613
|
-
运营商编码可以查看 [运营商编码映射](https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8)
|
|
7614
|
-
:type Isps: list of int
|
|
7615
|
-
:param _Protocol: 指定协议查询,不填充表示查询所有协议
|
|
7616
|
-
all:所有协议
|
|
7617
|
-
http:指定查询 HTTP 对应指标
|
|
7618
|
-
https:指定查询 HTTPS 对应指标
|
|
7619
|
-
:type Protocol: str
|
|
7620
|
-
:param _IpProtocol: 指定IP协议查询,不填充表示查询所有协议
|
|
7621
|
-
all:所有协议
|
|
7622
|
-
ipv4:指定查询 ipv4 对应指标
|
|
7623
|
-
ipv6:指定查询 ipv6 对应指标
|
|
7624
|
-
指定IP协议查询时,不可同时指定省份、运营商查询
|
|
7625
|
-
:type IpProtocol: str
|
|
7626
|
-
:param _Interval: 时间粒度,支持以下几种模式(默认5min):
|
|
7627
|
-
min:1 分钟粒度,支持近 60 天内的数据查询,每次查询时间区间不超过10分钟,可返回 1 分钟粒度明细数据
|
|
7628
|
-
5min:5 分钟粒度,支持近 60 天内的数据查询,每次查询时间区间不超过3 小时,可返回 5 分钟粒度明细数据
|
|
7629
|
-
:type Interval: str
|
|
7630
|
-
"""
|
|
7631
|
-
self._Domains = None
|
|
7632
|
-
self._StartTime = None
|
|
7633
|
-
self._EndTime = None
|
|
7634
|
-
self._Metric = None
|
|
7635
|
-
self._Districts = None
|
|
7636
|
-
self._Isps = None
|
|
7637
|
-
self._Protocol = None
|
|
7638
|
-
self._IpProtocol = None
|
|
7639
|
-
self._Interval = None
|
|
7640
|
-
|
|
7641
|
-
@property
|
|
7642
|
-
def Domains(self):
|
|
7643
|
-
r"""域名列表,最多支持20个域名
|
|
7644
|
-
:rtype: list of str
|
|
7645
|
-
"""
|
|
7646
|
-
return self._Domains
|
|
7647
|
-
|
|
7648
|
-
@Domains.setter
|
|
7649
|
-
def Domains(self, Domains):
|
|
7650
|
-
self._Domains = Domains
|
|
7651
|
-
|
|
7652
|
-
@property
|
|
7653
|
-
def StartTime(self):
|
|
7654
|
-
r"""查询起始时间,如:2018-09-04 10:40:00,返回结果大于等于指定时间
|
|
7655
|
-
支持近 60 天内的数据查询,每次查询时间区间为 3 小时
|
|
7656
|
-
:rtype: str
|
|
7657
|
-
"""
|
|
7658
|
-
return self._StartTime
|
|
7312
|
+
@property
|
|
7313
|
+
def StartTime(self):
|
|
7314
|
+
r"""查询起始时间,如:2018-09-04 10:40:00,返回结果大于等于指定时间
|
|
7315
|
+
支持近 60 天内的数据查询,每次查询时间区间为 3 小时
|
|
7316
|
+
:rtype: str
|
|
7317
|
+
"""
|
|
7318
|
+
return self._StartTime
|
|
7659
7319
|
|
|
7660
7320
|
@StartTime.setter
|
|
7661
7321
|
def StartTime(self, StartTime):
|
|
@@ -11116,6 +10776,10 @@ off:不支持
|
|
|
11116
10776
|
:param _ParamFilter: 参数黑名单
|
|
11117
10777
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
11118
10778
|
:type ParamFilter: :class:`tencentcloud.cdn.v20180606.models.ParamFilter`
|
|
10779
|
+
:param _AutoGuard: 流量一键防盗刷配置
|
|
10780
|
+
:type AutoGuard: :class:`tencentcloud.cdn.v20180606.models.AutoGuard`
|
|
10781
|
+
:param _GeoBlocker: 区域访问控制配置
|
|
10782
|
+
:type GeoBlocker: :class:`tencentcloud.cdn.v20180606.models.GeoBlocker`
|
|
11119
10783
|
"""
|
|
11120
10784
|
self._ResourceId = None
|
|
11121
10785
|
self._AppId = None
|
|
@@ -11184,6 +10848,8 @@ off:不支持
|
|
|
11184
10848
|
self._HttpsBilling = None
|
|
11185
10849
|
self._OthersPrivateAccess = None
|
|
11186
10850
|
self._ParamFilter = None
|
|
10851
|
+
self._AutoGuard = None
|
|
10852
|
+
self._GeoBlocker = None
|
|
11187
10853
|
|
|
11188
10854
|
@property
|
|
11189
10855
|
def ResourceId(self):
|
|
@@ -12008,6 +11674,28 @@ off:不支持
|
|
|
12008
11674
|
def ParamFilter(self, ParamFilter):
|
|
12009
11675
|
self._ParamFilter = ParamFilter
|
|
12010
11676
|
|
|
11677
|
+
@property
|
|
11678
|
+
def AutoGuard(self):
|
|
11679
|
+
r"""流量一键防盗刷配置
|
|
11680
|
+
:rtype: :class:`tencentcloud.cdn.v20180606.models.AutoGuard`
|
|
11681
|
+
"""
|
|
11682
|
+
return self._AutoGuard
|
|
11683
|
+
|
|
11684
|
+
@AutoGuard.setter
|
|
11685
|
+
def AutoGuard(self, AutoGuard):
|
|
11686
|
+
self._AutoGuard = AutoGuard
|
|
11687
|
+
|
|
11688
|
+
@property
|
|
11689
|
+
def GeoBlocker(self):
|
|
11690
|
+
r"""区域访问控制配置
|
|
11691
|
+
:rtype: :class:`tencentcloud.cdn.v20180606.models.GeoBlocker`
|
|
11692
|
+
"""
|
|
11693
|
+
return self._GeoBlocker
|
|
11694
|
+
|
|
11695
|
+
@GeoBlocker.setter
|
|
11696
|
+
def GeoBlocker(self, GeoBlocker):
|
|
11697
|
+
self._GeoBlocker = GeoBlocker
|
|
11698
|
+
|
|
12011
11699
|
|
|
12012
11700
|
def _deserialize(self, params):
|
|
12013
11701
|
self._ResourceId = params.get("ResourceId")
|
|
@@ -12187,427 +11875,12 @@ off:不支持
|
|
|
12187
11875
|
if params.get("ParamFilter") is not None:
|
|
12188
11876
|
self._ParamFilter = ParamFilter()
|
|
12189
11877
|
self._ParamFilter._deserialize(params.get("ParamFilter"))
|
|
12190
|
-
|
|
12191
|
-
|
|
12192
|
-
|
|
12193
|
-
|
|
12194
|
-
|
|
12195
|
-
|
|
12196
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12197
|
-
|
|
12198
|
-
|
|
12199
|
-
|
|
12200
|
-
class DiagnoseData(AbstractModel):
|
|
12201
|
-
r"""诊断报告内容数据
|
|
12202
|
-
|
|
12203
|
-
"""
|
|
12204
|
-
|
|
12205
|
-
def __init__(self):
|
|
12206
|
-
r"""
|
|
12207
|
-
:param _Data: 诊断报告内容
|
|
12208
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12209
|
-
:type Data: list of DiagnoseUnit
|
|
12210
|
-
:param _Status: 当前诊断项是否正常。
|
|
12211
|
-
"ok":正常
|
|
12212
|
-
"error":异常
|
|
12213
|
-
"warning":"警告"
|
|
12214
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12215
|
-
:type Status: str
|
|
12216
|
-
"""
|
|
12217
|
-
self._Data = None
|
|
12218
|
-
self._Status = None
|
|
12219
|
-
|
|
12220
|
-
@property
|
|
12221
|
-
def Data(self):
|
|
12222
|
-
r"""诊断报告内容
|
|
12223
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12224
|
-
:rtype: list of DiagnoseUnit
|
|
12225
|
-
"""
|
|
12226
|
-
return self._Data
|
|
12227
|
-
|
|
12228
|
-
@Data.setter
|
|
12229
|
-
def Data(self, Data):
|
|
12230
|
-
self._Data = Data
|
|
12231
|
-
|
|
12232
|
-
@property
|
|
12233
|
-
def Status(self):
|
|
12234
|
-
r"""当前诊断项是否正常。
|
|
12235
|
-
"ok":正常
|
|
12236
|
-
"error":异常
|
|
12237
|
-
"warning":"警告"
|
|
12238
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12239
|
-
:rtype: str
|
|
12240
|
-
"""
|
|
12241
|
-
return self._Status
|
|
12242
|
-
|
|
12243
|
-
@Status.setter
|
|
12244
|
-
def Status(self, Status):
|
|
12245
|
-
self._Status = Status
|
|
12246
|
-
|
|
12247
|
-
|
|
12248
|
-
def _deserialize(self, params):
|
|
12249
|
-
if params.get("Data") is not None:
|
|
12250
|
-
self._Data = []
|
|
12251
|
-
for item in params.get("Data"):
|
|
12252
|
-
obj = DiagnoseUnit()
|
|
12253
|
-
obj._deserialize(item)
|
|
12254
|
-
self._Data.append(obj)
|
|
12255
|
-
self._Status = params.get("Status")
|
|
12256
|
-
memeber_set = set(params.keys())
|
|
12257
|
-
for name, value in vars(self).items():
|
|
12258
|
-
property_name = name[1:]
|
|
12259
|
-
if property_name in memeber_set:
|
|
12260
|
-
memeber_set.remove(property_name)
|
|
12261
|
-
if len(memeber_set) > 0:
|
|
12262
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12263
|
-
|
|
12264
|
-
|
|
12265
|
-
|
|
12266
|
-
class DiagnoseInfo(AbstractModel):
|
|
12267
|
-
r"""诊断信息
|
|
12268
|
-
|
|
12269
|
-
"""
|
|
12270
|
-
|
|
12271
|
-
def __init__(self):
|
|
12272
|
-
r"""
|
|
12273
|
-
:param _DiagnoseUrl: 待诊断的URL。
|
|
12274
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12275
|
-
:type DiagnoseUrl: str
|
|
12276
|
-
:param _DiagnoseLink: 由系统生成的诊断链接。
|
|
12277
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12278
|
-
:type DiagnoseLink: str
|
|
12279
|
-
:param _CreateTime: 诊断创建时间。
|
|
12280
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12281
|
-
:type CreateTime: str
|
|
12282
|
-
:param _ExpireDate: 诊断链接过期时间。
|
|
12283
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12284
|
-
:type ExpireDate: str
|
|
12285
|
-
:param _VisitCount: 诊断链接当前访问次数,一个诊断链接最多可访问10次。
|
|
12286
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12287
|
-
:type VisitCount: int
|
|
12288
|
-
:param _ClientList: 访问诊断链接的客户端简易信息
|
|
12289
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12290
|
-
:type ClientList: list of DiagnoseList
|
|
12291
|
-
:param _Area: 域名加速区域
|
|
12292
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12293
|
-
:type Area: str
|
|
12294
|
-
"""
|
|
12295
|
-
self._DiagnoseUrl = None
|
|
12296
|
-
self._DiagnoseLink = None
|
|
12297
|
-
self._CreateTime = None
|
|
12298
|
-
self._ExpireDate = None
|
|
12299
|
-
self._VisitCount = None
|
|
12300
|
-
self._ClientList = None
|
|
12301
|
-
self._Area = None
|
|
12302
|
-
|
|
12303
|
-
@property
|
|
12304
|
-
def DiagnoseUrl(self):
|
|
12305
|
-
r"""待诊断的URL。
|
|
12306
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12307
|
-
:rtype: str
|
|
12308
|
-
"""
|
|
12309
|
-
return self._DiagnoseUrl
|
|
12310
|
-
|
|
12311
|
-
@DiagnoseUrl.setter
|
|
12312
|
-
def DiagnoseUrl(self, DiagnoseUrl):
|
|
12313
|
-
self._DiagnoseUrl = DiagnoseUrl
|
|
12314
|
-
|
|
12315
|
-
@property
|
|
12316
|
-
def DiagnoseLink(self):
|
|
12317
|
-
r"""由系统生成的诊断链接。
|
|
12318
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12319
|
-
:rtype: str
|
|
12320
|
-
"""
|
|
12321
|
-
return self._DiagnoseLink
|
|
12322
|
-
|
|
12323
|
-
@DiagnoseLink.setter
|
|
12324
|
-
def DiagnoseLink(self, DiagnoseLink):
|
|
12325
|
-
self._DiagnoseLink = DiagnoseLink
|
|
12326
|
-
|
|
12327
|
-
@property
|
|
12328
|
-
def CreateTime(self):
|
|
12329
|
-
r"""诊断创建时间。
|
|
12330
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12331
|
-
:rtype: str
|
|
12332
|
-
"""
|
|
12333
|
-
return self._CreateTime
|
|
12334
|
-
|
|
12335
|
-
@CreateTime.setter
|
|
12336
|
-
def CreateTime(self, CreateTime):
|
|
12337
|
-
self._CreateTime = CreateTime
|
|
12338
|
-
|
|
12339
|
-
@property
|
|
12340
|
-
def ExpireDate(self):
|
|
12341
|
-
r"""诊断链接过期时间。
|
|
12342
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12343
|
-
:rtype: str
|
|
12344
|
-
"""
|
|
12345
|
-
return self._ExpireDate
|
|
12346
|
-
|
|
12347
|
-
@ExpireDate.setter
|
|
12348
|
-
def ExpireDate(self, ExpireDate):
|
|
12349
|
-
self._ExpireDate = ExpireDate
|
|
12350
|
-
|
|
12351
|
-
@property
|
|
12352
|
-
def VisitCount(self):
|
|
12353
|
-
r"""诊断链接当前访问次数,一个诊断链接最多可访问10次。
|
|
12354
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12355
|
-
:rtype: int
|
|
12356
|
-
"""
|
|
12357
|
-
return self._VisitCount
|
|
12358
|
-
|
|
12359
|
-
@VisitCount.setter
|
|
12360
|
-
def VisitCount(self, VisitCount):
|
|
12361
|
-
self._VisitCount = VisitCount
|
|
12362
|
-
|
|
12363
|
-
@property
|
|
12364
|
-
def ClientList(self):
|
|
12365
|
-
r"""访问诊断链接的客户端简易信息
|
|
12366
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12367
|
-
:rtype: list of DiagnoseList
|
|
12368
|
-
"""
|
|
12369
|
-
return self._ClientList
|
|
12370
|
-
|
|
12371
|
-
@ClientList.setter
|
|
12372
|
-
def ClientList(self, ClientList):
|
|
12373
|
-
self._ClientList = ClientList
|
|
12374
|
-
|
|
12375
|
-
@property
|
|
12376
|
-
def Area(self):
|
|
12377
|
-
r"""域名加速区域
|
|
12378
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12379
|
-
:rtype: str
|
|
12380
|
-
"""
|
|
12381
|
-
return self._Area
|
|
12382
|
-
|
|
12383
|
-
@Area.setter
|
|
12384
|
-
def Area(self, Area):
|
|
12385
|
-
self._Area = Area
|
|
12386
|
-
|
|
12387
|
-
|
|
12388
|
-
def _deserialize(self, params):
|
|
12389
|
-
self._DiagnoseUrl = params.get("DiagnoseUrl")
|
|
12390
|
-
self._DiagnoseLink = params.get("DiagnoseLink")
|
|
12391
|
-
self._CreateTime = params.get("CreateTime")
|
|
12392
|
-
self._ExpireDate = params.get("ExpireDate")
|
|
12393
|
-
self._VisitCount = params.get("VisitCount")
|
|
12394
|
-
if params.get("ClientList") is not None:
|
|
12395
|
-
self._ClientList = []
|
|
12396
|
-
for item in params.get("ClientList"):
|
|
12397
|
-
obj = DiagnoseList()
|
|
12398
|
-
obj._deserialize(item)
|
|
12399
|
-
self._ClientList.append(obj)
|
|
12400
|
-
self._Area = params.get("Area")
|
|
12401
|
-
memeber_set = set(params.keys())
|
|
12402
|
-
for name, value in vars(self).items():
|
|
12403
|
-
property_name = name[1:]
|
|
12404
|
-
if property_name in memeber_set:
|
|
12405
|
-
memeber_set.remove(property_name)
|
|
12406
|
-
if len(memeber_set) > 0:
|
|
12407
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12408
|
-
|
|
12409
|
-
|
|
12410
|
-
|
|
12411
|
-
class DiagnoseList(AbstractModel):
|
|
12412
|
-
r"""客户端访问诊断URL信息列表
|
|
12413
|
-
|
|
12414
|
-
"""
|
|
12415
|
-
|
|
12416
|
-
def __init__(self):
|
|
12417
|
-
r"""
|
|
12418
|
-
:param _DiagnoseTag: 诊断任务标签。
|
|
12419
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12420
|
-
:type DiagnoseTag: str
|
|
12421
|
-
:param _ReportId: 报告ID,用于获取详细诊断报告。
|
|
12422
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12423
|
-
:type ReportId: str
|
|
12424
|
-
:param _ClientInfo: 客户端信息。
|
|
12425
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12426
|
-
:type ClientInfo: list of ClientInfo
|
|
12427
|
-
:param _FinalDiagnose: 最终诊断结果。
|
|
12428
|
-
-1:已提交
|
|
12429
|
-
0 :检测中
|
|
12430
|
-
1 :检测正常
|
|
12431
|
-
2 : 检测异常
|
|
12432
|
-
3 : 诊断页面异常关闭
|
|
12433
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12434
|
-
:type FinalDiagnose: int
|
|
12435
|
-
:param _CreateTime: 诊断任务创建时间。
|
|
12436
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12437
|
-
:type CreateTime: str
|
|
12438
|
-
"""
|
|
12439
|
-
self._DiagnoseTag = None
|
|
12440
|
-
self._ReportId = None
|
|
12441
|
-
self._ClientInfo = None
|
|
12442
|
-
self._FinalDiagnose = None
|
|
12443
|
-
self._CreateTime = None
|
|
12444
|
-
|
|
12445
|
-
@property
|
|
12446
|
-
def DiagnoseTag(self):
|
|
12447
|
-
r"""诊断任务标签。
|
|
12448
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12449
|
-
:rtype: str
|
|
12450
|
-
"""
|
|
12451
|
-
return self._DiagnoseTag
|
|
12452
|
-
|
|
12453
|
-
@DiagnoseTag.setter
|
|
12454
|
-
def DiagnoseTag(self, DiagnoseTag):
|
|
12455
|
-
self._DiagnoseTag = DiagnoseTag
|
|
12456
|
-
|
|
12457
|
-
@property
|
|
12458
|
-
def ReportId(self):
|
|
12459
|
-
r"""报告ID,用于获取详细诊断报告。
|
|
12460
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12461
|
-
:rtype: str
|
|
12462
|
-
"""
|
|
12463
|
-
return self._ReportId
|
|
12464
|
-
|
|
12465
|
-
@ReportId.setter
|
|
12466
|
-
def ReportId(self, ReportId):
|
|
12467
|
-
self._ReportId = ReportId
|
|
12468
|
-
|
|
12469
|
-
@property
|
|
12470
|
-
def ClientInfo(self):
|
|
12471
|
-
r"""客户端信息。
|
|
12472
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12473
|
-
:rtype: list of ClientInfo
|
|
12474
|
-
"""
|
|
12475
|
-
return self._ClientInfo
|
|
12476
|
-
|
|
12477
|
-
@ClientInfo.setter
|
|
12478
|
-
def ClientInfo(self, ClientInfo):
|
|
12479
|
-
self._ClientInfo = ClientInfo
|
|
12480
|
-
|
|
12481
|
-
@property
|
|
12482
|
-
def FinalDiagnose(self):
|
|
12483
|
-
r"""最终诊断结果。
|
|
12484
|
-
-1:已提交
|
|
12485
|
-
0 :检测中
|
|
12486
|
-
1 :检测正常
|
|
12487
|
-
2 : 检测异常
|
|
12488
|
-
3 : 诊断页面异常关闭
|
|
12489
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12490
|
-
:rtype: int
|
|
12491
|
-
"""
|
|
12492
|
-
return self._FinalDiagnose
|
|
12493
|
-
|
|
12494
|
-
@FinalDiagnose.setter
|
|
12495
|
-
def FinalDiagnose(self, FinalDiagnose):
|
|
12496
|
-
self._FinalDiagnose = FinalDiagnose
|
|
12497
|
-
|
|
12498
|
-
@property
|
|
12499
|
-
def CreateTime(self):
|
|
12500
|
-
r"""诊断任务创建时间。
|
|
12501
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12502
|
-
:rtype: str
|
|
12503
|
-
"""
|
|
12504
|
-
return self._CreateTime
|
|
12505
|
-
|
|
12506
|
-
@CreateTime.setter
|
|
12507
|
-
def CreateTime(self, CreateTime):
|
|
12508
|
-
self._CreateTime = CreateTime
|
|
12509
|
-
|
|
12510
|
-
|
|
12511
|
-
def _deserialize(self, params):
|
|
12512
|
-
self._DiagnoseTag = params.get("DiagnoseTag")
|
|
12513
|
-
self._ReportId = params.get("ReportId")
|
|
12514
|
-
if params.get("ClientInfo") is not None:
|
|
12515
|
-
self._ClientInfo = []
|
|
12516
|
-
for item in params.get("ClientInfo"):
|
|
12517
|
-
obj = ClientInfo()
|
|
12518
|
-
obj._deserialize(item)
|
|
12519
|
-
self._ClientInfo.append(obj)
|
|
12520
|
-
self._FinalDiagnose = params.get("FinalDiagnose")
|
|
12521
|
-
self._CreateTime = params.get("CreateTime")
|
|
12522
|
-
memeber_set = set(params.keys())
|
|
12523
|
-
for name, value in vars(self).items():
|
|
12524
|
-
property_name = name[1:]
|
|
12525
|
-
if property_name in memeber_set:
|
|
12526
|
-
memeber_set.remove(property_name)
|
|
12527
|
-
if len(memeber_set) > 0:
|
|
12528
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12529
|
-
|
|
12530
|
-
|
|
12531
|
-
|
|
12532
|
-
class DiagnoseUnit(AbstractModel):
|
|
12533
|
-
r"""诊断报告单元信息
|
|
12534
|
-
|
|
12535
|
-
"""
|
|
12536
|
-
|
|
12537
|
-
def __init__(self):
|
|
12538
|
-
r"""
|
|
12539
|
-
:param _Key: 内容单元英文名称。
|
|
12540
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12541
|
-
:type Key: str
|
|
12542
|
-
:param _KeyText: 内容单元中文名称。
|
|
12543
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12544
|
-
:type KeyText: str
|
|
12545
|
-
:param _Value: 报告内容。
|
|
12546
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12547
|
-
:type Value: str
|
|
12548
|
-
:param _ValueText: 报告内容。
|
|
12549
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12550
|
-
:type ValueText: str
|
|
12551
|
-
"""
|
|
12552
|
-
self._Key = None
|
|
12553
|
-
self._KeyText = None
|
|
12554
|
-
self._Value = None
|
|
12555
|
-
self._ValueText = None
|
|
12556
|
-
|
|
12557
|
-
@property
|
|
12558
|
-
def Key(self):
|
|
12559
|
-
r"""内容单元英文名称。
|
|
12560
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12561
|
-
:rtype: str
|
|
12562
|
-
"""
|
|
12563
|
-
return self._Key
|
|
12564
|
-
|
|
12565
|
-
@Key.setter
|
|
12566
|
-
def Key(self, Key):
|
|
12567
|
-
self._Key = Key
|
|
12568
|
-
|
|
12569
|
-
@property
|
|
12570
|
-
def KeyText(self):
|
|
12571
|
-
r"""内容单元中文名称。
|
|
12572
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12573
|
-
:rtype: str
|
|
12574
|
-
"""
|
|
12575
|
-
return self._KeyText
|
|
12576
|
-
|
|
12577
|
-
@KeyText.setter
|
|
12578
|
-
def KeyText(self, KeyText):
|
|
12579
|
-
self._KeyText = KeyText
|
|
12580
|
-
|
|
12581
|
-
@property
|
|
12582
|
-
def Value(self):
|
|
12583
|
-
r"""报告内容。
|
|
12584
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12585
|
-
:rtype: str
|
|
12586
|
-
"""
|
|
12587
|
-
return self._Value
|
|
12588
|
-
|
|
12589
|
-
@Value.setter
|
|
12590
|
-
def Value(self, Value):
|
|
12591
|
-
self._Value = Value
|
|
12592
|
-
|
|
12593
|
-
@property
|
|
12594
|
-
def ValueText(self):
|
|
12595
|
-
r"""报告内容。
|
|
12596
|
-
注意:此字段可能返回 null,表示取不到有效值。
|
|
12597
|
-
:rtype: str
|
|
12598
|
-
"""
|
|
12599
|
-
return self._ValueText
|
|
12600
|
-
|
|
12601
|
-
@ValueText.setter
|
|
12602
|
-
def ValueText(self, ValueText):
|
|
12603
|
-
self._ValueText = ValueText
|
|
12604
|
-
|
|
12605
|
-
|
|
12606
|
-
def _deserialize(self, params):
|
|
12607
|
-
self._Key = params.get("Key")
|
|
12608
|
-
self._KeyText = params.get("KeyText")
|
|
12609
|
-
self._Value = params.get("Value")
|
|
12610
|
-
self._ValueText = params.get("ValueText")
|
|
11878
|
+
if params.get("AutoGuard") is not None:
|
|
11879
|
+
self._AutoGuard = AutoGuard()
|
|
11880
|
+
self._AutoGuard._deserialize(params.get("AutoGuard"))
|
|
11881
|
+
if params.get("GeoBlocker") is not None:
|
|
11882
|
+
self._GeoBlocker = GeoBlocker()
|
|
11883
|
+
self._GeoBlocker._deserialize(params.get("GeoBlocker"))
|
|
12611
11884
|
memeber_set = set(params.keys())
|
|
12612
11885
|
for name, value in vars(self).items():
|
|
12613
11886
|
property_name = name[1:]
|
|
@@ -13742,49 +13015,121 @@ class ExtraLogset(AbstractModel):
|
|
|
13742
13015
|
r"""
|
|
13743
13016
|
:param _Logset: 日志集信息
|
|
13744
13017
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13745
|
-
:type Logset: :class:`tencentcloud.cdn.v20180606.models.LogSetInfo`
|
|
13746
|
-
:param _Topics: 日志主题信息列表
|
|
13018
|
+
:type Logset: :class:`tencentcloud.cdn.v20180606.models.LogSetInfo`
|
|
13019
|
+
:param _Topics: 日志主题信息列表
|
|
13020
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13021
|
+
:type Topics: list of TopicInfo
|
|
13022
|
+
"""
|
|
13023
|
+
self._Logset = None
|
|
13024
|
+
self._Topics = None
|
|
13025
|
+
|
|
13026
|
+
@property
|
|
13027
|
+
def Logset(self):
|
|
13028
|
+
r"""日志集信息
|
|
13029
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13030
|
+
:rtype: :class:`tencentcloud.cdn.v20180606.models.LogSetInfo`
|
|
13031
|
+
"""
|
|
13032
|
+
return self._Logset
|
|
13033
|
+
|
|
13034
|
+
@Logset.setter
|
|
13035
|
+
def Logset(self, Logset):
|
|
13036
|
+
self._Logset = Logset
|
|
13037
|
+
|
|
13038
|
+
@property
|
|
13039
|
+
def Topics(self):
|
|
13040
|
+
r"""日志主题信息列表
|
|
13041
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13042
|
+
:rtype: list of TopicInfo
|
|
13043
|
+
"""
|
|
13044
|
+
return self._Topics
|
|
13045
|
+
|
|
13046
|
+
@Topics.setter
|
|
13047
|
+
def Topics(self, Topics):
|
|
13048
|
+
self._Topics = Topics
|
|
13049
|
+
|
|
13050
|
+
|
|
13051
|
+
def _deserialize(self, params):
|
|
13052
|
+
if params.get("Logset") is not None:
|
|
13053
|
+
self._Logset = LogSetInfo()
|
|
13054
|
+
self._Logset._deserialize(params.get("Logset"))
|
|
13055
|
+
if params.get("Topics") is not None:
|
|
13056
|
+
self._Topics = []
|
|
13057
|
+
for item in params.get("Topics"):
|
|
13058
|
+
obj = TopicInfo()
|
|
13059
|
+
obj._deserialize(item)
|
|
13060
|
+
self._Topics.append(obj)
|
|
13061
|
+
memeber_set = set(params.keys())
|
|
13062
|
+
for name, value in vars(self).items():
|
|
13063
|
+
property_name = name[1:]
|
|
13064
|
+
if property_name in memeber_set:
|
|
13065
|
+
memeber_set.remove(property_name)
|
|
13066
|
+
if len(memeber_set) > 0:
|
|
13067
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13068
|
+
|
|
13069
|
+
|
|
13070
|
+
|
|
13071
|
+
class FilterRules(AbstractModel):
|
|
13072
|
+
r"""防盗刷配置规则
|
|
13073
|
+
|
|
13074
|
+
"""
|
|
13075
|
+
|
|
13076
|
+
def __init__(self):
|
|
13077
|
+
r"""
|
|
13078
|
+
:param _FilterType: 封禁类型
|
|
13079
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13080
|
+
:type FilterType: str
|
|
13081
|
+
:param _RuleType: 封禁规则类型
|
|
13082
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13083
|
+
:type RuleType: str
|
|
13084
|
+
:param _RulePaths: 封禁规则路径
|
|
13747
13085
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13748
|
-
:type
|
|
13086
|
+
:type RulePaths: list of str
|
|
13749
13087
|
"""
|
|
13750
|
-
self.
|
|
13751
|
-
self.
|
|
13088
|
+
self._FilterType = None
|
|
13089
|
+
self._RuleType = None
|
|
13090
|
+
self._RulePaths = None
|
|
13752
13091
|
|
|
13753
13092
|
@property
|
|
13754
|
-
def
|
|
13755
|
-
r"""
|
|
13093
|
+
def FilterType(self):
|
|
13094
|
+
r"""封禁类型
|
|
13756
13095
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13757
|
-
:rtype:
|
|
13096
|
+
:rtype: str
|
|
13758
13097
|
"""
|
|
13759
|
-
return self.
|
|
13098
|
+
return self._FilterType
|
|
13760
13099
|
|
|
13761
|
-
@
|
|
13762
|
-
def
|
|
13763
|
-
self.
|
|
13100
|
+
@FilterType.setter
|
|
13101
|
+
def FilterType(self, FilterType):
|
|
13102
|
+
self._FilterType = FilterType
|
|
13764
13103
|
|
|
13765
13104
|
@property
|
|
13766
|
-
def
|
|
13767
|
-
r"""
|
|
13105
|
+
def RuleType(self):
|
|
13106
|
+
r"""封禁规则类型
|
|
13768
13107
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
13769
|
-
:rtype:
|
|
13108
|
+
:rtype: str
|
|
13770
13109
|
"""
|
|
13771
|
-
return self.
|
|
13110
|
+
return self._RuleType
|
|
13772
13111
|
|
|
13773
|
-
@
|
|
13774
|
-
def
|
|
13775
|
-
self.
|
|
13112
|
+
@RuleType.setter
|
|
13113
|
+
def RuleType(self, RuleType):
|
|
13114
|
+
self._RuleType = RuleType
|
|
13115
|
+
|
|
13116
|
+
@property
|
|
13117
|
+
def RulePaths(self):
|
|
13118
|
+
r"""封禁规则路径
|
|
13119
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
13120
|
+
:rtype: list of str
|
|
13121
|
+
"""
|
|
13122
|
+
return self._RulePaths
|
|
13123
|
+
|
|
13124
|
+
@RulePaths.setter
|
|
13125
|
+
def RulePaths(self, RulePaths):
|
|
13126
|
+
self._RulePaths = RulePaths
|
|
13776
13127
|
|
|
13777
13128
|
|
|
13778
13129
|
def _deserialize(self, params):
|
|
13779
|
-
|
|
13780
|
-
|
|
13781
|
-
|
|
13782
|
-
if params.get("Topics") is not None:
|
|
13783
|
-
self._Topics = []
|
|
13784
|
-
for item in params.get("Topics"):
|
|
13785
|
-
obj = TopicInfo()
|
|
13786
|
-
obj._deserialize(item)
|
|
13787
|
-
self._Topics.append(obj)
|
|
13130
|
+
self._FilterType = params.get("FilterType")
|
|
13131
|
+
self._RuleType = params.get("RuleType")
|
|
13132
|
+
self._RulePaths = params.get("RulePaths")
|
|
13788
13133
|
memeber_set = set(params.keys())
|
|
13789
13134
|
for name, value in vars(self).items():
|
|
13790
13135
|
property_name = name[1:]
|
|
@@ -13953,6 +13298,177 @@ https:强制 https 跳转
|
|
|
13953
13298
|
|
|
13954
13299
|
|
|
13955
13300
|
|
|
13301
|
+
class GeoBlockStrategy(AbstractModel):
|
|
13302
|
+
r"""区域访问控制策略
|
|
13303
|
+
|
|
13304
|
+
"""
|
|
13305
|
+
|
|
13306
|
+
def __init__(self):
|
|
13307
|
+
r"""
|
|
13308
|
+
:param _BlockType: 规则类型
|
|
13309
|
+
whitelist: 白名单
|
|
13310
|
+
blacklist: 黑名单
|
|
13311
|
+
:type BlockType: str
|
|
13312
|
+
:param _RulePaths: 生效规则
|
|
13313
|
+
:type RulePaths: list of str
|
|
13314
|
+
:param _RuleType: 生效类型
|
|
13315
|
+
all: 全部
|
|
13316
|
+
directory: 目录
|
|
13317
|
+
:type RuleType: str
|
|
13318
|
+
:param _Districts: 生效区域,可选值有: CN-AH CN-BJ CN-CQ CN-FJ CN-GD CN-GS CN-GX CN-GZ CN-HA CN-HB CN-HE CN-HI CN-HK CN-HL CN-HN CN-JL CN-JS CN-JX CN-LN CN-MO CN-NM CN-NX CN-QH CN-SC CN-SD CN-SH CN-SN CN-SX CN-TJ CN-TW CN-XJ CN-XZ CN-YN CN-ZJ AF AX AL DZ AS AD AO AI AQ AG AR AM AW AU AT AZ BS BH BD BB BY BE BZ BJ BM BT BO BQ BA BW BV BR IO BN BG BF BI CV KH CM CA KY CF TD CL CN CX CC CO KM CG CD CK CR CI HR CU CW CY CZ DK DJ DM DO EC EG SV GQ ER EE SZ ET FK FO FJ FI FR GF PF TF GA GM GE DE GH GI GR GL GD GP GU GT GG GN GW GY HT HM VA HN HK HU IS IN ID IR IQ IE IM IL IT JM JP JE JO KZ KE KI KP KR KW KG LA LV LB LS LR LY LI LT LU MO MG MW MY MV ML MT MH MQ MR MU YT MX FM MD MC MN ME MS MA MZ MM NA NR NP NL NC NZ NI NE NG NU NF MK MP NO OM PK PW PS PA PG PY PE PH PN PL PT PR QA RE RO RU RW BL SH KN LC MF PM VC WS SM ST SA SN RS SC SL SG SX SK SI SB SO ZA GS SS ES LK SD SR SJ SE CH SY TW TJ TZ TH TL TG TK TO TT TN TR TM TC TV UG UA AE GB US UM UY UZ VU VE VN VG VI WF EH YE ZM ZW
|
|
13319
|
+
:type Districts: list of str
|
|
13320
|
+
"""
|
|
13321
|
+
self._BlockType = None
|
|
13322
|
+
self._RulePaths = None
|
|
13323
|
+
self._RuleType = None
|
|
13324
|
+
self._Districts = None
|
|
13325
|
+
|
|
13326
|
+
@property
|
|
13327
|
+
def BlockType(self):
|
|
13328
|
+
r"""规则类型
|
|
13329
|
+
whitelist: 白名单
|
|
13330
|
+
blacklist: 黑名单
|
|
13331
|
+
:rtype: str
|
|
13332
|
+
"""
|
|
13333
|
+
return self._BlockType
|
|
13334
|
+
|
|
13335
|
+
@BlockType.setter
|
|
13336
|
+
def BlockType(self, BlockType):
|
|
13337
|
+
self._BlockType = BlockType
|
|
13338
|
+
|
|
13339
|
+
@property
|
|
13340
|
+
def RulePaths(self):
|
|
13341
|
+
r"""生效规则
|
|
13342
|
+
:rtype: list of str
|
|
13343
|
+
"""
|
|
13344
|
+
return self._RulePaths
|
|
13345
|
+
|
|
13346
|
+
@RulePaths.setter
|
|
13347
|
+
def RulePaths(self, RulePaths):
|
|
13348
|
+
self._RulePaths = RulePaths
|
|
13349
|
+
|
|
13350
|
+
@property
|
|
13351
|
+
def RuleType(self):
|
|
13352
|
+
r"""生效类型
|
|
13353
|
+
all: 全部
|
|
13354
|
+
directory: 目录
|
|
13355
|
+
:rtype: str
|
|
13356
|
+
"""
|
|
13357
|
+
return self._RuleType
|
|
13358
|
+
|
|
13359
|
+
@RuleType.setter
|
|
13360
|
+
def RuleType(self, RuleType):
|
|
13361
|
+
self._RuleType = RuleType
|
|
13362
|
+
|
|
13363
|
+
@property
|
|
13364
|
+
def Districts(self):
|
|
13365
|
+
r"""生效区域,可选值有: CN-AH CN-BJ CN-CQ CN-FJ CN-GD CN-GS CN-GX CN-GZ CN-HA CN-HB CN-HE CN-HI CN-HK CN-HL CN-HN CN-JL CN-JS CN-JX CN-LN CN-MO CN-NM CN-NX CN-QH CN-SC CN-SD CN-SH CN-SN CN-SX CN-TJ CN-TW CN-XJ CN-XZ CN-YN CN-ZJ AF AX AL DZ AS AD AO AI AQ AG AR AM AW AU AT AZ BS BH BD BB BY BE BZ BJ BM BT BO BQ BA BW BV BR IO BN BG BF BI CV KH CM CA KY CF TD CL CN CX CC CO KM CG CD CK CR CI HR CU CW CY CZ DK DJ DM DO EC EG SV GQ ER EE SZ ET FK FO FJ FI FR GF PF TF GA GM GE DE GH GI GR GL GD GP GU GT GG GN GW GY HT HM VA HN HK HU IS IN ID IR IQ IE IM IL IT JM JP JE JO KZ KE KI KP KR KW KG LA LV LB LS LR LY LI LT LU MO MG MW MY MV ML MT MH MQ MR MU YT MX FM MD MC MN ME MS MA MZ MM NA NR NP NL NC NZ NI NE NG NU NF MK MP NO OM PK PW PS PA PG PY PE PH PN PL PT PR QA RE RO RU RW BL SH KN LC MF PM VC WS SM ST SA SN RS SC SL SG SX SK SI SB SO ZA GS SS ES LK SD SR SJ SE CH SY TW TJ TZ TH TL TG TK TO TT TN TR TM TC TV UG UA AE GB US UM UY UZ VU VE VN VG VI WF EH YE ZM ZW
|
|
13366
|
+
:rtype: list of str
|
|
13367
|
+
"""
|
|
13368
|
+
return self._Districts
|
|
13369
|
+
|
|
13370
|
+
@Districts.setter
|
|
13371
|
+
def Districts(self, Districts):
|
|
13372
|
+
self._Districts = Districts
|
|
13373
|
+
|
|
13374
|
+
|
|
13375
|
+
def _deserialize(self, params):
|
|
13376
|
+
self._BlockType = params.get("BlockType")
|
|
13377
|
+
self._RulePaths = params.get("RulePaths")
|
|
13378
|
+
self._RuleType = params.get("RuleType")
|
|
13379
|
+
self._Districts = params.get("Districts")
|
|
13380
|
+
memeber_set = set(params.keys())
|
|
13381
|
+
for name, value in vars(self).items():
|
|
13382
|
+
property_name = name[1:]
|
|
13383
|
+
if property_name in memeber_set:
|
|
13384
|
+
memeber_set.remove(property_name)
|
|
13385
|
+
if len(memeber_set) > 0:
|
|
13386
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13387
|
+
|
|
13388
|
+
|
|
13389
|
+
|
|
13390
|
+
class GeoBlocker(AbstractModel):
|
|
13391
|
+
r"""区域访问控制配置,默认为关闭状态
|
|
13392
|
+
|
|
13393
|
+
"""
|
|
13394
|
+
|
|
13395
|
+
def __init__(self):
|
|
13396
|
+
r"""
|
|
13397
|
+
:param _Switch: IP 黑白名单配置开关,取值有
|
|
13398
|
+
on:开启
|
|
13399
|
+
off:关闭
|
|
13400
|
+
:type Switch: str
|
|
13401
|
+
:param _BlockRules: [
|
|
13402
|
+
{
|
|
13403
|
+
"BlockType": "whitelist",
|
|
13404
|
+
"RulePaths": [
|
|
13405
|
+
"*"
|
|
13406
|
+
],
|
|
13407
|
+
"RuleType": "all",
|
|
13408
|
+
"Districts": [
|
|
13409
|
+
"CN-HK"
|
|
13410
|
+
]
|
|
13411
|
+
}
|
|
13412
|
+
]
|
|
13413
|
+
:type BlockRules: list of GeoBlockStrategy
|
|
13414
|
+
"""
|
|
13415
|
+
self._Switch = None
|
|
13416
|
+
self._BlockRules = None
|
|
13417
|
+
|
|
13418
|
+
@property
|
|
13419
|
+
def Switch(self):
|
|
13420
|
+
r"""IP 黑白名单配置开关,取值有
|
|
13421
|
+
on:开启
|
|
13422
|
+
off:关闭
|
|
13423
|
+
:rtype: str
|
|
13424
|
+
"""
|
|
13425
|
+
return self._Switch
|
|
13426
|
+
|
|
13427
|
+
@Switch.setter
|
|
13428
|
+
def Switch(self, Switch):
|
|
13429
|
+
self._Switch = Switch
|
|
13430
|
+
|
|
13431
|
+
@property
|
|
13432
|
+
def BlockRules(self):
|
|
13433
|
+
r"""[
|
|
13434
|
+
{
|
|
13435
|
+
"BlockType": "whitelist",
|
|
13436
|
+
"RulePaths": [
|
|
13437
|
+
"*"
|
|
13438
|
+
],
|
|
13439
|
+
"RuleType": "all",
|
|
13440
|
+
"Districts": [
|
|
13441
|
+
"CN-HK"
|
|
13442
|
+
]
|
|
13443
|
+
}
|
|
13444
|
+
]
|
|
13445
|
+
:rtype: list of GeoBlockStrategy
|
|
13446
|
+
"""
|
|
13447
|
+
return self._BlockRules
|
|
13448
|
+
|
|
13449
|
+
@BlockRules.setter
|
|
13450
|
+
def BlockRules(self, BlockRules):
|
|
13451
|
+
self._BlockRules = BlockRules
|
|
13452
|
+
|
|
13453
|
+
|
|
13454
|
+
def _deserialize(self, params):
|
|
13455
|
+
self._Switch = params.get("Switch")
|
|
13456
|
+
if params.get("BlockRules") is not None:
|
|
13457
|
+
self._BlockRules = []
|
|
13458
|
+
for item in params.get("BlockRules"):
|
|
13459
|
+
obj = GeoBlockStrategy()
|
|
13460
|
+
obj._deserialize(item)
|
|
13461
|
+
self._BlockRules.append(obj)
|
|
13462
|
+
memeber_set = set(params.keys())
|
|
13463
|
+
for name, value in vars(self).items():
|
|
13464
|
+
property_name = name[1:]
|
|
13465
|
+
if property_name in memeber_set:
|
|
13466
|
+
memeber_set.remove(property_name)
|
|
13467
|
+
if len(memeber_set) > 0:
|
|
13468
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
13469
|
+
|
|
13470
|
+
|
|
13471
|
+
|
|
13956
13472
|
class GuetzliAdapter(AbstractModel):
|
|
13957
13473
|
r"""图片优化-GuetzliAdapter配置
|
|
13958
13474
|
|
|
@@ -16235,120 +15751,6 @@ class ListClsTopicDomainsResponse(AbstractModel):
|
|
|
16235
15751
|
self._RequestId = params.get("RequestId")
|
|
16236
15752
|
|
|
16237
15753
|
|
|
16238
|
-
class ListDiagnoseReportRequest(AbstractModel):
|
|
16239
|
-
r"""ListDiagnoseReport请求参数结构体
|
|
16240
|
-
|
|
16241
|
-
"""
|
|
16242
|
-
|
|
16243
|
-
def __init__(self):
|
|
16244
|
-
r"""
|
|
16245
|
-
:param _KeyWords: 用于搜索诊断URL的关键字,不填时返回用户所有的诊断任务。
|
|
16246
|
-
:type KeyWords: str
|
|
16247
|
-
:param _DiagnoseLink: 用于搜索诊断系统返回的诊断链接,形如:http://cdn.cloud.tencent.com/self_diagnose/xxxxx
|
|
16248
|
-
:type DiagnoseLink: str
|
|
16249
|
-
:param _Origin: 请求源带协议头,形如:https://console.cloud.tencent.com
|
|
16250
|
-
:type Origin: str
|
|
16251
|
-
"""
|
|
16252
|
-
self._KeyWords = None
|
|
16253
|
-
self._DiagnoseLink = None
|
|
16254
|
-
self._Origin = None
|
|
16255
|
-
|
|
16256
|
-
@property
|
|
16257
|
-
def KeyWords(self):
|
|
16258
|
-
r"""用于搜索诊断URL的关键字,不填时返回用户所有的诊断任务。
|
|
16259
|
-
:rtype: str
|
|
16260
|
-
"""
|
|
16261
|
-
return self._KeyWords
|
|
16262
|
-
|
|
16263
|
-
@KeyWords.setter
|
|
16264
|
-
def KeyWords(self, KeyWords):
|
|
16265
|
-
self._KeyWords = KeyWords
|
|
16266
|
-
|
|
16267
|
-
@property
|
|
16268
|
-
def DiagnoseLink(self):
|
|
16269
|
-
r"""用于搜索诊断系统返回的诊断链接,形如:http://cdn.cloud.tencent.com/self_diagnose/xxxxx
|
|
16270
|
-
:rtype: str
|
|
16271
|
-
"""
|
|
16272
|
-
return self._DiagnoseLink
|
|
16273
|
-
|
|
16274
|
-
@DiagnoseLink.setter
|
|
16275
|
-
def DiagnoseLink(self, DiagnoseLink):
|
|
16276
|
-
self._DiagnoseLink = DiagnoseLink
|
|
16277
|
-
|
|
16278
|
-
@property
|
|
16279
|
-
def Origin(self):
|
|
16280
|
-
r"""请求源带协议头,形如:https://console.cloud.tencent.com
|
|
16281
|
-
:rtype: str
|
|
16282
|
-
"""
|
|
16283
|
-
return self._Origin
|
|
16284
|
-
|
|
16285
|
-
@Origin.setter
|
|
16286
|
-
def Origin(self, Origin):
|
|
16287
|
-
self._Origin = Origin
|
|
16288
|
-
|
|
16289
|
-
|
|
16290
|
-
def _deserialize(self, params):
|
|
16291
|
-
self._KeyWords = params.get("KeyWords")
|
|
16292
|
-
self._DiagnoseLink = params.get("DiagnoseLink")
|
|
16293
|
-
self._Origin = params.get("Origin")
|
|
16294
|
-
memeber_set = set(params.keys())
|
|
16295
|
-
for name, value in vars(self).items():
|
|
16296
|
-
property_name = name[1:]
|
|
16297
|
-
if property_name in memeber_set:
|
|
16298
|
-
memeber_set.remove(property_name)
|
|
16299
|
-
if len(memeber_set) > 0:
|
|
16300
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16301
|
-
|
|
16302
|
-
|
|
16303
|
-
|
|
16304
|
-
class ListDiagnoseReportResponse(AbstractModel):
|
|
16305
|
-
r"""ListDiagnoseReport返回参数结构体
|
|
16306
|
-
|
|
16307
|
-
"""
|
|
16308
|
-
|
|
16309
|
-
def __init__(self):
|
|
16310
|
-
r"""
|
|
16311
|
-
:param _Data: 诊断信息。
|
|
16312
|
-
:type Data: list of DiagnoseInfo
|
|
16313
|
-
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16314
|
-
:type RequestId: str
|
|
16315
|
-
"""
|
|
16316
|
-
self._Data = None
|
|
16317
|
-
self._RequestId = None
|
|
16318
|
-
|
|
16319
|
-
@property
|
|
16320
|
-
def Data(self):
|
|
16321
|
-
r"""诊断信息。
|
|
16322
|
-
:rtype: list of DiagnoseInfo
|
|
16323
|
-
"""
|
|
16324
|
-
return self._Data
|
|
16325
|
-
|
|
16326
|
-
@Data.setter
|
|
16327
|
-
def Data(self, Data):
|
|
16328
|
-
self._Data = Data
|
|
16329
|
-
|
|
16330
|
-
@property
|
|
16331
|
-
def RequestId(self):
|
|
16332
|
-
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16333
|
-
:rtype: str
|
|
16334
|
-
"""
|
|
16335
|
-
return self._RequestId
|
|
16336
|
-
|
|
16337
|
-
@RequestId.setter
|
|
16338
|
-
def RequestId(self, RequestId):
|
|
16339
|
-
self._RequestId = RequestId
|
|
16340
|
-
|
|
16341
|
-
|
|
16342
|
-
def _deserialize(self, params):
|
|
16343
|
-
if params.get("Data") is not None:
|
|
16344
|
-
self._Data = []
|
|
16345
|
-
for item in params.get("Data"):
|
|
16346
|
-
obj = DiagnoseInfo()
|
|
16347
|
-
obj._deserialize(item)
|
|
16348
|
-
self._Data.append(obj)
|
|
16349
|
-
self._RequestId = params.get("RequestId")
|
|
16350
|
-
|
|
16351
|
-
|
|
16352
15754
|
class ListTopClsLogDataRequest(AbstractModel):
|
|
16353
15755
|
r"""ListTopClsLogData请求参数结构体
|
|
16354
15756
|
|
|
@@ -25176,6 +24578,10 @@ global:全球加速
|
|
|
25176
24578
|
:type HttpsBilling: :class:`tencentcloud.cdn.v20180606.models.HttpsBilling`
|
|
25177
24579
|
:param _ParamFilter: 参数黑名单
|
|
25178
24580
|
:type ParamFilter: :class:`tencentcloud.cdn.v20180606.models.ParamFilter`
|
|
24581
|
+
:param _AutoGuard: 流量防盗刷配置
|
|
24582
|
+
:type AutoGuard: :class:`tencentcloud.cdn.v20180606.models.AutoGuard`
|
|
24583
|
+
:param _GeoBlocker: 区域访问控制配置
|
|
24584
|
+
:type GeoBlocker: :class:`tencentcloud.cdn.v20180606.models.GeoBlocker`
|
|
25179
24585
|
"""
|
|
25180
24586
|
self._Domain = None
|
|
25181
24587
|
self._ProjectId = None
|
|
@@ -25227,6 +24633,8 @@ global:全球加速
|
|
|
25227
24633
|
self._OthersPrivateAccess = None
|
|
25228
24634
|
self._HttpsBilling = None
|
|
25229
24635
|
self._ParamFilter = None
|
|
24636
|
+
self._AutoGuard = None
|
|
24637
|
+
self._GeoBlocker = None
|
|
25230
24638
|
|
|
25231
24639
|
@property
|
|
25232
24640
|
def Domain(self):
|
|
@@ -25786,6 +25194,28 @@ global:全球加速
|
|
|
25786
25194
|
def ParamFilter(self, ParamFilter):
|
|
25787
25195
|
self._ParamFilter = ParamFilter
|
|
25788
25196
|
|
|
25197
|
+
@property
|
|
25198
|
+
def AutoGuard(self):
|
|
25199
|
+
r"""流量防盗刷配置
|
|
25200
|
+
:rtype: :class:`tencentcloud.cdn.v20180606.models.AutoGuard`
|
|
25201
|
+
"""
|
|
25202
|
+
return self._AutoGuard
|
|
25203
|
+
|
|
25204
|
+
@AutoGuard.setter
|
|
25205
|
+
def AutoGuard(self, AutoGuard):
|
|
25206
|
+
self._AutoGuard = AutoGuard
|
|
25207
|
+
|
|
25208
|
+
@property
|
|
25209
|
+
def GeoBlocker(self):
|
|
25210
|
+
r"""区域访问控制配置
|
|
25211
|
+
:rtype: :class:`tencentcloud.cdn.v20180606.models.GeoBlocker`
|
|
25212
|
+
"""
|
|
25213
|
+
return self._GeoBlocker
|
|
25214
|
+
|
|
25215
|
+
@GeoBlocker.setter
|
|
25216
|
+
def GeoBlocker(self, GeoBlocker):
|
|
25217
|
+
self._GeoBlocker = GeoBlocker
|
|
25218
|
+
|
|
25789
25219
|
|
|
25790
25220
|
def _deserialize(self, params):
|
|
25791
25221
|
self._Domain = params.get("Domain")
|
|
@@ -25928,6 +25358,12 @@ global:全球加速
|
|
|
25928
25358
|
if params.get("ParamFilter") is not None:
|
|
25929
25359
|
self._ParamFilter = ParamFilter()
|
|
25930
25360
|
self._ParamFilter._deserialize(params.get("ParamFilter"))
|
|
25361
|
+
if params.get("AutoGuard") is not None:
|
|
25362
|
+
self._AutoGuard = AutoGuard()
|
|
25363
|
+
self._AutoGuard._deserialize(params.get("AutoGuard"))
|
|
25364
|
+
if params.get("GeoBlocker") is not None:
|
|
25365
|
+
self._GeoBlocker = GeoBlocker()
|
|
25366
|
+
self._GeoBlocker._deserialize(params.get("GeoBlocker"))
|
|
25931
25367
|
memeber_set = set(params.keys())
|
|
25932
25368
|
for name, value in vars(self).items():
|
|
25933
25369
|
property_name = name[1:]
|