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
|
@@ -2078,6 +2078,223 @@ class BGPInstance(AbstractModel):
|
|
|
2078
2078
|
|
|
2079
2079
|
|
|
2080
2080
|
|
|
2081
|
+
class BGPInstanceInfo(AbstractModel):
|
|
2082
|
+
r"""{
|
|
2083
|
+
"InstanceId": "bgp-00000436",
|
|
2084
|
+
"InstanceChargePrepaid": {
|
|
2085
|
+
"Period": 3,
|
|
2086
|
+
"RenewFlag": "NOTIFY_AND_AUTO_RENEW"
|
|
2087
|
+
},
|
|
2088
|
+
"EnterprisePackageConfig": null,
|
|
2089
|
+
"StandardPackageConfig": null,
|
|
2090
|
+
"StandardPlusPackageConfig": {
|
|
2091
|
+
"Region": "ap-guangzhou",
|
|
2092
|
+
"ProtectCount": "TWO_TIMES",
|
|
2093
|
+
"ProtectIpCount": 1,
|
|
2094
|
+
"Bandwidth": 100,
|
|
2095
|
+
"ElasticBandwidthFlag": true
|
|
2096
|
+
},
|
|
2097
|
+
"TagInfoList": [
|
|
2098
|
+
],
|
|
2099
|
+
"PackageType": "StandardPlus",
|
|
2100
|
+
"InstanceCount": 1,
|
|
2101
|
+
"InstanceChargeType": "PREPAID",
|
|
2102
|
+
"DryRun": false
|
|
2103
|
+
}
|
|
2104
|
+
|
|
2105
|
+
"""
|
|
2106
|
+
|
|
2107
|
+
def __init__(self):
|
|
2108
|
+
r"""
|
|
2109
|
+
:param _InstanceId: 实例Id
|
|
2110
|
+
:type InstanceId: str
|
|
2111
|
+
:param _InstanceChargePrepaid: 续费周期相关
|
|
2112
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2113
|
+
:type InstanceChargePrepaid: :class:`tencentcloud.antiddos.v20200309.models.InstanceChargePrepaid`
|
|
2114
|
+
:param _EnterprisePackageConfig: 企业版高防包配置
|
|
2115
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2116
|
+
:type EnterprisePackageConfig: :class:`tencentcloud.antiddos.v20200309.models.EnterprisePackageConfig`
|
|
2117
|
+
:param _StandardPackageConfig: 标准版高防包配置
|
|
2118
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2119
|
+
:type StandardPackageConfig: :class:`tencentcloud.antiddos.v20200309.models.StandardPackageConfig`
|
|
2120
|
+
:param _StandardPlusPackageConfig: 标准版2.0高防包配置
|
|
2121
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2122
|
+
:type StandardPlusPackageConfig: :class:`tencentcloud.antiddos.v20200309.models.StandardPlusPackageConfig`
|
|
2123
|
+
:param _TagInfoList: tag信息
|
|
2124
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2125
|
+
:type TagInfoList: list of TagInfo
|
|
2126
|
+
:param _PackageType: 高防包类型
|
|
2127
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2128
|
+
:type PackageType: str
|
|
2129
|
+
:param _InstanceCount: 数量1
|
|
2130
|
+
:type InstanceCount: int
|
|
2131
|
+
:param _InstanceChargeType: 付费方式
|
|
2132
|
+
:type InstanceChargeType: str
|
|
2133
|
+
:param _DryRun: 无实际意义,创建时如果为true,只进行参数校验,默认为false
|
|
2134
|
+
:type DryRun: bool
|
|
2135
|
+
"""
|
|
2136
|
+
self._InstanceId = None
|
|
2137
|
+
self._InstanceChargePrepaid = None
|
|
2138
|
+
self._EnterprisePackageConfig = None
|
|
2139
|
+
self._StandardPackageConfig = None
|
|
2140
|
+
self._StandardPlusPackageConfig = None
|
|
2141
|
+
self._TagInfoList = None
|
|
2142
|
+
self._PackageType = None
|
|
2143
|
+
self._InstanceCount = None
|
|
2144
|
+
self._InstanceChargeType = None
|
|
2145
|
+
self._DryRun = None
|
|
2146
|
+
|
|
2147
|
+
@property
|
|
2148
|
+
def InstanceId(self):
|
|
2149
|
+
r"""实例Id
|
|
2150
|
+
:rtype: str
|
|
2151
|
+
"""
|
|
2152
|
+
return self._InstanceId
|
|
2153
|
+
|
|
2154
|
+
@InstanceId.setter
|
|
2155
|
+
def InstanceId(self, InstanceId):
|
|
2156
|
+
self._InstanceId = InstanceId
|
|
2157
|
+
|
|
2158
|
+
@property
|
|
2159
|
+
def InstanceChargePrepaid(self):
|
|
2160
|
+
r"""续费周期相关
|
|
2161
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2162
|
+
:rtype: :class:`tencentcloud.antiddos.v20200309.models.InstanceChargePrepaid`
|
|
2163
|
+
"""
|
|
2164
|
+
return self._InstanceChargePrepaid
|
|
2165
|
+
|
|
2166
|
+
@InstanceChargePrepaid.setter
|
|
2167
|
+
def InstanceChargePrepaid(self, InstanceChargePrepaid):
|
|
2168
|
+
self._InstanceChargePrepaid = InstanceChargePrepaid
|
|
2169
|
+
|
|
2170
|
+
@property
|
|
2171
|
+
def EnterprisePackageConfig(self):
|
|
2172
|
+
r"""企业版高防包配置
|
|
2173
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2174
|
+
:rtype: :class:`tencentcloud.antiddos.v20200309.models.EnterprisePackageConfig`
|
|
2175
|
+
"""
|
|
2176
|
+
return self._EnterprisePackageConfig
|
|
2177
|
+
|
|
2178
|
+
@EnterprisePackageConfig.setter
|
|
2179
|
+
def EnterprisePackageConfig(self, EnterprisePackageConfig):
|
|
2180
|
+
self._EnterprisePackageConfig = EnterprisePackageConfig
|
|
2181
|
+
|
|
2182
|
+
@property
|
|
2183
|
+
def StandardPackageConfig(self):
|
|
2184
|
+
r"""标准版高防包配置
|
|
2185
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2186
|
+
:rtype: :class:`tencentcloud.antiddos.v20200309.models.StandardPackageConfig`
|
|
2187
|
+
"""
|
|
2188
|
+
return self._StandardPackageConfig
|
|
2189
|
+
|
|
2190
|
+
@StandardPackageConfig.setter
|
|
2191
|
+
def StandardPackageConfig(self, StandardPackageConfig):
|
|
2192
|
+
self._StandardPackageConfig = StandardPackageConfig
|
|
2193
|
+
|
|
2194
|
+
@property
|
|
2195
|
+
def StandardPlusPackageConfig(self):
|
|
2196
|
+
r"""标准版2.0高防包配置
|
|
2197
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2198
|
+
:rtype: :class:`tencentcloud.antiddos.v20200309.models.StandardPlusPackageConfig`
|
|
2199
|
+
"""
|
|
2200
|
+
return self._StandardPlusPackageConfig
|
|
2201
|
+
|
|
2202
|
+
@StandardPlusPackageConfig.setter
|
|
2203
|
+
def StandardPlusPackageConfig(self, StandardPlusPackageConfig):
|
|
2204
|
+
self._StandardPlusPackageConfig = StandardPlusPackageConfig
|
|
2205
|
+
|
|
2206
|
+
@property
|
|
2207
|
+
def TagInfoList(self):
|
|
2208
|
+
r"""tag信息
|
|
2209
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2210
|
+
:rtype: list of TagInfo
|
|
2211
|
+
"""
|
|
2212
|
+
return self._TagInfoList
|
|
2213
|
+
|
|
2214
|
+
@TagInfoList.setter
|
|
2215
|
+
def TagInfoList(self, TagInfoList):
|
|
2216
|
+
self._TagInfoList = TagInfoList
|
|
2217
|
+
|
|
2218
|
+
@property
|
|
2219
|
+
def PackageType(self):
|
|
2220
|
+
r"""高防包类型
|
|
2221
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2222
|
+
:rtype: str
|
|
2223
|
+
"""
|
|
2224
|
+
return self._PackageType
|
|
2225
|
+
|
|
2226
|
+
@PackageType.setter
|
|
2227
|
+
def PackageType(self, PackageType):
|
|
2228
|
+
self._PackageType = PackageType
|
|
2229
|
+
|
|
2230
|
+
@property
|
|
2231
|
+
def InstanceCount(self):
|
|
2232
|
+
r"""数量1
|
|
2233
|
+
:rtype: int
|
|
2234
|
+
"""
|
|
2235
|
+
return self._InstanceCount
|
|
2236
|
+
|
|
2237
|
+
@InstanceCount.setter
|
|
2238
|
+
def InstanceCount(self, InstanceCount):
|
|
2239
|
+
self._InstanceCount = InstanceCount
|
|
2240
|
+
|
|
2241
|
+
@property
|
|
2242
|
+
def InstanceChargeType(self):
|
|
2243
|
+
r"""付费方式
|
|
2244
|
+
:rtype: str
|
|
2245
|
+
"""
|
|
2246
|
+
return self._InstanceChargeType
|
|
2247
|
+
|
|
2248
|
+
@InstanceChargeType.setter
|
|
2249
|
+
def InstanceChargeType(self, InstanceChargeType):
|
|
2250
|
+
self._InstanceChargeType = InstanceChargeType
|
|
2251
|
+
|
|
2252
|
+
@property
|
|
2253
|
+
def DryRun(self):
|
|
2254
|
+
r"""无实际意义,创建时如果为true,只进行参数校验,默认为false
|
|
2255
|
+
:rtype: bool
|
|
2256
|
+
"""
|
|
2257
|
+
return self._DryRun
|
|
2258
|
+
|
|
2259
|
+
@DryRun.setter
|
|
2260
|
+
def DryRun(self, DryRun):
|
|
2261
|
+
self._DryRun = DryRun
|
|
2262
|
+
|
|
2263
|
+
|
|
2264
|
+
def _deserialize(self, params):
|
|
2265
|
+
self._InstanceId = params.get("InstanceId")
|
|
2266
|
+
if params.get("InstanceChargePrepaid") is not None:
|
|
2267
|
+
self._InstanceChargePrepaid = InstanceChargePrepaid()
|
|
2268
|
+
self._InstanceChargePrepaid._deserialize(params.get("InstanceChargePrepaid"))
|
|
2269
|
+
if params.get("EnterprisePackageConfig") is not None:
|
|
2270
|
+
self._EnterprisePackageConfig = EnterprisePackageConfig()
|
|
2271
|
+
self._EnterprisePackageConfig._deserialize(params.get("EnterprisePackageConfig"))
|
|
2272
|
+
if params.get("StandardPackageConfig") is not None:
|
|
2273
|
+
self._StandardPackageConfig = StandardPackageConfig()
|
|
2274
|
+
self._StandardPackageConfig._deserialize(params.get("StandardPackageConfig"))
|
|
2275
|
+
if params.get("StandardPlusPackageConfig") is not None:
|
|
2276
|
+
self._StandardPlusPackageConfig = StandardPlusPackageConfig()
|
|
2277
|
+
self._StandardPlusPackageConfig._deserialize(params.get("StandardPlusPackageConfig"))
|
|
2278
|
+
if params.get("TagInfoList") is not None:
|
|
2279
|
+
self._TagInfoList = []
|
|
2280
|
+
for item in params.get("TagInfoList"):
|
|
2281
|
+
obj = TagInfo()
|
|
2282
|
+
obj._deserialize(item)
|
|
2283
|
+
self._TagInfoList.append(obj)
|
|
2284
|
+
self._PackageType = params.get("PackageType")
|
|
2285
|
+
self._InstanceCount = params.get("InstanceCount")
|
|
2286
|
+
self._InstanceChargeType = params.get("InstanceChargeType")
|
|
2287
|
+
self._DryRun = params.get("DryRun")
|
|
2288
|
+
memeber_set = set(params.keys())
|
|
2289
|
+
for name, value in vars(self).items():
|
|
2290
|
+
property_name = name[1:]
|
|
2291
|
+
if property_name in memeber_set:
|
|
2292
|
+
memeber_set.remove(property_name)
|
|
2293
|
+
if len(memeber_set) > 0:
|
|
2294
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
2295
|
+
|
|
2296
|
+
|
|
2297
|
+
|
|
2081
2298
|
class BGPInstanceSpecification(AbstractModel):
|
|
2082
2299
|
r"""高防包资产实例的规格信息
|
|
2083
2300
|
|
|
@@ -4033,6 +4250,218 @@ class ConnectLimitRelation(AbstractModel):
|
|
|
4033
4250
|
|
|
4034
4251
|
|
|
4035
4252
|
|
|
4253
|
+
class CreateBgpInstanceRequest(AbstractModel):
|
|
4254
|
+
r"""CreateBgpInstance请求参数结构体
|
|
4255
|
+
|
|
4256
|
+
"""
|
|
4257
|
+
|
|
4258
|
+
def __init__(self):
|
|
4259
|
+
r"""
|
|
4260
|
+
:param _InstanceChargeType: 付费类型:付费模式:PREPAID 预付费 POSTPAID_BY_MONTH 后付费
|
|
4261
|
+
:type InstanceChargeType: str
|
|
4262
|
+
:param _PackageType: 高防包类型:高防包类型,Enterprise(企业版) Standard(标准版) StandardPlus(标准版2.0)
|
|
4263
|
+
:type PackageType: str
|
|
4264
|
+
:param _InstanceCount: 购买高防包的数量,一次购买数量不超过10
|
|
4265
|
+
:type InstanceCount: int
|
|
4266
|
+
:param _InstanceChargePrepaid: { "Period": 3, "RenewFlag": "NOTIFY_AND_AUTO_RENEW" }
|
|
4267
|
+
:type InstanceChargePrepaid: :class:`tencentcloud.antiddos.v20200309.models.InstanceChargePrepaid`
|
|
4268
|
+
:param _EnterprisePackageConfig: { "Region": "ap-guangzhou", "ProtectIpCount": 1, "BasicProtectBandwidth": 300, "Bandwidth": 100, "ElasticProtectLimit": 0, "ElasticBandwidthFlag": true }
|
|
4269
|
+
:type EnterprisePackageConfig: :class:`tencentcloud.antiddos.v20200309.models.EnterprisePackageConfig`
|
|
4270
|
+
:param _StandardPackageConfig: { "Region": "ap-guangzhou", "ProtectIpCount": 1, "BasicProtectBandwidth": 300, "Bandwidth": 100, "ElasticProtectLimit": 0, "ElasticBandwidthFlag": true }
|
|
4271
|
+
:type StandardPackageConfig: :class:`tencentcloud.antiddos.v20200309.models.StandardPackageConfig`
|
|
4272
|
+
:param _StandardPlusPackageConfig: { "Region": "ap-guangzhou", "ProtectCount": "TWO_TIMES", "ProtectIpCount": 1, "Bandwidth": 100, "ElasticBandwidthFlag": true }
|
|
4273
|
+
:type StandardPlusPackageConfig: :class:`tencentcloud.antiddos.v20200309.models.StandardPlusPackageConfig`
|
|
4274
|
+
:param _TagInfoList: [ { "TagKey": "beal-test", "TagValue": "beal-test" } ]
|
|
4275
|
+
:type TagInfoList: list of TagInfo
|
|
4276
|
+
:param _DryRun: 默认为false,true表示只进行参数校验,不进行实际购买
|
|
4277
|
+
:type DryRun: bool
|
|
4278
|
+
"""
|
|
4279
|
+
self._InstanceChargeType = None
|
|
4280
|
+
self._PackageType = None
|
|
4281
|
+
self._InstanceCount = None
|
|
4282
|
+
self._InstanceChargePrepaid = None
|
|
4283
|
+
self._EnterprisePackageConfig = None
|
|
4284
|
+
self._StandardPackageConfig = None
|
|
4285
|
+
self._StandardPlusPackageConfig = None
|
|
4286
|
+
self._TagInfoList = None
|
|
4287
|
+
self._DryRun = None
|
|
4288
|
+
|
|
4289
|
+
@property
|
|
4290
|
+
def InstanceChargeType(self):
|
|
4291
|
+
r"""付费类型:付费模式:PREPAID 预付费 POSTPAID_BY_MONTH 后付费
|
|
4292
|
+
:rtype: str
|
|
4293
|
+
"""
|
|
4294
|
+
return self._InstanceChargeType
|
|
4295
|
+
|
|
4296
|
+
@InstanceChargeType.setter
|
|
4297
|
+
def InstanceChargeType(self, InstanceChargeType):
|
|
4298
|
+
self._InstanceChargeType = InstanceChargeType
|
|
4299
|
+
|
|
4300
|
+
@property
|
|
4301
|
+
def PackageType(self):
|
|
4302
|
+
r"""高防包类型:高防包类型,Enterprise(企业版) Standard(标准版) StandardPlus(标准版2.0)
|
|
4303
|
+
:rtype: str
|
|
4304
|
+
"""
|
|
4305
|
+
return self._PackageType
|
|
4306
|
+
|
|
4307
|
+
@PackageType.setter
|
|
4308
|
+
def PackageType(self, PackageType):
|
|
4309
|
+
self._PackageType = PackageType
|
|
4310
|
+
|
|
4311
|
+
@property
|
|
4312
|
+
def InstanceCount(self):
|
|
4313
|
+
r"""购买高防包的数量,一次购买数量不超过10
|
|
4314
|
+
:rtype: int
|
|
4315
|
+
"""
|
|
4316
|
+
return self._InstanceCount
|
|
4317
|
+
|
|
4318
|
+
@InstanceCount.setter
|
|
4319
|
+
def InstanceCount(self, InstanceCount):
|
|
4320
|
+
self._InstanceCount = InstanceCount
|
|
4321
|
+
|
|
4322
|
+
@property
|
|
4323
|
+
def InstanceChargePrepaid(self):
|
|
4324
|
+
r"""{ "Period": 3, "RenewFlag": "NOTIFY_AND_AUTO_RENEW" }
|
|
4325
|
+
:rtype: :class:`tencentcloud.antiddos.v20200309.models.InstanceChargePrepaid`
|
|
4326
|
+
"""
|
|
4327
|
+
return self._InstanceChargePrepaid
|
|
4328
|
+
|
|
4329
|
+
@InstanceChargePrepaid.setter
|
|
4330
|
+
def InstanceChargePrepaid(self, InstanceChargePrepaid):
|
|
4331
|
+
self._InstanceChargePrepaid = InstanceChargePrepaid
|
|
4332
|
+
|
|
4333
|
+
@property
|
|
4334
|
+
def EnterprisePackageConfig(self):
|
|
4335
|
+
r"""{ "Region": "ap-guangzhou", "ProtectIpCount": 1, "BasicProtectBandwidth": 300, "Bandwidth": 100, "ElasticProtectLimit": 0, "ElasticBandwidthFlag": true }
|
|
4336
|
+
:rtype: :class:`tencentcloud.antiddos.v20200309.models.EnterprisePackageConfig`
|
|
4337
|
+
"""
|
|
4338
|
+
return self._EnterprisePackageConfig
|
|
4339
|
+
|
|
4340
|
+
@EnterprisePackageConfig.setter
|
|
4341
|
+
def EnterprisePackageConfig(self, EnterprisePackageConfig):
|
|
4342
|
+
self._EnterprisePackageConfig = EnterprisePackageConfig
|
|
4343
|
+
|
|
4344
|
+
@property
|
|
4345
|
+
def StandardPackageConfig(self):
|
|
4346
|
+
r"""{ "Region": "ap-guangzhou", "ProtectIpCount": 1, "BasicProtectBandwidth": 300, "Bandwidth": 100, "ElasticProtectLimit": 0, "ElasticBandwidthFlag": true }
|
|
4347
|
+
:rtype: :class:`tencentcloud.antiddos.v20200309.models.StandardPackageConfig`
|
|
4348
|
+
"""
|
|
4349
|
+
return self._StandardPackageConfig
|
|
4350
|
+
|
|
4351
|
+
@StandardPackageConfig.setter
|
|
4352
|
+
def StandardPackageConfig(self, StandardPackageConfig):
|
|
4353
|
+
self._StandardPackageConfig = StandardPackageConfig
|
|
4354
|
+
|
|
4355
|
+
@property
|
|
4356
|
+
def StandardPlusPackageConfig(self):
|
|
4357
|
+
r"""{ "Region": "ap-guangzhou", "ProtectCount": "TWO_TIMES", "ProtectIpCount": 1, "Bandwidth": 100, "ElasticBandwidthFlag": true }
|
|
4358
|
+
:rtype: :class:`tencentcloud.antiddos.v20200309.models.StandardPlusPackageConfig`
|
|
4359
|
+
"""
|
|
4360
|
+
return self._StandardPlusPackageConfig
|
|
4361
|
+
|
|
4362
|
+
@StandardPlusPackageConfig.setter
|
|
4363
|
+
def StandardPlusPackageConfig(self, StandardPlusPackageConfig):
|
|
4364
|
+
self._StandardPlusPackageConfig = StandardPlusPackageConfig
|
|
4365
|
+
|
|
4366
|
+
@property
|
|
4367
|
+
def TagInfoList(self):
|
|
4368
|
+
r"""[ { "TagKey": "beal-test", "TagValue": "beal-test" } ]
|
|
4369
|
+
:rtype: list of TagInfo
|
|
4370
|
+
"""
|
|
4371
|
+
return self._TagInfoList
|
|
4372
|
+
|
|
4373
|
+
@TagInfoList.setter
|
|
4374
|
+
def TagInfoList(self, TagInfoList):
|
|
4375
|
+
self._TagInfoList = TagInfoList
|
|
4376
|
+
|
|
4377
|
+
@property
|
|
4378
|
+
def DryRun(self):
|
|
4379
|
+
r"""默认为false,true表示只进行参数校验,不进行实际购买
|
|
4380
|
+
:rtype: bool
|
|
4381
|
+
"""
|
|
4382
|
+
return self._DryRun
|
|
4383
|
+
|
|
4384
|
+
@DryRun.setter
|
|
4385
|
+
def DryRun(self, DryRun):
|
|
4386
|
+
self._DryRun = DryRun
|
|
4387
|
+
|
|
4388
|
+
|
|
4389
|
+
def _deserialize(self, params):
|
|
4390
|
+
self._InstanceChargeType = params.get("InstanceChargeType")
|
|
4391
|
+
self._PackageType = params.get("PackageType")
|
|
4392
|
+
self._InstanceCount = params.get("InstanceCount")
|
|
4393
|
+
if params.get("InstanceChargePrepaid") is not None:
|
|
4394
|
+
self._InstanceChargePrepaid = InstanceChargePrepaid()
|
|
4395
|
+
self._InstanceChargePrepaid._deserialize(params.get("InstanceChargePrepaid"))
|
|
4396
|
+
if params.get("EnterprisePackageConfig") is not None:
|
|
4397
|
+
self._EnterprisePackageConfig = EnterprisePackageConfig()
|
|
4398
|
+
self._EnterprisePackageConfig._deserialize(params.get("EnterprisePackageConfig"))
|
|
4399
|
+
if params.get("StandardPackageConfig") is not None:
|
|
4400
|
+
self._StandardPackageConfig = StandardPackageConfig()
|
|
4401
|
+
self._StandardPackageConfig._deserialize(params.get("StandardPackageConfig"))
|
|
4402
|
+
if params.get("StandardPlusPackageConfig") is not None:
|
|
4403
|
+
self._StandardPlusPackageConfig = StandardPlusPackageConfig()
|
|
4404
|
+
self._StandardPlusPackageConfig._deserialize(params.get("StandardPlusPackageConfig"))
|
|
4405
|
+
if params.get("TagInfoList") is not None:
|
|
4406
|
+
self._TagInfoList = []
|
|
4407
|
+
for item in params.get("TagInfoList"):
|
|
4408
|
+
obj = TagInfo()
|
|
4409
|
+
obj._deserialize(item)
|
|
4410
|
+
self._TagInfoList.append(obj)
|
|
4411
|
+
self._DryRun = params.get("DryRun")
|
|
4412
|
+
memeber_set = set(params.keys())
|
|
4413
|
+
for name, value in vars(self).items():
|
|
4414
|
+
property_name = name[1:]
|
|
4415
|
+
if property_name in memeber_set:
|
|
4416
|
+
memeber_set.remove(property_name)
|
|
4417
|
+
if len(memeber_set) > 0:
|
|
4418
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
4419
|
+
|
|
4420
|
+
|
|
4421
|
+
|
|
4422
|
+
class CreateBgpInstanceResponse(AbstractModel):
|
|
4423
|
+
r"""CreateBgpInstance返回参数结构体
|
|
4424
|
+
|
|
4425
|
+
"""
|
|
4426
|
+
|
|
4427
|
+
def __init__(self):
|
|
4428
|
+
r"""
|
|
4429
|
+
:param _ResourceIds: bgpIds
|
|
4430
|
+
:type ResourceIds: list of str
|
|
4431
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4432
|
+
:type RequestId: str
|
|
4433
|
+
"""
|
|
4434
|
+
self._ResourceIds = None
|
|
4435
|
+
self._RequestId = None
|
|
4436
|
+
|
|
4437
|
+
@property
|
|
4438
|
+
def ResourceIds(self):
|
|
4439
|
+
r"""bgpIds
|
|
4440
|
+
:rtype: list of str
|
|
4441
|
+
"""
|
|
4442
|
+
return self._ResourceIds
|
|
4443
|
+
|
|
4444
|
+
@ResourceIds.setter
|
|
4445
|
+
def ResourceIds(self, ResourceIds):
|
|
4446
|
+
self._ResourceIds = ResourceIds
|
|
4447
|
+
|
|
4448
|
+
@property
|
|
4449
|
+
def RequestId(self):
|
|
4450
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
4451
|
+
:rtype: str
|
|
4452
|
+
"""
|
|
4453
|
+
return self._RequestId
|
|
4454
|
+
|
|
4455
|
+
@RequestId.setter
|
|
4456
|
+
def RequestId(self, RequestId):
|
|
4457
|
+
self._RequestId = RequestId
|
|
4458
|
+
|
|
4459
|
+
|
|
4460
|
+
def _deserialize(self, params):
|
|
4461
|
+
self._ResourceIds = params.get("ResourceIds")
|
|
4462
|
+
self._RequestId = params.get("RequestId")
|
|
4463
|
+
|
|
4464
|
+
|
|
4036
4465
|
class CreateBlackWhiteIpListRequest(AbstractModel):
|
|
4037
4466
|
r"""CreateBlackWhiteIpList请求参数结构体
|
|
4038
4467
|
|
|
@@ -8416,56 +8845,220 @@ class DescribeBgpBizTrendResponse(AbstractModel):
|
|
|
8416
8845
|
self._RequestId = params.get("RequestId")
|
|
8417
8846
|
|
|
8418
8847
|
|
|
8419
|
-
class
|
|
8420
|
-
r"""
|
|
8848
|
+
class DescribeBgpInstancesRequest(AbstractModel):
|
|
8849
|
+
r"""DescribeBgpInstances请求参数结构体
|
|
8421
8850
|
|
|
8422
8851
|
"""
|
|
8423
8852
|
|
|
8424
8853
|
def __init__(self):
|
|
8425
8854
|
r"""
|
|
8426
|
-
:param
|
|
8427
|
-
:type
|
|
8428
|
-
:param
|
|
8429
|
-
:type
|
|
8430
|
-
:param
|
|
8431
|
-
:type
|
|
8432
|
-
:param
|
|
8433
|
-
:type
|
|
8434
|
-
:param
|
|
8435
|
-
:type
|
|
8436
|
-
:param _Id: 资源Id
|
|
8437
|
-
:type Id: str
|
|
8438
|
-
:param _Domain: 特定域名查询
|
|
8439
|
-
:type Domain: str
|
|
8440
|
-
:param _ProtoInfo: 协议及端口列表,协议可取值TCP, UDP, HTTP, HTTPS,仅统计纬度为连接数时有效
|
|
8441
|
-
:type ProtoInfo: list of ProtocolPort
|
|
8855
|
+
:param _FilterRegion: 地域
|
|
8856
|
+
:type FilterRegion: str
|
|
8857
|
+
:param _FilterInstanceIdList: ["bgp-0000041i"]
|
|
8858
|
+
:type FilterInstanceIdList: list of str
|
|
8859
|
+
:param _FilterTag: [{}]
|
|
8860
|
+
:type FilterTag: list of TagInfo
|
|
8861
|
+
:param _Limit: 分页数量
|
|
8862
|
+
:type Limit: int
|
|
8863
|
+
:param _Offset: 偏移量
|
|
8864
|
+
:type Offset: int
|
|
8442
8865
|
"""
|
|
8443
|
-
self.
|
|
8444
|
-
self.
|
|
8445
|
-
self.
|
|
8446
|
-
self.
|
|
8447
|
-
self.
|
|
8448
|
-
self._Id = None
|
|
8449
|
-
self._Domain = None
|
|
8450
|
-
self._ProtoInfo = None
|
|
8866
|
+
self._FilterRegion = None
|
|
8867
|
+
self._FilterInstanceIdList = None
|
|
8868
|
+
self._FilterTag = None
|
|
8869
|
+
self._Limit = None
|
|
8870
|
+
self._Offset = None
|
|
8451
8871
|
|
|
8452
8872
|
@property
|
|
8453
|
-
def
|
|
8454
|
-
r"""
|
|
8873
|
+
def FilterRegion(self):
|
|
8874
|
+
r"""地域
|
|
8455
8875
|
:rtype: str
|
|
8456
8876
|
"""
|
|
8457
|
-
return self.
|
|
8877
|
+
return self._FilterRegion
|
|
8458
8878
|
|
|
8459
|
-
@
|
|
8460
|
-
def
|
|
8461
|
-
self.
|
|
8879
|
+
@FilterRegion.setter
|
|
8880
|
+
def FilterRegion(self, FilterRegion):
|
|
8881
|
+
self._FilterRegion = FilterRegion
|
|
8462
8882
|
|
|
8463
8883
|
@property
|
|
8464
|
-
def
|
|
8465
|
-
r"""
|
|
8466
|
-
:rtype: str
|
|
8884
|
+
def FilterInstanceIdList(self):
|
|
8885
|
+
r"""["bgp-0000041i"]
|
|
8886
|
+
:rtype: list of str
|
|
8467
8887
|
"""
|
|
8468
|
-
return self.
|
|
8888
|
+
return self._FilterInstanceIdList
|
|
8889
|
+
|
|
8890
|
+
@FilterInstanceIdList.setter
|
|
8891
|
+
def FilterInstanceIdList(self, FilterInstanceIdList):
|
|
8892
|
+
self._FilterInstanceIdList = FilterInstanceIdList
|
|
8893
|
+
|
|
8894
|
+
@property
|
|
8895
|
+
def FilterTag(self):
|
|
8896
|
+
r"""[{}]
|
|
8897
|
+
:rtype: list of TagInfo
|
|
8898
|
+
"""
|
|
8899
|
+
return self._FilterTag
|
|
8900
|
+
|
|
8901
|
+
@FilterTag.setter
|
|
8902
|
+
def FilterTag(self, FilterTag):
|
|
8903
|
+
self._FilterTag = FilterTag
|
|
8904
|
+
|
|
8905
|
+
@property
|
|
8906
|
+
def Limit(self):
|
|
8907
|
+
r"""分页数量
|
|
8908
|
+
:rtype: int
|
|
8909
|
+
"""
|
|
8910
|
+
return self._Limit
|
|
8911
|
+
|
|
8912
|
+
@Limit.setter
|
|
8913
|
+
def Limit(self, Limit):
|
|
8914
|
+
self._Limit = Limit
|
|
8915
|
+
|
|
8916
|
+
@property
|
|
8917
|
+
def Offset(self):
|
|
8918
|
+
r"""偏移量
|
|
8919
|
+
:rtype: int
|
|
8920
|
+
"""
|
|
8921
|
+
return self._Offset
|
|
8922
|
+
|
|
8923
|
+
@Offset.setter
|
|
8924
|
+
def Offset(self, Offset):
|
|
8925
|
+
self._Offset = Offset
|
|
8926
|
+
|
|
8927
|
+
|
|
8928
|
+
def _deserialize(self, params):
|
|
8929
|
+
self._FilterRegion = params.get("FilterRegion")
|
|
8930
|
+
self._FilterInstanceIdList = params.get("FilterInstanceIdList")
|
|
8931
|
+
if params.get("FilterTag") is not None:
|
|
8932
|
+
self._FilterTag = []
|
|
8933
|
+
for item in params.get("FilterTag"):
|
|
8934
|
+
obj = TagInfo()
|
|
8935
|
+
obj._deserialize(item)
|
|
8936
|
+
self._FilterTag.append(obj)
|
|
8937
|
+
self._Limit = params.get("Limit")
|
|
8938
|
+
self._Offset = params.get("Offset")
|
|
8939
|
+
memeber_set = set(params.keys())
|
|
8940
|
+
for name, value in vars(self).items():
|
|
8941
|
+
property_name = name[1:]
|
|
8942
|
+
if property_name in memeber_set:
|
|
8943
|
+
memeber_set.remove(property_name)
|
|
8944
|
+
if len(memeber_set) > 0:
|
|
8945
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
8946
|
+
|
|
8947
|
+
|
|
8948
|
+
|
|
8949
|
+
class DescribeBgpInstancesResponse(AbstractModel):
|
|
8950
|
+
r"""DescribeBgpInstances返回参数结构体
|
|
8951
|
+
|
|
8952
|
+
"""
|
|
8953
|
+
|
|
8954
|
+
def __init__(self):
|
|
8955
|
+
r"""
|
|
8956
|
+
:param _Total: 返回数量
|
|
8957
|
+
:type Total: int
|
|
8958
|
+
:param _BGPInstanceList: 返回购买高防包信息
|
|
8959
|
+
:type BGPInstanceList: list of BGPInstanceInfo
|
|
8960
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8961
|
+
:type RequestId: str
|
|
8962
|
+
"""
|
|
8963
|
+
self._Total = None
|
|
8964
|
+
self._BGPInstanceList = None
|
|
8965
|
+
self._RequestId = None
|
|
8966
|
+
|
|
8967
|
+
@property
|
|
8968
|
+
def Total(self):
|
|
8969
|
+
r"""返回数量
|
|
8970
|
+
:rtype: int
|
|
8971
|
+
"""
|
|
8972
|
+
return self._Total
|
|
8973
|
+
|
|
8974
|
+
@Total.setter
|
|
8975
|
+
def Total(self, Total):
|
|
8976
|
+
self._Total = Total
|
|
8977
|
+
|
|
8978
|
+
@property
|
|
8979
|
+
def BGPInstanceList(self):
|
|
8980
|
+
r"""返回购买高防包信息
|
|
8981
|
+
:rtype: list of BGPInstanceInfo
|
|
8982
|
+
"""
|
|
8983
|
+
return self._BGPInstanceList
|
|
8984
|
+
|
|
8985
|
+
@BGPInstanceList.setter
|
|
8986
|
+
def BGPInstanceList(self, BGPInstanceList):
|
|
8987
|
+
self._BGPInstanceList = BGPInstanceList
|
|
8988
|
+
|
|
8989
|
+
@property
|
|
8990
|
+
def RequestId(self):
|
|
8991
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
8992
|
+
:rtype: str
|
|
8993
|
+
"""
|
|
8994
|
+
return self._RequestId
|
|
8995
|
+
|
|
8996
|
+
@RequestId.setter
|
|
8997
|
+
def RequestId(self, RequestId):
|
|
8998
|
+
self._RequestId = RequestId
|
|
8999
|
+
|
|
9000
|
+
|
|
9001
|
+
def _deserialize(self, params):
|
|
9002
|
+
self._Total = params.get("Total")
|
|
9003
|
+
if params.get("BGPInstanceList") is not None:
|
|
9004
|
+
self._BGPInstanceList = []
|
|
9005
|
+
for item in params.get("BGPInstanceList"):
|
|
9006
|
+
obj = BGPInstanceInfo()
|
|
9007
|
+
obj._deserialize(item)
|
|
9008
|
+
self._BGPInstanceList.append(obj)
|
|
9009
|
+
self._RequestId = params.get("RequestId")
|
|
9010
|
+
|
|
9011
|
+
|
|
9012
|
+
class DescribeBizHttpStatusRequest(AbstractModel):
|
|
9013
|
+
r"""DescribeBizHttpStatus请求参数结构体
|
|
9014
|
+
|
|
9015
|
+
"""
|
|
9016
|
+
|
|
9017
|
+
def __init__(self):
|
|
9018
|
+
r"""
|
|
9019
|
+
:param _Statistics: 统计方式,仅支持sum
|
|
9020
|
+
:type Statistics: str
|
|
9021
|
+
:param _Business: DDoS防护子产品代号(bgpip表示高防IP)
|
|
9022
|
+
:type Business: str
|
|
9023
|
+
:param _Period: 统计周期,可取值60,300,1800,3600, 21600,86400,单位秒
|
|
9024
|
+
:type Period: int
|
|
9025
|
+
:param _StartTime: 统计开始时间。 如2020-02-01 12:04:12
|
|
9026
|
+
:type StartTime: str
|
|
9027
|
+
:param _EndTime: 统计结束时间。如2020-02-03 18:03:23
|
|
9028
|
+
:type EndTime: str
|
|
9029
|
+
:param _Id: 资源Id
|
|
9030
|
+
:type Id: str
|
|
9031
|
+
:param _Domain: 特定域名查询
|
|
9032
|
+
:type Domain: str
|
|
9033
|
+
:param _ProtoInfo: 协议及端口列表,协议可取值TCP, UDP, HTTP, HTTPS,仅统计纬度为连接数时有效
|
|
9034
|
+
:type ProtoInfo: list of ProtocolPort
|
|
9035
|
+
"""
|
|
9036
|
+
self._Statistics = None
|
|
9037
|
+
self._Business = None
|
|
9038
|
+
self._Period = None
|
|
9039
|
+
self._StartTime = None
|
|
9040
|
+
self._EndTime = None
|
|
9041
|
+
self._Id = None
|
|
9042
|
+
self._Domain = None
|
|
9043
|
+
self._ProtoInfo = None
|
|
9044
|
+
|
|
9045
|
+
@property
|
|
9046
|
+
def Statistics(self):
|
|
9047
|
+
r"""统计方式,仅支持sum
|
|
9048
|
+
:rtype: str
|
|
9049
|
+
"""
|
|
9050
|
+
return self._Statistics
|
|
9051
|
+
|
|
9052
|
+
@Statistics.setter
|
|
9053
|
+
def Statistics(self, Statistics):
|
|
9054
|
+
self._Statistics = Statistics
|
|
9055
|
+
|
|
9056
|
+
@property
|
|
9057
|
+
def Business(self):
|
|
9058
|
+
r"""DDoS防护子产品代号(bgpip表示高防IP)
|
|
9059
|
+
:rtype: str
|
|
9060
|
+
"""
|
|
9061
|
+
return self._Business
|
|
8469
9062
|
|
|
8470
9063
|
@Business.setter
|
|
8471
9064
|
def Business(self, Business):
|
|
@@ -10364,7 +10957,7 @@ class DescribeCcGeoIPBlockConfigListRequest(AbstractModel):
|
|
|
10364
10957
|
|
|
10365
10958
|
def __init__(self):
|
|
10366
10959
|
r"""
|
|
10367
|
-
:param _Business: DDoS防护子产品代号(
|
|
10960
|
+
:param _Business: DDoS防护子产品代号(bgp-multip:表示高防包;bgpip:表示高防IP)
|
|
10368
10961
|
:type Business: str
|
|
10369
10962
|
:param _Offset: 页起始偏移,取值为(页码-1)*一页条数
|
|
10370
10963
|
:type Offset: int
|
|
@@ -10389,7 +10982,7 @@ class DescribeCcGeoIPBlockConfigListRequest(AbstractModel):
|
|
|
10389
10982
|
|
|
10390
10983
|
@property
|
|
10391
10984
|
def Business(self):
|
|
10392
|
-
r"""DDoS防护子产品代号(
|
|
10985
|
+
r"""DDoS防护子产品代号(bgp-multip:表示高防包;bgpip:表示高防IP)
|
|
10393
10986
|
:rtype: str
|
|
10394
10987
|
"""
|
|
10395
10988
|
return self._Business
|
|
@@ -13219,8 +13812,8 @@ class DescribeListPortAclListResponse(AbstractModel):
|
|
|
13219
13812
|
self._RequestId = params.get("RequestId")
|
|
13220
13813
|
|
|
13221
13814
|
|
|
13222
|
-
class
|
|
13223
|
-
r"""
|
|
13815
|
+
class DescribeListProtectThresholdConfigNewRequest(AbstractModel):
|
|
13816
|
+
r"""DescribeListProtectThresholdConfigNew请求参数结构体
|
|
13224
13817
|
|
|
13225
13818
|
"""
|
|
13226
13819
|
|
|
@@ -13234,11 +13827,17 @@ class DescribeListProtocolBlockConfigRequest(AbstractModel):
|
|
|
13234
13827
|
:type FilterInstanceId: str
|
|
13235
13828
|
:param _FilterIp: IP搜索
|
|
13236
13829
|
:type FilterIp: str
|
|
13830
|
+
:param _FilterDomain: 域名搜索,查询域名与协议的CC防护阈值时使用
|
|
13831
|
+
:type FilterDomain: str
|
|
13832
|
+
:param _FilterProtocol: 协议搜索,查询域名与协议的CC防护阈值时使用
|
|
13833
|
+
:type FilterProtocol: str
|
|
13237
13834
|
"""
|
|
13238
13835
|
self._Offset = None
|
|
13239
13836
|
self._Limit = None
|
|
13240
13837
|
self._FilterInstanceId = None
|
|
13241
13838
|
self._FilterIp = None
|
|
13839
|
+
self._FilterDomain = None
|
|
13840
|
+
self._FilterProtocol = None
|
|
13242
13841
|
|
|
13243
13842
|
@property
|
|
13244
13843
|
def Offset(self):
|
|
@@ -13284,12 +13883,36 @@ class DescribeListProtocolBlockConfigRequest(AbstractModel):
|
|
|
13284
13883
|
def FilterIp(self, FilterIp):
|
|
13285
13884
|
self._FilterIp = FilterIp
|
|
13286
13885
|
|
|
13886
|
+
@property
|
|
13887
|
+
def FilterDomain(self):
|
|
13888
|
+
r"""域名搜索,查询域名与协议的CC防护阈值时使用
|
|
13889
|
+
:rtype: str
|
|
13890
|
+
"""
|
|
13891
|
+
return self._FilterDomain
|
|
13892
|
+
|
|
13893
|
+
@FilterDomain.setter
|
|
13894
|
+
def FilterDomain(self, FilterDomain):
|
|
13895
|
+
self._FilterDomain = FilterDomain
|
|
13896
|
+
|
|
13897
|
+
@property
|
|
13898
|
+
def FilterProtocol(self):
|
|
13899
|
+
r"""协议搜索,查询域名与协议的CC防护阈值时使用
|
|
13900
|
+
:rtype: str
|
|
13901
|
+
"""
|
|
13902
|
+
return self._FilterProtocol
|
|
13903
|
+
|
|
13904
|
+
@FilterProtocol.setter
|
|
13905
|
+
def FilterProtocol(self, FilterProtocol):
|
|
13906
|
+
self._FilterProtocol = FilterProtocol
|
|
13907
|
+
|
|
13287
13908
|
|
|
13288
13909
|
def _deserialize(self, params):
|
|
13289
13910
|
self._Offset = params.get("Offset")
|
|
13290
13911
|
self._Limit = params.get("Limit")
|
|
13291
13912
|
self._FilterInstanceId = params.get("FilterInstanceId")
|
|
13292
13913
|
self._FilterIp = params.get("FilterIp")
|
|
13914
|
+
self._FilterDomain = params.get("FilterDomain")
|
|
13915
|
+
self._FilterProtocol = params.get("FilterProtocol")
|
|
13293
13916
|
memeber_set = set(params.keys())
|
|
13294
13917
|
for name, value in vars(self).items():
|
|
13295
13918
|
property_name = name[1:]
|
|
@@ -13300,17 +13923,17 @@ class DescribeListProtocolBlockConfigRequest(AbstractModel):
|
|
|
13300
13923
|
|
|
13301
13924
|
|
|
13302
13925
|
|
|
13303
|
-
class
|
|
13304
|
-
r"""
|
|
13926
|
+
class DescribeListProtectThresholdConfigNewResponse(AbstractModel):
|
|
13927
|
+
r"""DescribeListProtectThresholdConfigNew返回参数结构体
|
|
13305
13928
|
|
|
13306
13929
|
"""
|
|
13307
13930
|
|
|
13308
13931
|
def __init__(self):
|
|
13309
13932
|
r"""
|
|
13310
|
-
:param _Total:
|
|
13933
|
+
:param _Total: 总记录数
|
|
13311
13934
|
:type Total: int
|
|
13312
|
-
:param _ConfigList:
|
|
13313
|
-
:type ConfigList: list of
|
|
13935
|
+
:param _ConfigList: 防护阈值配置列表
|
|
13936
|
+
:type ConfigList: list of ProtectThresholdRelationNew
|
|
13314
13937
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13315
13938
|
:type RequestId: str
|
|
13316
13939
|
"""
|
|
@@ -13320,7 +13943,7 @@ class DescribeListProtocolBlockConfigResponse(AbstractModel):
|
|
|
13320
13943
|
|
|
13321
13944
|
@property
|
|
13322
13945
|
def Total(self):
|
|
13323
|
-
r"""
|
|
13946
|
+
r"""总记录数
|
|
13324
13947
|
:rtype: int
|
|
13325
13948
|
"""
|
|
13326
13949
|
return self._Total
|
|
@@ -13331,8 +13954,8 @@ class DescribeListProtocolBlockConfigResponse(AbstractModel):
|
|
|
13331
13954
|
|
|
13332
13955
|
@property
|
|
13333
13956
|
def ConfigList(self):
|
|
13334
|
-
r"""
|
|
13335
|
-
:rtype: list of
|
|
13957
|
+
r"""防护阈值配置列表
|
|
13958
|
+
:rtype: list of ProtectThresholdRelationNew
|
|
13336
13959
|
"""
|
|
13337
13960
|
return self._ConfigList
|
|
13338
13961
|
|
|
@@ -13357,14 +13980,14 @@ class DescribeListProtocolBlockConfigResponse(AbstractModel):
|
|
|
13357
13980
|
if params.get("ConfigList") is not None:
|
|
13358
13981
|
self._ConfigList = []
|
|
13359
13982
|
for item in params.get("ConfigList"):
|
|
13360
|
-
obj =
|
|
13983
|
+
obj = ProtectThresholdRelationNew()
|
|
13361
13984
|
obj._deserialize(item)
|
|
13362
13985
|
self._ConfigList.append(obj)
|
|
13363
13986
|
self._RequestId = params.get("RequestId")
|
|
13364
13987
|
|
|
13365
13988
|
|
|
13366
|
-
class
|
|
13367
|
-
r"""
|
|
13989
|
+
class DescribeListProtocolBlockConfigRequest(AbstractModel):
|
|
13990
|
+
r"""DescribeListProtocolBlockConfig请求参数结构体
|
|
13368
13991
|
|
|
13369
13992
|
"""
|
|
13370
13993
|
|
|
@@ -13372,17 +13995,17 @@ class DescribeListSchedulingDomainRequest(AbstractModel):
|
|
|
13372
13995
|
r"""
|
|
13373
13996
|
:param _Offset: 页起始偏移,取值为(页码-1)*一页条数
|
|
13374
13997
|
:type Offset: int
|
|
13375
|
-
:param _Limit: 一页条数,当Limit=0时,默认一页条数为
|
|
13998
|
+
:param _Limit: 一页条数,当Limit=0时,默认一页条数为100;最大取值为100
|
|
13376
13999
|
:type Limit: int
|
|
13377
|
-
:param
|
|
13378
|
-
:type
|
|
13379
|
-
:param
|
|
13380
|
-
:type
|
|
14000
|
+
:param _FilterInstanceId: 资源实例ID搜索, 支持资源实例前缀通配搜索,例如bgp-*表示获取高防包类型的资源实例
|
|
14001
|
+
:type FilterInstanceId: str
|
|
14002
|
+
:param _FilterIp: IP搜索
|
|
14003
|
+
:type FilterIp: str
|
|
13381
14004
|
"""
|
|
13382
14005
|
self._Offset = None
|
|
13383
14006
|
self._Limit = None
|
|
13384
|
-
self.
|
|
13385
|
-
self.
|
|
14007
|
+
self._FilterInstanceId = None
|
|
14008
|
+
self._FilterIp = None
|
|
13386
14009
|
|
|
13387
14010
|
@property
|
|
13388
14011
|
def Offset(self):
|
|
@@ -13397,7 +14020,7 @@ class DescribeListSchedulingDomainRequest(AbstractModel):
|
|
|
13397
14020
|
|
|
13398
14021
|
@property
|
|
13399
14022
|
def Limit(self):
|
|
13400
|
-
r"""一页条数,当Limit=0时,默认一页条数为
|
|
14023
|
+
r"""一页条数,当Limit=0时,默认一页条数为100;最大取值为100
|
|
13401
14024
|
:rtype: int
|
|
13402
14025
|
"""
|
|
13403
14026
|
return self._Limit
|
|
@@ -13407,33 +14030,33 @@ class DescribeListSchedulingDomainRequest(AbstractModel):
|
|
|
13407
14030
|
self._Limit = Limit
|
|
13408
14031
|
|
|
13409
14032
|
@property
|
|
13410
|
-
def
|
|
13411
|
-
r"""
|
|
14033
|
+
def FilterInstanceId(self):
|
|
14034
|
+
r"""资源实例ID搜索, 支持资源实例前缀通配搜索,例如bgp-*表示获取高防包类型的资源实例
|
|
13412
14035
|
:rtype: str
|
|
13413
14036
|
"""
|
|
13414
|
-
return self.
|
|
14037
|
+
return self._FilterInstanceId
|
|
13415
14038
|
|
|
13416
|
-
@
|
|
13417
|
-
def
|
|
13418
|
-
self.
|
|
14039
|
+
@FilterInstanceId.setter
|
|
14040
|
+
def FilterInstanceId(self, FilterInstanceId):
|
|
14041
|
+
self._FilterInstanceId = FilterInstanceId
|
|
13419
14042
|
|
|
13420
14043
|
@property
|
|
13421
|
-
def
|
|
13422
|
-
r"""
|
|
14044
|
+
def FilterIp(self):
|
|
14045
|
+
r"""IP搜索
|
|
13423
14046
|
:rtype: str
|
|
13424
14047
|
"""
|
|
13425
|
-
return self.
|
|
14048
|
+
return self._FilterIp
|
|
13426
14049
|
|
|
13427
|
-
@
|
|
13428
|
-
def
|
|
13429
|
-
self.
|
|
14050
|
+
@FilterIp.setter
|
|
14051
|
+
def FilterIp(self, FilterIp):
|
|
14052
|
+
self._FilterIp = FilterIp
|
|
13430
14053
|
|
|
13431
14054
|
|
|
13432
14055
|
def _deserialize(self, params):
|
|
13433
14056
|
self._Offset = params.get("Offset")
|
|
13434
14057
|
self._Limit = params.get("Limit")
|
|
13435
|
-
self.
|
|
13436
|
-
self.
|
|
14058
|
+
self._FilterInstanceId = params.get("FilterInstanceId")
|
|
14059
|
+
self._FilterIp = params.get("FilterIp")
|
|
13437
14060
|
memeber_set = set(params.keys())
|
|
13438
14061
|
for name, value in vars(self).items():
|
|
13439
14062
|
property_name = name[1:]
|
|
@@ -13444,8 +14067,8 @@ class DescribeListSchedulingDomainRequest(AbstractModel):
|
|
|
13444
14067
|
|
|
13445
14068
|
|
|
13446
14069
|
|
|
13447
|
-
class
|
|
13448
|
-
r"""
|
|
14070
|
+
class DescribeListProtocolBlockConfigResponse(AbstractModel):
|
|
14071
|
+
r"""DescribeListProtocolBlockConfig返回参数结构体
|
|
13449
14072
|
|
|
13450
14073
|
"""
|
|
13451
14074
|
|
|
@@ -13453,13 +14076,13 @@ class DescribeListSchedulingDomainResponse(AbstractModel):
|
|
|
13453
14076
|
r"""
|
|
13454
14077
|
:param _Total: 总数
|
|
13455
14078
|
:type Total: int
|
|
13456
|
-
:param
|
|
13457
|
-
:type
|
|
14079
|
+
:param _ConfigList: 协议封禁配置
|
|
14080
|
+
:type ConfigList: list of ProtocolBlockRelation
|
|
13458
14081
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
13459
14082
|
:type RequestId: str
|
|
13460
14083
|
"""
|
|
13461
14084
|
self._Total = None
|
|
13462
|
-
self.
|
|
14085
|
+
self._ConfigList = None
|
|
13463
14086
|
self._RequestId = None
|
|
13464
14087
|
|
|
13465
14088
|
@property
|
|
@@ -13474,15 +14097,15 @@ class DescribeListSchedulingDomainResponse(AbstractModel):
|
|
|
13474
14097
|
self._Total = Total
|
|
13475
14098
|
|
|
13476
14099
|
@property
|
|
13477
|
-
def
|
|
13478
|
-
r"""
|
|
13479
|
-
:rtype: list of
|
|
14100
|
+
def ConfigList(self):
|
|
14101
|
+
r"""协议封禁配置
|
|
14102
|
+
:rtype: list of ProtocolBlockRelation
|
|
13480
14103
|
"""
|
|
13481
|
-
return self.
|
|
14104
|
+
return self._ConfigList
|
|
13482
14105
|
|
|
13483
|
-
@
|
|
13484
|
-
def
|
|
13485
|
-
self.
|
|
14106
|
+
@ConfigList.setter
|
|
14107
|
+
def ConfigList(self, ConfigList):
|
|
14108
|
+
self._ConfigList = ConfigList
|
|
13486
14109
|
|
|
13487
14110
|
@property
|
|
13488
14111
|
def RequestId(self):
|
|
@@ -13498,7 +14121,151 @@ class DescribeListSchedulingDomainResponse(AbstractModel):
|
|
|
13498
14121
|
|
|
13499
14122
|
def _deserialize(self, params):
|
|
13500
14123
|
self._Total = params.get("Total")
|
|
13501
|
-
if params.get("
|
|
14124
|
+
if params.get("ConfigList") is not None:
|
|
14125
|
+
self._ConfigList = []
|
|
14126
|
+
for item in params.get("ConfigList"):
|
|
14127
|
+
obj = ProtocolBlockRelation()
|
|
14128
|
+
obj._deserialize(item)
|
|
14129
|
+
self._ConfigList.append(obj)
|
|
14130
|
+
self._RequestId = params.get("RequestId")
|
|
14131
|
+
|
|
14132
|
+
|
|
14133
|
+
class DescribeListSchedulingDomainRequest(AbstractModel):
|
|
14134
|
+
r"""DescribeListSchedulingDomain请求参数结构体
|
|
14135
|
+
|
|
14136
|
+
"""
|
|
14137
|
+
|
|
14138
|
+
def __init__(self):
|
|
14139
|
+
r"""
|
|
14140
|
+
:param _Offset: 页起始偏移,取值为(页码-1)*一页条数
|
|
14141
|
+
:type Offset: int
|
|
14142
|
+
:param _Limit: 一页条数,当Limit=0时,默认一页条数为20;最大取值为100
|
|
14143
|
+
:type Limit: int
|
|
14144
|
+
:param _FilterDomain: 调度域名搜索
|
|
14145
|
+
:type FilterDomain: str
|
|
14146
|
+
:param _Status: 运行状态 0 代表未运行 1 正在运行 2 运行异常
|
|
14147
|
+
:type Status: str
|
|
14148
|
+
"""
|
|
14149
|
+
self._Offset = None
|
|
14150
|
+
self._Limit = None
|
|
14151
|
+
self._FilterDomain = None
|
|
14152
|
+
self._Status = None
|
|
14153
|
+
|
|
14154
|
+
@property
|
|
14155
|
+
def Offset(self):
|
|
14156
|
+
r"""页起始偏移,取值为(页码-1)*一页条数
|
|
14157
|
+
:rtype: int
|
|
14158
|
+
"""
|
|
14159
|
+
return self._Offset
|
|
14160
|
+
|
|
14161
|
+
@Offset.setter
|
|
14162
|
+
def Offset(self, Offset):
|
|
14163
|
+
self._Offset = Offset
|
|
14164
|
+
|
|
14165
|
+
@property
|
|
14166
|
+
def Limit(self):
|
|
14167
|
+
r"""一页条数,当Limit=0时,默认一页条数为20;最大取值为100
|
|
14168
|
+
:rtype: int
|
|
14169
|
+
"""
|
|
14170
|
+
return self._Limit
|
|
14171
|
+
|
|
14172
|
+
@Limit.setter
|
|
14173
|
+
def Limit(self, Limit):
|
|
14174
|
+
self._Limit = Limit
|
|
14175
|
+
|
|
14176
|
+
@property
|
|
14177
|
+
def FilterDomain(self):
|
|
14178
|
+
r"""调度域名搜索
|
|
14179
|
+
:rtype: str
|
|
14180
|
+
"""
|
|
14181
|
+
return self._FilterDomain
|
|
14182
|
+
|
|
14183
|
+
@FilterDomain.setter
|
|
14184
|
+
def FilterDomain(self, FilterDomain):
|
|
14185
|
+
self._FilterDomain = FilterDomain
|
|
14186
|
+
|
|
14187
|
+
@property
|
|
14188
|
+
def Status(self):
|
|
14189
|
+
r"""运行状态 0 代表未运行 1 正在运行 2 运行异常
|
|
14190
|
+
:rtype: str
|
|
14191
|
+
"""
|
|
14192
|
+
return self._Status
|
|
14193
|
+
|
|
14194
|
+
@Status.setter
|
|
14195
|
+
def Status(self, Status):
|
|
14196
|
+
self._Status = Status
|
|
14197
|
+
|
|
14198
|
+
|
|
14199
|
+
def _deserialize(self, params):
|
|
14200
|
+
self._Offset = params.get("Offset")
|
|
14201
|
+
self._Limit = params.get("Limit")
|
|
14202
|
+
self._FilterDomain = params.get("FilterDomain")
|
|
14203
|
+
self._Status = params.get("Status")
|
|
14204
|
+
memeber_set = set(params.keys())
|
|
14205
|
+
for name, value in vars(self).items():
|
|
14206
|
+
property_name = name[1:]
|
|
14207
|
+
if property_name in memeber_set:
|
|
14208
|
+
memeber_set.remove(property_name)
|
|
14209
|
+
if len(memeber_set) > 0:
|
|
14210
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14211
|
+
|
|
14212
|
+
|
|
14213
|
+
|
|
14214
|
+
class DescribeListSchedulingDomainResponse(AbstractModel):
|
|
14215
|
+
r"""DescribeListSchedulingDomain返回参数结构体
|
|
14216
|
+
|
|
14217
|
+
"""
|
|
14218
|
+
|
|
14219
|
+
def __init__(self):
|
|
14220
|
+
r"""
|
|
14221
|
+
:param _Total: 总数
|
|
14222
|
+
:type Total: int
|
|
14223
|
+
:param _DomainList: 调度域名信息列表
|
|
14224
|
+
:type DomainList: list of SchedulingDomainInfo
|
|
14225
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14226
|
+
:type RequestId: str
|
|
14227
|
+
"""
|
|
14228
|
+
self._Total = None
|
|
14229
|
+
self._DomainList = None
|
|
14230
|
+
self._RequestId = None
|
|
14231
|
+
|
|
14232
|
+
@property
|
|
14233
|
+
def Total(self):
|
|
14234
|
+
r"""总数
|
|
14235
|
+
:rtype: int
|
|
14236
|
+
"""
|
|
14237
|
+
return self._Total
|
|
14238
|
+
|
|
14239
|
+
@Total.setter
|
|
14240
|
+
def Total(self, Total):
|
|
14241
|
+
self._Total = Total
|
|
14242
|
+
|
|
14243
|
+
@property
|
|
14244
|
+
def DomainList(self):
|
|
14245
|
+
r"""调度域名信息列表
|
|
14246
|
+
:rtype: list of SchedulingDomainInfo
|
|
14247
|
+
"""
|
|
14248
|
+
return self._DomainList
|
|
14249
|
+
|
|
14250
|
+
@DomainList.setter
|
|
14251
|
+
def DomainList(self, DomainList):
|
|
14252
|
+
self._DomainList = DomainList
|
|
14253
|
+
|
|
14254
|
+
@property
|
|
14255
|
+
def RequestId(self):
|
|
14256
|
+
r"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14257
|
+
:rtype: str
|
|
14258
|
+
"""
|
|
14259
|
+
return self._RequestId
|
|
14260
|
+
|
|
14261
|
+
@RequestId.setter
|
|
14262
|
+
def RequestId(self, RequestId):
|
|
14263
|
+
self._RequestId = RequestId
|
|
14264
|
+
|
|
14265
|
+
|
|
14266
|
+
def _deserialize(self, params):
|
|
14267
|
+
self._Total = params.get("Total")
|
|
14268
|
+
if params.get("DomainList") is not None:
|
|
13502
14269
|
self._DomainList = []
|
|
13503
14270
|
for item in params.get("DomainList"):
|
|
13504
14271
|
obj = SchedulingDomainInfo()
|
|
@@ -15440,6 +16207,128 @@ other(托管IP)
|
|
|
15440
16207
|
|
|
15441
16208
|
|
|
15442
16209
|
|
|
16210
|
+
class EnterprisePackageConfig(AbstractModel):
|
|
16211
|
+
r"""{
|
|
16212
|
+
"Region": "ap-guangzhou",
|
|
16213
|
+
"ProtectIpCount": 1,
|
|
16214
|
+
"BasicProtectBandwidth": 300,
|
|
16215
|
+
"Bandwidth": 100,
|
|
16216
|
+
"ElasticProtectBandwidth": 0,
|
|
16217
|
+
"ElasticBandwidthFlag": true
|
|
16218
|
+
}
|
|
16219
|
+
|
|
16220
|
+
"""
|
|
16221
|
+
|
|
16222
|
+
def __init__(self):
|
|
16223
|
+
r"""
|
|
16224
|
+
:param _Region: 购买高防包所属地域
|
|
16225
|
+
:type Region: str
|
|
16226
|
+
:param _ProtectIpCount: 防护IP数
|
|
16227
|
+
:type ProtectIpCount: int
|
|
16228
|
+
:param _BasicProtectBandwidth: 保底防护带宽
|
|
16229
|
+
:type BasicProtectBandwidth: int
|
|
16230
|
+
:param _Bandwidth: 业务带宽规模
|
|
16231
|
+
:type Bandwidth: int
|
|
16232
|
+
:param _ElasticProtectBandwidth: 弹性带宽 Gbps,可选择的弹性带宽[0,400,500,600,800,1000]
|
|
16233
|
+
默认为0
|
|
16234
|
+
:type ElasticProtectBandwidth: int
|
|
16235
|
+
:param _ElasticBandwidthFlag: 是否开启弹性业务带宽
|
|
16236
|
+
默认为false
|
|
16237
|
+
:type ElasticBandwidthFlag: bool
|
|
16238
|
+
"""
|
|
16239
|
+
self._Region = None
|
|
16240
|
+
self._ProtectIpCount = None
|
|
16241
|
+
self._BasicProtectBandwidth = None
|
|
16242
|
+
self._Bandwidth = None
|
|
16243
|
+
self._ElasticProtectBandwidth = None
|
|
16244
|
+
self._ElasticBandwidthFlag = None
|
|
16245
|
+
|
|
16246
|
+
@property
|
|
16247
|
+
def Region(self):
|
|
16248
|
+
r"""购买高防包所属地域
|
|
16249
|
+
:rtype: str
|
|
16250
|
+
"""
|
|
16251
|
+
return self._Region
|
|
16252
|
+
|
|
16253
|
+
@Region.setter
|
|
16254
|
+
def Region(self, Region):
|
|
16255
|
+
self._Region = Region
|
|
16256
|
+
|
|
16257
|
+
@property
|
|
16258
|
+
def ProtectIpCount(self):
|
|
16259
|
+
r"""防护IP数
|
|
16260
|
+
:rtype: int
|
|
16261
|
+
"""
|
|
16262
|
+
return self._ProtectIpCount
|
|
16263
|
+
|
|
16264
|
+
@ProtectIpCount.setter
|
|
16265
|
+
def ProtectIpCount(self, ProtectIpCount):
|
|
16266
|
+
self._ProtectIpCount = ProtectIpCount
|
|
16267
|
+
|
|
16268
|
+
@property
|
|
16269
|
+
def BasicProtectBandwidth(self):
|
|
16270
|
+
r"""保底防护带宽
|
|
16271
|
+
:rtype: int
|
|
16272
|
+
"""
|
|
16273
|
+
return self._BasicProtectBandwidth
|
|
16274
|
+
|
|
16275
|
+
@BasicProtectBandwidth.setter
|
|
16276
|
+
def BasicProtectBandwidth(self, BasicProtectBandwidth):
|
|
16277
|
+
self._BasicProtectBandwidth = BasicProtectBandwidth
|
|
16278
|
+
|
|
16279
|
+
@property
|
|
16280
|
+
def Bandwidth(self):
|
|
16281
|
+
r"""业务带宽规模
|
|
16282
|
+
:rtype: int
|
|
16283
|
+
"""
|
|
16284
|
+
return self._Bandwidth
|
|
16285
|
+
|
|
16286
|
+
@Bandwidth.setter
|
|
16287
|
+
def Bandwidth(self, Bandwidth):
|
|
16288
|
+
self._Bandwidth = Bandwidth
|
|
16289
|
+
|
|
16290
|
+
@property
|
|
16291
|
+
def ElasticProtectBandwidth(self):
|
|
16292
|
+
r"""弹性带宽 Gbps,可选择的弹性带宽[0,400,500,600,800,1000]
|
|
16293
|
+
默认为0
|
|
16294
|
+
:rtype: int
|
|
16295
|
+
"""
|
|
16296
|
+
return self._ElasticProtectBandwidth
|
|
16297
|
+
|
|
16298
|
+
@ElasticProtectBandwidth.setter
|
|
16299
|
+
def ElasticProtectBandwidth(self, ElasticProtectBandwidth):
|
|
16300
|
+
self._ElasticProtectBandwidth = ElasticProtectBandwidth
|
|
16301
|
+
|
|
16302
|
+
@property
|
|
16303
|
+
def ElasticBandwidthFlag(self):
|
|
16304
|
+
r"""是否开启弹性业务带宽
|
|
16305
|
+
默认为false
|
|
16306
|
+
:rtype: bool
|
|
16307
|
+
"""
|
|
16308
|
+
return self._ElasticBandwidthFlag
|
|
16309
|
+
|
|
16310
|
+
@ElasticBandwidthFlag.setter
|
|
16311
|
+
def ElasticBandwidthFlag(self, ElasticBandwidthFlag):
|
|
16312
|
+
self._ElasticBandwidthFlag = ElasticBandwidthFlag
|
|
16313
|
+
|
|
16314
|
+
|
|
16315
|
+
def _deserialize(self, params):
|
|
16316
|
+
self._Region = params.get("Region")
|
|
16317
|
+
self._ProtectIpCount = params.get("ProtectIpCount")
|
|
16318
|
+
self._BasicProtectBandwidth = params.get("BasicProtectBandwidth")
|
|
16319
|
+
self._Bandwidth = params.get("Bandwidth")
|
|
16320
|
+
self._ElasticProtectBandwidth = params.get("ElasticProtectBandwidth")
|
|
16321
|
+
self._ElasticBandwidthFlag = params.get("ElasticBandwidthFlag")
|
|
16322
|
+
memeber_set = set(params.keys())
|
|
16323
|
+
for name, value in vars(self).items():
|
|
16324
|
+
property_name = name[1:]
|
|
16325
|
+
if property_name in memeber_set:
|
|
16326
|
+
memeber_set.remove(property_name)
|
|
16327
|
+
if len(memeber_set) > 0:
|
|
16328
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16329
|
+
|
|
16330
|
+
|
|
16331
|
+
|
|
15443
16332
|
class ForwardListener(AbstractModel):
|
|
15444
16333
|
r"""转发监听器
|
|
15445
16334
|
|
|
@@ -15996,6 +16885,70 @@ class InsL7Rules(AbstractModel):
|
|
|
15996
16885
|
|
|
15997
16886
|
|
|
15998
16887
|
|
|
16888
|
+
class InstanceChargePrepaid(AbstractModel):
|
|
16889
|
+
r"""{
|
|
16890
|
+
"Period": 12,
|
|
16891
|
+
"RenewFlag": "NOTIFY_AND_AUTO_RENEW"
|
|
16892
|
+
}
|
|
16893
|
+
|
|
16894
|
+
"""
|
|
16895
|
+
|
|
16896
|
+
def __init__(self):
|
|
16897
|
+
r"""
|
|
16898
|
+
:param _Period: 购买时长:单位月
|
|
16899
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16900
|
+
:type Period: int
|
|
16901
|
+
:param _RenewFlag: NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费
|
|
16902
|
+
NOTIFY_AND_AUTO_RENEW:到期通知且自动续费
|
|
16903
|
+
DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
|
|
16904
|
+
默认为:通知过期不自动续费
|
|
16905
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16906
|
+
:type RenewFlag: str
|
|
16907
|
+
"""
|
|
16908
|
+
self._Period = None
|
|
16909
|
+
self._RenewFlag = None
|
|
16910
|
+
|
|
16911
|
+
@property
|
|
16912
|
+
def Period(self):
|
|
16913
|
+
r"""购买时长:单位月
|
|
16914
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16915
|
+
:rtype: int
|
|
16916
|
+
"""
|
|
16917
|
+
return self._Period
|
|
16918
|
+
|
|
16919
|
+
@Period.setter
|
|
16920
|
+
def Period(self, Period):
|
|
16921
|
+
self._Period = Period
|
|
16922
|
+
|
|
16923
|
+
@property
|
|
16924
|
+
def RenewFlag(self):
|
|
16925
|
+
r"""NOTIFY_AND_MANUAL_RENEW:通知过期不自动续费
|
|
16926
|
+
NOTIFY_AND_AUTO_RENEW:到期通知且自动续费
|
|
16927
|
+
DISABLE_NOTIFY_AND_MANUAL_RENEW:不通知过期不自动续费
|
|
16928
|
+
默认为:通知过期不自动续费
|
|
16929
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
16930
|
+
:rtype: str
|
|
16931
|
+
"""
|
|
16932
|
+
return self._RenewFlag
|
|
16933
|
+
|
|
16934
|
+
@RenewFlag.setter
|
|
16935
|
+
def RenewFlag(self, RenewFlag):
|
|
16936
|
+
self._RenewFlag = RenewFlag
|
|
16937
|
+
|
|
16938
|
+
|
|
16939
|
+
def _deserialize(self, params):
|
|
16940
|
+
self._Period = params.get("Period")
|
|
16941
|
+
self._RenewFlag = params.get("RenewFlag")
|
|
16942
|
+
memeber_set = set(params.keys())
|
|
16943
|
+
for name, value in vars(self).items():
|
|
16944
|
+
property_name = name[1:]
|
|
16945
|
+
if property_name in memeber_set:
|
|
16946
|
+
memeber_set.remove(property_name)
|
|
16947
|
+
if len(memeber_set) > 0:
|
|
16948
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16949
|
+
|
|
16950
|
+
|
|
16951
|
+
|
|
15999
16952
|
class InstanceRelation(AbstractModel):
|
|
16000
16953
|
r"""资源实例IP信息
|
|
16001
16954
|
|
|
@@ -17238,26 +18191,107 @@ class Layer7Rule(AbstractModel):
|
|
|
17238
18191
|
|
|
17239
18192
|
|
|
17240
18193
|
|
|
17241
|
-
class
|
|
17242
|
-
r"""
|
|
18194
|
+
class ListenerCcThresholdConfig(AbstractModel):
|
|
18195
|
+
r"""域名与协议纬度的CC防护阈值
|
|
17243
18196
|
|
|
17244
18197
|
"""
|
|
17245
18198
|
|
|
17246
18199
|
def __init__(self):
|
|
17247
18200
|
r"""
|
|
17248
|
-
:param _InstanceId: 实例Id
|
|
17249
|
-
:type InstanceId: str
|
|
17250
|
-
:param _Ip: IP地址
|
|
17251
|
-
:type Ip: str
|
|
17252
18201
|
:param _Domain: 域名
|
|
17253
18202
|
:type Domain: str
|
|
17254
|
-
:param _Protocol:
|
|
18203
|
+
:param _Protocol: 协议(可取值https)
|
|
17255
18204
|
:type Protocol: str
|
|
17256
|
-
:param
|
|
17257
|
-
:type
|
|
18205
|
+
:param _CCEnable: 开关状态(0:关闭,1:开启)
|
|
18206
|
+
:type CCEnable: int
|
|
18207
|
+
:param _CCThreshold: cc防护阈值
|
|
18208
|
+
:type CCThreshold: int
|
|
17258
18209
|
"""
|
|
17259
|
-
self.
|
|
17260
|
-
self.
|
|
18210
|
+
self._Domain = None
|
|
18211
|
+
self._Protocol = None
|
|
18212
|
+
self._CCEnable = None
|
|
18213
|
+
self._CCThreshold = None
|
|
18214
|
+
|
|
18215
|
+
@property
|
|
18216
|
+
def Domain(self):
|
|
18217
|
+
r"""域名
|
|
18218
|
+
:rtype: str
|
|
18219
|
+
"""
|
|
18220
|
+
return self._Domain
|
|
18221
|
+
|
|
18222
|
+
@Domain.setter
|
|
18223
|
+
def Domain(self, Domain):
|
|
18224
|
+
self._Domain = Domain
|
|
18225
|
+
|
|
18226
|
+
@property
|
|
18227
|
+
def Protocol(self):
|
|
18228
|
+
r"""协议(可取值https)
|
|
18229
|
+
:rtype: str
|
|
18230
|
+
"""
|
|
18231
|
+
return self._Protocol
|
|
18232
|
+
|
|
18233
|
+
@Protocol.setter
|
|
18234
|
+
def Protocol(self, Protocol):
|
|
18235
|
+
self._Protocol = Protocol
|
|
18236
|
+
|
|
18237
|
+
@property
|
|
18238
|
+
def CCEnable(self):
|
|
18239
|
+
r"""开关状态(0:关闭,1:开启)
|
|
18240
|
+
:rtype: int
|
|
18241
|
+
"""
|
|
18242
|
+
return self._CCEnable
|
|
18243
|
+
|
|
18244
|
+
@CCEnable.setter
|
|
18245
|
+
def CCEnable(self, CCEnable):
|
|
18246
|
+
self._CCEnable = CCEnable
|
|
18247
|
+
|
|
18248
|
+
@property
|
|
18249
|
+
def CCThreshold(self):
|
|
18250
|
+
r"""cc防护阈值
|
|
18251
|
+
:rtype: int
|
|
18252
|
+
"""
|
|
18253
|
+
return self._CCThreshold
|
|
18254
|
+
|
|
18255
|
+
@CCThreshold.setter
|
|
18256
|
+
def CCThreshold(self, CCThreshold):
|
|
18257
|
+
self._CCThreshold = CCThreshold
|
|
18258
|
+
|
|
18259
|
+
|
|
18260
|
+
def _deserialize(self, params):
|
|
18261
|
+
self._Domain = params.get("Domain")
|
|
18262
|
+
self._Protocol = params.get("Protocol")
|
|
18263
|
+
self._CCEnable = params.get("CCEnable")
|
|
18264
|
+
self._CCThreshold = params.get("CCThreshold")
|
|
18265
|
+
memeber_set = set(params.keys())
|
|
18266
|
+
for name, value in vars(self).items():
|
|
18267
|
+
property_name = name[1:]
|
|
18268
|
+
if property_name in memeber_set:
|
|
18269
|
+
memeber_set.remove(property_name)
|
|
18270
|
+
if len(memeber_set) > 0:
|
|
18271
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
18272
|
+
|
|
18273
|
+
|
|
18274
|
+
|
|
18275
|
+
class ModifyCCLevelPolicyRequest(AbstractModel):
|
|
18276
|
+
r"""ModifyCCLevelPolicy请求参数结构体
|
|
18277
|
+
|
|
18278
|
+
"""
|
|
18279
|
+
|
|
18280
|
+
def __init__(self):
|
|
18281
|
+
r"""
|
|
18282
|
+
:param _InstanceId: 实例Id
|
|
18283
|
+
:type InstanceId: str
|
|
18284
|
+
:param _Ip: IP地址
|
|
18285
|
+
:type Ip: str
|
|
18286
|
+
:param _Domain: 域名
|
|
18287
|
+
:type Domain: str
|
|
18288
|
+
:param _Protocol: 协议,可取值http、https、http/https
|
|
18289
|
+
:type Protocol: str
|
|
18290
|
+
:param _Level: CC防护等级,可取值loose表示宽松,strict表示严格,normal表示适中, emergency表示攻击紧急, sup_loose表示超级宽松,default表示默认策略(无频控配置下发),customized表示自定义策略
|
|
18291
|
+
:type Level: str
|
|
18292
|
+
"""
|
|
18293
|
+
self._InstanceId = None
|
|
18294
|
+
self._Ip = None
|
|
17261
18295
|
self._Domain = None
|
|
17262
18296
|
self._Protocol = None
|
|
17263
18297
|
self._Level = None
|
|
@@ -20115,6 +21149,332 @@ class PortSegment(AbstractModel):
|
|
|
20115
21149
|
|
|
20116
21150
|
|
|
20117
21151
|
|
|
21152
|
+
class ProtectThresholdRelationNew(AbstractModel):
|
|
21153
|
+
r"""防护阈值配置相关信息
|
|
21154
|
+
|
|
21155
|
+
"""
|
|
21156
|
+
|
|
21157
|
+
def __init__(self):
|
|
21158
|
+
r"""
|
|
21159
|
+
:param _DDoSLevel: DDoS防护等级,取值[
|
|
21160
|
+
low(宽松)
|
|
21161
|
+
middle(适中)
|
|
21162
|
+
high(严格)
|
|
21163
|
+
]
|
|
21164
|
+
:type DDoSLevel: str
|
|
21165
|
+
:param _DDoSThreshold: DDoS清洗阈值,单位Mbps
|
|
21166
|
+
:type DDoSThreshold: int
|
|
21167
|
+
:param _DDoSAI: DDoS的AI防护开关,取值[
|
|
21168
|
+
on(开启)
|
|
21169
|
+
off(关闭)
|
|
21170
|
+
]
|
|
21171
|
+
:type DDoSAI: str
|
|
21172
|
+
:param _CCEnable: CC清洗开关,取值[
|
|
21173
|
+
0(关闭)
|
|
21174
|
+
1(开启)
|
|
21175
|
+
]
|
|
21176
|
+
:type CCEnable: int
|
|
21177
|
+
:param _CCThreshold: CC清洗阈值,单位QPS
|
|
21178
|
+
:type CCThreshold: int
|
|
21179
|
+
:param _InstanceDetailList: 所属的资源实例
|
|
21180
|
+
:type InstanceDetailList: list of InstanceRelation
|
|
21181
|
+
:param _ListenerCcThresholdList: 域名与协议纬度的防护阈值
|
|
21182
|
+
:type ListenerCcThresholdList: list of ListenerCcThresholdConfig
|
|
21183
|
+
:param _SynFloodThreshold: SYN FLOOD流量阈值
|
|
21184
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21185
|
+
:type SynFloodThreshold: int
|
|
21186
|
+
:param _SynFloodPktThreshold: SYN FLOOD包量阈值
|
|
21187
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21188
|
+
:type SynFloodPktThreshold: int
|
|
21189
|
+
:param _UdpFloodThreshold: UDP FLOOD流量阈值
|
|
21190
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21191
|
+
:type UdpFloodThreshold: int
|
|
21192
|
+
:param _UdpFloodPktThreshold: UDP FLOOD包量阈值
|
|
21193
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21194
|
+
:type UdpFloodPktThreshold: int
|
|
21195
|
+
:param _AckFloodThreshold: ACK FLOOD流量阈值
|
|
21196
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21197
|
+
:type AckFloodThreshold: int
|
|
21198
|
+
:param _AckFloodPktThreshold: ACK FLOOD包量阈值
|
|
21199
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21200
|
+
:type AckFloodPktThreshold: int
|
|
21201
|
+
:param _SynAckFloodThreshold: SYNACK FLOOD流量阈值
|
|
21202
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21203
|
+
:type SynAckFloodThreshold: int
|
|
21204
|
+
:param _SynAckFloodPktThreshold: SYNACK FLOOD包量阈值
|
|
21205
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21206
|
+
:type SynAckFloodPktThreshold: int
|
|
21207
|
+
:param _RstFloodThreshold: RST FLOOD流量阈值
|
|
21208
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21209
|
+
:type RstFloodThreshold: int
|
|
21210
|
+
:param _RstFloodPktThreshold: RST FLOOD包量阈值
|
|
21211
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21212
|
+
:type RstFloodPktThreshold: int
|
|
21213
|
+
"""
|
|
21214
|
+
self._DDoSLevel = None
|
|
21215
|
+
self._DDoSThreshold = None
|
|
21216
|
+
self._DDoSAI = None
|
|
21217
|
+
self._CCEnable = None
|
|
21218
|
+
self._CCThreshold = None
|
|
21219
|
+
self._InstanceDetailList = None
|
|
21220
|
+
self._ListenerCcThresholdList = None
|
|
21221
|
+
self._SynFloodThreshold = None
|
|
21222
|
+
self._SynFloodPktThreshold = None
|
|
21223
|
+
self._UdpFloodThreshold = None
|
|
21224
|
+
self._UdpFloodPktThreshold = None
|
|
21225
|
+
self._AckFloodThreshold = None
|
|
21226
|
+
self._AckFloodPktThreshold = None
|
|
21227
|
+
self._SynAckFloodThreshold = None
|
|
21228
|
+
self._SynAckFloodPktThreshold = None
|
|
21229
|
+
self._RstFloodThreshold = None
|
|
21230
|
+
self._RstFloodPktThreshold = None
|
|
21231
|
+
|
|
21232
|
+
@property
|
|
21233
|
+
def DDoSLevel(self):
|
|
21234
|
+
r"""DDoS防护等级,取值[
|
|
21235
|
+
low(宽松)
|
|
21236
|
+
middle(适中)
|
|
21237
|
+
high(严格)
|
|
21238
|
+
]
|
|
21239
|
+
:rtype: str
|
|
21240
|
+
"""
|
|
21241
|
+
return self._DDoSLevel
|
|
21242
|
+
|
|
21243
|
+
@DDoSLevel.setter
|
|
21244
|
+
def DDoSLevel(self, DDoSLevel):
|
|
21245
|
+
self._DDoSLevel = DDoSLevel
|
|
21246
|
+
|
|
21247
|
+
@property
|
|
21248
|
+
def DDoSThreshold(self):
|
|
21249
|
+
r"""DDoS清洗阈值,单位Mbps
|
|
21250
|
+
:rtype: int
|
|
21251
|
+
"""
|
|
21252
|
+
return self._DDoSThreshold
|
|
21253
|
+
|
|
21254
|
+
@DDoSThreshold.setter
|
|
21255
|
+
def DDoSThreshold(self, DDoSThreshold):
|
|
21256
|
+
self._DDoSThreshold = DDoSThreshold
|
|
21257
|
+
|
|
21258
|
+
@property
|
|
21259
|
+
def DDoSAI(self):
|
|
21260
|
+
r"""DDoS的AI防护开关,取值[
|
|
21261
|
+
on(开启)
|
|
21262
|
+
off(关闭)
|
|
21263
|
+
]
|
|
21264
|
+
:rtype: str
|
|
21265
|
+
"""
|
|
21266
|
+
return self._DDoSAI
|
|
21267
|
+
|
|
21268
|
+
@DDoSAI.setter
|
|
21269
|
+
def DDoSAI(self, DDoSAI):
|
|
21270
|
+
self._DDoSAI = DDoSAI
|
|
21271
|
+
|
|
21272
|
+
@property
|
|
21273
|
+
def CCEnable(self):
|
|
21274
|
+
r"""CC清洗开关,取值[
|
|
21275
|
+
0(关闭)
|
|
21276
|
+
1(开启)
|
|
21277
|
+
]
|
|
21278
|
+
:rtype: int
|
|
21279
|
+
"""
|
|
21280
|
+
return self._CCEnable
|
|
21281
|
+
|
|
21282
|
+
@CCEnable.setter
|
|
21283
|
+
def CCEnable(self, CCEnable):
|
|
21284
|
+
self._CCEnable = CCEnable
|
|
21285
|
+
|
|
21286
|
+
@property
|
|
21287
|
+
def CCThreshold(self):
|
|
21288
|
+
r"""CC清洗阈值,单位QPS
|
|
21289
|
+
:rtype: int
|
|
21290
|
+
"""
|
|
21291
|
+
return self._CCThreshold
|
|
21292
|
+
|
|
21293
|
+
@CCThreshold.setter
|
|
21294
|
+
def CCThreshold(self, CCThreshold):
|
|
21295
|
+
self._CCThreshold = CCThreshold
|
|
21296
|
+
|
|
21297
|
+
@property
|
|
21298
|
+
def InstanceDetailList(self):
|
|
21299
|
+
r"""所属的资源实例
|
|
21300
|
+
:rtype: list of InstanceRelation
|
|
21301
|
+
"""
|
|
21302
|
+
return self._InstanceDetailList
|
|
21303
|
+
|
|
21304
|
+
@InstanceDetailList.setter
|
|
21305
|
+
def InstanceDetailList(self, InstanceDetailList):
|
|
21306
|
+
self._InstanceDetailList = InstanceDetailList
|
|
21307
|
+
|
|
21308
|
+
@property
|
|
21309
|
+
def ListenerCcThresholdList(self):
|
|
21310
|
+
r"""域名与协议纬度的防护阈值
|
|
21311
|
+
:rtype: list of ListenerCcThresholdConfig
|
|
21312
|
+
"""
|
|
21313
|
+
return self._ListenerCcThresholdList
|
|
21314
|
+
|
|
21315
|
+
@ListenerCcThresholdList.setter
|
|
21316
|
+
def ListenerCcThresholdList(self, ListenerCcThresholdList):
|
|
21317
|
+
self._ListenerCcThresholdList = ListenerCcThresholdList
|
|
21318
|
+
|
|
21319
|
+
@property
|
|
21320
|
+
def SynFloodThreshold(self):
|
|
21321
|
+
r"""SYN FLOOD流量阈值
|
|
21322
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21323
|
+
:rtype: int
|
|
21324
|
+
"""
|
|
21325
|
+
return self._SynFloodThreshold
|
|
21326
|
+
|
|
21327
|
+
@SynFloodThreshold.setter
|
|
21328
|
+
def SynFloodThreshold(self, SynFloodThreshold):
|
|
21329
|
+
self._SynFloodThreshold = SynFloodThreshold
|
|
21330
|
+
|
|
21331
|
+
@property
|
|
21332
|
+
def SynFloodPktThreshold(self):
|
|
21333
|
+
r"""SYN FLOOD包量阈值
|
|
21334
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21335
|
+
:rtype: int
|
|
21336
|
+
"""
|
|
21337
|
+
return self._SynFloodPktThreshold
|
|
21338
|
+
|
|
21339
|
+
@SynFloodPktThreshold.setter
|
|
21340
|
+
def SynFloodPktThreshold(self, SynFloodPktThreshold):
|
|
21341
|
+
self._SynFloodPktThreshold = SynFloodPktThreshold
|
|
21342
|
+
|
|
21343
|
+
@property
|
|
21344
|
+
def UdpFloodThreshold(self):
|
|
21345
|
+
r"""UDP FLOOD流量阈值
|
|
21346
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21347
|
+
:rtype: int
|
|
21348
|
+
"""
|
|
21349
|
+
return self._UdpFloodThreshold
|
|
21350
|
+
|
|
21351
|
+
@UdpFloodThreshold.setter
|
|
21352
|
+
def UdpFloodThreshold(self, UdpFloodThreshold):
|
|
21353
|
+
self._UdpFloodThreshold = UdpFloodThreshold
|
|
21354
|
+
|
|
21355
|
+
@property
|
|
21356
|
+
def UdpFloodPktThreshold(self):
|
|
21357
|
+
r"""UDP FLOOD包量阈值
|
|
21358
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21359
|
+
:rtype: int
|
|
21360
|
+
"""
|
|
21361
|
+
return self._UdpFloodPktThreshold
|
|
21362
|
+
|
|
21363
|
+
@UdpFloodPktThreshold.setter
|
|
21364
|
+
def UdpFloodPktThreshold(self, UdpFloodPktThreshold):
|
|
21365
|
+
self._UdpFloodPktThreshold = UdpFloodPktThreshold
|
|
21366
|
+
|
|
21367
|
+
@property
|
|
21368
|
+
def AckFloodThreshold(self):
|
|
21369
|
+
r"""ACK FLOOD流量阈值
|
|
21370
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21371
|
+
:rtype: int
|
|
21372
|
+
"""
|
|
21373
|
+
return self._AckFloodThreshold
|
|
21374
|
+
|
|
21375
|
+
@AckFloodThreshold.setter
|
|
21376
|
+
def AckFloodThreshold(self, AckFloodThreshold):
|
|
21377
|
+
self._AckFloodThreshold = AckFloodThreshold
|
|
21378
|
+
|
|
21379
|
+
@property
|
|
21380
|
+
def AckFloodPktThreshold(self):
|
|
21381
|
+
r"""ACK FLOOD包量阈值
|
|
21382
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21383
|
+
:rtype: int
|
|
21384
|
+
"""
|
|
21385
|
+
return self._AckFloodPktThreshold
|
|
21386
|
+
|
|
21387
|
+
@AckFloodPktThreshold.setter
|
|
21388
|
+
def AckFloodPktThreshold(self, AckFloodPktThreshold):
|
|
21389
|
+
self._AckFloodPktThreshold = AckFloodPktThreshold
|
|
21390
|
+
|
|
21391
|
+
@property
|
|
21392
|
+
def SynAckFloodThreshold(self):
|
|
21393
|
+
r"""SYNACK FLOOD流量阈值
|
|
21394
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21395
|
+
:rtype: int
|
|
21396
|
+
"""
|
|
21397
|
+
return self._SynAckFloodThreshold
|
|
21398
|
+
|
|
21399
|
+
@SynAckFloodThreshold.setter
|
|
21400
|
+
def SynAckFloodThreshold(self, SynAckFloodThreshold):
|
|
21401
|
+
self._SynAckFloodThreshold = SynAckFloodThreshold
|
|
21402
|
+
|
|
21403
|
+
@property
|
|
21404
|
+
def SynAckFloodPktThreshold(self):
|
|
21405
|
+
r"""SYNACK FLOOD包量阈值
|
|
21406
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21407
|
+
:rtype: int
|
|
21408
|
+
"""
|
|
21409
|
+
return self._SynAckFloodPktThreshold
|
|
21410
|
+
|
|
21411
|
+
@SynAckFloodPktThreshold.setter
|
|
21412
|
+
def SynAckFloodPktThreshold(self, SynAckFloodPktThreshold):
|
|
21413
|
+
self._SynAckFloodPktThreshold = SynAckFloodPktThreshold
|
|
21414
|
+
|
|
21415
|
+
@property
|
|
21416
|
+
def RstFloodThreshold(self):
|
|
21417
|
+
r"""RST FLOOD流量阈值
|
|
21418
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21419
|
+
:rtype: int
|
|
21420
|
+
"""
|
|
21421
|
+
return self._RstFloodThreshold
|
|
21422
|
+
|
|
21423
|
+
@RstFloodThreshold.setter
|
|
21424
|
+
def RstFloodThreshold(self, RstFloodThreshold):
|
|
21425
|
+
self._RstFloodThreshold = RstFloodThreshold
|
|
21426
|
+
|
|
21427
|
+
@property
|
|
21428
|
+
def RstFloodPktThreshold(self):
|
|
21429
|
+
r"""RST FLOOD包量阈值
|
|
21430
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
21431
|
+
:rtype: int
|
|
21432
|
+
"""
|
|
21433
|
+
return self._RstFloodPktThreshold
|
|
21434
|
+
|
|
21435
|
+
@RstFloodPktThreshold.setter
|
|
21436
|
+
def RstFloodPktThreshold(self, RstFloodPktThreshold):
|
|
21437
|
+
self._RstFloodPktThreshold = RstFloodPktThreshold
|
|
21438
|
+
|
|
21439
|
+
|
|
21440
|
+
def _deserialize(self, params):
|
|
21441
|
+
self._DDoSLevel = params.get("DDoSLevel")
|
|
21442
|
+
self._DDoSThreshold = params.get("DDoSThreshold")
|
|
21443
|
+
self._DDoSAI = params.get("DDoSAI")
|
|
21444
|
+
self._CCEnable = params.get("CCEnable")
|
|
21445
|
+
self._CCThreshold = params.get("CCThreshold")
|
|
21446
|
+
if params.get("InstanceDetailList") is not None:
|
|
21447
|
+
self._InstanceDetailList = []
|
|
21448
|
+
for item in params.get("InstanceDetailList"):
|
|
21449
|
+
obj = InstanceRelation()
|
|
21450
|
+
obj._deserialize(item)
|
|
21451
|
+
self._InstanceDetailList.append(obj)
|
|
21452
|
+
if params.get("ListenerCcThresholdList") is not None:
|
|
21453
|
+
self._ListenerCcThresholdList = []
|
|
21454
|
+
for item in params.get("ListenerCcThresholdList"):
|
|
21455
|
+
obj = ListenerCcThresholdConfig()
|
|
21456
|
+
obj._deserialize(item)
|
|
21457
|
+
self._ListenerCcThresholdList.append(obj)
|
|
21458
|
+
self._SynFloodThreshold = params.get("SynFloodThreshold")
|
|
21459
|
+
self._SynFloodPktThreshold = params.get("SynFloodPktThreshold")
|
|
21460
|
+
self._UdpFloodThreshold = params.get("UdpFloodThreshold")
|
|
21461
|
+
self._UdpFloodPktThreshold = params.get("UdpFloodPktThreshold")
|
|
21462
|
+
self._AckFloodThreshold = params.get("AckFloodThreshold")
|
|
21463
|
+
self._AckFloodPktThreshold = params.get("AckFloodPktThreshold")
|
|
21464
|
+
self._SynAckFloodThreshold = params.get("SynAckFloodThreshold")
|
|
21465
|
+
self._SynAckFloodPktThreshold = params.get("SynAckFloodPktThreshold")
|
|
21466
|
+
self._RstFloodThreshold = params.get("RstFloodThreshold")
|
|
21467
|
+
self._RstFloodPktThreshold = params.get("RstFloodPktThreshold")
|
|
21468
|
+
memeber_set = set(params.keys())
|
|
21469
|
+
for name, value in vars(self).items():
|
|
21470
|
+
property_name = name[1:]
|
|
21471
|
+
if property_name in memeber_set:
|
|
21472
|
+
memeber_set.remove(property_name)
|
|
21473
|
+
if len(memeber_set) > 0:
|
|
21474
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
21475
|
+
|
|
21476
|
+
|
|
21477
|
+
|
|
20118
21478
|
class ProtocolBlockConfig(AbstractModel):
|
|
20119
21479
|
r"""协议封禁配置
|
|
20120
21480
|
|
|
@@ -20807,6 +22167,220 @@ class SpeedValue(AbstractModel):
|
|
|
20807
22167
|
|
|
20808
22168
|
|
|
20809
22169
|
|
|
22170
|
+
class StandardPackageConfig(AbstractModel):
|
|
22171
|
+
r"""{
|
|
22172
|
+
"Region": "ap-guangzhou",
|
|
22173
|
+
"ProtectIpCount": 1,
|
|
22174
|
+
"Bandwidth": 100,
|
|
22175
|
+
"ElasticBandwidthFlag": true
|
|
22176
|
+
}
|
|
22177
|
+
|
|
22178
|
+
"""
|
|
22179
|
+
|
|
22180
|
+
def __init__(self):
|
|
22181
|
+
r"""
|
|
22182
|
+
:param _Region: 高防包购买地域
|
|
22183
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22184
|
+
:type Region: str
|
|
22185
|
+
:param _ProtectIpCount: 防护IP数量
|
|
22186
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22187
|
+
:type ProtectIpCount: int
|
|
22188
|
+
:param _Bandwidth: 防护业务带宽 50Mbps
|
|
22189
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22190
|
+
:type Bandwidth: int
|
|
22191
|
+
:param _ElasticBandwidthFlag: 是否开启弹性防护带宽 true 开启
|
|
22192
|
+
默认为false 不开启
|
|
22193
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22194
|
+
:type ElasticBandwidthFlag: bool
|
|
22195
|
+
"""
|
|
22196
|
+
self._Region = None
|
|
22197
|
+
self._ProtectIpCount = None
|
|
22198
|
+
self._Bandwidth = None
|
|
22199
|
+
self._ElasticBandwidthFlag = None
|
|
22200
|
+
|
|
22201
|
+
@property
|
|
22202
|
+
def Region(self):
|
|
22203
|
+
r"""高防包购买地域
|
|
22204
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22205
|
+
:rtype: str
|
|
22206
|
+
"""
|
|
22207
|
+
return self._Region
|
|
22208
|
+
|
|
22209
|
+
@Region.setter
|
|
22210
|
+
def Region(self, Region):
|
|
22211
|
+
self._Region = Region
|
|
22212
|
+
|
|
22213
|
+
@property
|
|
22214
|
+
def ProtectIpCount(self):
|
|
22215
|
+
r"""防护IP数量
|
|
22216
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22217
|
+
:rtype: int
|
|
22218
|
+
"""
|
|
22219
|
+
return self._ProtectIpCount
|
|
22220
|
+
|
|
22221
|
+
@ProtectIpCount.setter
|
|
22222
|
+
def ProtectIpCount(self, ProtectIpCount):
|
|
22223
|
+
self._ProtectIpCount = ProtectIpCount
|
|
22224
|
+
|
|
22225
|
+
@property
|
|
22226
|
+
def Bandwidth(self):
|
|
22227
|
+
r"""防护业务带宽 50Mbps
|
|
22228
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22229
|
+
:rtype: int
|
|
22230
|
+
"""
|
|
22231
|
+
return self._Bandwidth
|
|
22232
|
+
|
|
22233
|
+
@Bandwidth.setter
|
|
22234
|
+
def Bandwidth(self, Bandwidth):
|
|
22235
|
+
self._Bandwidth = Bandwidth
|
|
22236
|
+
|
|
22237
|
+
@property
|
|
22238
|
+
def ElasticBandwidthFlag(self):
|
|
22239
|
+
r"""是否开启弹性防护带宽 true 开启
|
|
22240
|
+
默认为false 不开启
|
|
22241
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22242
|
+
:rtype: bool
|
|
22243
|
+
"""
|
|
22244
|
+
return self._ElasticBandwidthFlag
|
|
22245
|
+
|
|
22246
|
+
@ElasticBandwidthFlag.setter
|
|
22247
|
+
def ElasticBandwidthFlag(self, ElasticBandwidthFlag):
|
|
22248
|
+
self._ElasticBandwidthFlag = ElasticBandwidthFlag
|
|
22249
|
+
|
|
22250
|
+
|
|
22251
|
+
def _deserialize(self, params):
|
|
22252
|
+
self._Region = params.get("Region")
|
|
22253
|
+
self._ProtectIpCount = params.get("ProtectIpCount")
|
|
22254
|
+
self._Bandwidth = params.get("Bandwidth")
|
|
22255
|
+
self._ElasticBandwidthFlag = params.get("ElasticBandwidthFlag")
|
|
22256
|
+
memeber_set = set(params.keys())
|
|
22257
|
+
for name, value in vars(self).items():
|
|
22258
|
+
property_name = name[1:]
|
|
22259
|
+
if property_name in memeber_set:
|
|
22260
|
+
memeber_set.remove(property_name)
|
|
22261
|
+
if len(memeber_set) > 0:
|
|
22262
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
22263
|
+
|
|
22264
|
+
|
|
22265
|
+
|
|
22266
|
+
class StandardPlusPackageConfig(AbstractModel):
|
|
22267
|
+
r"""{
|
|
22268
|
+
"Region": "ap-guangzhou",
|
|
22269
|
+
"ProtectCount": "TWO_TIMES",
|
|
22270
|
+
"ProtectIpCount": 1,
|
|
22271
|
+
"Bandwidth": 50,
|
|
22272
|
+
"ElasticBandwidthFlag": true
|
|
22273
|
+
}
|
|
22274
|
+
|
|
22275
|
+
"""
|
|
22276
|
+
|
|
22277
|
+
def __init__(self):
|
|
22278
|
+
r"""
|
|
22279
|
+
:param _Region: 购买高防包所属地域
|
|
22280
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22281
|
+
:type Region: str
|
|
22282
|
+
:param _ProtectCount: 防护次数:TWO_TIMES:两次全力防 UNLIMITED无限次防
|
|
22283
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22284
|
+
:type ProtectCount: str
|
|
22285
|
+
:param _ProtectIpCount: 防护IP数量
|
|
22286
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22287
|
+
:type ProtectIpCount: int
|
|
22288
|
+
:param _Bandwidth: 防护带宽50Mbps
|
|
22289
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22290
|
+
:type Bandwidth: int
|
|
22291
|
+
:param _ElasticBandwidthFlag: 是否开启弹性业务带宽
|
|
22292
|
+
true 开启
|
|
22293
|
+
false 不开启
|
|
22294
|
+
默认不开启
|
|
22295
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22296
|
+
:type ElasticBandwidthFlag: bool
|
|
22297
|
+
"""
|
|
22298
|
+
self._Region = None
|
|
22299
|
+
self._ProtectCount = None
|
|
22300
|
+
self._ProtectIpCount = None
|
|
22301
|
+
self._Bandwidth = None
|
|
22302
|
+
self._ElasticBandwidthFlag = None
|
|
22303
|
+
|
|
22304
|
+
@property
|
|
22305
|
+
def Region(self):
|
|
22306
|
+
r"""购买高防包所属地域
|
|
22307
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22308
|
+
:rtype: str
|
|
22309
|
+
"""
|
|
22310
|
+
return self._Region
|
|
22311
|
+
|
|
22312
|
+
@Region.setter
|
|
22313
|
+
def Region(self, Region):
|
|
22314
|
+
self._Region = Region
|
|
22315
|
+
|
|
22316
|
+
@property
|
|
22317
|
+
def ProtectCount(self):
|
|
22318
|
+
r"""防护次数:TWO_TIMES:两次全力防 UNLIMITED无限次防
|
|
22319
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22320
|
+
:rtype: str
|
|
22321
|
+
"""
|
|
22322
|
+
return self._ProtectCount
|
|
22323
|
+
|
|
22324
|
+
@ProtectCount.setter
|
|
22325
|
+
def ProtectCount(self, ProtectCount):
|
|
22326
|
+
self._ProtectCount = ProtectCount
|
|
22327
|
+
|
|
22328
|
+
@property
|
|
22329
|
+
def ProtectIpCount(self):
|
|
22330
|
+
r"""防护IP数量
|
|
22331
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22332
|
+
:rtype: int
|
|
22333
|
+
"""
|
|
22334
|
+
return self._ProtectIpCount
|
|
22335
|
+
|
|
22336
|
+
@ProtectIpCount.setter
|
|
22337
|
+
def ProtectIpCount(self, ProtectIpCount):
|
|
22338
|
+
self._ProtectIpCount = ProtectIpCount
|
|
22339
|
+
|
|
22340
|
+
@property
|
|
22341
|
+
def Bandwidth(self):
|
|
22342
|
+
r"""防护带宽50Mbps
|
|
22343
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22344
|
+
:rtype: int
|
|
22345
|
+
"""
|
|
22346
|
+
return self._Bandwidth
|
|
22347
|
+
|
|
22348
|
+
@Bandwidth.setter
|
|
22349
|
+
def Bandwidth(self, Bandwidth):
|
|
22350
|
+
self._Bandwidth = Bandwidth
|
|
22351
|
+
|
|
22352
|
+
@property
|
|
22353
|
+
def ElasticBandwidthFlag(self):
|
|
22354
|
+
r"""是否开启弹性业务带宽
|
|
22355
|
+
true 开启
|
|
22356
|
+
false 不开启
|
|
22357
|
+
默认不开启
|
|
22358
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
22359
|
+
:rtype: bool
|
|
22360
|
+
"""
|
|
22361
|
+
return self._ElasticBandwidthFlag
|
|
22362
|
+
|
|
22363
|
+
@ElasticBandwidthFlag.setter
|
|
22364
|
+
def ElasticBandwidthFlag(self, ElasticBandwidthFlag):
|
|
22365
|
+
self._ElasticBandwidthFlag = ElasticBandwidthFlag
|
|
22366
|
+
|
|
22367
|
+
|
|
22368
|
+
def _deserialize(self, params):
|
|
22369
|
+
self._Region = params.get("Region")
|
|
22370
|
+
self._ProtectCount = params.get("ProtectCount")
|
|
22371
|
+
self._ProtectIpCount = params.get("ProtectIpCount")
|
|
22372
|
+
self._Bandwidth = params.get("Bandwidth")
|
|
22373
|
+
self._ElasticBandwidthFlag = params.get("ElasticBandwidthFlag")
|
|
22374
|
+
memeber_set = set(params.keys())
|
|
22375
|
+
for name, value in vars(self).items():
|
|
22376
|
+
property_name = name[1:]
|
|
22377
|
+
if property_name in memeber_set:
|
|
22378
|
+
memeber_set.remove(property_name)
|
|
22379
|
+
if len(memeber_set) > 0:
|
|
22380
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
22381
|
+
|
|
22382
|
+
|
|
22383
|
+
|
|
20810
22384
|
class StaticPackRelation(AbstractModel):
|
|
20811
22385
|
r"""三网高防套餐详情
|
|
20812
22386
|
|