tencentcloud-sdk-python 3.0.1434__py2.py3-none-any.whl → 3.0.1436__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/autoscaling/v20180419/models.py +2 -2
- tencentcloud/bi/v20220105/models.py +156 -2
- tencentcloud/cam/v20190116/cam_client.py +23 -0
- tencentcloud/cam/v20190116/errorcodes.py +15 -0
- tencentcloud/cam/v20190116/models.py +180 -0
- tencentcloud/cdb/v20170320/cdb_client.py +2 -1
- tencentcloud/cdb/v20170320/models.py +62 -44
- tencentcloud/cdn/v20180606/cdn_client.py +0 -575
- tencentcloud/cdn/v20180606/errorcodes.py +0 -48
- tencentcloud/cdn/v20180606/models.py +12881 -21511
- tencentcloud/cfs/v20190719/cfs_client.py +299 -0
- tencentcloud/cfs/v20190719/errorcodes.py +54 -0
- tencentcloud/cfs/v20190719/models.py +4445 -1986
- tencentcloud/clb/v20180317/models.py +44 -14
- tencentcloud/cls/v20201016/models.py +370 -136
- tencentcloud/ctem/v20231128/models.py +405 -15
- tencentcloud/dlc/v20210125/dlc_client.py +529 -0
- tencentcloud/dlc/v20210125/errorcodes.py +30 -0
- tencentcloud/dlc/v20210125/models.py +7581 -2530
- tencentcloud/emr/v20190103/models.py +2 -2
- tencentcloud/es/v20250101/models.py +70 -0
- tencentcloud/ess/v20201111/ess_client.py +53 -1
- tencentcloud/ess/v20201111/models.py +680 -0
- tencentcloud/hunyuan/v20230901/errorcodes.py +0 -27
- tencentcloud/hunyuan/v20230901/hunyuan_client.py +0 -46
- tencentcloud/hunyuan/v20230901/models.py +0 -357
- tencentcloud/kms/v20190118/models.py +2 -2
- tencentcloud/live/v20180801/models.py +2 -2
- tencentcloud/lowcode/v20210108/lowcode_client.py +92 -0
- tencentcloud/lowcode/v20210108/models.py +423 -0
- tencentcloud/mps/v20190612/models.py +24 -8
- tencentcloud/mqtt/v20240516/models.py +150 -0
- tencentcloud/ocr/v20181119/models.py +4 -4
- tencentcloud/ssl/v20191205/errorcodes.py +1 -1
- tencentcloud/ssl/v20191205/models.py +45 -30
- tencentcloud/teo/v20220901/errorcodes.py +24 -0
- tencentcloud/teo/v20220901/models.py +3491 -433
- tencentcloud/teo/v20220901/teo_client.py +462 -0
- tencentcloud/tione/v20211111/models.py +15 -0
- tencentcloud/trtc/v20190722/models.py +70 -6
- tencentcloud/waf/v20180125/models.py +1029 -151
- tencentcloud/waf/v20180125/waf_client.py +92 -0
- tencentcloud/wedata/v20210820/models.py +321 -15
- tencentcloud/wedata/v20210820/wedata_client.py +23 -0
- {tencentcloud_sdk_python-3.0.1434.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/METADATA +1 -1
- {tencentcloud_sdk_python-3.0.1434.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/RECORD +50 -50
- {tencentcloud_sdk_python-3.0.1434.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/LICENSE +0 -0
- {tencentcloud_sdk_python-3.0.1434.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/WHEEL +0 -0
- {tencentcloud_sdk_python-3.0.1434.dist-info → tencentcloud_sdk_python-3.0.1436.dist-info}/top_level.txt +0 -0
|
@@ -18,6 +18,183 @@ import warnings
|
|
|
18
18
|
from tencentcloud.common.abstract_model import AbstractModel
|
|
19
19
|
|
|
20
20
|
|
|
21
|
+
class APIResource(AbstractModel):
|
|
22
|
+
"""API 资源。
|
|
23
|
+
|
|
24
|
+
"""
|
|
25
|
+
|
|
26
|
+
def __init__(self):
|
|
27
|
+
r"""
|
|
28
|
+
:param _Id: 资源 ID。
|
|
29
|
+
:type Id: str
|
|
30
|
+
:param _Name: 资源名称。
|
|
31
|
+
:type Name: str
|
|
32
|
+
:param _APIServiceIds: API 资源关联的 API 服务 ID 列表。
|
|
33
|
+
:type APIServiceIds: list of str
|
|
34
|
+
:param _Path: 资源路径。
|
|
35
|
+
:type Path: str
|
|
36
|
+
:param _Methods: 请求方法列表。支持以下取值:GET, POST, PUT, HEAD, PATCH, OPTIONS, DELETE。
|
|
37
|
+
:type Methods: list of str
|
|
38
|
+
:param _RequestConstraint: 请求内容匹配规则的具体内容,需符合表达式语法,详细规范参见产品文档。
|
|
39
|
+
:type RequestConstraint: str
|
|
40
|
+
"""
|
|
41
|
+
self._Id = None
|
|
42
|
+
self._Name = None
|
|
43
|
+
self._APIServiceIds = None
|
|
44
|
+
self._Path = None
|
|
45
|
+
self._Methods = None
|
|
46
|
+
self._RequestConstraint = None
|
|
47
|
+
|
|
48
|
+
@property
|
|
49
|
+
def Id(self):
|
|
50
|
+
"""资源 ID。
|
|
51
|
+
:rtype: str
|
|
52
|
+
"""
|
|
53
|
+
return self._Id
|
|
54
|
+
|
|
55
|
+
@Id.setter
|
|
56
|
+
def Id(self, Id):
|
|
57
|
+
self._Id = Id
|
|
58
|
+
|
|
59
|
+
@property
|
|
60
|
+
def Name(self):
|
|
61
|
+
"""资源名称。
|
|
62
|
+
:rtype: str
|
|
63
|
+
"""
|
|
64
|
+
return self._Name
|
|
65
|
+
|
|
66
|
+
@Name.setter
|
|
67
|
+
def Name(self, Name):
|
|
68
|
+
self._Name = Name
|
|
69
|
+
|
|
70
|
+
@property
|
|
71
|
+
def APIServiceIds(self):
|
|
72
|
+
"""API 资源关联的 API 服务 ID 列表。
|
|
73
|
+
:rtype: list of str
|
|
74
|
+
"""
|
|
75
|
+
return self._APIServiceIds
|
|
76
|
+
|
|
77
|
+
@APIServiceIds.setter
|
|
78
|
+
def APIServiceIds(self, APIServiceIds):
|
|
79
|
+
self._APIServiceIds = APIServiceIds
|
|
80
|
+
|
|
81
|
+
@property
|
|
82
|
+
def Path(self):
|
|
83
|
+
"""资源路径。
|
|
84
|
+
:rtype: str
|
|
85
|
+
"""
|
|
86
|
+
return self._Path
|
|
87
|
+
|
|
88
|
+
@Path.setter
|
|
89
|
+
def Path(self, Path):
|
|
90
|
+
self._Path = Path
|
|
91
|
+
|
|
92
|
+
@property
|
|
93
|
+
def Methods(self):
|
|
94
|
+
"""请求方法列表。支持以下取值:GET, POST, PUT, HEAD, PATCH, OPTIONS, DELETE。
|
|
95
|
+
:rtype: list of str
|
|
96
|
+
"""
|
|
97
|
+
return self._Methods
|
|
98
|
+
|
|
99
|
+
@Methods.setter
|
|
100
|
+
def Methods(self, Methods):
|
|
101
|
+
self._Methods = Methods
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
def RequestConstraint(self):
|
|
105
|
+
"""请求内容匹配规则的具体内容,需符合表达式语法,详细规范参见产品文档。
|
|
106
|
+
:rtype: str
|
|
107
|
+
"""
|
|
108
|
+
return self._RequestConstraint
|
|
109
|
+
|
|
110
|
+
@RequestConstraint.setter
|
|
111
|
+
def RequestConstraint(self, RequestConstraint):
|
|
112
|
+
self._RequestConstraint = RequestConstraint
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
def _deserialize(self, params):
|
|
116
|
+
self._Id = params.get("Id")
|
|
117
|
+
self._Name = params.get("Name")
|
|
118
|
+
self._APIServiceIds = params.get("APIServiceIds")
|
|
119
|
+
self._Path = params.get("Path")
|
|
120
|
+
self._Methods = params.get("Methods")
|
|
121
|
+
self._RequestConstraint = params.get("RequestConstraint")
|
|
122
|
+
memeber_set = set(params.keys())
|
|
123
|
+
for name, value in vars(self).items():
|
|
124
|
+
property_name = name[1:]
|
|
125
|
+
if property_name in memeber_set:
|
|
126
|
+
memeber_set.remove(property_name)
|
|
127
|
+
if len(memeber_set) > 0:
|
|
128
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
class APIService(AbstractModel):
|
|
133
|
+
"""API 服务配置。
|
|
134
|
+
|
|
135
|
+
"""
|
|
136
|
+
|
|
137
|
+
def __init__(self):
|
|
138
|
+
r"""
|
|
139
|
+
:param _Id: API 服务 ID。
|
|
140
|
+
:type Id: str
|
|
141
|
+
:param _Name: API 服务名称。
|
|
142
|
+
:type Name: str
|
|
143
|
+
:param _BasePath: 基础路径。
|
|
144
|
+
:type BasePath: str
|
|
145
|
+
"""
|
|
146
|
+
self._Id = None
|
|
147
|
+
self._Name = None
|
|
148
|
+
self._BasePath = None
|
|
149
|
+
|
|
150
|
+
@property
|
|
151
|
+
def Id(self):
|
|
152
|
+
"""API 服务 ID。
|
|
153
|
+
:rtype: str
|
|
154
|
+
"""
|
|
155
|
+
return self._Id
|
|
156
|
+
|
|
157
|
+
@Id.setter
|
|
158
|
+
def Id(self, Id):
|
|
159
|
+
self._Id = Id
|
|
160
|
+
|
|
161
|
+
@property
|
|
162
|
+
def Name(self):
|
|
163
|
+
"""API 服务名称。
|
|
164
|
+
:rtype: str
|
|
165
|
+
"""
|
|
166
|
+
return self._Name
|
|
167
|
+
|
|
168
|
+
@Name.setter
|
|
169
|
+
def Name(self, Name):
|
|
170
|
+
self._Name = Name
|
|
171
|
+
|
|
172
|
+
@property
|
|
173
|
+
def BasePath(self):
|
|
174
|
+
"""基础路径。
|
|
175
|
+
:rtype: str
|
|
176
|
+
"""
|
|
177
|
+
return self._BasePath
|
|
178
|
+
|
|
179
|
+
@BasePath.setter
|
|
180
|
+
def BasePath(self, BasePath):
|
|
181
|
+
self._BasePath = BasePath
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
def _deserialize(self, params):
|
|
185
|
+
self._Id = params.get("Id")
|
|
186
|
+
self._Name = params.get("Name")
|
|
187
|
+
self._BasePath = params.get("BasePath")
|
|
188
|
+
memeber_set = set(params.keys())
|
|
189
|
+
for name, value in vars(self).items():
|
|
190
|
+
property_name = name[1:]
|
|
191
|
+
if property_name in memeber_set:
|
|
192
|
+
memeber_set.remove(property_name)
|
|
193
|
+
if len(memeber_set) > 0:
|
|
194
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
|
|
21
198
|
class AccelerateMainland(AbstractModel):
|
|
22
199
|
"""中国大陆加速优化配置。
|
|
23
200
|
|
|
@@ -2837,6 +3014,59 @@ class AscriptionInfo(AbstractModel):
|
|
|
2837
3014
|
|
|
2838
3015
|
|
|
2839
3016
|
|
|
3017
|
+
class AudioTemplateInfo(AbstractModel):
|
|
3018
|
+
"""音频流配置参数。
|
|
3019
|
+
|
|
3020
|
+
"""
|
|
3021
|
+
|
|
3022
|
+
def __init__(self):
|
|
3023
|
+
r"""
|
|
3024
|
+
:param _Codec: 音频流的编码格式。可选值为:
|
|
3025
|
+
<li>libfdk_aac。</li>
|
|
3026
|
+
:type Codec: str
|
|
3027
|
+
:param _AudioChannel: 音频通道数,可选值:<li>2:双通道。</li>默认值:2。
|
|
3028
|
+
:type AudioChannel: int
|
|
3029
|
+
"""
|
|
3030
|
+
self._Codec = None
|
|
3031
|
+
self._AudioChannel = None
|
|
3032
|
+
|
|
3033
|
+
@property
|
|
3034
|
+
def Codec(self):
|
|
3035
|
+
"""音频流的编码格式。可选值为:
|
|
3036
|
+
<li>libfdk_aac。</li>
|
|
3037
|
+
:rtype: str
|
|
3038
|
+
"""
|
|
3039
|
+
return self._Codec
|
|
3040
|
+
|
|
3041
|
+
@Codec.setter
|
|
3042
|
+
def Codec(self, Codec):
|
|
3043
|
+
self._Codec = Codec
|
|
3044
|
+
|
|
3045
|
+
@property
|
|
3046
|
+
def AudioChannel(self):
|
|
3047
|
+
"""音频通道数,可选值:<li>2:双通道。</li>默认值:2。
|
|
3048
|
+
:rtype: int
|
|
3049
|
+
"""
|
|
3050
|
+
return self._AudioChannel
|
|
3051
|
+
|
|
3052
|
+
@AudioChannel.setter
|
|
3053
|
+
def AudioChannel(self, AudioChannel):
|
|
3054
|
+
self._AudioChannel = AudioChannel
|
|
3055
|
+
|
|
3056
|
+
|
|
3057
|
+
def _deserialize(self, params):
|
|
3058
|
+
self._Codec = params.get("Codec")
|
|
3059
|
+
self._AudioChannel = params.get("AudioChannel")
|
|
3060
|
+
memeber_set = set(params.keys())
|
|
3061
|
+
for name, value in vars(self).items():
|
|
3062
|
+
property_name = name[1:]
|
|
3063
|
+
if property_name in memeber_set:
|
|
3064
|
+
memeber_set.remove(property_name)
|
|
3065
|
+
if len(memeber_set) > 0:
|
|
3066
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
3067
|
+
|
|
3068
|
+
|
|
3069
|
+
|
|
2840
3070
|
class AuthenticationParameters(AbstractModel):
|
|
2841
3071
|
"""Token 鉴权 配置参数。
|
|
2842
3072
|
|
|
@@ -6218,104 +6448,144 @@ class ClientAttestationRules(AbstractModel):
|
|
|
6218
6448
|
|
|
6219
6449
|
|
|
6220
6450
|
|
|
6221
|
-
class
|
|
6222
|
-
"""
|
|
6451
|
+
class ClientAttester(AbstractModel):
|
|
6452
|
+
"""认证选项配置。
|
|
6223
6453
|
|
|
6224
6454
|
"""
|
|
6225
6455
|
|
|
6226
6456
|
def __init__(self):
|
|
6227
6457
|
r"""
|
|
6228
|
-
:param
|
|
6229
|
-
:type
|
|
6230
|
-
:param
|
|
6231
|
-
:type
|
|
6458
|
+
:param _Id: 认证选项 ID。
|
|
6459
|
+
:type Id: str
|
|
6460
|
+
:param _Name: 认证选项名称。
|
|
6461
|
+
:type Name: str
|
|
6462
|
+
:param _Type: 认证规则类型。仅出参返回,取值有:
|
|
6463
|
+
<li>PRESET: 系统预置规则,仅允许修改 AttesterDuration;</li>
|
|
6464
|
+
<li>CUSTOM: 用户自定义规则。</li>
|
|
6465
|
+
:type Type: str
|
|
6466
|
+
:param _AttesterSource: 认证方法。取值有:
|
|
6467
|
+
<li>TC-RCE: 使用全栈式风控引擎进行认证;</li>
|
|
6468
|
+
<li>TC-CAPTCHA: 使用天御验证码进行认证。</li>
|
|
6469
|
+
:type AttesterSource: str
|
|
6470
|
+
:param _AttesterDuration: 认证有效时间。默认为 60s,支持的单位有:
|
|
6471
|
+
<li>s:秒,取值范围 60~43200;</li>
|
|
6472
|
+
<li>m:分,取值范围 1~720;</li>
|
|
6473
|
+
<li>h:小时,取值范围 1~12。</li>
|
|
6474
|
+
:type AttesterDuration: str
|
|
6475
|
+
:param _TCRCEOption: TC-RCE 认证的配置信息。
|
|
6476
|
+
<li>当 AttesterSource 参数值为 TC-RCE 时,此字段必填。</li>
|
|
6477
|
+
:type TCRCEOption: :class:`tencentcloud.teo.v20220901.models.TCRCEOption`
|
|
6478
|
+
:param _TCCaptchaOption: TC-CAPTCHA 认证的配置信息。
|
|
6479
|
+
<li>当 AttesterSource 参数值为 TC-CAPTCHA 时,此字段必填。</li>
|
|
6480
|
+
:type TCCaptchaOption: :class:`tencentcloud.teo.v20220901.models.TCCaptchaOption`
|
|
6232
6481
|
"""
|
|
6233
|
-
self.
|
|
6234
|
-
self.
|
|
6482
|
+
self._Id = None
|
|
6483
|
+
self._Name = None
|
|
6484
|
+
self._Type = None
|
|
6485
|
+
self._AttesterSource = None
|
|
6486
|
+
self._AttesterDuration = None
|
|
6487
|
+
self._TCRCEOption = None
|
|
6488
|
+
self._TCCaptchaOption = None
|
|
6235
6489
|
|
|
6236
6490
|
@property
|
|
6237
|
-
def
|
|
6238
|
-
"""
|
|
6491
|
+
def Id(self):
|
|
6492
|
+
"""认证选项 ID。
|
|
6239
6493
|
:rtype: str
|
|
6240
6494
|
"""
|
|
6241
|
-
return self.
|
|
6495
|
+
return self._Id
|
|
6242
6496
|
|
|
6243
|
-
@
|
|
6244
|
-
def
|
|
6245
|
-
self.
|
|
6497
|
+
@Id.setter
|
|
6498
|
+
def Id(self, Id):
|
|
6499
|
+
self._Id = Id
|
|
6246
6500
|
|
|
6247
6501
|
@property
|
|
6248
|
-
def
|
|
6249
|
-
"""
|
|
6250
|
-
:rtype:
|
|
6502
|
+
def Name(self):
|
|
6503
|
+
"""认证选项名称。
|
|
6504
|
+
:rtype: str
|
|
6251
6505
|
"""
|
|
6252
|
-
return self.
|
|
6253
|
-
|
|
6254
|
-
@Action.setter
|
|
6255
|
-
def Action(self, Action):
|
|
6256
|
-
self._Action = Action
|
|
6506
|
+
return self._Name
|
|
6257
6507
|
|
|
6508
|
+
@Name.setter
|
|
6509
|
+
def Name(self, Name):
|
|
6510
|
+
self._Name = Name
|
|
6258
6511
|
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
|
|
6267
|
-
if property_name in memeber_set:
|
|
6268
|
-
memeber_set.remove(property_name)
|
|
6269
|
-
if len(memeber_set) > 0:
|
|
6270
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6271
|
-
|
|
6512
|
+
@property
|
|
6513
|
+
def Type(self):
|
|
6514
|
+
"""认证规则类型。仅出参返回,取值有:
|
|
6515
|
+
<li>PRESET: 系统预置规则,仅允许修改 AttesterDuration;</li>
|
|
6516
|
+
<li>CUSTOM: 用户自定义规则。</li>
|
|
6517
|
+
:rtype: str
|
|
6518
|
+
"""
|
|
6519
|
+
return self._Type
|
|
6272
6520
|
|
|
6521
|
+
@Type.setter
|
|
6522
|
+
def Type(self, Type):
|
|
6523
|
+
self._Type = Type
|
|
6273
6524
|
|
|
6274
|
-
|
|
6275
|
-
|
|
6525
|
+
@property
|
|
6526
|
+
def AttesterSource(self):
|
|
6527
|
+
"""认证方法。取值有:
|
|
6528
|
+
<li>TC-RCE: 使用全栈式风控引擎进行认证;</li>
|
|
6529
|
+
<li>TC-CAPTCHA: 使用天御验证码进行认证。</li>
|
|
6530
|
+
:rtype: str
|
|
6531
|
+
"""
|
|
6532
|
+
return self._AttesterSource
|
|
6276
6533
|
|
|
6277
|
-
|
|
6534
|
+
@AttesterSource.setter
|
|
6535
|
+
def AttesterSource(self, AttesterSource):
|
|
6536
|
+
self._AttesterSource = AttesterSource
|
|
6278
6537
|
|
|
6279
|
-
|
|
6280
|
-
|
|
6281
|
-
|
|
6282
|
-
<li>
|
|
6283
|
-
<li>
|
|
6284
|
-
|
|
6285
|
-
:
|
|
6286
|
-
:type HeaderName: str
|
|
6538
|
+
@property
|
|
6539
|
+
def AttesterDuration(self):
|
|
6540
|
+
"""认证有效时间。默认为 60s,支持的单位有:
|
|
6541
|
+
<li>s:秒,取值范围 60~43200;</li>
|
|
6542
|
+
<li>m:分,取值范围 1~720;</li>
|
|
6543
|
+
<li>h:小时,取值范围 1~12。</li>
|
|
6544
|
+
:rtype: str
|
|
6287
6545
|
"""
|
|
6288
|
-
self.
|
|
6289
|
-
|
|
6546
|
+
return self._AttesterDuration
|
|
6547
|
+
|
|
6548
|
+
@AttesterDuration.setter
|
|
6549
|
+
def AttesterDuration(self, AttesterDuration):
|
|
6550
|
+
self._AttesterDuration = AttesterDuration
|
|
6290
6551
|
|
|
6291
6552
|
@property
|
|
6292
|
-
def
|
|
6293
|
-
"""
|
|
6294
|
-
<li
|
|
6295
|
-
|
|
6296
|
-
:rtype: str
|
|
6553
|
+
def TCRCEOption(self):
|
|
6554
|
+
"""TC-RCE 认证的配置信息。
|
|
6555
|
+
<li>当 AttesterSource 参数值为 TC-RCE 时,此字段必填。</li>
|
|
6556
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.TCRCEOption`
|
|
6297
6557
|
"""
|
|
6298
|
-
return self.
|
|
6558
|
+
return self._TCRCEOption
|
|
6299
6559
|
|
|
6300
|
-
@
|
|
6301
|
-
def
|
|
6302
|
-
self.
|
|
6560
|
+
@TCRCEOption.setter
|
|
6561
|
+
def TCRCEOption(self, TCRCEOption):
|
|
6562
|
+
self._TCRCEOption = TCRCEOption
|
|
6303
6563
|
|
|
6304
6564
|
@property
|
|
6305
|
-
def
|
|
6306
|
-
"""
|
|
6307
|
-
|
|
6565
|
+
def TCCaptchaOption(self):
|
|
6566
|
+
"""TC-CAPTCHA 认证的配置信息。
|
|
6567
|
+
<li>当 AttesterSource 参数值为 TC-CAPTCHA 时,此字段必填。</li>
|
|
6568
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.TCCaptchaOption`
|
|
6308
6569
|
"""
|
|
6309
|
-
return self.
|
|
6570
|
+
return self._TCCaptchaOption
|
|
6310
6571
|
|
|
6311
|
-
@
|
|
6312
|
-
def
|
|
6313
|
-
self.
|
|
6572
|
+
@TCCaptchaOption.setter
|
|
6573
|
+
def TCCaptchaOption(self, TCCaptchaOption):
|
|
6574
|
+
self._TCCaptchaOption = TCCaptchaOption
|
|
6314
6575
|
|
|
6315
6576
|
|
|
6316
6577
|
def _deserialize(self, params):
|
|
6317
|
-
self.
|
|
6318
|
-
self.
|
|
6578
|
+
self._Id = params.get("Id")
|
|
6579
|
+
self._Name = params.get("Name")
|
|
6580
|
+
self._Type = params.get("Type")
|
|
6581
|
+
self._AttesterSource = params.get("AttesterSource")
|
|
6582
|
+
self._AttesterDuration = params.get("AttesterDuration")
|
|
6583
|
+
if params.get("TCRCEOption") is not None:
|
|
6584
|
+
self._TCRCEOption = TCRCEOption()
|
|
6585
|
+
self._TCRCEOption._deserialize(params.get("TCRCEOption"))
|
|
6586
|
+
if params.get("TCCaptchaOption") is not None:
|
|
6587
|
+
self._TCCaptchaOption = TCCaptchaOption()
|
|
6588
|
+
self._TCCaptchaOption._deserialize(params.get("TCCaptchaOption"))
|
|
6319
6589
|
memeber_set = set(params.keys())
|
|
6320
6590
|
for name, value in vars(self).items():
|
|
6321
6591
|
property_name = name[1:]
|
|
@@ -6326,51 +6596,49 @@ class ClientIPCountryParameters(AbstractModel):
|
|
|
6326
6596
|
|
|
6327
6597
|
|
|
6328
6598
|
|
|
6329
|
-
class
|
|
6330
|
-
"""
|
|
6599
|
+
class ClientFiltering(AbstractModel):
|
|
6600
|
+
"""智能客户端过滤
|
|
6331
6601
|
|
|
6332
6602
|
"""
|
|
6333
6603
|
|
|
6334
6604
|
def __init__(self):
|
|
6335
6605
|
r"""
|
|
6336
|
-
:param
|
|
6337
|
-
|
|
6338
|
-
|
|
6339
|
-
:type
|
|
6340
|
-
:param _HeaderName: 回源时,存放客户端 IP 的请求头名称。当 Switch 为 on 时,该参数必填。该参数不允许填写 X-Forwarded-For。
|
|
6341
|
-
:type HeaderName: str
|
|
6606
|
+
:param _Enabled: 智能客户端过滤是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
6607
|
+
:type Enabled: str
|
|
6608
|
+
:param _Action: 智能客户端过滤的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name仅支持JSChallenge。</li>
|
|
6609
|
+
:type Action: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
|
|
6342
6610
|
"""
|
|
6343
|
-
self.
|
|
6344
|
-
self.
|
|
6611
|
+
self._Enabled = None
|
|
6612
|
+
self._Action = None
|
|
6345
6613
|
|
|
6346
6614
|
@property
|
|
6347
|
-
def
|
|
6348
|
-
"""
|
|
6349
|
-
<li>on:开启;</li>
|
|
6350
|
-
<li>off:关闭。</li>
|
|
6615
|
+
def Enabled(self):
|
|
6616
|
+
"""智能客户端过滤是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
6351
6617
|
:rtype: str
|
|
6352
6618
|
"""
|
|
6353
|
-
return self.
|
|
6619
|
+
return self._Enabled
|
|
6354
6620
|
|
|
6355
|
-
@
|
|
6356
|
-
def
|
|
6357
|
-
self.
|
|
6621
|
+
@Enabled.setter
|
|
6622
|
+
def Enabled(self, Enabled):
|
|
6623
|
+
self._Enabled = Enabled
|
|
6358
6624
|
|
|
6359
6625
|
@property
|
|
6360
|
-
def
|
|
6361
|
-
"""
|
|
6362
|
-
:rtype:
|
|
6626
|
+
def Action(self):
|
|
6627
|
+
"""智能客户端过滤的处置方式,当 Enabled 为 on 时,此字段必填。SecurityAction 的 Name 取值支持:<li>Monitor:观察;</li><li>Deny:拦截;</li><li>Challenge:挑战,其中ChallengeActionParameters.Name仅支持JSChallenge。</li>
|
|
6628
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.SecurityAction`
|
|
6363
6629
|
"""
|
|
6364
|
-
return self.
|
|
6630
|
+
return self._Action
|
|
6365
6631
|
|
|
6366
|
-
@
|
|
6367
|
-
def
|
|
6368
|
-
self.
|
|
6632
|
+
@Action.setter
|
|
6633
|
+
def Action(self, Action):
|
|
6634
|
+
self._Action = Action
|
|
6369
6635
|
|
|
6370
6636
|
|
|
6371
6637
|
def _deserialize(self, params):
|
|
6372
|
-
self.
|
|
6373
|
-
|
|
6638
|
+
self._Enabled = params.get("Enabled")
|
|
6639
|
+
if params.get("Action") is not None:
|
|
6640
|
+
self._Action = SecurityAction()
|
|
6641
|
+
self._Action._deserialize(params.get("Action"))
|
|
6374
6642
|
memeber_set = set(params.keys())
|
|
6375
6643
|
for name, value in vars(self).items():
|
|
6376
6644
|
property_name = name[1:]
|
|
@@ -6381,8 +6649,8 @@ class ClientIPHeaderParameters(AbstractModel):
|
|
|
6381
6649
|
|
|
6382
6650
|
|
|
6383
6651
|
|
|
6384
|
-
class
|
|
6385
|
-
"""回源时携带客户端IP所属地域信息,值的格式为ISO-3166-1两位字母代码。
|
|
6652
|
+
class ClientIPCountryParameters(AbstractModel):
|
|
6653
|
+
"""回源时携带客户端 IP 所属地域信息,值的格式为 ISO-3166-1 两位字母代码。
|
|
6386
6654
|
|
|
6387
6655
|
"""
|
|
6388
6656
|
|
|
@@ -6392,8 +6660,7 @@ class ClientIpCountry(AbstractModel):
|
|
|
6392
6660
|
<li>on:开启;</li>
|
|
6393
6661
|
<li>off:关闭。</li>
|
|
6394
6662
|
:type Switch: str
|
|
6395
|
-
:param _HeaderName: 存放客户端 IP 所属地域信息的请求头名称,当 Switch=on
|
|
6396
|
-
为空则使用默认值:EO-Client-IPCountry。
|
|
6663
|
+
:param _HeaderName: 存放客户端 IP 所属地域信息的请求头名称,当 Switch=on 时有效。为空则使用默认值:EO-Client-IPCountry。
|
|
6397
6664
|
:type HeaderName: str
|
|
6398
6665
|
"""
|
|
6399
6666
|
self._Switch = None
|
|
@@ -6414,8 +6681,119 @@ class ClientIpCountry(AbstractModel):
|
|
|
6414
6681
|
|
|
6415
6682
|
@property
|
|
6416
6683
|
def HeaderName(self):
|
|
6417
|
-
"""存放客户端 IP 所属地域信息的请求头名称,当 Switch=on
|
|
6418
|
-
|
|
6684
|
+
"""存放客户端 IP 所属地域信息的请求头名称,当 Switch=on 时有效。为空则使用默认值:EO-Client-IPCountry。
|
|
6685
|
+
:rtype: str
|
|
6686
|
+
"""
|
|
6687
|
+
return self._HeaderName
|
|
6688
|
+
|
|
6689
|
+
@HeaderName.setter
|
|
6690
|
+
def HeaderName(self, HeaderName):
|
|
6691
|
+
self._HeaderName = HeaderName
|
|
6692
|
+
|
|
6693
|
+
|
|
6694
|
+
def _deserialize(self, params):
|
|
6695
|
+
self._Switch = params.get("Switch")
|
|
6696
|
+
self._HeaderName = params.get("HeaderName")
|
|
6697
|
+
memeber_set = set(params.keys())
|
|
6698
|
+
for name, value in vars(self).items():
|
|
6699
|
+
property_name = name[1:]
|
|
6700
|
+
if property_name in memeber_set:
|
|
6701
|
+
memeber_set.remove(property_name)
|
|
6702
|
+
if len(memeber_set) > 0:
|
|
6703
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6704
|
+
|
|
6705
|
+
|
|
6706
|
+
|
|
6707
|
+
class ClientIPHeaderParameters(AbstractModel):
|
|
6708
|
+
"""存储客户端请求IP的头部信息配置。
|
|
6709
|
+
|
|
6710
|
+
"""
|
|
6711
|
+
|
|
6712
|
+
def __init__(self):
|
|
6713
|
+
r"""
|
|
6714
|
+
:param _Switch: 配置开关,取值有:
|
|
6715
|
+
<li>on:开启;</li>
|
|
6716
|
+
<li>off:关闭。</li>
|
|
6717
|
+
:type Switch: str
|
|
6718
|
+
:param _HeaderName: 回源时,存放客户端 IP 的请求头名称。当 Switch 为 on 时,该参数必填。该参数不允许填写 X-Forwarded-For。
|
|
6719
|
+
:type HeaderName: str
|
|
6720
|
+
"""
|
|
6721
|
+
self._Switch = None
|
|
6722
|
+
self._HeaderName = None
|
|
6723
|
+
|
|
6724
|
+
@property
|
|
6725
|
+
def Switch(self):
|
|
6726
|
+
"""配置开关,取值有:
|
|
6727
|
+
<li>on:开启;</li>
|
|
6728
|
+
<li>off:关闭。</li>
|
|
6729
|
+
:rtype: str
|
|
6730
|
+
"""
|
|
6731
|
+
return self._Switch
|
|
6732
|
+
|
|
6733
|
+
@Switch.setter
|
|
6734
|
+
def Switch(self, Switch):
|
|
6735
|
+
self._Switch = Switch
|
|
6736
|
+
|
|
6737
|
+
@property
|
|
6738
|
+
def HeaderName(self):
|
|
6739
|
+
"""回源时,存放客户端 IP 的请求头名称。当 Switch 为 on 时,该参数必填。该参数不允许填写 X-Forwarded-For。
|
|
6740
|
+
:rtype: str
|
|
6741
|
+
"""
|
|
6742
|
+
return self._HeaderName
|
|
6743
|
+
|
|
6744
|
+
@HeaderName.setter
|
|
6745
|
+
def HeaderName(self, HeaderName):
|
|
6746
|
+
self._HeaderName = HeaderName
|
|
6747
|
+
|
|
6748
|
+
|
|
6749
|
+
def _deserialize(self, params):
|
|
6750
|
+
self._Switch = params.get("Switch")
|
|
6751
|
+
self._HeaderName = params.get("HeaderName")
|
|
6752
|
+
memeber_set = set(params.keys())
|
|
6753
|
+
for name, value in vars(self).items():
|
|
6754
|
+
property_name = name[1:]
|
|
6755
|
+
if property_name in memeber_set:
|
|
6756
|
+
memeber_set.remove(property_name)
|
|
6757
|
+
if len(memeber_set) > 0:
|
|
6758
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
6759
|
+
|
|
6760
|
+
|
|
6761
|
+
|
|
6762
|
+
class ClientIpCountry(AbstractModel):
|
|
6763
|
+
"""回源时携带客户端IP所属地域信息,值的格式为ISO-3166-1两位字母代码。
|
|
6764
|
+
|
|
6765
|
+
"""
|
|
6766
|
+
|
|
6767
|
+
def __init__(self):
|
|
6768
|
+
r"""
|
|
6769
|
+
:param _Switch: 配置开关,取值有:
|
|
6770
|
+
<li>on:开启;</li>
|
|
6771
|
+
<li>off:关闭。</li>
|
|
6772
|
+
:type Switch: str
|
|
6773
|
+
:param _HeaderName: 存放客户端 IP 所属地域信息的请求头名称,当 Switch=on 时有效。
|
|
6774
|
+
为空则使用默认值:EO-Client-IPCountry。
|
|
6775
|
+
:type HeaderName: str
|
|
6776
|
+
"""
|
|
6777
|
+
self._Switch = None
|
|
6778
|
+
self._HeaderName = None
|
|
6779
|
+
|
|
6780
|
+
@property
|
|
6781
|
+
def Switch(self):
|
|
6782
|
+
"""配置开关,取值有:
|
|
6783
|
+
<li>on:开启;</li>
|
|
6784
|
+
<li>off:关闭。</li>
|
|
6785
|
+
:rtype: str
|
|
6786
|
+
"""
|
|
6787
|
+
return self._Switch
|
|
6788
|
+
|
|
6789
|
+
@Switch.setter
|
|
6790
|
+
def Switch(self, Switch):
|
|
6791
|
+
self._Switch = Switch
|
|
6792
|
+
|
|
6793
|
+
@property
|
|
6794
|
+
def HeaderName(self):
|
|
6795
|
+
"""存放客户端 IP 所属地域信息的请求头名称,当 Switch=on 时有效。
|
|
6796
|
+
为空则使用默认值:EO-Client-IPCountry。
|
|
6419
6797
|
:rtype: str
|
|
6420
6798
|
"""
|
|
6421
6799
|
return self._HeaderName
|
|
@@ -8834,6 +9212,187 @@ class CreateFunctionRuleResponse(AbstractModel):
|
|
|
8834
9212
|
self._RequestId = params.get("RequestId")
|
|
8835
9213
|
|
|
8836
9214
|
|
|
9215
|
+
class CreateJustInTimeTranscodeTemplateRequest(AbstractModel):
|
|
9216
|
+
"""CreateJustInTimeTranscodeTemplate请求参数结构体
|
|
9217
|
+
|
|
9218
|
+
"""
|
|
9219
|
+
|
|
9220
|
+
def __init__(self):
|
|
9221
|
+
r"""
|
|
9222
|
+
:param _ZoneId: 站点ID。
|
|
9223
|
+
:type ZoneId: str
|
|
9224
|
+
:param _TemplateName: 即时转码模板名称,长度限制:64 个字符。
|
|
9225
|
+
:type TemplateName: str
|
|
9226
|
+
:param _Comment: 模板描述信息,长度限制:256 个字符。默认为空。
|
|
9227
|
+
:type Comment: str
|
|
9228
|
+
:param _VideoStreamSwitch: 启用视频流开关,取值:
|
|
9229
|
+
<li>on:开启;</li>
|
|
9230
|
+
<li>off:关闭。</li>默认值:on。
|
|
9231
|
+
:type VideoStreamSwitch: str
|
|
9232
|
+
:param _AudioStreamSwitch: 启用音频流开关,取值:
|
|
9233
|
+
<li>on:开启;</li>
|
|
9234
|
+
<li>off:关闭。</li>默认值:on。
|
|
9235
|
+
:type AudioStreamSwitch: str
|
|
9236
|
+
:param _VideoTemplate: 视频流配置参数,当 VideoStreamSwitch 为 on,该字段必填。
|
|
9237
|
+
:type VideoTemplate: :class:`tencentcloud.teo.v20220901.models.VideoTemplateInfo`
|
|
9238
|
+
:param _AudioTemplate: 音频流配置参数,当 AudioStreamSwitch 为 on,该字段必填。
|
|
9239
|
+
:type AudioTemplate: :class:`tencentcloud.teo.v20220901.models.AudioTemplateInfo`
|
|
9240
|
+
"""
|
|
9241
|
+
self._ZoneId = None
|
|
9242
|
+
self._TemplateName = None
|
|
9243
|
+
self._Comment = None
|
|
9244
|
+
self._VideoStreamSwitch = None
|
|
9245
|
+
self._AudioStreamSwitch = None
|
|
9246
|
+
self._VideoTemplate = None
|
|
9247
|
+
self._AudioTemplate = None
|
|
9248
|
+
|
|
9249
|
+
@property
|
|
9250
|
+
def ZoneId(self):
|
|
9251
|
+
"""站点ID。
|
|
9252
|
+
:rtype: str
|
|
9253
|
+
"""
|
|
9254
|
+
return self._ZoneId
|
|
9255
|
+
|
|
9256
|
+
@ZoneId.setter
|
|
9257
|
+
def ZoneId(self, ZoneId):
|
|
9258
|
+
self._ZoneId = ZoneId
|
|
9259
|
+
|
|
9260
|
+
@property
|
|
9261
|
+
def TemplateName(self):
|
|
9262
|
+
"""即时转码模板名称,长度限制:64 个字符。
|
|
9263
|
+
:rtype: str
|
|
9264
|
+
"""
|
|
9265
|
+
return self._TemplateName
|
|
9266
|
+
|
|
9267
|
+
@TemplateName.setter
|
|
9268
|
+
def TemplateName(self, TemplateName):
|
|
9269
|
+
self._TemplateName = TemplateName
|
|
9270
|
+
|
|
9271
|
+
@property
|
|
9272
|
+
def Comment(self):
|
|
9273
|
+
"""模板描述信息,长度限制:256 个字符。默认为空。
|
|
9274
|
+
:rtype: str
|
|
9275
|
+
"""
|
|
9276
|
+
return self._Comment
|
|
9277
|
+
|
|
9278
|
+
@Comment.setter
|
|
9279
|
+
def Comment(self, Comment):
|
|
9280
|
+
self._Comment = Comment
|
|
9281
|
+
|
|
9282
|
+
@property
|
|
9283
|
+
def VideoStreamSwitch(self):
|
|
9284
|
+
"""启用视频流开关,取值:
|
|
9285
|
+
<li>on:开启;</li>
|
|
9286
|
+
<li>off:关闭。</li>默认值:on。
|
|
9287
|
+
:rtype: str
|
|
9288
|
+
"""
|
|
9289
|
+
return self._VideoStreamSwitch
|
|
9290
|
+
|
|
9291
|
+
@VideoStreamSwitch.setter
|
|
9292
|
+
def VideoStreamSwitch(self, VideoStreamSwitch):
|
|
9293
|
+
self._VideoStreamSwitch = VideoStreamSwitch
|
|
9294
|
+
|
|
9295
|
+
@property
|
|
9296
|
+
def AudioStreamSwitch(self):
|
|
9297
|
+
"""启用音频流开关,取值:
|
|
9298
|
+
<li>on:开启;</li>
|
|
9299
|
+
<li>off:关闭。</li>默认值:on。
|
|
9300
|
+
:rtype: str
|
|
9301
|
+
"""
|
|
9302
|
+
return self._AudioStreamSwitch
|
|
9303
|
+
|
|
9304
|
+
@AudioStreamSwitch.setter
|
|
9305
|
+
def AudioStreamSwitch(self, AudioStreamSwitch):
|
|
9306
|
+
self._AudioStreamSwitch = AudioStreamSwitch
|
|
9307
|
+
|
|
9308
|
+
@property
|
|
9309
|
+
def VideoTemplate(self):
|
|
9310
|
+
"""视频流配置参数,当 VideoStreamSwitch 为 on,该字段必填。
|
|
9311
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.VideoTemplateInfo`
|
|
9312
|
+
"""
|
|
9313
|
+
return self._VideoTemplate
|
|
9314
|
+
|
|
9315
|
+
@VideoTemplate.setter
|
|
9316
|
+
def VideoTemplate(self, VideoTemplate):
|
|
9317
|
+
self._VideoTemplate = VideoTemplate
|
|
9318
|
+
|
|
9319
|
+
@property
|
|
9320
|
+
def AudioTemplate(self):
|
|
9321
|
+
"""音频流配置参数,当 AudioStreamSwitch 为 on,该字段必填。
|
|
9322
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.AudioTemplateInfo`
|
|
9323
|
+
"""
|
|
9324
|
+
return self._AudioTemplate
|
|
9325
|
+
|
|
9326
|
+
@AudioTemplate.setter
|
|
9327
|
+
def AudioTemplate(self, AudioTemplate):
|
|
9328
|
+
self._AudioTemplate = AudioTemplate
|
|
9329
|
+
|
|
9330
|
+
|
|
9331
|
+
def _deserialize(self, params):
|
|
9332
|
+
self._ZoneId = params.get("ZoneId")
|
|
9333
|
+
self._TemplateName = params.get("TemplateName")
|
|
9334
|
+
self._Comment = params.get("Comment")
|
|
9335
|
+
self._VideoStreamSwitch = params.get("VideoStreamSwitch")
|
|
9336
|
+
self._AudioStreamSwitch = params.get("AudioStreamSwitch")
|
|
9337
|
+
if params.get("VideoTemplate") is not None:
|
|
9338
|
+
self._VideoTemplate = VideoTemplateInfo()
|
|
9339
|
+
self._VideoTemplate._deserialize(params.get("VideoTemplate"))
|
|
9340
|
+
if params.get("AudioTemplate") is not None:
|
|
9341
|
+
self._AudioTemplate = AudioTemplateInfo()
|
|
9342
|
+
self._AudioTemplate._deserialize(params.get("AudioTemplate"))
|
|
9343
|
+
memeber_set = set(params.keys())
|
|
9344
|
+
for name, value in vars(self).items():
|
|
9345
|
+
property_name = name[1:]
|
|
9346
|
+
if property_name in memeber_set:
|
|
9347
|
+
memeber_set.remove(property_name)
|
|
9348
|
+
if len(memeber_set) > 0:
|
|
9349
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
9350
|
+
|
|
9351
|
+
|
|
9352
|
+
|
|
9353
|
+
class CreateJustInTimeTranscodeTemplateResponse(AbstractModel):
|
|
9354
|
+
"""CreateJustInTimeTranscodeTemplate返回参数结构体
|
|
9355
|
+
|
|
9356
|
+
"""
|
|
9357
|
+
|
|
9358
|
+
def __init__(self):
|
|
9359
|
+
r"""
|
|
9360
|
+
:param _TemplateId: 即时转码模板唯一标识,用于即时转码 URL 拼接。
|
|
9361
|
+
:type TemplateId: str
|
|
9362
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9363
|
+
:type RequestId: str
|
|
9364
|
+
"""
|
|
9365
|
+
self._TemplateId = None
|
|
9366
|
+
self._RequestId = None
|
|
9367
|
+
|
|
9368
|
+
@property
|
|
9369
|
+
def TemplateId(self):
|
|
9370
|
+
"""即时转码模板唯一标识,用于即时转码 URL 拼接。
|
|
9371
|
+
:rtype: str
|
|
9372
|
+
"""
|
|
9373
|
+
return self._TemplateId
|
|
9374
|
+
|
|
9375
|
+
@TemplateId.setter
|
|
9376
|
+
def TemplateId(self, TemplateId):
|
|
9377
|
+
self._TemplateId = TemplateId
|
|
9378
|
+
|
|
9379
|
+
@property
|
|
9380
|
+
def RequestId(self):
|
|
9381
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
9382
|
+
:rtype: str
|
|
9383
|
+
"""
|
|
9384
|
+
return self._RequestId
|
|
9385
|
+
|
|
9386
|
+
@RequestId.setter
|
|
9387
|
+
def RequestId(self, RequestId):
|
|
9388
|
+
self._RequestId = RequestId
|
|
9389
|
+
|
|
9390
|
+
|
|
9391
|
+
def _deserialize(self, params):
|
|
9392
|
+
self._TemplateId = params.get("TemplateId")
|
|
9393
|
+
self._RequestId = params.get("RequestId")
|
|
9394
|
+
|
|
9395
|
+
|
|
8837
9396
|
class CreateL4ProxyRequest(AbstractModel):
|
|
8838
9397
|
"""CreateL4Proxy请求参数结构体
|
|
8839
9398
|
|
|
@@ -11108,6 +11667,303 @@ class CreateRuleResponse(AbstractModel):
|
|
|
11108
11667
|
self._RequestId = params.get("RequestId")
|
|
11109
11668
|
|
|
11110
11669
|
|
|
11670
|
+
class CreateSecurityAPIResourceRequest(AbstractModel):
|
|
11671
|
+
"""CreateSecurityAPIResource请求参数结构体
|
|
11672
|
+
|
|
11673
|
+
"""
|
|
11674
|
+
|
|
11675
|
+
def __init__(self):
|
|
11676
|
+
r"""
|
|
11677
|
+
:param _ZoneId: 站点 ID。
|
|
11678
|
+
:type ZoneId: str
|
|
11679
|
+
:param _APIResources: API 资源列表。
|
|
11680
|
+
:type APIResources: list of APIResource
|
|
11681
|
+
"""
|
|
11682
|
+
self._ZoneId = None
|
|
11683
|
+
self._APIResources = None
|
|
11684
|
+
|
|
11685
|
+
@property
|
|
11686
|
+
def ZoneId(self):
|
|
11687
|
+
"""站点 ID。
|
|
11688
|
+
:rtype: str
|
|
11689
|
+
"""
|
|
11690
|
+
return self._ZoneId
|
|
11691
|
+
|
|
11692
|
+
@ZoneId.setter
|
|
11693
|
+
def ZoneId(self, ZoneId):
|
|
11694
|
+
self._ZoneId = ZoneId
|
|
11695
|
+
|
|
11696
|
+
@property
|
|
11697
|
+
def APIResources(self):
|
|
11698
|
+
""" API 资源列表。
|
|
11699
|
+
:rtype: list of APIResource
|
|
11700
|
+
"""
|
|
11701
|
+
return self._APIResources
|
|
11702
|
+
|
|
11703
|
+
@APIResources.setter
|
|
11704
|
+
def APIResources(self, APIResources):
|
|
11705
|
+
self._APIResources = APIResources
|
|
11706
|
+
|
|
11707
|
+
|
|
11708
|
+
def _deserialize(self, params):
|
|
11709
|
+
self._ZoneId = params.get("ZoneId")
|
|
11710
|
+
if params.get("APIResources") is not None:
|
|
11711
|
+
self._APIResources = []
|
|
11712
|
+
for item in params.get("APIResources"):
|
|
11713
|
+
obj = APIResource()
|
|
11714
|
+
obj._deserialize(item)
|
|
11715
|
+
self._APIResources.append(obj)
|
|
11716
|
+
memeber_set = set(params.keys())
|
|
11717
|
+
for name, value in vars(self).items():
|
|
11718
|
+
property_name = name[1:]
|
|
11719
|
+
if property_name in memeber_set:
|
|
11720
|
+
memeber_set.remove(property_name)
|
|
11721
|
+
if len(memeber_set) > 0:
|
|
11722
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11723
|
+
|
|
11724
|
+
|
|
11725
|
+
|
|
11726
|
+
class CreateSecurityAPIResourceResponse(AbstractModel):
|
|
11727
|
+
"""CreateSecurityAPIResource返回参数结构体
|
|
11728
|
+
|
|
11729
|
+
"""
|
|
11730
|
+
|
|
11731
|
+
def __init__(self):
|
|
11732
|
+
r"""
|
|
11733
|
+
:param _APIResourceIds: API 资源 ID 列表。
|
|
11734
|
+
:type APIResourceIds: list of str
|
|
11735
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11736
|
+
:type RequestId: str
|
|
11737
|
+
"""
|
|
11738
|
+
self._APIResourceIds = None
|
|
11739
|
+
self._RequestId = None
|
|
11740
|
+
|
|
11741
|
+
@property
|
|
11742
|
+
def APIResourceIds(self):
|
|
11743
|
+
"""API 资源 ID 列表。
|
|
11744
|
+
:rtype: list of str
|
|
11745
|
+
"""
|
|
11746
|
+
return self._APIResourceIds
|
|
11747
|
+
|
|
11748
|
+
@APIResourceIds.setter
|
|
11749
|
+
def APIResourceIds(self, APIResourceIds):
|
|
11750
|
+
self._APIResourceIds = APIResourceIds
|
|
11751
|
+
|
|
11752
|
+
@property
|
|
11753
|
+
def RequestId(self):
|
|
11754
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11755
|
+
:rtype: str
|
|
11756
|
+
"""
|
|
11757
|
+
return self._RequestId
|
|
11758
|
+
|
|
11759
|
+
@RequestId.setter
|
|
11760
|
+
def RequestId(self, RequestId):
|
|
11761
|
+
self._RequestId = RequestId
|
|
11762
|
+
|
|
11763
|
+
|
|
11764
|
+
def _deserialize(self, params):
|
|
11765
|
+
self._APIResourceIds = params.get("APIResourceIds")
|
|
11766
|
+
self._RequestId = params.get("RequestId")
|
|
11767
|
+
|
|
11768
|
+
|
|
11769
|
+
class CreateSecurityAPIServiceRequest(AbstractModel):
|
|
11770
|
+
"""CreateSecurityAPIService请求参数结构体
|
|
11771
|
+
|
|
11772
|
+
"""
|
|
11773
|
+
|
|
11774
|
+
def __init__(self):
|
|
11775
|
+
r"""
|
|
11776
|
+
:param _ZoneId: 站点 ID。
|
|
11777
|
+
:type ZoneId: str
|
|
11778
|
+
:param _APIServices: API 服务列表。
|
|
11779
|
+
:type APIServices: list of APIService
|
|
11780
|
+
"""
|
|
11781
|
+
self._ZoneId = None
|
|
11782
|
+
self._APIServices = None
|
|
11783
|
+
|
|
11784
|
+
@property
|
|
11785
|
+
def ZoneId(self):
|
|
11786
|
+
"""站点 ID。
|
|
11787
|
+
:rtype: str
|
|
11788
|
+
"""
|
|
11789
|
+
return self._ZoneId
|
|
11790
|
+
|
|
11791
|
+
@ZoneId.setter
|
|
11792
|
+
def ZoneId(self, ZoneId):
|
|
11793
|
+
self._ZoneId = ZoneId
|
|
11794
|
+
|
|
11795
|
+
@property
|
|
11796
|
+
def APIServices(self):
|
|
11797
|
+
""" API 服务列表。
|
|
11798
|
+
:rtype: list of APIService
|
|
11799
|
+
"""
|
|
11800
|
+
return self._APIServices
|
|
11801
|
+
|
|
11802
|
+
@APIServices.setter
|
|
11803
|
+
def APIServices(self, APIServices):
|
|
11804
|
+
self._APIServices = APIServices
|
|
11805
|
+
|
|
11806
|
+
|
|
11807
|
+
def _deserialize(self, params):
|
|
11808
|
+
self._ZoneId = params.get("ZoneId")
|
|
11809
|
+
if params.get("APIServices") is not None:
|
|
11810
|
+
self._APIServices = []
|
|
11811
|
+
for item in params.get("APIServices"):
|
|
11812
|
+
obj = APIService()
|
|
11813
|
+
obj._deserialize(item)
|
|
11814
|
+
self._APIServices.append(obj)
|
|
11815
|
+
memeber_set = set(params.keys())
|
|
11816
|
+
for name, value in vars(self).items():
|
|
11817
|
+
property_name = name[1:]
|
|
11818
|
+
if property_name in memeber_set:
|
|
11819
|
+
memeber_set.remove(property_name)
|
|
11820
|
+
if len(memeber_set) > 0:
|
|
11821
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11822
|
+
|
|
11823
|
+
|
|
11824
|
+
|
|
11825
|
+
class CreateSecurityAPIServiceResponse(AbstractModel):
|
|
11826
|
+
"""CreateSecurityAPIService返回参数结构体
|
|
11827
|
+
|
|
11828
|
+
"""
|
|
11829
|
+
|
|
11830
|
+
def __init__(self):
|
|
11831
|
+
r"""
|
|
11832
|
+
:param _APIServiceIds: API 服务 ID 列表。
|
|
11833
|
+
:type APIServiceIds: list of str
|
|
11834
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11835
|
+
:type RequestId: str
|
|
11836
|
+
"""
|
|
11837
|
+
self._APIServiceIds = None
|
|
11838
|
+
self._RequestId = None
|
|
11839
|
+
|
|
11840
|
+
@property
|
|
11841
|
+
def APIServiceIds(self):
|
|
11842
|
+
"""API 服务 ID 列表。
|
|
11843
|
+
:rtype: list of str
|
|
11844
|
+
"""
|
|
11845
|
+
return self._APIServiceIds
|
|
11846
|
+
|
|
11847
|
+
@APIServiceIds.setter
|
|
11848
|
+
def APIServiceIds(self, APIServiceIds):
|
|
11849
|
+
self._APIServiceIds = APIServiceIds
|
|
11850
|
+
|
|
11851
|
+
@property
|
|
11852
|
+
def RequestId(self):
|
|
11853
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11854
|
+
:rtype: str
|
|
11855
|
+
"""
|
|
11856
|
+
return self._RequestId
|
|
11857
|
+
|
|
11858
|
+
@RequestId.setter
|
|
11859
|
+
def RequestId(self, RequestId):
|
|
11860
|
+
self._RequestId = RequestId
|
|
11861
|
+
|
|
11862
|
+
|
|
11863
|
+
def _deserialize(self, params):
|
|
11864
|
+
self._APIServiceIds = params.get("APIServiceIds")
|
|
11865
|
+
self._RequestId = params.get("RequestId")
|
|
11866
|
+
|
|
11867
|
+
|
|
11868
|
+
class CreateSecurityClientAttesterRequest(AbstractModel):
|
|
11869
|
+
"""CreateSecurityClientAttester请求参数结构体
|
|
11870
|
+
|
|
11871
|
+
"""
|
|
11872
|
+
|
|
11873
|
+
def __init__(self):
|
|
11874
|
+
r"""
|
|
11875
|
+
:param _ZoneId: 站点 ID。
|
|
11876
|
+
:type ZoneId: str
|
|
11877
|
+
:param _ClientAttesters: 认证选项列表。
|
|
11878
|
+
:type ClientAttesters: list of ClientAttester
|
|
11879
|
+
"""
|
|
11880
|
+
self._ZoneId = None
|
|
11881
|
+
self._ClientAttesters = None
|
|
11882
|
+
|
|
11883
|
+
@property
|
|
11884
|
+
def ZoneId(self):
|
|
11885
|
+
"""站点 ID。
|
|
11886
|
+
:rtype: str
|
|
11887
|
+
"""
|
|
11888
|
+
return self._ZoneId
|
|
11889
|
+
|
|
11890
|
+
@ZoneId.setter
|
|
11891
|
+
def ZoneId(self, ZoneId):
|
|
11892
|
+
self._ZoneId = ZoneId
|
|
11893
|
+
|
|
11894
|
+
@property
|
|
11895
|
+
def ClientAttesters(self):
|
|
11896
|
+
"""认证选项列表。
|
|
11897
|
+
:rtype: list of ClientAttester
|
|
11898
|
+
"""
|
|
11899
|
+
return self._ClientAttesters
|
|
11900
|
+
|
|
11901
|
+
@ClientAttesters.setter
|
|
11902
|
+
def ClientAttesters(self, ClientAttesters):
|
|
11903
|
+
self._ClientAttesters = ClientAttesters
|
|
11904
|
+
|
|
11905
|
+
|
|
11906
|
+
def _deserialize(self, params):
|
|
11907
|
+
self._ZoneId = params.get("ZoneId")
|
|
11908
|
+
if params.get("ClientAttesters") is not None:
|
|
11909
|
+
self._ClientAttesters = []
|
|
11910
|
+
for item in params.get("ClientAttesters"):
|
|
11911
|
+
obj = ClientAttester()
|
|
11912
|
+
obj._deserialize(item)
|
|
11913
|
+
self._ClientAttesters.append(obj)
|
|
11914
|
+
memeber_set = set(params.keys())
|
|
11915
|
+
for name, value in vars(self).items():
|
|
11916
|
+
property_name = name[1:]
|
|
11917
|
+
if property_name in memeber_set:
|
|
11918
|
+
memeber_set.remove(property_name)
|
|
11919
|
+
if len(memeber_set) > 0:
|
|
11920
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
11921
|
+
|
|
11922
|
+
|
|
11923
|
+
|
|
11924
|
+
class CreateSecurityClientAttesterResponse(AbstractModel):
|
|
11925
|
+
"""CreateSecurityClientAttester返回参数结构体
|
|
11926
|
+
|
|
11927
|
+
"""
|
|
11928
|
+
|
|
11929
|
+
def __init__(self):
|
|
11930
|
+
r"""
|
|
11931
|
+
:param _ClientAttesterIds: 认证选项 ID 列表。
|
|
11932
|
+
:type ClientAttesterIds: list of str
|
|
11933
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11934
|
+
:type RequestId: str
|
|
11935
|
+
"""
|
|
11936
|
+
self._ClientAttesterIds = None
|
|
11937
|
+
self._RequestId = None
|
|
11938
|
+
|
|
11939
|
+
@property
|
|
11940
|
+
def ClientAttesterIds(self):
|
|
11941
|
+
"""认证选项 ID 列表。
|
|
11942
|
+
:rtype: list of str
|
|
11943
|
+
"""
|
|
11944
|
+
return self._ClientAttesterIds
|
|
11945
|
+
|
|
11946
|
+
@ClientAttesterIds.setter
|
|
11947
|
+
def ClientAttesterIds(self, ClientAttesterIds):
|
|
11948
|
+
self._ClientAttesterIds = ClientAttesterIds
|
|
11949
|
+
|
|
11950
|
+
@property
|
|
11951
|
+
def RequestId(self):
|
|
11952
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11953
|
+
:rtype: str
|
|
11954
|
+
"""
|
|
11955
|
+
return self._RequestId
|
|
11956
|
+
|
|
11957
|
+
@RequestId.setter
|
|
11958
|
+
def RequestId(self, RequestId):
|
|
11959
|
+
self._RequestId = RequestId
|
|
11960
|
+
|
|
11961
|
+
|
|
11962
|
+
def _deserialize(self, params):
|
|
11963
|
+
self._ClientAttesterIds = params.get("ClientAttesterIds")
|
|
11964
|
+
self._RequestId = params.get("RequestId")
|
|
11965
|
+
|
|
11966
|
+
|
|
11111
11967
|
class CreateSecurityIPGroupRequest(AbstractModel):
|
|
11112
11968
|
"""CreateSecurityIPGroup请求参数结构体
|
|
11113
11969
|
|
|
@@ -11204,6 +12060,105 @@ class CreateSecurityIPGroupResponse(AbstractModel):
|
|
|
11204
12060
|
self._RequestId = params.get("RequestId")
|
|
11205
12061
|
|
|
11206
12062
|
|
|
12063
|
+
class CreateSecurityJSInjectionRuleRequest(AbstractModel):
|
|
12064
|
+
"""CreateSecurityJSInjectionRule请求参数结构体
|
|
12065
|
+
|
|
12066
|
+
"""
|
|
12067
|
+
|
|
12068
|
+
def __init__(self):
|
|
12069
|
+
r"""
|
|
12070
|
+
:param _ZoneId: 站点 ID。
|
|
12071
|
+
:type ZoneId: str
|
|
12072
|
+
:param _JSInjectionRules: JavaScript 注入规则列表。
|
|
12073
|
+
:type JSInjectionRules: list of JSInjectionRule
|
|
12074
|
+
"""
|
|
12075
|
+
self._ZoneId = None
|
|
12076
|
+
self._JSInjectionRules = None
|
|
12077
|
+
|
|
12078
|
+
@property
|
|
12079
|
+
def ZoneId(self):
|
|
12080
|
+
"""站点 ID。
|
|
12081
|
+
:rtype: str
|
|
12082
|
+
"""
|
|
12083
|
+
return self._ZoneId
|
|
12084
|
+
|
|
12085
|
+
@ZoneId.setter
|
|
12086
|
+
def ZoneId(self, ZoneId):
|
|
12087
|
+
self._ZoneId = ZoneId
|
|
12088
|
+
|
|
12089
|
+
@property
|
|
12090
|
+
def JSInjectionRules(self):
|
|
12091
|
+
"""JavaScript 注入规则列表。
|
|
12092
|
+
:rtype: list of JSInjectionRule
|
|
12093
|
+
"""
|
|
12094
|
+
return self._JSInjectionRules
|
|
12095
|
+
|
|
12096
|
+
@JSInjectionRules.setter
|
|
12097
|
+
def JSInjectionRules(self, JSInjectionRules):
|
|
12098
|
+
self._JSInjectionRules = JSInjectionRules
|
|
12099
|
+
|
|
12100
|
+
|
|
12101
|
+
def _deserialize(self, params):
|
|
12102
|
+
self._ZoneId = params.get("ZoneId")
|
|
12103
|
+
if params.get("JSInjectionRules") is not None:
|
|
12104
|
+
self._JSInjectionRules = []
|
|
12105
|
+
for item in params.get("JSInjectionRules"):
|
|
12106
|
+
obj = JSInjectionRule()
|
|
12107
|
+
obj._deserialize(item)
|
|
12108
|
+
self._JSInjectionRules.append(obj)
|
|
12109
|
+
memeber_set = set(params.keys())
|
|
12110
|
+
for name, value in vars(self).items():
|
|
12111
|
+
property_name = name[1:]
|
|
12112
|
+
if property_name in memeber_set:
|
|
12113
|
+
memeber_set.remove(property_name)
|
|
12114
|
+
if len(memeber_set) > 0:
|
|
12115
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
12116
|
+
|
|
12117
|
+
|
|
12118
|
+
|
|
12119
|
+
class CreateSecurityJSInjectionRuleResponse(AbstractModel):
|
|
12120
|
+
"""CreateSecurityJSInjectionRule返回参数结构体
|
|
12121
|
+
|
|
12122
|
+
"""
|
|
12123
|
+
|
|
12124
|
+
def __init__(self):
|
|
12125
|
+
r"""
|
|
12126
|
+
:param _JSInjectionRuleIds: JavaScript 注入规则 ID 列表。
|
|
12127
|
+
:type JSInjectionRuleIds: list of str
|
|
12128
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12129
|
+
:type RequestId: str
|
|
12130
|
+
"""
|
|
12131
|
+
self._JSInjectionRuleIds = None
|
|
12132
|
+
self._RequestId = None
|
|
12133
|
+
|
|
12134
|
+
@property
|
|
12135
|
+
def JSInjectionRuleIds(self):
|
|
12136
|
+
"""JavaScript 注入规则 ID 列表。
|
|
12137
|
+
:rtype: list of str
|
|
12138
|
+
"""
|
|
12139
|
+
return self._JSInjectionRuleIds
|
|
12140
|
+
|
|
12141
|
+
@JSInjectionRuleIds.setter
|
|
12142
|
+
def JSInjectionRuleIds(self, JSInjectionRuleIds):
|
|
12143
|
+
self._JSInjectionRuleIds = JSInjectionRuleIds
|
|
12144
|
+
|
|
12145
|
+
@property
|
|
12146
|
+
def RequestId(self):
|
|
12147
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
12148
|
+
:rtype: str
|
|
12149
|
+
"""
|
|
12150
|
+
return self._RequestId
|
|
12151
|
+
|
|
12152
|
+
@RequestId.setter
|
|
12153
|
+
def RequestId(self, RequestId):
|
|
12154
|
+
self._RequestId = RequestId
|
|
12155
|
+
|
|
12156
|
+
|
|
12157
|
+
def _deserialize(self, params):
|
|
12158
|
+
self._JSInjectionRuleIds = params.get("JSInjectionRuleIds")
|
|
12159
|
+
self._RequestId = params.get("RequestId")
|
|
12160
|
+
|
|
12161
|
+
|
|
11207
12162
|
class CreateSharedCNAMERequest(AbstractModel):
|
|
11208
12163
|
"""CreateSharedCNAME请求参数结构体
|
|
11209
12164
|
|
|
@@ -13794,6 +14749,85 @@ class DeleteFunctionRulesResponse(AbstractModel):
|
|
|
13794
14749
|
self._RequestId = params.get("RequestId")
|
|
13795
14750
|
|
|
13796
14751
|
|
|
14752
|
+
class DeleteJustInTimeTranscodeTemplatesRequest(AbstractModel):
|
|
14753
|
+
"""DeleteJustInTimeTranscodeTemplates请求参数结构体
|
|
14754
|
+
|
|
14755
|
+
"""
|
|
14756
|
+
|
|
14757
|
+
def __init__(self):
|
|
14758
|
+
r"""
|
|
14759
|
+
:param _ZoneId: 站点ID。
|
|
14760
|
+
:type ZoneId: str
|
|
14761
|
+
:param _TemplateIds: 需删除的即时转码模板唯一标识数组,长度限制:100。
|
|
14762
|
+
:type TemplateIds: list of str
|
|
14763
|
+
"""
|
|
14764
|
+
self._ZoneId = None
|
|
14765
|
+
self._TemplateIds = None
|
|
14766
|
+
|
|
14767
|
+
@property
|
|
14768
|
+
def ZoneId(self):
|
|
14769
|
+
"""站点ID。
|
|
14770
|
+
:rtype: str
|
|
14771
|
+
"""
|
|
14772
|
+
return self._ZoneId
|
|
14773
|
+
|
|
14774
|
+
@ZoneId.setter
|
|
14775
|
+
def ZoneId(self, ZoneId):
|
|
14776
|
+
self._ZoneId = ZoneId
|
|
14777
|
+
|
|
14778
|
+
@property
|
|
14779
|
+
def TemplateIds(self):
|
|
14780
|
+
"""需删除的即时转码模板唯一标识数组,长度限制:100。
|
|
14781
|
+
:rtype: list of str
|
|
14782
|
+
"""
|
|
14783
|
+
return self._TemplateIds
|
|
14784
|
+
|
|
14785
|
+
@TemplateIds.setter
|
|
14786
|
+
def TemplateIds(self, TemplateIds):
|
|
14787
|
+
self._TemplateIds = TemplateIds
|
|
14788
|
+
|
|
14789
|
+
|
|
14790
|
+
def _deserialize(self, params):
|
|
14791
|
+
self._ZoneId = params.get("ZoneId")
|
|
14792
|
+
self._TemplateIds = params.get("TemplateIds")
|
|
14793
|
+
memeber_set = set(params.keys())
|
|
14794
|
+
for name, value in vars(self).items():
|
|
14795
|
+
property_name = name[1:]
|
|
14796
|
+
if property_name in memeber_set:
|
|
14797
|
+
memeber_set.remove(property_name)
|
|
14798
|
+
if len(memeber_set) > 0:
|
|
14799
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
14800
|
+
|
|
14801
|
+
|
|
14802
|
+
|
|
14803
|
+
class DeleteJustInTimeTranscodeTemplatesResponse(AbstractModel):
|
|
14804
|
+
"""DeleteJustInTimeTranscodeTemplates返回参数结构体
|
|
14805
|
+
|
|
14806
|
+
"""
|
|
14807
|
+
|
|
14808
|
+
def __init__(self):
|
|
14809
|
+
r"""
|
|
14810
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14811
|
+
:type RequestId: str
|
|
14812
|
+
"""
|
|
14813
|
+
self._RequestId = None
|
|
14814
|
+
|
|
14815
|
+
@property
|
|
14816
|
+
def RequestId(self):
|
|
14817
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14818
|
+
:rtype: str
|
|
14819
|
+
"""
|
|
14820
|
+
return self._RequestId
|
|
14821
|
+
|
|
14822
|
+
@RequestId.setter
|
|
14823
|
+
def RequestId(self, RequestId):
|
|
14824
|
+
self._RequestId = RequestId
|
|
14825
|
+
|
|
14826
|
+
|
|
14827
|
+
def _deserialize(self, params):
|
|
14828
|
+
self._RequestId = params.get("RequestId")
|
|
14829
|
+
|
|
14830
|
+
|
|
13797
14831
|
class DeleteL4ProxyRequest(AbstractModel):
|
|
13798
14832
|
"""DeleteL4Proxy请求参数结构体
|
|
13799
14833
|
|
|
@@ -14535,24 +15569,24 @@ class DeleteRulesResponse(AbstractModel):
|
|
|
14535
15569
|
self._RequestId = params.get("RequestId")
|
|
14536
15570
|
|
|
14537
15571
|
|
|
14538
|
-
class
|
|
14539
|
-
"""
|
|
15572
|
+
class DeleteSecurityAPIResourceRequest(AbstractModel):
|
|
15573
|
+
"""DeleteSecurityAPIResource请求参数结构体
|
|
14540
15574
|
|
|
14541
15575
|
"""
|
|
14542
15576
|
|
|
14543
15577
|
def __init__(self):
|
|
14544
15578
|
r"""
|
|
14545
|
-
:param _ZoneId: 站点
|
|
15579
|
+
:param _ZoneId: 站点 ID。
|
|
14546
15580
|
:type ZoneId: str
|
|
14547
|
-
:param
|
|
14548
|
-
:type
|
|
15581
|
+
:param _APIResourceIds: 需要删除的 API 资源 ID 列表。
|
|
15582
|
+
:type APIResourceIds: list of str
|
|
14549
15583
|
"""
|
|
14550
15584
|
self._ZoneId = None
|
|
14551
|
-
self.
|
|
15585
|
+
self._APIResourceIds = None
|
|
14552
15586
|
|
|
14553
15587
|
@property
|
|
14554
15588
|
def ZoneId(self):
|
|
14555
|
-
"""站点
|
|
15589
|
+
"""站点 ID。
|
|
14556
15590
|
:rtype: str
|
|
14557
15591
|
"""
|
|
14558
15592
|
return self._ZoneId
|
|
@@ -14562,20 +15596,20 @@ class DeleteSecurityIPGroupRequest(AbstractModel):
|
|
|
14562
15596
|
self._ZoneId = ZoneId
|
|
14563
15597
|
|
|
14564
15598
|
@property
|
|
14565
|
-
def
|
|
14566
|
-
"""
|
|
14567
|
-
:rtype:
|
|
15599
|
+
def APIResourceIds(self):
|
|
15600
|
+
"""需要删除的 API 资源 ID 列表。
|
|
15601
|
+
:rtype: list of str
|
|
14568
15602
|
"""
|
|
14569
|
-
return self.
|
|
15603
|
+
return self._APIResourceIds
|
|
14570
15604
|
|
|
14571
|
-
@
|
|
14572
|
-
def
|
|
14573
|
-
self.
|
|
15605
|
+
@APIResourceIds.setter
|
|
15606
|
+
def APIResourceIds(self, APIResourceIds):
|
|
15607
|
+
self._APIResourceIds = APIResourceIds
|
|
14574
15608
|
|
|
14575
15609
|
|
|
14576
15610
|
def _deserialize(self, params):
|
|
14577
15611
|
self._ZoneId = params.get("ZoneId")
|
|
14578
|
-
self.
|
|
15612
|
+
self._APIResourceIds = params.get("APIResourceIds")
|
|
14579
15613
|
memeber_set = set(params.keys())
|
|
14580
15614
|
for name, value in vars(self).items():
|
|
14581
15615
|
property_name = name[1:]
|
|
@@ -14586,8 +15620,8 @@ class DeleteSecurityIPGroupRequest(AbstractModel):
|
|
|
14586
15620
|
|
|
14587
15621
|
|
|
14588
15622
|
|
|
14589
|
-
class
|
|
14590
|
-
"""
|
|
15623
|
+
class DeleteSecurityAPIResourceResponse(AbstractModel):
|
|
15624
|
+
"""DeleteSecurityAPIResource返回参数结构体
|
|
14591
15625
|
|
|
14592
15626
|
"""
|
|
14593
15627
|
|
|
@@ -14614,24 +15648,24 @@ class DeleteSecurityIPGroupResponse(AbstractModel):
|
|
|
14614
15648
|
self._RequestId = params.get("RequestId")
|
|
14615
15649
|
|
|
14616
15650
|
|
|
14617
|
-
class
|
|
14618
|
-
"""
|
|
15651
|
+
class DeleteSecurityAPIServiceRequest(AbstractModel):
|
|
15652
|
+
"""DeleteSecurityAPIService请求参数结构体
|
|
14619
15653
|
|
|
14620
15654
|
"""
|
|
14621
15655
|
|
|
14622
15656
|
def __init__(self):
|
|
14623
15657
|
r"""
|
|
14624
|
-
:param _ZoneId:
|
|
15658
|
+
:param _ZoneId: 站点 ID。
|
|
14625
15659
|
:type ZoneId: str
|
|
14626
|
-
:param
|
|
14627
|
-
:type
|
|
15660
|
+
:param _APIServiceIds: API 服务 ID 列表。
|
|
15661
|
+
:type APIServiceIds: list of str
|
|
14628
15662
|
"""
|
|
14629
15663
|
self._ZoneId = None
|
|
14630
|
-
self.
|
|
15664
|
+
self._APIServiceIds = None
|
|
14631
15665
|
|
|
14632
15666
|
@property
|
|
14633
15667
|
def ZoneId(self):
|
|
14634
|
-
"""
|
|
15668
|
+
"""站点 ID。
|
|
14635
15669
|
:rtype: str
|
|
14636
15670
|
"""
|
|
14637
15671
|
return self._ZoneId
|
|
@@ -14641,20 +15675,20 @@ class DeleteSharedCNAMERequest(AbstractModel):
|
|
|
14641
15675
|
self._ZoneId = ZoneId
|
|
14642
15676
|
|
|
14643
15677
|
@property
|
|
14644
|
-
def
|
|
14645
|
-
"""
|
|
14646
|
-
:rtype: str
|
|
15678
|
+
def APIServiceIds(self):
|
|
15679
|
+
"""API 服务 ID 列表。
|
|
15680
|
+
:rtype: list of str
|
|
14647
15681
|
"""
|
|
14648
|
-
return self.
|
|
15682
|
+
return self._APIServiceIds
|
|
14649
15683
|
|
|
14650
|
-
@
|
|
14651
|
-
def
|
|
14652
|
-
self.
|
|
15684
|
+
@APIServiceIds.setter
|
|
15685
|
+
def APIServiceIds(self, APIServiceIds):
|
|
15686
|
+
self._APIServiceIds = APIServiceIds
|
|
14653
15687
|
|
|
14654
15688
|
|
|
14655
15689
|
def _deserialize(self, params):
|
|
14656
15690
|
self._ZoneId = params.get("ZoneId")
|
|
14657
|
-
self.
|
|
15691
|
+
self._APIServiceIds = params.get("APIServiceIds")
|
|
14658
15692
|
memeber_set = set(params.keys())
|
|
14659
15693
|
for name, value in vars(self).items():
|
|
14660
15694
|
property_name = name[1:]
|
|
@@ -14665,8 +15699,8 @@ class DeleteSharedCNAMERequest(AbstractModel):
|
|
|
14665
15699
|
|
|
14666
15700
|
|
|
14667
15701
|
|
|
14668
|
-
class
|
|
14669
|
-
"""
|
|
15702
|
+
class DeleteSecurityAPIServiceResponse(AbstractModel):
|
|
15703
|
+
"""DeleteSecurityAPIService返回参数结构体
|
|
14670
15704
|
|
|
14671
15705
|
"""
|
|
14672
15706
|
|
|
@@ -14693,24 +15727,24 @@ class DeleteSharedCNAMEResponse(AbstractModel):
|
|
|
14693
15727
|
self._RequestId = params.get("RequestId")
|
|
14694
15728
|
|
|
14695
15729
|
|
|
14696
|
-
class
|
|
14697
|
-
"""
|
|
15730
|
+
class DeleteSecurityClientAttesterRequest(AbstractModel):
|
|
15731
|
+
"""DeleteSecurityClientAttester请求参数结构体
|
|
14698
15732
|
|
|
14699
15733
|
"""
|
|
14700
15734
|
|
|
14701
15735
|
def __init__(self):
|
|
14702
15736
|
r"""
|
|
14703
|
-
:param _ZoneId: 站点 ID
|
|
15737
|
+
:param _ZoneId: 站点 ID。
|
|
14704
15738
|
:type ZoneId: str
|
|
14705
|
-
:param
|
|
14706
|
-
:type
|
|
15739
|
+
:param _ClientAttesterIds: 客户端认证选项 ID。
|
|
15740
|
+
:type ClientAttesterIds: list of str
|
|
14707
15741
|
"""
|
|
14708
15742
|
self._ZoneId = None
|
|
14709
|
-
self.
|
|
15743
|
+
self._ClientAttesterIds = None
|
|
14710
15744
|
|
|
14711
15745
|
@property
|
|
14712
15746
|
def ZoneId(self):
|
|
14713
|
-
"""站点 ID
|
|
15747
|
+
"""站点 ID。
|
|
14714
15748
|
:rtype: str
|
|
14715
15749
|
"""
|
|
14716
15750
|
return self._ZoneId
|
|
@@ -14720,20 +15754,99 @@ class DeleteWebSecurityTemplateRequest(AbstractModel):
|
|
|
14720
15754
|
self._ZoneId = ZoneId
|
|
14721
15755
|
|
|
14722
15756
|
@property
|
|
14723
|
-
def
|
|
14724
|
-
"""
|
|
15757
|
+
def ClientAttesterIds(self):
|
|
15758
|
+
"""客户端认证选项 ID。
|
|
15759
|
+
:rtype: list of str
|
|
15760
|
+
"""
|
|
15761
|
+
return self._ClientAttesterIds
|
|
15762
|
+
|
|
15763
|
+
@ClientAttesterIds.setter
|
|
15764
|
+
def ClientAttesterIds(self, ClientAttesterIds):
|
|
15765
|
+
self._ClientAttesterIds = ClientAttesterIds
|
|
15766
|
+
|
|
15767
|
+
|
|
15768
|
+
def _deserialize(self, params):
|
|
15769
|
+
self._ZoneId = params.get("ZoneId")
|
|
15770
|
+
self._ClientAttesterIds = params.get("ClientAttesterIds")
|
|
15771
|
+
memeber_set = set(params.keys())
|
|
15772
|
+
for name, value in vars(self).items():
|
|
15773
|
+
property_name = name[1:]
|
|
15774
|
+
if property_name in memeber_set:
|
|
15775
|
+
memeber_set.remove(property_name)
|
|
15776
|
+
if len(memeber_set) > 0:
|
|
15777
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15778
|
+
|
|
15779
|
+
|
|
15780
|
+
|
|
15781
|
+
class DeleteSecurityClientAttesterResponse(AbstractModel):
|
|
15782
|
+
"""DeleteSecurityClientAttester返回参数结构体
|
|
15783
|
+
|
|
15784
|
+
"""
|
|
15785
|
+
|
|
15786
|
+
def __init__(self):
|
|
15787
|
+
r"""
|
|
15788
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15789
|
+
:type RequestId: str
|
|
15790
|
+
"""
|
|
15791
|
+
self._RequestId = None
|
|
15792
|
+
|
|
15793
|
+
@property
|
|
15794
|
+
def RequestId(self):
|
|
15795
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
14725
15796
|
:rtype: str
|
|
14726
15797
|
"""
|
|
14727
|
-
return self.
|
|
15798
|
+
return self._RequestId
|
|
14728
15799
|
|
|
14729
|
-
@
|
|
14730
|
-
def
|
|
14731
|
-
self.
|
|
15800
|
+
@RequestId.setter
|
|
15801
|
+
def RequestId(self, RequestId):
|
|
15802
|
+
self._RequestId = RequestId
|
|
15803
|
+
|
|
15804
|
+
|
|
15805
|
+
def _deserialize(self, params):
|
|
15806
|
+
self._RequestId = params.get("RequestId")
|
|
15807
|
+
|
|
15808
|
+
|
|
15809
|
+
class DeleteSecurityIPGroupRequest(AbstractModel):
|
|
15810
|
+
"""DeleteSecurityIPGroup请求参数结构体
|
|
15811
|
+
|
|
15812
|
+
"""
|
|
15813
|
+
|
|
15814
|
+
def __init__(self):
|
|
15815
|
+
r"""
|
|
15816
|
+
:param _ZoneId: 站点 Id。
|
|
15817
|
+
:type ZoneId: str
|
|
15818
|
+
:param _GroupId: IP 组 Id。
|
|
15819
|
+
:type GroupId: int
|
|
15820
|
+
"""
|
|
15821
|
+
self._ZoneId = None
|
|
15822
|
+
self._GroupId = None
|
|
15823
|
+
|
|
15824
|
+
@property
|
|
15825
|
+
def ZoneId(self):
|
|
15826
|
+
"""站点 Id。
|
|
15827
|
+
:rtype: str
|
|
15828
|
+
"""
|
|
15829
|
+
return self._ZoneId
|
|
15830
|
+
|
|
15831
|
+
@ZoneId.setter
|
|
15832
|
+
def ZoneId(self, ZoneId):
|
|
15833
|
+
self._ZoneId = ZoneId
|
|
15834
|
+
|
|
15835
|
+
@property
|
|
15836
|
+
def GroupId(self):
|
|
15837
|
+
"""IP 组 Id。
|
|
15838
|
+
:rtype: int
|
|
15839
|
+
"""
|
|
15840
|
+
return self._GroupId
|
|
15841
|
+
|
|
15842
|
+
@GroupId.setter
|
|
15843
|
+
def GroupId(self, GroupId):
|
|
15844
|
+
self._GroupId = GroupId
|
|
14732
15845
|
|
|
14733
15846
|
|
|
14734
15847
|
def _deserialize(self, params):
|
|
14735
15848
|
self._ZoneId = params.get("ZoneId")
|
|
14736
|
-
self.
|
|
15849
|
+
self._GroupId = params.get("GroupId")
|
|
14737
15850
|
memeber_set = set(params.keys())
|
|
14738
15851
|
for name, value in vars(self).items():
|
|
14739
15852
|
property_name = name[1:]
|
|
@@ -14744,8 +15857,245 @@ class DeleteWebSecurityTemplateRequest(AbstractModel):
|
|
|
14744
15857
|
|
|
14745
15858
|
|
|
14746
15859
|
|
|
14747
|
-
class
|
|
14748
|
-
"""
|
|
15860
|
+
class DeleteSecurityIPGroupResponse(AbstractModel):
|
|
15861
|
+
"""DeleteSecurityIPGroup返回参数结构体
|
|
15862
|
+
|
|
15863
|
+
"""
|
|
15864
|
+
|
|
15865
|
+
def __init__(self):
|
|
15866
|
+
r"""
|
|
15867
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15868
|
+
:type RequestId: str
|
|
15869
|
+
"""
|
|
15870
|
+
self._RequestId = None
|
|
15871
|
+
|
|
15872
|
+
@property
|
|
15873
|
+
def RequestId(self):
|
|
15874
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15875
|
+
:rtype: str
|
|
15876
|
+
"""
|
|
15877
|
+
return self._RequestId
|
|
15878
|
+
|
|
15879
|
+
@RequestId.setter
|
|
15880
|
+
def RequestId(self, RequestId):
|
|
15881
|
+
self._RequestId = RequestId
|
|
15882
|
+
|
|
15883
|
+
|
|
15884
|
+
def _deserialize(self, params):
|
|
15885
|
+
self._RequestId = params.get("RequestId")
|
|
15886
|
+
|
|
15887
|
+
|
|
15888
|
+
class DeleteSecurityJSInjectionRuleRequest(AbstractModel):
|
|
15889
|
+
"""DeleteSecurityJSInjectionRule请求参数结构体
|
|
15890
|
+
|
|
15891
|
+
"""
|
|
15892
|
+
|
|
15893
|
+
def __init__(self):
|
|
15894
|
+
r"""
|
|
15895
|
+
:param _ZoneId: 站点 ID。
|
|
15896
|
+
:type ZoneId: str
|
|
15897
|
+
:param _JSInjectionRuleIds: JavaScript 注入规则 ID 列表。
|
|
15898
|
+
:type JSInjectionRuleIds: list of str
|
|
15899
|
+
"""
|
|
15900
|
+
self._ZoneId = None
|
|
15901
|
+
self._JSInjectionRuleIds = None
|
|
15902
|
+
|
|
15903
|
+
@property
|
|
15904
|
+
def ZoneId(self):
|
|
15905
|
+
"""站点 ID。
|
|
15906
|
+
:rtype: str
|
|
15907
|
+
"""
|
|
15908
|
+
return self._ZoneId
|
|
15909
|
+
|
|
15910
|
+
@ZoneId.setter
|
|
15911
|
+
def ZoneId(self, ZoneId):
|
|
15912
|
+
self._ZoneId = ZoneId
|
|
15913
|
+
|
|
15914
|
+
@property
|
|
15915
|
+
def JSInjectionRuleIds(self):
|
|
15916
|
+
"""JavaScript 注入规则 ID 列表。
|
|
15917
|
+
:rtype: list of str
|
|
15918
|
+
"""
|
|
15919
|
+
return self._JSInjectionRuleIds
|
|
15920
|
+
|
|
15921
|
+
@JSInjectionRuleIds.setter
|
|
15922
|
+
def JSInjectionRuleIds(self, JSInjectionRuleIds):
|
|
15923
|
+
self._JSInjectionRuleIds = JSInjectionRuleIds
|
|
15924
|
+
|
|
15925
|
+
|
|
15926
|
+
def _deserialize(self, params):
|
|
15927
|
+
self._ZoneId = params.get("ZoneId")
|
|
15928
|
+
self._JSInjectionRuleIds = params.get("JSInjectionRuleIds")
|
|
15929
|
+
memeber_set = set(params.keys())
|
|
15930
|
+
for name, value in vars(self).items():
|
|
15931
|
+
property_name = name[1:]
|
|
15932
|
+
if property_name in memeber_set:
|
|
15933
|
+
memeber_set.remove(property_name)
|
|
15934
|
+
if len(memeber_set) > 0:
|
|
15935
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
15936
|
+
|
|
15937
|
+
|
|
15938
|
+
|
|
15939
|
+
class DeleteSecurityJSInjectionRuleResponse(AbstractModel):
|
|
15940
|
+
"""DeleteSecurityJSInjectionRule返回参数结构体
|
|
15941
|
+
|
|
15942
|
+
"""
|
|
15943
|
+
|
|
15944
|
+
def __init__(self):
|
|
15945
|
+
r"""
|
|
15946
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15947
|
+
:type RequestId: str
|
|
15948
|
+
"""
|
|
15949
|
+
self._RequestId = None
|
|
15950
|
+
|
|
15951
|
+
@property
|
|
15952
|
+
def RequestId(self):
|
|
15953
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
15954
|
+
:rtype: str
|
|
15955
|
+
"""
|
|
15956
|
+
return self._RequestId
|
|
15957
|
+
|
|
15958
|
+
@RequestId.setter
|
|
15959
|
+
def RequestId(self, RequestId):
|
|
15960
|
+
self._RequestId = RequestId
|
|
15961
|
+
|
|
15962
|
+
|
|
15963
|
+
def _deserialize(self, params):
|
|
15964
|
+
self._RequestId = params.get("RequestId")
|
|
15965
|
+
|
|
15966
|
+
|
|
15967
|
+
class DeleteSharedCNAMERequest(AbstractModel):
|
|
15968
|
+
"""DeleteSharedCNAME请求参数结构体
|
|
15969
|
+
|
|
15970
|
+
"""
|
|
15971
|
+
|
|
15972
|
+
def __init__(self):
|
|
15973
|
+
r"""
|
|
15974
|
+
:param _ZoneId: 共享 CNAME 所属站点 ID。
|
|
15975
|
+
:type ZoneId: str
|
|
15976
|
+
:param _SharedCNAME: 需要删除的共享 CNAME。
|
|
15977
|
+
:type SharedCNAME: str
|
|
15978
|
+
"""
|
|
15979
|
+
self._ZoneId = None
|
|
15980
|
+
self._SharedCNAME = None
|
|
15981
|
+
|
|
15982
|
+
@property
|
|
15983
|
+
def ZoneId(self):
|
|
15984
|
+
"""共享 CNAME 所属站点 ID。
|
|
15985
|
+
:rtype: str
|
|
15986
|
+
"""
|
|
15987
|
+
return self._ZoneId
|
|
15988
|
+
|
|
15989
|
+
@ZoneId.setter
|
|
15990
|
+
def ZoneId(self, ZoneId):
|
|
15991
|
+
self._ZoneId = ZoneId
|
|
15992
|
+
|
|
15993
|
+
@property
|
|
15994
|
+
def SharedCNAME(self):
|
|
15995
|
+
"""需要删除的共享 CNAME。
|
|
15996
|
+
:rtype: str
|
|
15997
|
+
"""
|
|
15998
|
+
return self._SharedCNAME
|
|
15999
|
+
|
|
16000
|
+
@SharedCNAME.setter
|
|
16001
|
+
def SharedCNAME(self, SharedCNAME):
|
|
16002
|
+
self._SharedCNAME = SharedCNAME
|
|
16003
|
+
|
|
16004
|
+
|
|
16005
|
+
def _deserialize(self, params):
|
|
16006
|
+
self._ZoneId = params.get("ZoneId")
|
|
16007
|
+
self._SharedCNAME = params.get("SharedCNAME")
|
|
16008
|
+
memeber_set = set(params.keys())
|
|
16009
|
+
for name, value in vars(self).items():
|
|
16010
|
+
property_name = name[1:]
|
|
16011
|
+
if property_name in memeber_set:
|
|
16012
|
+
memeber_set.remove(property_name)
|
|
16013
|
+
if len(memeber_set) > 0:
|
|
16014
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16015
|
+
|
|
16016
|
+
|
|
16017
|
+
|
|
16018
|
+
class DeleteSharedCNAMEResponse(AbstractModel):
|
|
16019
|
+
"""DeleteSharedCNAME返回参数结构体
|
|
16020
|
+
|
|
16021
|
+
"""
|
|
16022
|
+
|
|
16023
|
+
def __init__(self):
|
|
16024
|
+
r"""
|
|
16025
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16026
|
+
:type RequestId: str
|
|
16027
|
+
"""
|
|
16028
|
+
self._RequestId = None
|
|
16029
|
+
|
|
16030
|
+
@property
|
|
16031
|
+
def RequestId(self):
|
|
16032
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
16033
|
+
:rtype: str
|
|
16034
|
+
"""
|
|
16035
|
+
return self._RequestId
|
|
16036
|
+
|
|
16037
|
+
@RequestId.setter
|
|
16038
|
+
def RequestId(self, RequestId):
|
|
16039
|
+
self._RequestId = RequestId
|
|
16040
|
+
|
|
16041
|
+
|
|
16042
|
+
def _deserialize(self, params):
|
|
16043
|
+
self._RequestId = params.get("RequestId")
|
|
16044
|
+
|
|
16045
|
+
|
|
16046
|
+
class DeleteWebSecurityTemplateRequest(AbstractModel):
|
|
16047
|
+
"""DeleteWebSecurityTemplate请求参数结构体
|
|
16048
|
+
|
|
16049
|
+
"""
|
|
16050
|
+
|
|
16051
|
+
def __init__(self):
|
|
16052
|
+
r"""
|
|
16053
|
+
:param _ZoneId: 站点 ID。需要传入目标策略模板在访问权限上归属的站点,可使用 DescribeWebSecurityTemplates 接口查询策略模板归属的站点。
|
|
16054
|
+
:type ZoneId: str
|
|
16055
|
+
:param _TemplateId: 策略模板 ID。
|
|
16056
|
+
:type TemplateId: str
|
|
16057
|
+
"""
|
|
16058
|
+
self._ZoneId = None
|
|
16059
|
+
self._TemplateId = None
|
|
16060
|
+
|
|
16061
|
+
@property
|
|
16062
|
+
def ZoneId(self):
|
|
16063
|
+
"""站点 ID。需要传入目标策略模板在访问权限上归属的站点,可使用 DescribeWebSecurityTemplates 接口查询策略模板归属的站点。
|
|
16064
|
+
:rtype: str
|
|
16065
|
+
"""
|
|
16066
|
+
return self._ZoneId
|
|
16067
|
+
|
|
16068
|
+
@ZoneId.setter
|
|
16069
|
+
def ZoneId(self, ZoneId):
|
|
16070
|
+
self._ZoneId = ZoneId
|
|
16071
|
+
|
|
16072
|
+
@property
|
|
16073
|
+
def TemplateId(self):
|
|
16074
|
+
"""策略模板 ID。
|
|
16075
|
+
:rtype: str
|
|
16076
|
+
"""
|
|
16077
|
+
return self._TemplateId
|
|
16078
|
+
|
|
16079
|
+
@TemplateId.setter
|
|
16080
|
+
def TemplateId(self, TemplateId):
|
|
16081
|
+
self._TemplateId = TemplateId
|
|
16082
|
+
|
|
16083
|
+
|
|
16084
|
+
def _deserialize(self, params):
|
|
16085
|
+
self._ZoneId = params.get("ZoneId")
|
|
16086
|
+
self._TemplateId = params.get("TemplateId")
|
|
16087
|
+
memeber_set = set(params.keys())
|
|
16088
|
+
for name, value in vars(self).items():
|
|
16089
|
+
property_name = name[1:]
|
|
16090
|
+
if property_name in memeber_set:
|
|
16091
|
+
memeber_set.remove(property_name)
|
|
16092
|
+
if len(memeber_set) > 0:
|
|
16093
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
16094
|
+
|
|
16095
|
+
|
|
16096
|
+
|
|
16097
|
+
class DeleteWebSecurityTemplateResponse(AbstractModel):
|
|
16098
|
+
"""DeleteWebSecurityTemplate返回参数结构体
|
|
14749
16099
|
|
|
14750
16100
|
"""
|
|
14751
16101
|
|
|
@@ -18860,34 +20210,36 @@ class DescribeIdentificationsResponse(AbstractModel):
|
|
|
18860
20210
|
self._RequestId = params.get("RequestId")
|
|
18861
20211
|
|
|
18862
20212
|
|
|
18863
|
-
class
|
|
18864
|
-
"""
|
|
20213
|
+
class DescribeJustInTimeTranscodeTemplatesRequest(AbstractModel):
|
|
20214
|
+
"""DescribeJustInTimeTranscodeTemplates请求参数结构体
|
|
18865
20215
|
|
|
18866
20216
|
"""
|
|
18867
20217
|
|
|
18868
20218
|
def __init__(self):
|
|
18869
20219
|
r"""
|
|
18870
|
-
:param _ZoneId:
|
|
20220
|
+
:param _ZoneId: 站点ID。
|
|
18871
20221
|
:type ZoneId: str
|
|
18872
|
-
:param
|
|
20222
|
+
:param _Filters: 过滤条件,Filters 的上限为 20,Filters.Values 的上限为 20。该参数不填写时,默认返回当前 ZoneId 下有权限的即时转码模板。详细的过滤条件如下:<li>template-name:按照模版名批量进行过滤。例如:mytemplate;</li><li>template-type:按照模板类型批量进行过滤。例如:preset 或 custom。</li><li>template-id:按照模板 ID 批量进行过滤。例如:C1LZ7982VgTpYhJ7M。</li>默认为空。
|
|
20223
|
+
:type Filters: list of Filter
|
|
20224
|
+
:param _SortBy: 排序字段,取值有:<li>createTime:模板创建时间。</li>默认值为:createTime。
|
|
20225
|
+
:type SortBy: str
|
|
20226
|
+
:param _SortOrder: 排序方式,取值有:<li>asc:升序方式;</li><li>desc:降序方式。</li>默认值为:desc。
|
|
20227
|
+
:type SortOrder: str
|
|
20228
|
+
:param _Offset: 分页偏移量,默认值:0。
|
|
18873
20229
|
:type Offset: int
|
|
18874
|
-
:param _Limit:
|
|
20230
|
+
:param _Limit: 返回记录条数,默认值:20,最大值:1000。
|
|
18875
20231
|
:type Limit: int
|
|
18876
|
-
:param _Filters: 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 zone-id 下所有四层代理实例信息。详细的过滤条件如下:
|
|
18877
|
-
<li>proxy-id:按照四层代理实例 ID 进行过滤;</li>
|
|
18878
|
-
<li>ddos-protection-type:按照安全防护类型进行过滤。</li>
|
|
18879
|
-
|
|
18880
|
-
|
|
18881
|
-
:type Filters: list of Filter
|
|
18882
20232
|
"""
|
|
18883
20233
|
self._ZoneId = None
|
|
20234
|
+
self._Filters = None
|
|
20235
|
+
self._SortBy = None
|
|
20236
|
+
self._SortOrder = None
|
|
18884
20237
|
self._Offset = None
|
|
18885
20238
|
self._Limit = None
|
|
18886
|
-
self._Filters = None
|
|
18887
20239
|
|
|
18888
20240
|
@property
|
|
18889
20241
|
def ZoneId(self):
|
|
18890
|
-
"""
|
|
20242
|
+
"""站点ID。
|
|
18891
20243
|
:rtype: str
|
|
18892
20244
|
"""
|
|
18893
20245
|
return self._ZoneId
|
|
@@ -18896,9 +20248,42 @@ class DescribeL4ProxyRequest(AbstractModel):
|
|
|
18896
20248
|
def ZoneId(self, ZoneId):
|
|
18897
20249
|
self._ZoneId = ZoneId
|
|
18898
20250
|
|
|
20251
|
+
@property
|
|
20252
|
+
def Filters(self):
|
|
20253
|
+
"""过滤条件,Filters 的上限为 20,Filters.Values 的上限为 20。该参数不填写时,默认返回当前 ZoneId 下有权限的即时转码模板。详细的过滤条件如下:<li>template-name:按照模版名批量进行过滤。例如:mytemplate;</li><li>template-type:按照模板类型批量进行过滤。例如:preset 或 custom。</li><li>template-id:按照模板 ID 批量进行过滤。例如:C1LZ7982VgTpYhJ7M。</li>默认为空。
|
|
20254
|
+
:rtype: list of Filter
|
|
20255
|
+
"""
|
|
20256
|
+
return self._Filters
|
|
20257
|
+
|
|
20258
|
+
@Filters.setter
|
|
20259
|
+
def Filters(self, Filters):
|
|
20260
|
+
self._Filters = Filters
|
|
20261
|
+
|
|
20262
|
+
@property
|
|
20263
|
+
def SortBy(self):
|
|
20264
|
+
"""排序字段,取值有:<li>createTime:模板创建时间。</li>默认值为:createTime。
|
|
20265
|
+
:rtype: str
|
|
20266
|
+
"""
|
|
20267
|
+
return self._SortBy
|
|
20268
|
+
|
|
20269
|
+
@SortBy.setter
|
|
20270
|
+
def SortBy(self, SortBy):
|
|
20271
|
+
self._SortBy = SortBy
|
|
20272
|
+
|
|
20273
|
+
@property
|
|
20274
|
+
def SortOrder(self):
|
|
20275
|
+
"""排序方式,取值有:<li>asc:升序方式;</li><li>desc:降序方式。</li>默认值为:desc。
|
|
20276
|
+
:rtype: str
|
|
20277
|
+
"""
|
|
20278
|
+
return self._SortOrder
|
|
20279
|
+
|
|
20280
|
+
@SortOrder.setter
|
|
20281
|
+
def SortOrder(self, SortOrder):
|
|
20282
|
+
self._SortOrder = SortOrder
|
|
20283
|
+
|
|
18899
20284
|
@property
|
|
18900
20285
|
def Offset(self):
|
|
18901
|
-
"""
|
|
20286
|
+
"""分页偏移量,默认值:0。
|
|
18902
20287
|
:rtype: int
|
|
18903
20288
|
"""
|
|
18904
20289
|
return self._Offset
|
|
@@ -18909,7 +20294,7 @@ class DescribeL4ProxyRequest(AbstractModel):
|
|
|
18909
20294
|
|
|
18910
20295
|
@property
|
|
18911
20296
|
def Limit(self):
|
|
18912
|
-
"""
|
|
20297
|
+
"""返回记录条数,默认值:20,最大值:1000。
|
|
18913
20298
|
:rtype: int
|
|
18914
20299
|
"""
|
|
18915
20300
|
return self._Limit
|
|
@@ -18918,32 +20303,19 @@ class DescribeL4ProxyRequest(AbstractModel):
|
|
|
18918
20303
|
def Limit(self, Limit):
|
|
18919
20304
|
self._Limit = Limit
|
|
18920
20305
|
|
|
18921
|
-
@property
|
|
18922
|
-
def Filters(self):
|
|
18923
|
-
"""过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 zone-id 下所有四层代理实例信息。详细的过滤条件如下:
|
|
18924
|
-
<li>proxy-id:按照四层代理实例 ID 进行过滤;</li>
|
|
18925
|
-
<li>ddos-protection-type:按照安全防护类型进行过滤。</li>
|
|
18926
|
-
|
|
18927
|
-
|
|
18928
|
-
:rtype: list of Filter
|
|
18929
|
-
"""
|
|
18930
|
-
return self._Filters
|
|
18931
|
-
|
|
18932
|
-
@Filters.setter
|
|
18933
|
-
def Filters(self, Filters):
|
|
18934
|
-
self._Filters = Filters
|
|
18935
|
-
|
|
18936
20306
|
|
|
18937
20307
|
def _deserialize(self, params):
|
|
18938
20308
|
self._ZoneId = params.get("ZoneId")
|
|
18939
|
-
self._Offset = params.get("Offset")
|
|
18940
|
-
self._Limit = params.get("Limit")
|
|
18941
20309
|
if params.get("Filters") is not None:
|
|
18942
20310
|
self._Filters = []
|
|
18943
20311
|
for item in params.get("Filters"):
|
|
18944
20312
|
obj = Filter()
|
|
18945
20313
|
obj._deserialize(item)
|
|
18946
20314
|
self._Filters.append(obj)
|
|
20315
|
+
self._SortBy = params.get("SortBy")
|
|
20316
|
+
self._SortOrder = params.get("SortOrder")
|
|
20317
|
+
self._Offset = params.get("Offset")
|
|
20318
|
+
self._Limit = params.get("Limit")
|
|
18947
20319
|
memeber_set = set(params.keys())
|
|
18948
20320
|
for name, value in vars(self).items():
|
|
18949
20321
|
property_name = name[1:]
|
|
@@ -18954,27 +20326,27 @@ class DescribeL4ProxyRequest(AbstractModel):
|
|
|
18954
20326
|
|
|
18955
20327
|
|
|
18956
20328
|
|
|
18957
|
-
class
|
|
18958
|
-
"""
|
|
20329
|
+
class DescribeJustInTimeTranscodeTemplatesResponse(AbstractModel):
|
|
20330
|
+
"""DescribeJustInTimeTranscodeTemplates返回参数结构体
|
|
18959
20331
|
|
|
18960
20332
|
"""
|
|
18961
20333
|
|
|
18962
20334
|
def __init__(self):
|
|
18963
20335
|
r"""
|
|
18964
|
-
:param _TotalCount:
|
|
20336
|
+
:param _TotalCount: 符合过滤条件的记录总数。
|
|
18965
20337
|
:type TotalCount: int
|
|
18966
|
-
:param
|
|
18967
|
-
:type
|
|
20338
|
+
:param _TemplateSet: 模板详情列表。
|
|
20339
|
+
:type TemplateSet: list of JustInTimeTranscodeTemplate
|
|
18968
20340
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
18969
20341
|
:type RequestId: str
|
|
18970
20342
|
"""
|
|
18971
20343
|
self._TotalCount = None
|
|
18972
|
-
self.
|
|
20344
|
+
self._TemplateSet = None
|
|
18973
20345
|
self._RequestId = None
|
|
18974
20346
|
|
|
18975
20347
|
@property
|
|
18976
20348
|
def TotalCount(self):
|
|
18977
|
-
"""
|
|
20349
|
+
"""符合过滤条件的记录总数。
|
|
18978
20350
|
:rtype: int
|
|
18979
20351
|
"""
|
|
18980
20352
|
return self._TotalCount
|
|
@@ -18984,15 +20356,15 @@ class DescribeL4ProxyResponse(AbstractModel):
|
|
|
18984
20356
|
self._TotalCount = TotalCount
|
|
18985
20357
|
|
|
18986
20358
|
@property
|
|
18987
|
-
def
|
|
18988
|
-
"""
|
|
18989
|
-
:rtype: list of
|
|
20359
|
+
def TemplateSet(self):
|
|
20360
|
+
"""模板详情列表。
|
|
20361
|
+
:rtype: list of JustInTimeTranscodeTemplate
|
|
18990
20362
|
"""
|
|
18991
|
-
return self.
|
|
20363
|
+
return self._TemplateSet
|
|
18992
20364
|
|
|
18993
|
-
@
|
|
18994
|
-
def
|
|
18995
|
-
self.
|
|
20365
|
+
@TemplateSet.setter
|
|
20366
|
+
def TemplateSet(self, TemplateSet):
|
|
20367
|
+
self._TemplateSet = TemplateSet
|
|
18996
20368
|
|
|
18997
20369
|
@property
|
|
18998
20370
|
def RequestId(self):
|
|
@@ -19008,42 +20380,43 @@ class DescribeL4ProxyResponse(AbstractModel):
|
|
|
19008
20380
|
|
|
19009
20381
|
def _deserialize(self, params):
|
|
19010
20382
|
self._TotalCount = params.get("TotalCount")
|
|
19011
|
-
if params.get("
|
|
19012
|
-
self.
|
|
19013
|
-
for item in params.get("
|
|
19014
|
-
obj =
|
|
20383
|
+
if params.get("TemplateSet") is not None:
|
|
20384
|
+
self._TemplateSet = []
|
|
20385
|
+
for item in params.get("TemplateSet"):
|
|
20386
|
+
obj = JustInTimeTranscodeTemplate()
|
|
19015
20387
|
obj._deserialize(item)
|
|
19016
|
-
self.
|
|
20388
|
+
self._TemplateSet.append(obj)
|
|
19017
20389
|
self._RequestId = params.get("RequestId")
|
|
19018
20390
|
|
|
19019
20391
|
|
|
19020
|
-
class
|
|
19021
|
-
"""
|
|
20392
|
+
class DescribeL4ProxyRequest(AbstractModel):
|
|
20393
|
+
"""DescribeL4Proxy请求参数结构体
|
|
19022
20394
|
|
|
19023
20395
|
"""
|
|
19024
20396
|
|
|
19025
20397
|
def __init__(self):
|
|
19026
20398
|
r"""
|
|
19027
|
-
:param _ZoneId:
|
|
20399
|
+
:param _ZoneId: 四层代理实例所属站点的 ID。
|
|
19028
20400
|
:type ZoneId: str
|
|
19029
|
-
:param
|
|
19030
|
-
:type ProxyId: str
|
|
19031
|
-
:param _Offset: 分页查询偏移量,不填写时默认为 0。
|
|
20401
|
+
:param _Offset: 分页查询偏移量,不填写时默认为 0。
|
|
19032
20402
|
:type Offset: int
|
|
19033
20403
|
:param _Limit: 分页查询限制数目。默认值:20,最大值:1000。
|
|
19034
20404
|
:type Limit: int
|
|
19035
|
-
:param _Filters: 过滤条件,Filters.Values的上限为20
|
|
20405
|
+
:param _Filters: 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 zone-id 下所有四层代理实例信息。详细的过滤条件如下:
|
|
20406
|
+
<li>proxy-id:按照四层代理实例 ID 进行过滤;</li>
|
|
20407
|
+
<li>ddos-protection-type:按照安全防护类型进行过滤。</li>
|
|
20408
|
+
|
|
20409
|
+
|
|
19036
20410
|
:type Filters: list of Filter
|
|
19037
20411
|
"""
|
|
19038
20412
|
self._ZoneId = None
|
|
19039
|
-
self._ProxyId = None
|
|
19040
20413
|
self._Offset = None
|
|
19041
20414
|
self._Limit = None
|
|
19042
20415
|
self._Filters = None
|
|
19043
20416
|
|
|
19044
20417
|
@property
|
|
19045
20418
|
def ZoneId(self):
|
|
19046
|
-
"""
|
|
20419
|
+
"""四层代理实例所属站点的 ID。
|
|
19047
20420
|
:rtype: str
|
|
19048
20421
|
"""
|
|
19049
20422
|
return self._ZoneId
|
|
@@ -19052,20 +20425,176 @@ class DescribeL4ProxyRulesRequest(AbstractModel):
|
|
|
19052
20425
|
def ZoneId(self, ZoneId):
|
|
19053
20426
|
self._ZoneId = ZoneId
|
|
19054
20427
|
|
|
19055
|
-
@property
|
|
19056
|
-
def ProxyId(self):
|
|
19057
|
-
"""四层代理实例 ID。
|
|
19058
|
-
:rtype: str
|
|
19059
|
-
"""
|
|
19060
|
-
return self._ProxyId
|
|
19061
|
-
|
|
19062
|
-
@ProxyId.setter
|
|
19063
|
-
def ProxyId(self, ProxyId):
|
|
19064
|
-
self._ProxyId = ProxyId
|
|
19065
|
-
|
|
19066
20428
|
@property
|
|
19067
20429
|
def Offset(self):
|
|
19068
|
-
"""分页查询偏移量,不填写时默认为 0。
|
|
20430
|
+
"""分页查询偏移量,不填写时默认为 0。
|
|
20431
|
+
:rtype: int
|
|
20432
|
+
"""
|
|
20433
|
+
return self._Offset
|
|
20434
|
+
|
|
20435
|
+
@Offset.setter
|
|
20436
|
+
def Offset(self, Offset):
|
|
20437
|
+
self._Offset = Offset
|
|
20438
|
+
|
|
20439
|
+
@property
|
|
20440
|
+
def Limit(self):
|
|
20441
|
+
"""分页查询限制数目。默认值:20,最大值:1000。
|
|
20442
|
+
:rtype: int
|
|
20443
|
+
"""
|
|
20444
|
+
return self._Limit
|
|
20445
|
+
|
|
20446
|
+
@Limit.setter
|
|
20447
|
+
def Limit(self, Limit):
|
|
20448
|
+
self._Limit = Limit
|
|
20449
|
+
|
|
20450
|
+
@property
|
|
20451
|
+
def Filters(self):
|
|
20452
|
+
"""过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 zone-id 下所有四层代理实例信息。详细的过滤条件如下:
|
|
20453
|
+
<li>proxy-id:按照四层代理实例 ID 进行过滤;</li>
|
|
20454
|
+
<li>ddos-protection-type:按照安全防护类型进行过滤。</li>
|
|
20455
|
+
|
|
20456
|
+
|
|
20457
|
+
:rtype: list of Filter
|
|
20458
|
+
"""
|
|
20459
|
+
return self._Filters
|
|
20460
|
+
|
|
20461
|
+
@Filters.setter
|
|
20462
|
+
def Filters(self, Filters):
|
|
20463
|
+
self._Filters = Filters
|
|
20464
|
+
|
|
20465
|
+
|
|
20466
|
+
def _deserialize(self, params):
|
|
20467
|
+
self._ZoneId = params.get("ZoneId")
|
|
20468
|
+
self._Offset = params.get("Offset")
|
|
20469
|
+
self._Limit = params.get("Limit")
|
|
20470
|
+
if params.get("Filters") is not None:
|
|
20471
|
+
self._Filters = []
|
|
20472
|
+
for item in params.get("Filters"):
|
|
20473
|
+
obj = Filter()
|
|
20474
|
+
obj._deserialize(item)
|
|
20475
|
+
self._Filters.append(obj)
|
|
20476
|
+
memeber_set = set(params.keys())
|
|
20477
|
+
for name, value in vars(self).items():
|
|
20478
|
+
property_name = name[1:]
|
|
20479
|
+
if property_name in memeber_set:
|
|
20480
|
+
memeber_set.remove(property_name)
|
|
20481
|
+
if len(memeber_set) > 0:
|
|
20482
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
20483
|
+
|
|
20484
|
+
|
|
20485
|
+
|
|
20486
|
+
class DescribeL4ProxyResponse(AbstractModel):
|
|
20487
|
+
"""DescribeL4Proxy返回参数结构体
|
|
20488
|
+
|
|
20489
|
+
"""
|
|
20490
|
+
|
|
20491
|
+
def __init__(self):
|
|
20492
|
+
r"""
|
|
20493
|
+
:param _TotalCount: 四层代理实例的数量。
|
|
20494
|
+
:type TotalCount: int
|
|
20495
|
+
:param _L4Proxies: 四层代理实例列表。
|
|
20496
|
+
:type L4Proxies: list of L4Proxy
|
|
20497
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20498
|
+
:type RequestId: str
|
|
20499
|
+
"""
|
|
20500
|
+
self._TotalCount = None
|
|
20501
|
+
self._L4Proxies = None
|
|
20502
|
+
self._RequestId = None
|
|
20503
|
+
|
|
20504
|
+
@property
|
|
20505
|
+
def TotalCount(self):
|
|
20506
|
+
"""四层代理实例的数量。
|
|
20507
|
+
:rtype: int
|
|
20508
|
+
"""
|
|
20509
|
+
return self._TotalCount
|
|
20510
|
+
|
|
20511
|
+
@TotalCount.setter
|
|
20512
|
+
def TotalCount(self, TotalCount):
|
|
20513
|
+
self._TotalCount = TotalCount
|
|
20514
|
+
|
|
20515
|
+
@property
|
|
20516
|
+
def L4Proxies(self):
|
|
20517
|
+
"""四层代理实例列表。
|
|
20518
|
+
:rtype: list of L4Proxy
|
|
20519
|
+
"""
|
|
20520
|
+
return self._L4Proxies
|
|
20521
|
+
|
|
20522
|
+
@L4Proxies.setter
|
|
20523
|
+
def L4Proxies(self, L4Proxies):
|
|
20524
|
+
self._L4Proxies = L4Proxies
|
|
20525
|
+
|
|
20526
|
+
@property
|
|
20527
|
+
def RequestId(self):
|
|
20528
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
20529
|
+
:rtype: str
|
|
20530
|
+
"""
|
|
20531
|
+
return self._RequestId
|
|
20532
|
+
|
|
20533
|
+
@RequestId.setter
|
|
20534
|
+
def RequestId(self, RequestId):
|
|
20535
|
+
self._RequestId = RequestId
|
|
20536
|
+
|
|
20537
|
+
|
|
20538
|
+
def _deserialize(self, params):
|
|
20539
|
+
self._TotalCount = params.get("TotalCount")
|
|
20540
|
+
if params.get("L4Proxies") is not None:
|
|
20541
|
+
self._L4Proxies = []
|
|
20542
|
+
for item in params.get("L4Proxies"):
|
|
20543
|
+
obj = L4Proxy()
|
|
20544
|
+
obj._deserialize(item)
|
|
20545
|
+
self._L4Proxies.append(obj)
|
|
20546
|
+
self._RequestId = params.get("RequestId")
|
|
20547
|
+
|
|
20548
|
+
|
|
20549
|
+
class DescribeL4ProxyRulesRequest(AbstractModel):
|
|
20550
|
+
"""DescribeL4ProxyRules请求参数结构体
|
|
20551
|
+
|
|
20552
|
+
"""
|
|
20553
|
+
|
|
20554
|
+
def __init__(self):
|
|
20555
|
+
r"""
|
|
20556
|
+
:param _ZoneId: 站点 ID。
|
|
20557
|
+
:type ZoneId: str
|
|
20558
|
+
:param _ProxyId: 四层代理实例 ID。
|
|
20559
|
+
:type ProxyId: str
|
|
20560
|
+
:param _Offset: 分页查询偏移量,不填写时默认为 0。
|
|
20561
|
+
:type Offset: int
|
|
20562
|
+
:param _Limit: 分页查询限制数目。默认值:20,最大值:1000。
|
|
20563
|
+
:type Limit: int
|
|
20564
|
+
:param _Filters: 过滤条件,Filters.Values的上限为20。不填写时返回当前四层实例下所有的规则信息,详细的过滤条件如下: <li>rule-id:按照规则 ID 对四层代理实例下的规则进行过滤。规则 ID 形如:rule-31vv7qig0vjy;</li> <li>rule-tag:按照规则标签对四层代理实例下的规则进行过滤。</li>
|
|
20565
|
+
:type Filters: list of Filter
|
|
20566
|
+
"""
|
|
20567
|
+
self._ZoneId = None
|
|
20568
|
+
self._ProxyId = None
|
|
20569
|
+
self._Offset = None
|
|
20570
|
+
self._Limit = None
|
|
20571
|
+
self._Filters = None
|
|
20572
|
+
|
|
20573
|
+
@property
|
|
20574
|
+
def ZoneId(self):
|
|
20575
|
+
"""站点 ID。
|
|
20576
|
+
:rtype: str
|
|
20577
|
+
"""
|
|
20578
|
+
return self._ZoneId
|
|
20579
|
+
|
|
20580
|
+
@ZoneId.setter
|
|
20581
|
+
def ZoneId(self, ZoneId):
|
|
20582
|
+
self._ZoneId = ZoneId
|
|
20583
|
+
|
|
20584
|
+
@property
|
|
20585
|
+
def ProxyId(self):
|
|
20586
|
+
"""四层代理实例 ID。
|
|
20587
|
+
:rtype: str
|
|
20588
|
+
"""
|
|
20589
|
+
return self._ProxyId
|
|
20590
|
+
|
|
20591
|
+
@ProxyId.setter
|
|
20592
|
+
def ProxyId(self, ProxyId):
|
|
20593
|
+
self._ProxyId = ProxyId
|
|
20594
|
+
|
|
20595
|
+
@property
|
|
20596
|
+
def Offset(self):
|
|
20597
|
+
"""分页查询偏移量,不填写时默认为 0。
|
|
19069
20598
|
:rtype: int
|
|
19070
20599
|
"""
|
|
19071
20600
|
return self._Offset
|
|
@@ -21725,6 +23254,532 @@ class DescribeRulesSettingResponse(AbstractModel):
|
|
|
21725
23254
|
self._RequestId = params.get("RequestId")
|
|
21726
23255
|
|
|
21727
23256
|
|
|
23257
|
+
class DescribeSecurityAPIResourceRequest(AbstractModel):
|
|
23258
|
+
"""DescribeSecurityAPIResource请求参数结构体
|
|
23259
|
+
|
|
23260
|
+
"""
|
|
23261
|
+
|
|
23262
|
+
def __init__(self):
|
|
23263
|
+
r"""
|
|
23264
|
+
:param _ZoneId: 站点 ID。
|
|
23265
|
+
:type ZoneId: str
|
|
23266
|
+
:param _Limit: 分页查询限制数目。默认值:20,最大值:100。
|
|
23267
|
+
:type Limit: int
|
|
23268
|
+
:param _Offset: 分页查询偏移量。默认值:0。
|
|
23269
|
+
:type Offset: int
|
|
23270
|
+
"""
|
|
23271
|
+
self._ZoneId = None
|
|
23272
|
+
self._Limit = None
|
|
23273
|
+
self._Offset = None
|
|
23274
|
+
|
|
23275
|
+
@property
|
|
23276
|
+
def ZoneId(self):
|
|
23277
|
+
"""站点 ID。
|
|
23278
|
+
:rtype: str
|
|
23279
|
+
"""
|
|
23280
|
+
return self._ZoneId
|
|
23281
|
+
|
|
23282
|
+
@ZoneId.setter
|
|
23283
|
+
def ZoneId(self, ZoneId):
|
|
23284
|
+
self._ZoneId = ZoneId
|
|
23285
|
+
|
|
23286
|
+
@property
|
|
23287
|
+
def Limit(self):
|
|
23288
|
+
"""分页查询限制数目。默认值:20,最大值:100。
|
|
23289
|
+
:rtype: int
|
|
23290
|
+
"""
|
|
23291
|
+
return self._Limit
|
|
23292
|
+
|
|
23293
|
+
@Limit.setter
|
|
23294
|
+
def Limit(self, Limit):
|
|
23295
|
+
self._Limit = Limit
|
|
23296
|
+
|
|
23297
|
+
@property
|
|
23298
|
+
def Offset(self):
|
|
23299
|
+
"""分页查询偏移量。默认值:0。
|
|
23300
|
+
:rtype: int
|
|
23301
|
+
"""
|
|
23302
|
+
return self._Offset
|
|
23303
|
+
|
|
23304
|
+
@Offset.setter
|
|
23305
|
+
def Offset(self, Offset):
|
|
23306
|
+
self._Offset = Offset
|
|
23307
|
+
|
|
23308
|
+
|
|
23309
|
+
def _deserialize(self, params):
|
|
23310
|
+
self._ZoneId = params.get("ZoneId")
|
|
23311
|
+
self._Limit = params.get("Limit")
|
|
23312
|
+
self._Offset = params.get("Offset")
|
|
23313
|
+
memeber_set = set(params.keys())
|
|
23314
|
+
for name, value in vars(self).items():
|
|
23315
|
+
property_name = name[1:]
|
|
23316
|
+
if property_name in memeber_set:
|
|
23317
|
+
memeber_set.remove(property_name)
|
|
23318
|
+
if len(memeber_set) > 0:
|
|
23319
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23320
|
+
|
|
23321
|
+
|
|
23322
|
+
|
|
23323
|
+
class DescribeSecurityAPIResourceResponse(AbstractModel):
|
|
23324
|
+
"""DescribeSecurityAPIResource返回参数结构体
|
|
23325
|
+
|
|
23326
|
+
"""
|
|
23327
|
+
|
|
23328
|
+
def __init__(self):
|
|
23329
|
+
r"""
|
|
23330
|
+
:param _TotalCount: API 资源总数量。
|
|
23331
|
+
:type TotalCount: int
|
|
23332
|
+
:param _APIResources: API 资源列表。
|
|
23333
|
+
:type APIResources: list of APIResource
|
|
23334
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23335
|
+
:type RequestId: str
|
|
23336
|
+
"""
|
|
23337
|
+
self._TotalCount = None
|
|
23338
|
+
self._APIResources = None
|
|
23339
|
+
self._RequestId = None
|
|
23340
|
+
|
|
23341
|
+
@property
|
|
23342
|
+
def TotalCount(self):
|
|
23343
|
+
"""API 资源总数量。
|
|
23344
|
+
:rtype: int
|
|
23345
|
+
"""
|
|
23346
|
+
return self._TotalCount
|
|
23347
|
+
|
|
23348
|
+
@TotalCount.setter
|
|
23349
|
+
def TotalCount(self, TotalCount):
|
|
23350
|
+
self._TotalCount = TotalCount
|
|
23351
|
+
|
|
23352
|
+
@property
|
|
23353
|
+
def APIResources(self):
|
|
23354
|
+
"""API 资源列表。
|
|
23355
|
+
:rtype: list of APIResource
|
|
23356
|
+
"""
|
|
23357
|
+
return self._APIResources
|
|
23358
|
+
|
|
23359
|
+
@APIResources.setter
|
|
23360
|
+
def APIResources(self, APIResources):
|
|
23361
|
+
self._APIResources = APIResources
|
|
23362
|
+
|
|
23363
|
+
@property
|
|
23364
|
+
def RequestId(self):
|
|
23365
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23366
|
+
:rtype: str
|
|
23367
|
+
"""
|
|
23368
|
+
return self._RequestId
|
|
23369
|
+
|
|
23370
|
+
@RequestId.setter
|
|
23371
|
+
def RequestId(self, RequestId):
|
|
23372
|
+
self._RequestId = RequestId
|
|
23373
|
+
|
|
23374
|
+
|
|
23375
|
+
def _deserialize(self, params):
|
|
23376
|
+
self._TotalCount = params.get("TotalCount")
|
|
23377
|
+
if params.get("APIResources") is not None:
|
|
23378
|
+
self._APIResources = []
|
|
23379
|
+
for item in params.get("APIResources"):
|
|
23380
|
+
obj = APIResource()
|
|
23381
|
+
obj._deserialize(item)
|
|
23382
|
+
self._APIResources.append(obj)
|
|
23383
|
+
self._RequestId = params.get("RequestId")
|
|
23384
|
+
|
|
23385
|
+
|
|
23386
|
+
class DescribeSecurityAPIServiceRequest(AbstractModel):
|
|
23387
|
+
"""DescribeSecurityAPIService请求参数结构体
|
|
23388
|
+
|
|
23389
|
+
"""
|
|
23390
|
+
|
|
23391
|
+
def __init__(self):
|
|
23392
|
+
r"""
|
|
23393
|
+
:param _ZoneId: 站点 ID。
|
|
23394
|
+
:type ZoneId: str
|
|
23395
|
+
:param _Limit: 分页查询限制数目。默认值:20,最大值:100。
|
|
23396
|
+
:type Limit: int
|
|
23397
|
+
:param _Offset: 分页查询偏移量。默认值:0。
|
|
23398
|
+
:type Offset: int
|
|
23399
|
+
"""
|
|
23400
|
+
self._ZoneId = None
|
|
23401
|
+
self._Limit = None
|
|
23402
|
+
self._Offset = None
|
|
23403
|
+
|
|
23404
|
+
@property
|
|
23405
|
+
def ZoneId(self):
|
|
23406
|
+
"""站点 ID。
|
|
23407
|
+
:rtype: str
|
|
23408
|
+
"""
|
|
23409
|
+
return self._ZoneId
|
|
23410
|
+
|
|
23411
|
+
@ZoneId.setter
|
|
23412
|
+
def ZoneId(self, ZoneId):
|
|
23413
|
+
self._ZoneId = ZoneId
|
|
23414
|
+
|
|
23415
|
+
@property
|
|
23416
|
+
def Limit(self):
|
|
23417
|
+
"""分页查询限制数目。默认值:20,最大值:100。
|
|
23418
|
+
:rtype: int
|
|
23419
|
+
"""
|
|
23420
|
+
return self._Limit
|
|
23421
|
+
|
|
23422
|
+
@Limit.setter
|
|
23423
|
+
def Limit(self, Limit):
|
|
23424
|
+
self._Limit = Limit
|
|
23425
|
+
|
|
23426
|
+
@property
|
|
23427
|
+
def Offset(self):
|
|
23428
|
+
"""分页查询偏移量。默认值:0。
|
|
23429
|
+
:rtype: int
|
|
23430
|
+
"""
|
|
23431
|
+
return self._Offset
|
|
23432
|
+
|
|
23433
|
+
@Offset.setter
|
|
23434
|
+
def Offset(self, Offset):
|
|
23435
|
+
self._Offset = Offset
|
|
23436
|
+
|
|
23437
|
+
|
|
23438
|
+
def _deserialize(self, params):
|
|
23439
|
+
self._ZoneId = params.get("ZoneId")
|
|
23440
|
+
self._Limit = params.get("Limit")
|
|
23441
|
+
self._Offset = params.get("Offset")
|
|
23442
|
+
memeber_set = set(params.keys())
|
|
23443
|
+
for name, value in vars(self).items():
|
|
23444
|
+
property_name = name[1:]
|
|
23445
|
+
if property_name in memeber_set:
|
|
23446
|
+
memeber_set.remove(property_name)
|
|
23447
|
+
if len(memeber_set) > 0:
|
|
23448
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23449
|
+
|
|
23450
|
+
|
|
23451
|
+
|
|
23452
|
+
class DescribeSecurityAPIServiceResponse(AbstractModel):
|
|
23453
|
+
"""DescribeSecurityAPIService返回参数结构体
|
|
23454
|
+
|
|
23455
|
+
"""
|
|
23456
|
+
|
|
23457
|
+
def __init__(self):
|
|
23458
|
+
r"""
|
|
23459
|
+
:param _TotalCount: API 服务总数量。
|
|
23460
|
+
:type TotalCount: int
|
|
23461
|
+
:param _APIServices: API 服务列表。
|
|
23462
|
+
:type APIServices: list of APIService
|
|
23463
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23464
|
+
:type RequestId: str
|
|
23465
|
+
"""
|
|
23466
|
+
self._TotalCount = None
|
|
23467
|
+
self._APIServices = None
|
|
23468
|
+
self._RequestId = None
|
|
23469
|
+
|
|
23470
|
+
@property
|
|
23471
|
+
def TotalCount(self):
|
|
23472
|
+
"""API 服务总数量。
|
|
23473
|
+
:rtype: int
|
|
23474
|
+
"""
|
|
23475
|
+
return self._TotalCount
|
|
23476
|
+
|
|
23477
|
+
@TotalCount.setter
|
|
23478
|
+
def TotalCount(self, TotalCount):
|
|
23479
|
+
self._TotalCount = TotalCount
|
|
23480
|
+
|
|
23481
|
+
@property
|
|
23482
|
+
def APIServices(self):
|
|
23483
|
+
"""API 服务列表。
|
|
23484
|
+
:rtype: list of APIService
|
|
23485
|
+
"""
|
|
23486
|
+
return self._APIServices
|
|
23487
|
+
|
|
23488
|
+
@APIServices.setter
|
|
23489
|
+
def APIServices(self, APIServices):
|
|
23490
|
+
self._APIServices = APIServices
|
|
23491
|
+
|
|
23492
|
+
@property
|
|
23493
|
+
def RequestId(self):
|
|
23494
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23495
|
+
:rtype: str
|
|
23496
|
+
"""
|
|
23497
|
+
return self._RequestId
|
|
23498
|
+
|
|
23499
|
+
@RequestId.setter
|
|
23500
|
+
def RequestId(self, RequestId):
|
|
23501
|
+
self._RequestId = RequestId
|
|
23502
|
+
|
|
23503
|
+
|
|
23504
|
+
def _deserialize(self, params):
|
|
23505
|
+
self._TotalCount = params.get("TotalCount")
|
|
23506
|
+
if params.get("APIServices") is not None:
|
|
23507
|
+
self._APIServices = []
|
|
23508
|
+
for item in params.get("APIServices"):
|
|
23509
|
+
obj = APIService()
|
|
23510
|
+
obj._deserialize(item)
|
|
23511
|
+
self._APIServices.append(obj)
|
|
23512
|
+
self._RequestId = params.get("RequestId")
|
|
23513
|
+
|
|
23514
|
+
|
|
23515
|
+
class DescribeSecurityClientAttesterRequest(AbstractModel):
|
|
23516
|
+
"""DescribeSecurityClientAttester请求参数结构体
|
|
23517
|
+
|
|
23518
|
+
"""
|
|
23519
|
+
|
|
23520
|
+
def __init__(self):
|
|
23521
|
+
r"""
|
|
23522
|
+
:param _ZoneId: 站点 ID。
|
|
23523
|
+
:type ZoneId: str
|
|
23524
|
+
:param _Limit: 分页查询限制数目。默认值:20,最大值:100。
|
|
23525
|
+
:type Limit: int
|
|
23526
|
+
:param _Offset: 分页查询偏移量。默认值:0。
|
|
23527
|
+
:type Offset: int
|
|
23528
|
+
"""
|
|
23529
|
+
self._ZoneId = None
|
|
23530
|
+
self._Limit = None
|
|
23531
|
+
self._Offset = None
|
|
23532
|
+
|
|
23533
|
+
@property
|
|
23534
|
+
def ZoneId(self):
|
|
23535
|
+
"""站点 ID。
|
|
23536
|
+
:rtype: str
|
|
23537
|
+
"""
|
|
23538
|
+
return self._ZoneId
|
|
23539
|
+
|
|
23540
|
+
@ZoneId.setter
|
|
23541
|
+
def ZoneId(self, ZoneId):
|
|
23542
|
+
self._ZoneId = ZoneId
|
|
23543
|
+
|
|
23544
|
+
@property
|
|
23545
|
+
def Limit(self):
|
|
23546
|
+
"""分页查询限制数目。默认值:20,最大值:100。
|
|
23547
|
+
:rtype: int
|
|
23548
|
+
"""
|
|
23549
|
+
return self._Limit
|
|
23550
|
+
|
|
23551
|
+
@Limit.setter
|
|
23552
|
+
def Limit(self, Limit):
|
|
23553
|
+
self._Limit = Limit
|
|
23554
|
+
|
|
23555
|
+
@property
|
|
23556
|
+
def Offset(self):
|
|
23557
|
+
"""分页查询偏移量。默认值:0。
|
|
23558
|
+
:rtype: int
|
|
23559
|
+
"""
|
|
23560
|
+
return self._Offset
|
|
23561
|
+
|
|
23562
|
+
@Offset.setter
|
|
23563
|
+
def Offset(self, Offset):
|
|
23564
|
+
self._Offset = Offset
|
|
23565
|
+
|
|
23566
|
+
|
|
23567
|
+
def _deserialize(self, params):
|
|
23568
|
+
self._ZoneId = params.get("ZoneId")
|
|
23569
|
+
self._Limit = params.get("Limit")
|
|
23570
|
+
self._Offset = params.get("Offset")
|
|
23571
|
+
memeber_set = set(params.keys())
|
|
23572
|
+
for name, value in vars(self).items():
|
|
23573
|
+
property_name = name[1:]
|
|
23574
|
+
if property_name in memeber_set:
|
|
23575
|
+
memeber_set.remove(property_name)
|
|
23576
|
+
if len(memeber_set) > 0:
|
|
23577
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23578
|
+
|
|
23579
|
+
|
|
23580
|
+
|
|
23581
|
+
class DescribeSecurityClientAttesterResponse(AbstractModel):
|
|
23582
|
+
"""DescribeSecurityClientAttester返回参数结构体
|
|
23583
|
+
|
|
23584
|
+
"""
|
|
23585
|
+
|
|
23586
|
+
def __init__(self):
|
|
23587
|
+
r"""
|
|
23588
|
+
:param _TotalCount: 认证选项总数量。
|
|
23589
|
+
:type TotalCount: int
|
|
23590
|
+
:param _ClientAttesters: 认证选项列表。
|
|
23591
|
+
:type ClientAttesters: list of ClientAttester
|
|
23592
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23593
|
+
:type RequestId: str
|
|
23594
|
+
"""
|
|
23595
|
+
self._TotalCount = None
|
|
23596
|
+
self._ClientAttesters = None
|
|
23597
|
+
self._RequestId = None
|
|
23598
|
+
|
|
23599
|
+
@property
|
|
23600
|
+
def TotalCount(self):
|
|
23601
|
+
"""认证选项总数量。
|
|
23602
|
+
:rtype: int
|
|
23603
|
+
"""
|
|
23604
|
+
return self._TotalCount
|
|
23605
|
+
|
|
23606
|
+
@TotalCount.setter
|
|
23607
|
+
def TotalCount(self, TotalCount):
|
|
23608
|
+
self._TotalCount = TotalCount
|
|
23609
|
+
|
|
23610
|
+
@property
|
|
23611
|
+
def ClientAttesters(self):
|
|
23612
|
+
"""认证选项列表。
|
|
23613
|
+
:rtype: list of ClientAttester
|
|
23614
|
+
"""
|
|
23615
|
+
return self._ClientAttesters
|
|
23616
|
+
|
|
23617
|
+
@ClientAttesters.setter
|
|
23618
|
+
def ClientAttesters(self, ClientAttesters):
|
|
23619
|
+
self._ClientAttesters = ClientAttesters
|
|
23620
|
+
|
|
23621
|
+
@property
|
|
23622
|
+
def RequestId(self):
|
|
23623
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23624
|
+
:rtype: str
|
|
23625
|
+
"""
|
|
23626
|
+
return self._RequestId
|
|
23627
|
+
|
|
23628
|
+
@RequestId.setter
|
|
23629
|
+
def RequestId(self, RequestId):
|
|
23630
|
+
self._RequestId = RequestId
|
|
23631
|
+
|
|
23632
|
+
|
|
23633
|
+
def _deserialize(self, params):
|
|
23634
|
+
self._TotalCount = params.get("TotalCount")
|
|
23635
|
+
if params.get("ClientAttesters") is not None:
|
|
23636
|
+
self._ClientAttesters = []
|
|
23637
|
+
for item in params.get("ClientAttesters"):
|
|
23638
|
+
obj = ClientAttester()
|
|
23639
|
+
obj._deserialize(item)
|
|
23640
|
+
self._ClientAttesters.append(obj)
|
|
23641
|
+
self._RequestId = params.get("RequestId")
|
|
23642
|
+
|
|
23643
|
+
|
|
23644
|
+
class DescribeSecurityIPGroupContentRequest(AbstractModel):
|
|
23645
|
+
"""DescribeSecurityIPGroupContent请求参数结构体
|
|
23646
|
+
|
|
23647
|
+
"""
|
|
23648
|
+
|
|
23649
|
+
def __init__(self):
|
|
23650
|
+
r"""
|
|
23651
|
+
:param _ZoneId: 站点 ID。
|
|
23652
|
+
:type ZoneId: str
|
|
23653
|
+
:param _GroupId: IP 组 ID。
|
|
23654
|
+
:type GroupId: int
|
|
23655
|
+
:param _Limit: 分页查询限制数目。默认值:2000,最大值:100000。
|
|
23656
|
+
:type Limit: int
|
|
23657
|
+
:param _Offset: 分页查询偏移量。默认值:0。
|
|
23658
|
+
:type Offset: int
|
|
23659
|
+
"""
|
|
23660
|
+
self._ZoneId = None
|
|
23661
|
+
self._GroupId = None
|
|
23662
|
+
self._Limit = None
|
|
23663
|
+
self._Offset = None
|
|
23664
|
+
|
|
23665
|
+
@property
|
|
23666
|
+
def ZoneId(self):
|
|
23667
|
+
"""站点 ID。
|
|
23668
|
+
:rtype: str
|
|
23669
|
+
"""
|
|
23670
|
+
return self._ZoneId
|
|
23671
|
+
|
|
23672
|
+
@ZoneId.setter
|
|
23673
|
+
def ZoneId(self, ZoneId):
|
|
23674
|
+
self._ZoneId = ZoneId
|
|
23675
|
+
|
|
23676
|
+
@property
|
|
23677
|
+
def GroupId(self):
|
|
23678
|
+
"""IP 组 ID。
|
|
23679
|
+
:rtype: int
|
|
23680
|
+
"""
|
|
23681
|
+
return self._GroupId
|
|
23682
|
+
|
|
23683
|
+
@GroupId.setter
|
|
23684
|
+
def GroupId(self, GroupId):
|
|
23685
|
+
self._GroupId = GroupId
|
|
23686
|
+
|
|
23687
|
+
@property
|
|
23688
|
+
def Limit(self):
|
|
23689
|
+
"""分页查询限制数目。默认值:2000,最大值:100000。
|
|
23690
|
+
:rtype: int
|
|
23691
|
+
"""
|
|
23692
|
+
return self._Limit
|
|
23693
|
+
|
|
23694
|
+
@Limit.setter
|
|
23695
|
+
def Limit(self, Limit):
|
|
23696
|
+
self._Limit = Limit
|
|
23697
|
+
|
|
23698
|
+
@property
|
|
23699
|
+
def Offset(self):
|
|
23700
|
+
"""分页查询偏移量。默认值:0。
|
|
23701
|
+
:rtype: int
|
|
23702
|
+
"""
|
|
23703
|
+
return self._Offset
|
|
23704
|
+
|
|
23705
|
+
@Offset.setter
|
|
23706
|
+
def Offset(self, Offset):
|
|
23707
|
+
self._Offset = Offset
|
|
23708
|
+
|
|
23709
|
+
|
|
23710
|
+
def _deserialize(self, params):
|
|
23711
|
+
self._ZoneId = params.get("ZoneId")
|
|
23712
|
+
self._GroupId = params.get("GroupId")
|
|
23713
|
+
self._Limit = params.get("Limit")
|
|
23714
|
+
self._Offset = params.get("Offset")
|
|
23715
|
+
memeber_set = set(params.keys())
|
|
23716
|
+
for name, value in vars(self).items():
|
|
23717
|
+
property_name = name[1:]
|
|
23718
|
+
if property_name in memeber_set:
|
|
23719
|
+
memeber_set.remove(property_name)
|
|
23720
|
+
if len(memeber_set) > 0:
|
|
23721
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23722
|
+
|
|
23723
|
+
|
|
23724
|
+
|
|
23725
|
+
class DescribeSecurityIPGroupContentResponse(AbstractModel):
|
|
23726
|
+
"""DescribeSecurityIPGroupContent返回参数结构体
|
|
23727
|
+
|
|
23728
|
+
"""
|
|
23729
|
+
|
|
23730
|
+
def __init__(self):
|
|
23731
|
+
r"""
|
|
23732
|
+
:param _IPTotalCount: IP 组中正在生效的 IP 或网段个数。
|
|
23733
|
+
:type IPTotalCount: int
|
|
23734
|
+
:param _IPList: 满足查询条件的 IP 或网段列表。受 Limit 和 Offset 参数限制。
|
|
23735
|
+
:type IPList: list of str
|
|
23736
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23737
|
+
:type RequestId: str
|
|
23738
|
+
"""
|
|
23739
|
+
self._IPTotalCount = None
|
|
23740
|
+
self._IPList = None
|
|
23741
|
+
self._RequestId = None
|
|
23742
|
+
|
|
23743
|
+
@property
|
|
23744
|
+
def IPTotalCount(self):
|
|
23745
|
+
"""IP 组中正在生效的 IP 或网段个数。
|
|
23746
|
+
:rtype: int
|
|
23747
|
+
"""
|
|
23748
|
+
return self._IPTotalCount
|
|
23749
|
+
|
|
23750
|
+
@IPTotalCount.setter
|
|
23751
|
+
def IPTotalCount(self, IPTotalCount):
|
|
23752
|
+
self._IPTotalCount = IPTotalCount
|
|
23753
|
+
|
|
23754
|
+
@property
|
|
23755
|
+
def IPList(self):
|
|
23756
|
+
"""满足查询条件的 IP 或网段列表。受 Limit 和 Offset 参数限制。
|
|
23757
|
+
:rtype: list of str
|
|
23758
|
+
"""
|
|
23759
|
+
return self._IPList
|
|
23760
|
+
|
|
23761
|
+
@IPList.setter
|
|
23762
|
+
def IPList(self, IPList):
|
|
23763
|
+
self._IPList = IPList
|
|
23764
|
+
|
|
23765
|
+
@property
|
|
23766
|
+
def RequestId(self):
|
|
23767
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23768
|
+
:rtype: str
|
|
23769
|
+
"""
|
|
23770
|
+
return self._RequestId
|
|
23771
|
+
|
|
23772
|
+
@RequestId.setter
|
|
23773
|
+
def RequestId(self, RequestId):
|
|
23774
|
+
self._RequestId = RequestId
|
|
23775
|
+
|
|
23776
|
+
|
|
23777
|
+
def _deserialize(self, params):
|
|
23778
|
+
self._IPTotalCount = params.get("IPTotalCount")
|
|
23779
|
+
self._IPList = params.get("IPList")
|
|
23780
|
+
self._RequestId = params.get("RequestId")
|
|
23781
|
+
|
|
23782
|
+
|
|
21728
23783
|
class DescribeSecurityIPGroupInfoRequest(AbstractModel):
|
|
21729
23784
|
"""DescribeSecurityIPGroupInfo请求参数结构体
|
|
21730
23785
|
|
|
@@ -21844,7 +23899,106 @@ class DescribeSecurityIPGroupInfoResponse(AbstractModel):
|
|
|
21844
23899
|
|
|
21845
23900
|
|
|
21846
23901
|
def _deserialize(self, params):
|
|
21847
|
-
self._TotalCount = params.get("TotalCount")
|
|
23902
|
+
self._TotalCount = params.get("TotalCount")
|
|
23903
|
+
if params.get("IPGroups") is not None:
|
|
23904
|
+
self._IPGroups = []
|
|
23905
|
+
for item in params.get("IPGroups"):
|
|
23906
|
+
obj = IPGroup()
|
|
23907
|
+
obj._deserialize(item)
|
|
23908
|
+
self._IPGroups.append(obj)
|
|
23909
|
+
self._RequestId = params.get("RequestId")
|
|
23910
|
+
|
|
23911
|
+
|
|
23912
|
+
class DescribeSecurityIPGroupRequest(AbstractModel):
|
|
23913
|
+
"""DescribeSecurityIPGroup请求参数结构体
|
|
23914
|
+
|
|
23915
|
+
"""
|
|
23916
|
+
|
|
23917
|
+
def __init__(self):
|
|
23918
|
+
r"""
|
|
23919
|
+
:param _ZoneId: 站点 ID ,用于指定查询的站点范围。
|
|
23920
|
+
:type ZoneId: str
|
|
23921
|
+
:param _GroupIds: 指定安全 IP 组 ID。 <li>提供该参数时,仅查询指定 ID 的安全 IP 组配置;</li> <li>不传递参数时,返回站点下所有安全 IP 组信息。</li>
|
|
23922
|
+
:type GroupIds: list of int
|
|
23923
|
+
"""
|
|
23924
|
+
self._ZoneId = None
|
|
23925
|
+
self._GroupIds = None
|
|
23926
|
+
|
|
23927
|
+
@property
|
|
23928
|
+
def ZoneId(self):
|
|
23929
|
+
"""站点 ID ,用于指定查询的站点范围。
|
|
23930
|
+
:rtype: str
|
|
23931
|
+
"""
|
|
23932
|
+
return self._ZoneId
|
|
23933
|
+
|
|
23934
|
+
@ZoneId.setter
|
|
23935
|
+
def ZoneId(self, ZoneId):
|
|
23936
|
+
self._ZoneId = ZoneId
|
|
23937
|
+
|
|
23938
|
+
@property
|
|
23939
|
+
def GroupIds(self):
|
|
23940
|
+
"""指定安全 IP 组 ID。 <li>提供该参数时,仅查询指定 ID 的安全 IP 组配置;</li> <li>不传递参数时,返回站点下所有安全 IP 组信息。</li>
|
|
23941
|
+
:rtype: list of int
|
|
23942
|
+
"""
|
|
23943
|
+
return self._GroupIds
|
|
23944
|
+
|
|
23945
|
+
@GroupIds.setter
|
|
23946
|
+
def GroupIds(self, GroupIds):
|
|
23947
|
+
self._GroupIds = GroupIds
|
|
23948
|
+
|
|
23949
|
+
|
|
23950
|
+
def _deserialize(self, params):
|
|
23951
|
+
self._ZoneId = params.get("ZoneId")
|
|
23952
|
+
self._GroupIds = params.get("GroupIds")
|
|
23953
|
+
memeber_set = set(params.keys())
|
|
23954
|
+
for name, value in vars(self).items():
|
|
23955
|
+
property_name = name[1:]
|
|
23956
|
+
if property_name in memeber_set:
|
|
23957
|
+
memeber_set.remove(property_name)
|
|
23958
|
+
if len(memeber_set) > 0:
|
|
23959
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
23960
|
+
|
|
23961
|
+
|
|
23962
|
+
|
|
23963
|
+
class DescribeSecurityIPGroupResponse(AbstractModel):
|
|
23964
|
+
"""DescribeSecurityIPGroup返回参数结构体
|
|
23965
|
+
|
|
23966
|
+
"""
|
|
23967
|
+
|
|
23968
|
+
def __init__(self):
|
|
23969
|
+
r"""
|
|
23970
|
+
:param _IPGroups: 安全 IP 组的详细配置信息。包含每个安全 IP 组的 ID 、名称、IP / 网段总数量、 IP / 网段列表信息和过期时间信息。
|
|
23971
|
+
:type IPGroups: list of IPGroup
|
|
23972
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23973
|
+
:type RequestId: str
|
|
23974
|
+
"""
|
|
23975
|
+
self._IPGroups = None
|
|
23976
|
+
self._RequestId = None
|
|
23977
|
+
|
|
23978
|
+
@property
|
|
23979
|
+
def IPGroups(self):
|
|
23980
|
+
"""安全 IP 组的详细配置信息。包含每个安全 IP 组的 ID 、名称、IP / 网段总数量、 IP / 网段列表信息和过期时间信息。
|
|
23981
|
+
:rtype: list of IPGroup
|
|
23982
|
+
"""
|
|
23983
|
+
return self._IPGroups
|
|
23984
|
+
|
|
23985
|
+
@IPGroups.setter
|
|
23986
|
+
def IPGroups(self, IPGroups):
|
|
23987
|
+
self._IPGroups = IPGroups
|
|
23988
|
+
|
|
23989
|
+
@property
|
|
23990
|
+
def RequestId(self):
|
|
23991
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
23992
|
+
:rtype: str
|
|
23993
|
+
"""
|
|
23994
|
+
return self._RequestId
|
|
23995
|
+
|
|
23996
|
+
@RequestId.setter
|
|
23997
|
+
def RequestId(self, RequestId):
|
|
23998
|
+
self._RequestId = RequestId
|
|
23999
|
+
|
|
24000
|
+
|
|
24001
|
+
def _deserialize(self, params):
|
|
21848
24002
|
if params.get("IPGroups") is not None:
|
|
21849
24003
|
self._IPGroups = []
|
|
21850
24004
|
for item in params.get("IPGroups"):
|
|
@@ -21854,24 +24008,27 @@ class DescribeSecurityIPGroupInfoResponse(AbstractModel):
|
|
|
21854
24008
|
self._RequestId = params.get("RequestId")
|
|
21855
24009
|
|
|
21856
24010
|
|
|
21857
|
-
class
|
|
21858
|
-
"""
|
|
24011
|
+
class DescribeSecurityJSInjectionRuleRequest(AbstractModel):
|
|
24012
|
+
"""DescribeSecurityJSInjectionRule请求参数结构体
|
|
21859
24013
|
|
|
21860
24014
|
"""
|
|
21861
24015
|
|
|
21862
24016
|
def __init__(self):
|
|
21863
24017
|
r"""
|
|
21864
|
-
:param _ZoneId: 站点 ID
|
|
24018
|
+
:param _ZoneId: 站点 ID。
|
|
21865
24019
|
:type ZoneId: str
|
|
21866
|
-
:param
|
|
21867
|
-
:type
|
|
24020
|
+
:param _Limit: 分页查询限制数目。默认值:20,最大值:100。
|
|
24021
|
+
:type Limit: int
|
|
24022
|
+
:param _Offset: 分页查询偏移量。默认值:0。
|
|
24023
|
+
:type Offset: int
|
|
21868
24024
|
"""
|
|
21869
24025
|
self._ZoneId = None
|
|
21870
|
-
self.
|
|
24026
|
+
self._Limit = None
|
|
24027
|
+
self._Offset = None
|
|
21871
24028
|
|
|
21872
24029
|
@property
|
|
21873
24030
|
def ZoneId(self):
|
|
21874
|
-
"""站点 ID
|
|
24031
|
+
"""站点 ID。
|
|
21875
24032
|
:rtype: str
|
|
21876
24033
|
"""
|
|
21877
24034
|
return self._ZoneId
|
|
@@ -21881,20 +24038,32 @@ class DescribeSecurityIPGroupRequest(AbstractModel):
|
|
|
21881
24038
|
self._ZoneId = ZoneId
|
|
21882
24039
|
|
|
21883
24040
|
@property
|
|
21884
|
-
def
|
|
21885
|
-
"""
|
|
21886
|
-
:rtype:
|
|
24041
|
+
def Limit(self):
|
|
24042
|
+
"""分页查询限制数目。默认值:20,最大值:100。
|
|
24043
|
+
:rtype: int
|
|
21887
24044
|
"""
|
|
21888
|
-
return self.
|
|
24045
|
+
return self._Limit
|
|
21889
24046
|
|
|
21890
|
-
@
|
|
21891
|
-
def
|
|
21892
|
-
self.
|
|
24047
|
+
@Limit.setter
|
|
24048
|
+
def Limit(self, Limit):
|
|
24049
|
+
self._Limit = Limit
|
|
24050
|
+
|
|
24051
|
+
@property
|
|
24052
|
+
def Offset(self):
|
|
24053
|
+
"""分页查询偏移量。默认值:0。
|
|
24054
|
+
:rtype: int
|
|
24055
|
+
"""
|
|
24056
|
+
return self._Offset
|
|
24057
|
+
|
|
24058
|
+
@Offset.setter
|
|
24059
|
+
def Offset(self, Offset):
|
|
24060
|
+
self._Offset = Offset
|
|
21893
24061
|
|
|
21894
24062
|
|
|
21895
24063
|
def _deserialize(self, params):
|
|
21896
24064
|
self._ZoneId = params.get("ZoneId")
|
|
21897
|
-
self.
|
|
24065
|
+
self._Limit = params.get("Limit")
|
|
24066
|
+
self._Offset = params.get("Offset")
|
|
21898
24067
|
memeber_set = set(params.keys())
|
|
21899
24068
|
for name, value in vars(self).items():
|
|
21900
24069
|
property_name = name[1:]
|
|
@@ -21905,31 +24074,45 @@ class DescribeSecurityIPGroupRequest(AbstractModel):
|
|
|
21905
24074
|
|
|
21906
24075
|
|
|
21907
24076
|
|
|
21908
|
-
class
|
|
21909
|
-
"""
|
|
24077
|
+
class DescribeSecurityJSInjectionRuleResponse(AbstractModel):
|
|
24078
|
+
"""DescribeSecurityJSInjectionRule返回参数结构体
|
|
21910
24079
|
|
|
21911
24080
|
"""
|
|
21912
24081
|
|
|
21913
24082
|
def __init__(self):
|
|
21914
24083
|
r"""
|
|
21915
|
-
:param
|
|
21916
|
-
:type
|
|
24084
|
+
:param _TotalCount: JavaScript 注入规则总数量。
|
|
24085
|
+
:type TotalCount: int
|
|
24086
|
+
:param _JSInjectionRules: JavaScript 注入规则列表。
|
|
24087
|
+
:type JSInjectionRules: list of JSInjectionRule
|
|
21917
24088
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
21918
24089
|
:type RequestId: str
|
|
21919
24090
|
"""
|
|
21920
|
-
self.
|
|
24091
|
+
self._TotalCount = None
|
|
24092
|
+
self._JSInjectionRules = None
|
|
21921
24093
|
self._RequestId = None
|
|
21922
24094
|
|
|
21923
24095
|
@property
|
|
21924
|
-
def
|
|
21925
|
-
"""
|
|
21926
|
-
:rtype:
|
|
24096
|
+
def TotalCount(self):
|
|
24097
|
+
"""JavaScript 注入规则总数量。
|
|
24098
|
+
:rtype: int
|
|
21927
24099
|
"""
|
|
21928
|
-
return self.
|
|
24100
|
+
return self._TotalCount
|
|
21929
24101
|
|
|
21930
|
-
@
|
|
21931
|
-
def
|
|
21932
|
-
self.
|
|
24102
|
+
@TotalCount.setter
|
|
24103
|
+
def TotalCount(self, TotalCount):
|
|
24104
|
+
self._TotalCount = TotalCount
|
|
24105
|
+
|
|
24106
|
+
@property
|
|
24107
|
+
def JSInjectionRules(self):
|
|
24108
|
+
"""JavaScript 注入规则列表。
|
|
24109
|
+
:rtype: list of JSInjectionRule
|
|
24110
|
+
"""
|
|
24111
|
+
return self._JSInjectionRules
|
|
24112
|
+
|
|
24113
|
+
@JSInjectionRules.setter
|
|
24114
|
+
def JSInjectionRules(self, JSInjectionRules):
|
|
24115
|
+
self._JSInjectionRules = JSInjectionRules
|
|
21933
24116
|
|
|
21934
24117
|
@property
|
|
21935
24118
|
def RequestId(self):
|
|
@@ -21944,12 +24127,13 @@ class DescribeSecurityIPGroupResponse(AbstractModel):
|
|
|
21944
24127
|
|
|
21945
24128
|
|
|
21946
24129
|
def _deserialize(self, params):
|
|
21947
|
-
|
|
21948
|
-
|
|
21949
|
-
|
|
21950
|
-
|
|
24130
|
+
self._TotalCount = params.get("TotalCount")
|
|
24131
|
+
if params.get("JSInjectionRules") is not None:
|
|
24132
|
+
self._JSInjectionRules = []
|
|
24133
|
+
for item in params.get("JSInjectionRules"):
|
|
24134
|
+
obj = JSInjectionRule()
|
|
21951
24135
|
obj._deserialize(item)
|
|
21952
|
-
self.
|
|
24136
|
+
self._JSInjectionRules.append(obj)
|
|
21953
24137
|
self._RequestId = params.get("RequestId")
|
|
21954
24138
|
|
|
21955
24139
|
|
|
@@ -30565,6 +32749,283 @@ class JITVideoProcess(AbstractModel):
|
|
|
30565
32749
|
|
|
30566
32750
|
|
|
30567
32751
|
|
|
32752
|
+
class JSInjectionRule(AbstractModel):
|
|
32753
|
+
"""JavaScript 注入规则。
|
|
32754
|
+
|
|
32755
|
+
"""
|
|
32756
|
+
|
|
32757
|
+
def __init__(self):
|
|
32758
|
+
r"""
|
|
32759
|
+
:param _RuleId: 规则 ID。
|
|
32760
|
+
:type RuleId: str
|
|
32761
|
+
:param _Name: 规则名称。
|
|
32762
|
+
:type Name: str
|
|
32763
|
+
:param _Priority: 规则优先级,数值越小越优先执行,范围是 0 ~ 100,默认为 0。
|
|
32764
|
+
:type Priority: int
|
|
32765
|
+
:param _Condition: 匹配条件内容。需符合表达式语法,详细规范参见产品文档。
|
|
32766
|
+
:type Condition: str
|
|
32767
|
+
:param _InjectJS: JavaScript 注入选项。默认值为 run-attestations,取值有:
|
|
32768
|
+
<li> no-injection: 不注入 JavaScript;</li>
|
|
32769
|
+
<li> inject-sdk-only: 注入当前支持的所有认证方式的 SDK,当前支持:TC-RCE 和 TC-CAPTCHA。注意:若需执行认证检测,请配置挑战规则。</li>
|
|
32770
|
+
|
|
32771
|
+
:type InjectJS: str
|
|
32772
|
+
"""
|
|
32773
|
+
self._RuleId = None
|
|
32774
|
+
self._Name = None
|
|
32775
|
+
self._Priority = None
|
|
32776
|
+
self._Condition = None
|
|
32777
|
+
self._InjectJS = None
|
|
32778
|
+
|
|
32779
|
+
@property
|
|
32780
|
+
def RuleId(self):
|
|
32781
|
+
"""规则 ID。
|
|
32782
|
+
:rtype: str
|
|
32783
|
+
"""
|
|
32784
|
+
return self._RuleId
|
|
32785
|
+
|
|
32786
|
+
@RuleId.setter
|
|
32787
|
+
def RuleId(self, RuleId):
|
|
32788
|
+
self._RuleId = RuleId
|
|
32789
|
+
|
|
32790
|
+
@property
|
|
32791
|
+
def Name(self):
|
|
32792
|
+
"""规则名称。
|
|
32793
|
+
:rtype: str
|
|
32794
|
+
"""
|
|
32795
|
+
return self._Name
|
|
32796
|
+
|
|
32797
|
+
@Name.setter
|
|
32798
|
+
def Name(self, Name):
|
|
32799
|
+
self._Name = Name
|
|
32800
|
+
|
|
32801
|
+
@property
|
|
32802
|
+
def Priority(self):
|
|
32803
|
+
"""规则优先级,数值越小越优先执行,范围是 0 ~ 100,默认为 0。
|
|
32804
|
+
:rtype: int
|
|
32805
|
+
"""
|
|
32806
|
+
return self._Priority
|
|
32807
|
+
|
|
32808
|
+
@Priority.setter
|
|
32809
|
+
def Priority(self, Priority):
|
|
32810
|
+
self._Priority = Priority
|
|
32811
|
+
|
|
32812
|
+
@property
|
|
32813
|
+
def Condition(self):
|
|
32814
|
+
"""匹配条件内容。需符合表达式语法,详细规范参见产品文档。
|
|
32815
|
+
:rtype: str
|
|
32816
|
+
"""
|
|
32817
|
+
return self._Condition
|
|
32818
|
+
|
|
32819
|
+
@Condition.setter
|
|
32820
|
+
def Condition(self, Condition):
|
|
32821
|
+
self._Condition = Condition
|
|
32822
|
+
|
|
32823
|
+
@property
|
|
32824
|
+
def InjectJS(self):
|
|
32825
|
+
"""JavaScript 注入选项。默认值为 run-attestations,取值有:
|
|
32826
|
+
<li> no-injection: 不注入 JavaScript;</li>
|
|
32827
|
+
<li> inject-sdk-only: 注入当前支持的所有认证方式的 SDK,当前支持:TC-RCE 和 TC-CAPTCHA。注意:若需执行认证检测,请配置挑战规则。</li>
|
|
32828
|
+
|
|
32829
|
+
:rtype: str
|
|
32830
|
+
"""
|
|
32831
|
+
return self._InjectJS
|
|
32832
|
+
|
|
32833
|
+
@InjectJS.setter
|
|
32834
|
+
def InjectJS(self, InjectJS):
|
|
32835
|
+
self._InjectJS = InjectJS
|
|
32836
|
+
|
|
32837
|
+
|
|
32838
|
+
def _deserialize(self, params):
|
|
32839
|
+
self._RuleId = params.get("RuleId")
|
|
32840
|
+
self._Name = params.get("Name")
|
|
32841
|
+
self._Priority = params.get("Priority")
|
|
32842
|
+
self._Condition = params.get("Condition")
|
|
32843
|
+
self._InjectJS = params.get("InjectJS")
|
|
32844
|
+
memeber_set = set(params.keys())
|
|
32845
|
+
for name, value in vars(self).items():
|
|
32846
|
+
property_name = name[1:]
|
|
32847
|
+
if property_name in memeber_set:
|
|
32848
|
+
memeber_set.remove(property_name)
|
|
32849
|
+
if len(memeber_set) > 0:
|
|
32850
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
32851
|
+
|
|
32852
|
+
|
|
32853
|
+
|
|
32854
|
+
class JustInTimeTranscodeTemplate(AbstractModel):
|
|
32855
|
+
"""即时转码模板详情。
|
|
32856
|
+
|
|
32857
|
+
"""
|
|
32858
|
+
|
|
32859
|
+
def __init__(self):
|
|
32860
|
+
r"""
|
|
32861
|
+
:param _TemplateId: 即时转码模板唯一标识。
|
|
32862
|
+
:type TemplateId: str
|
|
32863
|
+
:param _TemplateName: 转码模板名称。
|
|
32864
|
+
:type TemplateName: str
|
|
32865
|
+
:param _Comment: 模板描述信息。
|
|
32866
|
+
:type Comment: str
|
|
32867
|
+
:param _Type: 模板类型,取值:<li>preset:系统预置模板;</li><li>custom:用户自定义模板。</li>
|
|
32868
|
+
:type Type: str
|
|
32869
|
+
:param _VideoStreamSwitch: 启用视频流开关,取值:<li>on:开启;</li><li>off:关闭。</li>
|
|
32870
|
+
:type VideoStreamSwitch: str
|
|
32871
|
+
:param _AudioStreamSwitch: 启用音频流开关,取值:<li>on:开启;</li><li>off:关闭。</li>
|
|
32872
|
+
:type AudioStreamSwitch: str
|
|
32873
|
+
:param _VideoTemplate: 视频流配置参数,仅当 VideoStreamSwitch 为 on,该字段有效。
|
|
32874
|
+
:type VideoTemplate: :class:`tencentcloud.teo.v20220901.models.VideoTemplateInfo`
|
|
32875
|
+
:param _AudioTemplate: 音频流配置参数,仅当 AudioStreamSwitch 为 on,该字段有效。
|
|
32876
|
+
:type AudioTemplate: :class:`tencentcloud.teo.v20220901.models.AudioTemplateInfo`
|
|
32877
|
+
:param _CreateTime: 模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
32878
|
+
:type CreateTime: str
|
|
32879
|
+
:param _UpdateTime: 模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
32880
|
+
:type UpdateTime: str
|
|
32881
|
+
"""
|
|
32882
|
+
self._TemplateId = None
|
|
32883
|
+
self._TemplateName = None
|
|
32884
|
+
self._Comment = None
|
|
32885
|
+
self._Type = None
|
|
32886
|
+
self._VideoStreamSwitch = None
|
|
32887
|
+
self._AudioStreamSwitch = None
|
|
32888
|
+
self._VideoTemplate = None
|
|
32889
|
+
self._AudioTemplate = None
|
|
32890
|
+
self._CreateTime = None
|
|
32891
|
+
self._UpdateTime = None
|
|
32892
|
+
|
|
32893
|
+
@property
|
|
32894
|
+
def TemplateId(self):
|
|
32895
|
+
"""即时转码模板唯一标识。
|
|
32896
|
+
:rtype: str
|
|
32897
|
+
"""
|
|
32898
|
+
return self._TemplateId
|
|
32899
|
+
|
|
32900
|
+
@TemplateId.setter
|
|
32901
|
+
def TemplateId(self, TemplateId):
|
|
32902
|
+
self._TemplateId = TemplateId
|
|
32903
|
+
|
|
32904
|
+
@property
|
|
32905
|
+
def TemplateName(self):
|
|
32906
|
+
"""转码模板名称。
|
|
32907
|
+
:rtype: str
|
|
32908
|
+
"""
|
|
32909
|
+
return self._TemplateName
|
|
32910
|
+
|
|
32911
|
+
@TemplateName.setter
|
|
32912
|
+
def TemplateName(self, TemplateName):
|
|
32913
|
+
self._TemplateName = TemplateName
|
|
32914
|
+
|
|
32915
|
+
@property
|
|
32916
|
+
def Comment(self):
|
|
32917
|
+
"""模板描述信息。
|
|
32918
|
+
:rtype: str
|
|
32919
|
+
"""
|
|
32920
|
+
return self._Comment
|
|
32921
|
+
|
|
32922
|
+
@Comment.setter
|
|
32923
|
+
def Comment(self, Comment):
|
|
32924
|
+
self._Comment = Comment
|
|
32925
|
+
|
|
32926
|
+
@property
|
|
32927
|
+
def Type(self):
|
|
32928
|
+
"""模板类型,取值:<li>preset:系统预置模板;</li><li>custom:用户自定义模板。</li>
|
|
32929
|
+
:rtype: str
|
|
32930
|
+
"""
|
|
32931
|
+
return self._Type
|
|
32932
|
+
|
|
32933
|
+
@Type.setter
|
|
32934
|
+
def Type(self, Type):
|
|
32935
|
+
self._Type = Type
|
|
32936
|
+
|
|
32937
|
+
@property
|
|
32938
|
+
def VideoStreamSwitch(self):
|
|
32939
|
+
"""启用视频流开关,取值:<li>on:开启;</li><li>off:关闭。</li>
|
|
32940
|
+
:rtype: str
|
|
32941
|
+
"""
|
|
32942
|
+
return self._VideoStreamSwitch
|
|
32943
|
+
|
|
32944
|
+
@VideoStreamSwitch.setter
|
|
32945
|
+
def VideoStreamSwitch(self, VideoStreamSwitch):
|
|
32946
|
+
self._VideoStreamSwitch = VideoStreamSwitch
|
|
32947
|
+
|
|
32948
|
+
@property
|
|
32949
|
+
def AudioStreamSwitch(self):
|
|
32950
|
+
"""启用音频流开关,取值:<li>on:开启;</li><li>off:关闭。</li>
|
|
32951
|
+
:rtype: str
|
|
32952
|
+
"""
|
|
32953
|
+
return self._AudioStreamSwitch
|
|
32954
|
+
|
|
32955
|
+
@AudioStreamSwitch.setter
|
|
32956
|
+
def AudioStreamSwitch(self, AudioStreamSwitch):
|
|
32957
|
+
self._AudioStreamSwitch = AudioStreamSwitch
|
|
32958
|
+
|
|
32959
|
+
@property
|
|
32960
|
+
def VideoTemplate(self):
|
|
32961
|
+
"""视频流配置参数,仅当 VideoStreamSwitch 为 on,该字段有效。
|
|
32962
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.VideoTemplateInfo`
|
|
32963
|
+
"""
|
|
32964
|
+
return self._VideoTemplate
|
|
32965
|
+
|
|
32966
|
+
@VideoTemplate.setter
|
|
32967
|
+
def VideoTemplate(self, VideoTemplate):
|
|
32968
|
+
self._VideoTemplate = VideoTemplate
|
|
32969
|
+
|
|
32970
|
+
@property
|
|
32971
|
+
def AudioTemplate(self):
|
|
32972
|
+
"""音频流配置参数,仅当 AudioStreamSwitch 为 on,该字段有效。
|
|
32973
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.AudioTemplateInfo`
|
|
32974
|
+
"""
|
|
32975
|
+
return self._AudioTemplate
|
|
32976
|
+
|
|
32977
|
+
@AudioTemplate.setter
|
|
32978
|
+
def AudioTemplate(self, AudioTemplate):
|
|
32979
|
+
self._AudioTemplate = AudioTemplate
|
|
32980
|
+
|
|
32981
|
+
@property
|
|
32982
|
+
def CreateTime(self):
|
|
32983
|
+
"""模板创建时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
32984
|
+
:rtype: str
|
|
32985
|
+
"""
|
|
32986
|
+
return self._CreateTime
|
|
32987
|
+
|
|
32988
|
+
@CreateTime.setter
|
|
32989
|
+
def CreateTime(self, CreateTime):
|
|
32990
|
+
self._CreateTime = CreateTime
|
|
32991
|
+
|
|
32992
|
+
@property
|
|
32993
|
+
def UpdateTime(self):
|
|
32994
|
+
"""模板最后修改时间,使用 [ISO 日期格式](https://cloud.tencent.com/document/product/266/11732#I)。
|
|
32995
|
+
:rtype: str
|
|
32996
|
+
"""
|
|
32997
|
+
return self._UpdateTime
|
|
32998
|
+
|
|
32999
|
+
@UpdateTime.setter
|
|
33000
|
+
def UpdateTime(self, UpdateTime):
|
|
33001
|
+
self._UpdateTime = UpdateTime
|
|
33002
|
+
|
|
33003
|
+
|
|
33004
|
+
def _deserialize(self, params):
|
|
33005
|
+
self._TemplateId = params.get("TemplateId")
|
|
33006
|
+
self._TemplateName = params.get("TemplateName")
|
|
33007
|
+
self._Comment = params.get("Comment")
|
|
33008
|
+
self._Type = params.get("Type")
|
|
33009
|
+
self._VideoStreamSwitch = params.get("VideoStreamSwitch")
|
|
33010
|
+
self._AudioStreamSwitch = params.get("AudioStreamSwitch")
|
|
33011
|
+
if params.get("VideoTemplate") is not None:
|
|
33012
|
+
self._VideoTemplate = VideoTemplateInfo()
|
|
33013
|
+
self._VideoTemplate._deserialize(params.get("VideoTemplate"))
|
|
33014
|
+
if params.get("AudioTemplate") is not None:
|
|
33015
|
+
self._AudioTemplate = AudioTemplateInfo()
|
|
33016
|
+
self._AudioTemplate._deserialize(params.get("AudioTemplate"))
|
|
33017
|
+
self._CreateTime = params.get("CreateTime")
|
|
33018
|
+
self._UpdateTime = params.get("UpdateTime")
|
|
33019
|
+
memeber_set = set(params.keys())
|
|
33020
|
+
for name, value in vars(self).items():
|
|
33021
|
+
property_name = name[1:]
|
|
33022
|
+
if property_name in memeber_set:
|
|
33023
|
+
memeber_set.remove(property_name)
|
|
33024
|
+
if len(memeber_set) > 0:
|
|
33025
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
33026
|
+
|
|
33027
|
+
|
|
33028
|
+
|
|
30568
33029
|
class L4OfflineLog(AbstractModel):
|
|
30569
33030
|
"""离线日志详细信息
|
|
30570
33031
|
|
|
@@ -36515,39 +38976,469 @@ class ModifyRealtimeLogDeliveryTaskResponse(AbstractModel):
|
|
|
36515
38976
|
self._RequestId = params.get("RequestId")
|
|
36516
38977
|
|
|
36517
38978
|
|
|
36518
|
-
class ModifyRequestHeaderParameters(AbstractModel):
|
|
36519
|
-
"""修改 HTTP 回源请求头配置参数。
|
|
38979
|
+
class ModifyRequestHeaderParameters(AbstractModel):
|
|
38980
|
+
"""修改 HTTP 回源请求头配置参数。
|
|
38981
|
+
|
|
38982
|
+
"""
|
|
38983
|
+
|
|
38984
|
+
def __init__(self):
|
|
38985
|
+
r"""
|
|
38986
|
+
:param _HeaderActions: HTTP 头部设置规则列表。
|
|
38987
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
38988
|
+
:type HeaderActions: list of HeaderAction
|
|
38989
|
+
"""
|
|
38990
|
+
self._HeaderActions = None
|
|
38991
|
+
|
|
38992
|
+
@property
|
|
38993
|
+
def HeaderActions(self):
|
|
38994
|
+
"""HTTP 头部设置规则列表。
|
|
38995
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
38996
|
+
:rtype: list of HeaderAction
|
|
38997
|
+
"""
|
|
38998
|
+
return self._HeaderActions
|
|
38999
|
+
|
|
39000
|
+
@HeaderActions.setter
|
|
39001
|
+
def HeaderActions(self, HeaderActions):
|
|
39002
|
+
self._HeaderActions = HeaderActions
|
|
39003
|
+
|
|
39004
|
+
|
|
39005
|
+
def _deserialize(self, params):
|
|
39006
|
+
if params.get("HeaderActions") is not None:
|
|
39007
|
+
self._HeaderActions = []
|
|
39008
|
+
for item in params.get("HeaderActions"):
|
|
39009
|
+
obj = HeaderAction()
|
|
39010
|
+
obj._deserialize(item)
|
|
39011
|
+
self._HeaderActions.append(obj)
|
|
39012
|
+
memeber_set = set(params.keys())
|
|
39013
|
+
for name, value in vars(self).items():
|
|
39014
|
+
property_name = name[1:]
|
|
39015
|
+
if property_name in memeber_set:
|
|
39016
|
+
memeber_set.remove(property_name)
|
|
39017
|
+
if len(memeber_set) > 0:
|
|
39018
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
39019
|
+
|
|
39020
|
+
|
|
39021
|
+
|
|
39022
|
+
class ModifyResponseHeaderParameters(AbstractModel):
|
|
39023
|
+
"""修改 HTTP 节点响应头配置参数。
|
|
39024
|
+
|
|
39025
|
+
"""
|
|
39026
|
+
|
|
39027
|
+
def __init__(self):
|
|
39028
|
+
r"""
|
|
39029
|
+
:param _HeaderActions: HTTP 回源头部规则列表。
|
|
39030
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
39031
|
+
:type HeaderActions: list of HeaderAction
|
|
39032
|
+
"""
|
|
39033
|
+
self._HeaderActions = None
|
|
39034
|
+
|
|
39035
|
+
@property
|
|
39036
|
+
def HeaderActions(self):
|
|
39037
|
+
"""HTTP 回源头部规则列表。
|
|
39038
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
39039
|
+
:rtype: list of HeaderAction
|
|
39040
|
+
"""
|
|
39041
|
+
return self._HeaderActions
|
|
39042
|
+
|
|
39043
|
+
@HeaderActions.setter
|
|
39044
|
+
def HeaderActions(self, HeaderActions):
|
|
39045
|
+
self._HeaderActions = HeaderActions
|
|
39046
|
+
|
|
39047
|
+
|
|
39048
|
+
def _deserialize(self, params):
|
|
39049
|
+
if params.get("HeaderActions") is not None:
|
|
39050
|
+
self._HeaderActions = []
|
|
39051
|
+
for item in params.get("HeaderActions"):
|
|
39052
|
+
obj = HeaderAction()
|
|
39053
|
+
obj._deserialize(item)
|
|
39054
|
+
self._HeaderActions.append(obj)
|
|
39055
|
+
memeber_set = set(params.keys())
|
|
39056
|
+
for name, value in vars(self).items():
|
|
39057
|
+
property_name = name[1:]
|
|
39058
|
+
if property_name in memeber_set:
|
|
39059
|
+
memeber_set.remove(property_name)
|
|
39060
|
+
if len(memeber_set) > 0:
|
|
39061
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
39062
|
+
|
|
39063
|
+
|
|
39064
|
+
|
|
39065
|
+
class ModifyRuleRequest(AbstractModel):
|
|
39066
|
+
"""ModifyRule请求参数结构体
|
|
39067
|
+
|
|
39068
|
+
"""
|
|
39069
|
+
|
|
39070
|
+
def __init__(self):
|
|
39071
|
+
r"""
|
|
39072
|
+
:param _ZoneId: 站点 ID。
|
|
39073
|
+
:type ZoneId: str
|
|
39074
|
+
:param _RuleName: 规则名称,字符串名称长度 1~255。
|
|
39075
|
+
:type RuleName: str
|
|
39076
|
+
:param _Rules: 规则内容。
|
|
39077
|
+
:type Rules: list of Rule
|
|
39078
|
+
:param _RuleId: 规则 ID。
|
|
39079
|
+
:type RuleId: str
|
|
39080
|
+
:param _Status: 规则状态,取值有:
|
|
39081
|
+
<li> enable: 启用; </li>
|
|
39082
|
+
<li> disable: 未启用。</li>
|
|
39083
|
+
:type Status: str
|
|
39084
|
+
:param _Tags: 规则标签。
|
|
39085
|
+
:type Tags: list of str
|
|
39086
|
+
"""
|
|
39087
|
+
self._ZoneId = None
|
|
39088
|
+
self._RuleName = None
|
|
39089
|
+
self._Rules = None
|
|
39090
|
+
self._RuleId = None
|
|
39091
|
+
self._Status = None
|
|
39092
|
+
self._Tags = None
|
|
39093
|
+
|
|
39094
|
+
@property
|
|
39095
|
+
def ZoneId(self):
|
|
39096
|
+
"""站点 ID。
|
|
39097
|
+
:rtype: str
|
|
39098
|
+
"""
|
|
39099
|
+
return self._ZoneId
|
|
39100
|
+
|
|
39101
|
+
@ZoneId.setter
|
|
39102
|
+
def ZoneId(self, ZoneId):
|
|
39103
|
+
self._ZoneId = ZoneId
|
|
39104
|
+
|
|
39105
|
+
@property
|
|
39106
|
+
def RuleName(self):
|
|
39107
|
+
"""规则名称,字符串名称长度 1~255。
|
|
39108
|
+
:rtype: str
|
|
39109
|
+
"""
|
|
39110
|
+
return self._RuleName
|
|
39111
|
+
|
|
39112
|
+
@RuleName.setter
|
|
39113
|
+
def RuleName(self, RuleName):
|
|
39114
|
+
self._RuleName = RuleName
|
|
39115
|
+
|
|
39116
|
+
@property
|
|
39117
|
+
def Rules(self):
|
|
39118
|
+
"""规则内容。
|
|
39119
|
+
:rtype: list of Rule
|
|
39120
|
+
"""
|
|
39121
|
+
return self._Rules
|
|
39122
|
+
|
|
39123
|
+
@Rules.setter
|
|
39124
|
+
def Rules(self, Rules):
|
|
39125
|
+
self._Rules = Rules
|
|
39126
|
+
|
|
39127
|
+
@property
|
|
39128
|
+
def RuleId(self):
|
|
39129
|
+
"""规则 ID。
|
|
39130
|
+
:rtype: str
|
|
39131
|
+
"""
|
|
39132
|
+
return self._RuleId
|
|
39133
|
+
|
|
39134
|
+
@RuleId.setter
|
|
39135
|
+
def RuleId(self, RuleId):
|
|
39136
|
+
self._RuleId = RuleId
|
|
39137
|
+
|
|
39138
|
+
@property
|
|
39139
|
+
def Status(self):
|
|
39140
|
+
"""规则状态,取值有:
|
|
39141
|
+
<li> enable: 启用; </li>
|
|
39142
|
+
<li> disable: 未启用。</li>
|
|
39143
|
+
:rtype: str
|
|
39144
|
+
"""
|
|
39145
|
+
return self._Status
|
|
39146
|
+
|
|
39147
|
+
@Status.setter
|
|
39148
|
+
def Status(self, Status):
|
|
39149
|
+
self._Status = Status
|
|
39150
|
+
|
|
39151
|
+
@property
|
|
39152
|
+
def Tags(self):
|
|
39153
|
+
"""规则标签。
|
|
39154
|
+
:rtype: list of str
|
|
39155
|
+
"""
|
|
39156
|
+
return self._Tags
|
|
39157
|
+
|
|
39158
|
+
@Tags.setter
|
|
39159
|
+
def Tags(self, Tags):
|
|
39160
|
+
self._Tags = Tags
|
|
39161
|
+
|
|
39162
|
+
|
|
39163
|
+
def _deserialize(self, params):
|
|
39164
|
+
self._ZoneId = params.get("ZoneId")
|
|
39165
|
+
self._RuleName = params.get("RuleName")
|
|
39166
|
+
if params.get("Rules") is not None:
|
|
39167
|
+
self._Rules = []
|
|
39168
|
+
for item in params.get("Rules"):
|
|
39169
|
+
obj = Rule()
|
|
39170
|
+
obj._deserialize(item)
|
|
39171
|
+
self._Rules.append(obj)
|
|
39172
|
+
self._RuleId = params.get("RuleId")
|
|
39173
|
+
self._Status = params.get("Status")
|
|
39174
|
+
self._Tags = params.get("Tags")
|
|
39175
|
+
memeber_set = set(params.keys())
|
|
39176
|
+
for name, value in vars(self).items():
|
|
39177
|
+
property_name = name[1:]
|
|
39178
|
+
if property_name in memeber_set:
|
|
39179
|
+
memeber_set.remove(property_name)
|
|
39180
|
+
if len(memeber_set) > 0:
|
|
39181
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
39182
|
+
|
|
39183
|
+
|
|
39184
|
+
|
|
39185
|
+
class ModifyRuleResponse(AbstractModel):
|
|
39186
|
+
"""ModifyRule返回参数结构体
|
|
39187
|
+
|
|
39188
|
+
"""
|
|
39189
|
+
|
|
39190
|
+
def __init__(self):
|
|
39191
|
+
r"""
|
|
39192
|
+
:param _RuleId: 规则 ID。
|
|
39193
|
+
:type RuleId: str
|
|
39194
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
39195
|
+
:type RequestId: str
|
|
39196
|
+
"""
|
|
39197
|
+
self._RuleId = None
|
|
39198
|
+
self._RequestId = None
|
|
39199
|
+
|
|
39200
|
+
@property
|
|
39201
|
+
def RuleId(self):
|
|
39202
|
+
"""规则 ID。
|
|
39203
|
+
:rtype: str
|
|
39204
|
+
"""
|
|
39205
|
+
return self._RuleId
|
|
39206
|
+
|
|
39207
|
+
@RuleId.setter
|
|
39208
|
+
def RuleId(self, RuleId):
|
|
39209
|
+
self._RuleId = RuleId
|
|
39210
|
+
|
|
39211
|
+
@property
|
|
39212
|
+
def RequestId(self):
|
|
39213
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
39214
|
+
:rtype: str
|
|
39215
|
+
"""
|
|
39216
|
+
return self._RequestId
|
|
39217
|
+
|
|
39218
|
+
@RequestId.setter
|
|
39219
|
+
def RequestId(self, RequestId):
|
|
39220
|
+
self._RequestId = RequestId
|
|
39221
|
+
|
|
39222
|
+
|
|
39223
|
+
def _deserialize(self, params):
|
|
39224
|
+
self._RuleId = params.get("RuleId")
|
|
39225
|
+
self._RequestId = params.get("RequestId")
|
|
39226
|
+
|
|
39227
|
+
|
|
39228
|
+
class ModifySecurityAPIResourceRequest(AbstractModel):
|
|
39229
|
+
"""ModifySecurityAPIResource请求参数结构体
|
|
39230
|
+
|
|
39231
|
+
"""
|
|
39232
|
+
|
|
39233
|
+
def __init__(self):
|
|
39234
|
+
r"""
|
|
39235
|
+
:param _ZoneId: 站点 ID。
|
|
39236
|
+
:type ZoneId: str
|
|
39237
|
+
:param _APIResources: API 资源列表。
|
|
39238
|
+
:type APIResources: list of APIResource
|
|
39239
|
+
"""
|
|
39240
|
+
self._ZoneId = None
|
|
39241
|
+
self._APIResources = None
|
|
39242
|
+
|
|
39243
|
+
@property
|
|
39244
|
+
def ZoneId(self):
|
|
39245
|
+
"""站点 ID。
|
|
39246
|
+
:rtype: str
|
|
39247
|
+
"""
|
|
39248
|
+
return self._ZoneId
|
|
39249
|
+
|
|
39250
|
+
@ZoneId.setter
|
|
39251
|
+
def ZoneId(self, ZoneId):
|
|
39252
|
+
self._ZoneId = ZoneId
|
|
39253
|
+
|
|
39254
|
+
@property
|
|
39255
|
+
def APIResources(self):
|
|
39256
|
+
"""API 资源列表。
|
|
39257
|
+
:rtype: list of APIResource
|
|
39258
|
+
"""
|
|
39259
|
+
return self._APIResources
|
|
39260
|
+
|
|
39261
|
+
@APIResources.setter
|
|
39262
|
+
def APIResources(self, APIResources):
|
|
39263
|
+
self._APIResources = APIResources
|
|
39264
|
+
|
|
39265
|
+
|
|
39266
|
+
def _deserialize(self, params):
|
|
39267
|
+
self._ZoneId = params.get("ZoneId")
|
|
39268
|
+
if params.get("APIResources") is not None:
|
|
39269
|
+
self._APIResources = []
|
|
39270
|
+
for item in params.get("APIResources"):
|
|
39271
|
+
obj = APIResource()
|
|
39272
|
+
obj._deserialize(item)
|
|
39273
|
+
self._APIResources.append(obj)
|
|
39274
|
+
memeber_set = set(params.keys())
|
|
39275
|
+
for name, value in vars(self).items():
|
|
39276
|
+
property_name = name[1:]
|
|
39277
|
+
if property_name in memeber_set:
|
|
39278
|
+
memeber_set.remove(property_name)
|
|
39279
|
+
if len(memeber_set) > 0:
|
|
39280
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
39281
|
+
|
|
39282
|
+
|
|
39283
|
+
|
|
39284
|
+
class ModifySecurityAPIResourceResponse(AbstractModel):
|
|
39285
|
+
"""ModifySecurityAPIResource返回参数结构体
|
|
39286
|
+
|
|
39287
|
+
"""
|
|
39288
|
+
|
|
39289
|
+
def __init__(self):
|
|
39290
|
+
r"""
|
|
39291
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
39292
|
+
:type RequestId: str
|
|
39293
|
+
"""
|
|
39294
|
+
self._RequestId = None
|
|
39295
|
+
|
|
39296
|
+
@property
|
|
39297
|
+
def RequestId(self):
|
|
39298
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
39299
|
+
:rtype: str
|
|
39300
|
+
"""
|
|
39301
|
+
return self._RequestId
|
|
39302
|
+
|
|
39303
|
+
@RequestId.setter
|
|
39304
|
+
def RequestId(self, RequestId):
|
|
39305
|
+
self._RequestId = RequestId
|
|
39306
|
+
|
|
39307
|
+
|
|
39308
|
+
def _deserialize(self, params):
|
|
39309
|
+
self._RequestId = params.get("RequestId")
|
|
39310
|
+
|
|
39311
|
+
|
|
39312
|
+
class ModifySecurityAPIServiceRequest(AbstractModel):
|
|
39313
|
+
"""ModifySecurityAPIService请求参数结构体
|
|
39314
|
+
|
|
39315
|
+
"""
|
|
39316
|
+
|
|
39317
|
+
def __init__(self):
|
|
39318
|
+
r"""
|
|
39319
|
+
:param _ZoneId: 站点 ID。
|
|
39320
|
+
:type ZoneId: str
|
|
39321
|
+
:param _APIServices: API 服务列表。
|
|
39322
|
+
:type APIServices: list of APIService
|
|
39323
|
+
"""
|
|
39324
|
+
self._ZoneId = None
|
|
39325
|
+
self._APIServices = None
|
|
39326
|
+
|
|
39327
|
+
@property
|
|
39328
|
+
def ZoneId(self):
|
|
39329
|
+
"""站点 ID。
|
|
39330
|
+
:rtype: str
|
|
39331
|
+
"""
|
|
39332
|
+
return self._ZoneId
|
|
39333
|
+
|
|
39334
|
+
@ZoneId.setter
|
|
39335
|
+
def ZoneId(self, ZoneId):
|
|
39336
|
+
self._ZoneId = ZoneId
|
|
39337
|
+
|
|
39338
|
+
@property
|
|
39339
|
+
def APIServices(self):
|
|
39340
|
+
"""API 服务列表。
|
|
39341
|
+
:rtype: list of APIService
|
|
39342
|
+
"""
|
|
39343
|
+
return self._APIServices
|
|
39344
|
+
|
|
39345
|
+
@APIServices.setter
|
|
39346
|
+
def APIServices(self, APIServices):
|
|
39347
|
+
self._APIServices = APIServices
|
|
39348
|
+
|
|
39349
|
+
|
|
39350
|
+
def _deserialize(self, params):
|
|
39351
|
+
self._ZoneId = params.get("ZoneId")
|
|
39352
|
+
if params.get("APIServices") is not None:
|
|
39353
|
+
self._APIServices = []
|
|
39354
|
+
for item in params.get("APIServices"):
|
|
39355
|
+
obj = APIService()
|
|
39356
|
+
obj._deserialize(item)
|
|
39357
|
+
self._APIServices.append(obj)
|
|
39358
|
+
memeber_set = set(params.keys())
|
|
39359
|
+
for name, value in vars(self).items():
|
|
39360
|
+
property_name = name[1:]
|
|
39361
|
+
if property_name in memeber_set:
|
|
39362
|
+
memeber_set.remove(property_name)
|
|
39363
|
+
if len(memeber_set) > 0:
|
|
39364
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
39365
|
+
|
|
39366
|
+
|
|
39367
|
+
|
|
39368
|
+
class ModifySecurityAPIServiceResponse(AbstractModel):
|
|
39369
|
+
"""ModifySecurityAPIService返回参数结构体
|
|
39370
|
+
|
|
39371
|
+
"""
|
|
39372
|
+
|
|
39373
|
+
def __init__(self):
|
|
39374
|
+
r"""
|
|
39375
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
39376
|
+
:type RequestId: str
|
|
39377
|
+
"""
|
|
39378
|
+
self._RequestId = None
|
|
39379
|
+
|
|
39380
|
+
@property
|
|
39381
|
+
def RequestId(self):
|
|
39382
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
39383
|
+
:rtype: str
|
|
39384
|
+
"""
|
|
39385
|
+
return self._RequestId
|
|
39386
|
+
|
|
39387
|
+
@RequestId.setter
|
|
39388
|
+
def RequestId(self, RequestId):
|
|
39389
|
+
self._RequestId = RequestId
|
|
39390
|
+
|
|
39391
|
+
|
|
39392
|
+
def _deserialize(self, params):
|
|
39393
|
+
self._RequestId = params.get("RequestId")
|
|
39394
|
+
|
|
39395
|
+
|
|
39396
|
+
class ModifySecurityClientAttesterRequest(AbstractModel):
|
|
39397
|
+
"""ModifySecurityClientAttester请求参数结构体
|
|
36520
39398
|
|
|
36521
39399
|
"""
|
|
36522
39400
|
|
|
36523
39401
|
def __init__(self):
|
|
36524
39402
|
r"""
|
|
36525
|
-
:param
|
|
36526
|
-
|
|
36527
|
-
:
|
|
39403
|
+
:param _ZoneId: 站点 ID。
|
|
39404
|
+
:type ZoneId: str
|
|
39405
|
+
:param _ClientAttesters: 认证选项列表。
|
|
39406
|
+
:type ClientAttesters: list of ClientAttester
|
|
36528
39407
|
"""
|
|
36529
|
-
self.
|
|
39408
|
+
self._ZoneId = None
|
|
39409
|
+
self._ClientAttesters = None
|
|
36530
39410
|
|
|
36531
39411
|
@property
|
|
36532
|
-
def
|
|
36533
|
-
"""
|
|
36534
|
-
|
|
36535
|
-
:rtype: list of HeaderAction
|
|
39412
|
+
def ZoneId(self):
|
|
39413
|
+
"""站点 ID。
|
|
39414
|
+
:rtype: str
|
|
36536
39415
|
"""
|
|
36537
|
-
return self.
|
|
39416
|
+
return self._ZoneId
|
|
36538
39417
|
|
|
36539
|
-
@
|
|
36540
|
-
def
|
|
36541
|
-
self.
|
|
39418
|
+
@ZoneId.setter
|
|
39419
|
+
def ZoneId(self, ZoneId):
|
|
39420
|
+
self._ZoneId = ZoneId
|
|
39421
|
+
|
|
39422
|
+
@property
|
|
39423
|
+
def ClientAttesters(self):
|
|
39424
|
+
"""认证选项列表。
|
|
39425
|
+
:rtype: list of ClientAttester
|
|
39426
|
+
"""
|
|
39427
|
+
return self._ClientAttesters
|
|
39428
|
+
|
|
39429
|
+
@ClientAttesters.setter
|
|
39430
|
+
def ClientAttesters(self, ClientAttesters):
|
|
39431
|
+
self._ClientAttesters = ClientAttesters
|
|
36542
39432
|
|
|
36543
39433
|
|
|
36544
39434
|
def _deserialize(self, params):
|
|
36545
|
-
|
|
36546
|
-
|
|
36547
|
-
|
|
36548
|
-
|
|
39435
|
+
self._ZoneId = params.get("ZoneId")
|
|
39436
|
+
if params.get("ClientAttesters") is not None:
|
|
39437
|
+
self._ClientAttesters = []
|
|
39438
|
+
for item in params.get("ClientAttesters"):
|
|
39439
|
+
obj = ClientAttester()
|
|
36549
39440
|
obj._deserialize(item)
|
|
36550
|
-
self.
|
|
39441
|
+
self._ClientAttesters.append(obj)
|
|
36551
39442
|
memeber_set = set(params.keys())
|
|
36552
39443
|
for name, value in vars(self).items():
|
|
36553
39444
|
property_name = name[1:]
|
|
@@ -36558,81 +39449,55 @@ class ModifyRequestHeaderParameters(AbstractModel):
|
|
|
36558
39449
|
|
|
36559
39450
|
|
|
36560
39451
|
|
|
36561
|
-
class
|
|
36562
|
-
"""
|
|
39452
|
+
class ModifySecurityClientAttesterResponse(AbstractModel):
|
|
39453
|
+
"""ModifySecurityClientAttester返回参数结构体
|
|
36563
39454
|
|
|
36564
39455
|
"""
|
|
36565
39456
|
|
|
36566
39457
|
def __init__(self):
|
|
36567
39458
|
r"""
|
|
36568
|
-
:param
|
|
36569
|
-
|
|
36570
|
-
:type HeaderActions: list of HeaderAction
|
|
39459
|
+
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
39460
|
+
:type RequestId: str
|
|
36571
39461
|
"""
|
|
36572
|
-
self.
|
|
39462
|
+
self._RequestId = None
|
|
36573
39463
|
|
|
36574
39464
|
@property
|
|
36575
|
-
def
|
|
36576
|
-
"""
|
|
36577
|
-
|
|
36578
|
-
:rtype: list of HeaderAction
|
|
39465
|
+
def RequestId(self):
|
|
39466
|
+
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
39467
|
+
:rtype: str
|
|
36579
39468
|
"""
|
|
36580
|
-
return self.
|
|
39469
|
+
return self._RequestId
|
|
36581
39470
|
|
|
36582
|
-
@
|
|
36583
|
-
def
|
|
36584
|
-
self.
|
|
39471
|
+
@RequestId.setter
|
|
39472
|
+
def RequestId(self, RequestId):
|
|
39473
|
+
self._RequestId = RequestId
|
|
36585
39474
|
|
|
36586
39475
|
|
|
36587
39476
|
def _deserialize(self, params):
|
|
36588
|
-
|
|
36589
|
-
self._HeaderActions = []
|
|
36590
|
-
for item in params.get("HeaderActions"):
|
|
36591
|
-
obj = HeaderAction()
|
|
36592
|
-
obj._deserialize(item)
|
|
36593
|
-
self._HeaderActions.append(obj)
|
|
36594
|
-
memeber_set = set(params.keys())
|
|
36595
|
-
for name, value in vars(self).items():
|
|
36596
|
-
property_name = name[1:]
|
|
36597
|
-
if property_name in memeber_set:
|
|
36598
|
-
memeber_set.remove(property_name)
|
|
36599
|
-
if len(memeber_set) > 0:
|
|
36600
|
-
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
36601
|
-
|
|
39477
|
+
self._RequestId = params.get("RequestId")
|
|
36602
39478
|
|
|
36603
39479
|
|
|
36604
|
-
class
|
|
36605
|
-
"""
|
|
39480
|
+
class ModifySecurityIPGroupRequest(AbstractModel):
|
|
39481
|
+
"""ModifySecurityIPGroup请求参数结构体
|
|
36606
39482
|
|
|
36607
39483
|
"""
|
|
36608
39484
|
|
|
36609
39485
|
def __init__(self):
|
|
36610
39486
|
r"""
|
|
36611
|
-
:param _ZoneId: 站点
|
|
39487
|
+
:param _ZoneId: 站点 Id。
|
|
36612
39488
|
:type ZoneId: str
|
|
36613
|
-
:param
|
|
36614
|
-
:type
|
|
36615
|
-
:param
|
|
36616
|
-
:type
|
|
36617
|
-
:param _RuleId: 规则 ID。
|
|
36618
|
-
:type RuleId: str
|
|
36619
|
-
:param _Status: 规则状态,取值有:
|
|
36620
|
-
<li> enable: 启用; </li>
|
|
36621
|
-
<li> disable: 未启用。</li>
|
|
36622
|
-
:type Status: str
|
|
36623
|
-
:param _Tags: 规则标签。
|
|
36624
|
-
:type Tags: list of str
|
|
39489
|
+
:param _IPGroup: IP 组配置。
|
|
39490
|
+
:type IPGroup: :class:`tencentcloud.teo.v20220901.models.IPGroup`
|
|
39491
|
+
:param _Mode: 操作类型,取值有:<li> append: 向 IPGroup 中添加新的 IP 地址或设置定时过期时间;</li><li> remove: 从 IPGroup 中删除指定的 IP 地址或其定时过期时间;</li><li> update: 完全替换 IPGroup 中 Content 或 ExpireInfo 的内容,并且可以修改 IPGroup 的名称。</li> 使用 append 操作时注意: <li> 为 IP 或网段添加定时过期时间时,必须晚于当前时间。如果该 IP 或网段在组中不存在,必须同时在 Content 参数中添加该 IP 或网段。若该 IP 或网段已存在过期时间,则新时间将覆盖原有时间。</li> 使用 remove 操作时注意: <li> 删除 IP 或网段时,相关的未过期的定时过期时间也会被删除;</li> <li> 删除定时过期时间时,仅能删除当前未过期的时间。</li> 使用 update 操作时注意: <li> 替换 Content 内容时,不在 Content 中的 IP 或网段的未过期时间会被删除;</li> <li> 替换 IPExpireInfo 内容时,IPExpireInfo 中的 IP 或网段必须在 Content 中或在 IP 组中存在。</li>
|
|
39492
|
+
:type Mode: str
|
|
36625
39493
|
"""
|
|
36626
39494
|
self._ZoneId = None
|
|
36627
|
-
self.
|
|
36628
|
-
self.
|
|
36629
|
-
self._RuleId = None
|
|
36630
|
-
self._Status = None
|
|
36631
|
-
self._Tags = None
|
|
39495
|
+
self._IPGroup = None
|
|
39496
|
+
self._Mode = None
|
|
36632
39497
|
|
|
36633
39498
|
@property
|
|
36634
39499
|
def ZoneId(self):
|
|
36635
|
-
"""站点
|
|
39500
|
+
"""站点 Id。
|
|
36636
39501
|
:rtype: str
|
|
36637
39502
|
"""
|
|
36638
39503
|
return self._ZoneId
|
|
@@ -36642,75 +39507,34 @@ class ModifyRuleRequest(AbstractModel):
|
|
|
36642
39507
|
self._ZoneId = ZoneId
|
|
36643
39508
|
|
|
36644
39509
|
@property
|
|
36645
|
-
def
|
|
36646
|
-
"""
|
|
36647
|
-
:rtype:
|
|
36648
|
-
"""
|
|
36649
|
-
return self._RuleName
|
|
36650
|
-
|
|
36651
|
-
@RuleName.setter
|
|
36652
|
-
def RuleName(self, RuleName):
|
|
36653
|
-
self._RuleName = RuleName
|
|
36654
|
-
|
|
36655
|
-
@property
|
|
36656
|
-
def Rules(self):
|
|
36657
|
-
"""规则内容。
|
|
36658
|
-
:rtype: list of Rule
|
|
36659
|
-
"""
|
|
36660
|
-
return self._Rules
|
|
36661
|
-
|
|
36662
|
-
@Rules.setter
|
|
36663
|
-
def Rules(self, Rules):
|
|
36664
|
-
self._Rules = Rules
|
|
36665
|
-
|
|
36666
|
-
@property
|
|
36667
|
-
def RuleId(self):
|
|
36668
|
-
"""规则 ID。
|
|
36669
|
-
:rtype: str
|
|
39510
|
+
def IPGroup(self):
|
|
39511
|
+
"""IP 组配置。
|
|
39512
|
+
:rtype: :class:`tencentcloud.teo.v20220901.models.IPGroup`
|
|
36670
39513
|
"""
|
|
36671
|
-
return self.
|
|
39514
|
+
return self._IPGroup
|
|
36672
39515
|
|
|
36673
|
-
@
|
|
36674
|
-
def
|
|
36675
|
-
self.
|
|
39516
|
+
@IPGroup.setter
|
|
39517
|
+
def IPGroup(self, IPGroup):
|
|
39518
|
+
self._IPGroup = IPGroup
|
|
36676
39519
|
|
|
36677
39520
|
@property
|
|
36678
|
-
def
|
|
36679
|
-
"""
|
|
36680
|
-
<li> enable: 启用; </li>
|
|
36681
|
-
<li> disable: 未启用。</li>
|
|
39521
|
+
def Mode(self):
|
|
39522
|
+
"""操作类型,取值有:<li> append: 向 IPGroup 中添加新的 IP 地址或设置定时过期时间;</li><li> remove: 从 IPGroup 中删除指定的 IP 地址或其定时过期时间;</li><li> update: 完全替换 IPGroup 中 Content 或 ExpireInfo 的内容,并且可以修改 IPGroup 的名称。</li> 使用 append 操作时注意: <li> 为 IP 或网段添加定时过期时间时,必须晚于当前时间。如果该 IP 或网段在组中不存在,必须同时在 Content 参数中添加该 IP 或网段。若该 IP 或网段已存在过期时间,则新时间将覆盖原有时间。</li> 使用 remove 操作时注意: <li> 删除 IP 或网段时,相关的未过期的定时过期时间也会被删除;</li> <li> 删除定时过期时间时,仅能删除当前未过期的时间。</li> 使用 update 操作时注意: <li> 替换 Content 内容时,不在 Content 中的 IP 或网段的未过期时间会被删除;</li> <li> 替换 IPExpireInfo 内容时,IPExpireInfo 中的 IP 或网段必须在 Content 中或在 IP 组中存在。</li>
|
|
36682
39523
|
:rtype: str
|
|
36683
39524
|
"""
|
|
36684
|
-
return self.
|
|
36685
|
-
|
|
36686
|
-
@Status.setter
|
|
36687
|
-
def Status(self, Status):
|
|
36688
|
-
self._Status = Status
|
|
36689
|
-
|
|
36690
|
-
@property
|
|
36691
|
-
def Tags(self):
|
|
36692
|
-
"""规则标签。
|
|
36693
|
-
:rtype: list of str
|
|
36694
|
-
"""
|
|
36695
|
-
return self._Tags
|
|
39525
|
+
return self._Mode
|
|
36696
39526
|
|
|
36697
|
-
@
|
|
36698
|
-
def
|
|
36699
|
-
self.
|
|
39527
|
+
@Mode.setter
|
|
39528
|
+
def Mode(self, Mode):
|
|
39529
|
+
self._Mode = Mode
|
|
36700
39530
|
|
|
36701
39531
|
|
|
36702
39532
|
def _deserialize(self, params):
|
|
36703
39533
|
self._ZoneId = params.get("ZoneId")
|
|
36704
|
-
|
|
36705
|
-
|
|
36706
|
-
self.
|
|
36707
|
-
|
|
36708
|
-
obj = Rule()
|
|
36709
|
-
obj._deserialize(item)
|
|
36710
|
-
self._Rules.append(obj)
|
|
36711
|
-
self._RuleId = params.get("RuleId")
|
|
36712
|
-
self._Status = params.get("Status")
|
|
36713
|
-
self._Tags = params.get("Tags")
|
|
39534
|
+
if params.get("IPGroup") is not None:
|
|
39535
|
+
self._IPGroup = IPGroup()
|
|
39536
|
+
self._IPGroup._deserialize(params.get("IPGroup"))
|
|
39537
|
+
self._Mode = params.get("Mode")
|
|
36714
39538
|
memeber_set = set(params.keys())
|
|
36715
39539
|
for name, value in vars(self).items():
|
|
36716
39540
|
property_name = name[1:]
|
|
@@ -36721,32 +39545,18 @@ class ModifyRuleRequest(AbstractModel):
|
|
|
36721
39545
|
|
|
36722
39546
|
|
|
36723
39547
|
|
|
36724
|
-
class
|
|
36725
|
-
"""
|
|
39548
|
+
class ModifySecurityIPGroupResponse(AbstractModel):
|
|
39549
|
+
"""ModifySecurityIPGroup返回参数结构体
|
|
36726
39550
|
|
|
36727
39551
|
"""
|
|
36728
39552
|
|
|
36729
39553
|
def __init__(self):
|
|
36730
39554
|
r"""
|
|
36731
|
-
:param _RuleId: 规则 ID。
|
|
36732
|
-
:type RuleId: str
|
|
36733
39555
|
:param _RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
36734
39556
|
:type RequestId: str
|
|
36735
39557
|
"""
|
|
36736
|
-
self._RuleId = None
|
|
36737
39558
|
self._RequestId = None
|
|
36738
39559
|
|
|
36739
|
-
@property
|
|
36740
|
-
def RuleId(self):
|
|
36741
|
-
"""规则 ID。
|
|
36742
|
-
:rtype: str
|
|
36743
|
-
"""
|
|
36744
|
-
return self._RuleId
|
|
36745
|
-
|
|
36746
|
-
@RuleId.setter
|
|
36747
|
-
def RuleId(self, RuleId):
|
|
36748
|
-
self._RuleId = RuleId
|
|
36749
|
-
|
|
36750
39560
|
@property
|
|
36751
39561
|
def RequestId(self):
|
|
36752
39562
|
"""唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -36760,31 +39570,27 @@ class ModifyRuleResponse(AbstractModel):
|
|
|
36760
39570
|
|
|
36761
39571
|
|
|
36762
39572
|
def _deserialize(self, params):
|
|
36763
|
-
self._RuleId = params.get("RuleId")
|
|
36764
39573
|
self._RequestId = params.get("RequestId")
|
|
36765
39574
|
|
|
36766
39575
|
|
|
36767
|
-
class
|
|
36768
|
-
"""
|
|
39576
|
+
class ModifySecurityJSInjectionRuleRequest(AbstractModel):
|
|
39577
|
+
"""ModifySecurityJSInjectionRule请求参数结构体
|
|
36769
39578
|
|
|
36770
39579
|
"""
|
|
36771
39580
|
|
|
36772
39581
|
def __init__(self):
|
|
36773
39582
|
r"""
|
|
36774
|
-
:param _ZoneId: 站点
|
|
39583
|
+
:param _ZoneId: 站点 ID。
|
|
36775
39584
|
:type ZoneId: str
|
|
36776
|
-
:param
|
|
36777
|
-
:type
|
|
36778
|
-
:param _Mode: 操作类型,取值有:<li> append: 向 IPGroup 中添加新的 IP 地址或设置定时过期时间;</li><li> remove: 从 IPGroup 中删除指定的 IP 地址或其定时过期时间;</li><li> update: 完全替换 IPGroup 中 Content 或 ExpireInfo 的内容,并且可以修改 IPGroup 的名称。</li> 使用 append 操作时注意: <li> 为 IP 或网段添加定时过期时间时,必须晚于当前时间。如果该 IP 或网段在组中不存在,必须同时在 Content 参数中添加该 IP 或网段。若该 IP 或网段已存在过期时间,则新时间将覆盖原有时间。</li> 使用 remove 操作时注意: <li> 删除 IP 或网段时,相关的未过期的定时过期时间也会被删除;</li> <li> 删除定时过期时间时,仅能删除当前未过期的时间。</li> 使用 update 操作时注意: <li> 替换 Content 内容时,不在 Content 中的 IP 或网段的未过期时间会被删除;</li> <li> 替换 IPExpireInfo 内容时,IPExpireInfo 中的 IP 或网段必须在 Content 中或在 IP 组中存在。</li>
|
|
36779
|
-
:type Mode: str
|
|
39585
|
+
:param _JSInjectionRules: JavaScript 注入规则列表。
|
|
39586
|
+
:type JSInjectionRules: list of JSInjectionRule
|
|
36780
39587
|
"""
|
|
36781
39588
|
self._ZoneId = None
|
|
36782
|
-
self.
|
|
36783
|
-
self._Mode = None
|
|
39589
|
+
self._JSInjectionRules = None
|
|
36784
39590
|
|
|
36785
39591
|
@property
|
|
36786
39592
|
def ZoneId(self):
|
|
36787
|
-
"""站点
|
|
39593
|
+
"""站点 ID。
|
|
36788
39594
|
:rtype: str
|
|
36789
39595
|
"""
|
|
36790
39596
|
return self._ZoneId
|
|
@@ -36794,34 +39600,25 @@ class ModifySecurityIPGroupRequest(AbstractModel):
|
|
|
36794
39600
|
self._ZoneId = ZoneId
|
|
36795
39601
|
|
|
36796
39602
|
@property
|
|
36797
|
-
def
|
|
36798
|
-
"""
|
|
36799
|
-
:rtype:
|
|
36800
|
-
"""
|
|
36801
|
-
return self._IPGroup
|
|
36802
|
-
|
|
36803
|
-
@IPGroup.setter
|
|
36804
|
-
def IPGroup(self, IPGroup):
|
|
36805
|
-
self._IPGroup = IPGroup
|
|
36806
|
-
|
|
36807
|
-
@property
|
|
36808
|
-
def Mode(self):
|
|
36809
|
-
"""操作类型,取值有:<li> append: 向 IPGroup 中添加新的 IP 地址或设置定时过期时间;</li><li> remove: 从 IPGroup 中删除指定的 IP 地址或其定时过期时间;</li><li> update: 完全替换 IPGroup 中 Content 或 ExpireInfo 的内容,并且可以修改 IPGroup 的名称。</li> 使用 append 操作时注意: <li> 为 IP 或网段添加定时过期时间时,必须晚于当前时间。如果该 IP 或网段在组中不存在,必须同时在 Content 参数中添加该 IP 或网段。若该 IP 或网段已存在过期时间,则新时间将覆盖原有时间。</li> 使用 remove 操作时注意: <li> 删除 IP 或网段时,相关的未过期的定时过期时间也会被删除;</li> <li> 删除定时过期时间时,仅能删除当前未过期的时间。</li> 使用 update 操作时注意: <li> 替换 Content 内容时,不在 Content 中的 IP 或网段的未过期时间会被删除;</li> <li> 替换 IPExpireInfo 内容时,IPExpireInfo 中的 IP 或网段必须在 Content 中或在 IP 组中存在。</li>
|
|
36810
|
-
:rtype: str
|
|
39603
|
+
def JSInjectionRules(self):
|
|
39604
|
+
"""JavaScript 注入规则列表。
|
|
39605
|
+
:rtype: list of JSInjectionRule
|
|
36811
39606
|
"""
|
|
36812
|
-
return self.
|
|
39607
|
+
return self._JSInjectionRules
|
|
36813
39608
|
|
|
36814
|
-
@
|
|
36815
|
-
def
|
|
36816
|
-
self.
|
|
39609
|
+
@JSInjectionRules.setter
|
|
39610
|
+
def JSInjectionRules(self, JSInjectionRules):
|
|
39611
|
+
self._JSInjectionRules = JSInjectionRules
|
|
36817
39612
|
|
|
36818
39613
|
|
|
36819
39614
|
def _deserialize(self, params):
|
|
36820
39615
|
self._ZoneId = params.get("ZoneId")
|
|
36821
|
-
if params.get("
|
|
36822
|
-
self.
|
|
36823
|
-
|
|
36824
|
-
|
|
39616
|
+
if params.get("JSInjectionRules") is not None:
|
|
39617
|
+
self._JSInjectionRules = []
|
|
39618
|
+
for item in params.get("JSInjectionRules"):
|
|
39619
|
+
obj = JSInjectionRule()
|
|
39620
|
+
obj._deserialize(item)
|
|
39621
|
+
self._JSInjectionRules.append(obj)
|
|
36825
39622
|
memeber_set = set(params.keys())
|
|
36826
39623
|
for name, value in vars(self).items():
|
|
36827
39624
|
property_name = name[1:]
|
|
@@ -36832,8 +39629,8 @@ class ModifySecurityIPGroupRequest(AbstractModel):
|
|
|
36832
39629
|
|
|
36833
39630
|
|
|
36834
39631
|
|
|
36835
|
-
class
|
|
36836
|
-
"""
|
|
39632
|
+
class ModifySecurityJSInjectionRuleResponse(AbstractModel):
|
|
39633
|
+
"""ModifySecurityJSInjectionRule返回参数结构体
|
|
36837
39634
|
|
|
36838
39635
|
"""
|
|
36839
39636
|
|
|
@@ -47810,6 +50607,93 @@ class SwitchConfig(AbstractModel):
|
|
|
47810
50607
|
|
|
47811
50608
|
|
|
47812
50609
|
|
|
50610
|
+
class TCCaptchaOption(AbstractModel):
|
|
50611
|
+
"""验证码认证实例信息。
|
|
50612
|
+
|
|
50613
|
+
"""
|
|
50614
|
+
|
|
50615
|
+
def __init__(self):
|
|
50616
|
+
r"""
|
|
50617
|
+
:param _CaptchaAppId: CaptchaAppId 信息。
|
|
50618
|
+
:type CaptchaAppId: str
|
|
50619
|
+
:param _AppSecretKey: AppSecretKey 信息。
|
|
50620
|
+
:type AppSecretKey: str
|
|
50621
|
+
"""
|
|
50622
|
+
self._CaptchaAppId = None
|
|
50623
|
+
self._AppSecretKey = None
|
|
50624
|
+
|
|
50625
|
+
@property
|
|
50626
|
+
def CaptchaAppId(self):
|
|
50627
|
+
"""CaptchaAppId 信息。
|
|
50628
|
+
:rtype: str
|
|
50629
|
+
"""
|
|
50630
|
+
return self._CaptchaAppId
|
|
50631
|
+
|
|
50632
|
+
@CaptchaAppId.setter
|
|
50633
|
+
def CaptchaAppId(self, CaptchaAppId):
|
|
50634
|
+
self._CaptchaAppId = CaptchaAppId
|
|
50635
|
+
|
|
50636
|
+
@property
|
|
50637
|
+
def AppSecretKey(self):
|
|
50638
|
+
"""AppSecretKey 信息。
|
|
50639
|
+
:rtype: str
|
|
50640
|
+
"""
|
|
50641
|
+
return self._AppSecretKey
|
|
50642
|
+
|
|
50643
|
+
@AppSecretKey.setter
|
|
50644
|
+
def AppSecretKey(self, AppSecretKey):
|
|
50645
|
+
self._AppSecretKey = AppSecretKey
|
|
50646
|
+
|
|
50647
|
+
|
|
50648
|
+
def _deserialize(self, params):
|
|
50649
|
+
self._CaptchaAppId = params.get("CaptchaAppId")
|
|
50650
|
+
self._AppSecretKey = params.get("AppSecretKey")
|
|
50651
|
+
memeber_set = set(params.keys())
|
|
50652
|
+
for name, value in vars(self).items():
|
|
50653
|
+
property_name = name[1:]
|
|
50654
|
+
if property_name in memeber_set:
|
|
50655
|
+
memeber_set.remove(property_name)
|
|
50656
|
+
if len(memeber_set) > 0:
|
|
50657
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
50658
|
+
|
|
50659
|
+
|
|
50660
|
+
|
|
50661
|
+
class TCRCEOption(AbstractModel):
|
|
50662
|
+
"""RCE 认证选项实例信息。
|
|
50663
|
+
|
|
50664
|
+
"""
|
|
50665
|
+
|
|
50666
|
+
def __init__(self):
|
|
50667
|
+
r"""
|
|
50668
|
+
:param _Channel: Channel 信息。
|
|
50669
|
+
:type Channel: str
|
|
50670
|
+
"""
|
|
50671
|
+
self._Channel = None
|
|
50672
|
+
|
|
50673
|
+
@property
|
|
50674
|
+
def Channel(self):
|
|
50675
|
+
"""Channel 信息。
|
|
50676
|
+
:rtype: str
|
|
50677
|
+
"""
|
|
50678
|
+
return self._Channel
|
|
50679
|
+
|
|
50680
|
+
@Channel.setter
|
|
50681
|
+
def Channel(self, Channel):
|
|
50682
|
+
self._Channel = Channel
|
|
50683
|
+
|
|
50684
|
+
|
|
50685
|
+
def _deserialize(self, params):
|
|
50686
|
+
self._Channel = params.get("Channel")
|
|
50687
|
+
memeber_set = set(params.keys())
|
|
50688
|
+
for name, value in vars(self).items():
|
|
50689
|
+
property_name = name[1:]
|
|
50690
|
+
if property_name in memeber_set:
|
|
50691
|
+
memeber_set.remove(property_name)
|
|
50692
|
+
if len(memeber_set) > 0:
|
|
50693
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
50694
|
+
|
|
50695
|
+
|
|
50696
|
+
|
|
47813
50697
|
class TLSConfigParameters(AbstractModel):
|
|
47814
50698
|
"""SSL/TLS 安全配置参数。
|
|
47815
50699
|
|
|
@@ -47936,7 +50820,7 @@ class Task(AbstractModel):
|
|
|
47936
50820
|
:param _Status: 状态。取值有:
|
|
47937
50821
|
<li>processing:处理中;</li>
|
|
47938
50822
|
<li>success:成功;</li>
|
|
47939
|
-
<li>
|
|
50823
|
+
<li>failed:失败;</li>
|
|
47940
50824
|
<li>timeout:超时;</li>
|
|
47941
50825
|
<li>canceled:已取消。</li>
|
|
47942
50826
|
:type Status: str
|
|
@@ -47944,6 +50828,15 @@ class Task(AbstractModel):
|
|
|
47944
50828
|
:type CreateTime: str
|
|
47945
50829
|
:param _UpdateTime: 任务完成时间。
|
|
47946
50830
|
:type UpdateTime: str
|
|
50831
|
+
:param _FailType: 刷新、预热失败类型。取值有:
|
|
50832
|
+
<li>taskFailed:任务失败;</li>
|
|
50833
|
+
<li>quotaExceeded:配额超限;</li>
|
|
50834
|
+
<li>downloadManifestFailed:下载描述文件失败;</li>
|
|
50835
|
+
<li>accessDenied:访问被拒绝。</li>
|
|
50836
|
+
<li>originPullFailed:回源失败。</li>
|
|
50837
|
+
:type FailType: str
|
|
50838
|
+
:param _FailMessage: 刷新、预热失败描述。
|
|
50839
|
+
:type FailMessage: str
|
|
47947
50840
|
"""
|
|
47948
50841
|
self._JobId = None
|
|
47949
50842
|
self._Target = None
|
|
@@ -47952,6 +50845,8 @@ class Task(AbstractModel):
|
|
|
47952
50845
|
self._Status = None
|
|
47953
50846
|
self._CreateTime = None
|
|
47954
50847
|
self._UpdateTime = None
|
|
50848
|
+
self._FailType = None
|
|
50849
|
+
self._FailMessage = None
|
|
47955
50850
|
|
|
47956
50851
|
@property
|
|
47957
50852
|
def JobId(self):
|
|
@@ -48004,7 +50899,7 @@ class Task(AbstractModel):
|
|
|
48004
50899
|
"""状态。取值有:
|
|
48005
50900
|
<li>processing:处理中;</li>
|
|
48006
50901
|
<li>success:成功;</li>
|
|
48007
|
-
<li>
|
|
50902
|
+
<li>failed:失败;</li>
|
|
48008
50903
|
<li>timeout:超时;</li>
|
|
48009
50904
|
<li>canceled:已取消。</li>
|
|
48010
50905
|
:rtype: str
|
|
@@ -48037,6 +50932,33 @@ class Task(AbstractModel):
|
|
|
48037
50932
|
def UpdateTime(self, UpdateTime):
|
|
48038
50933
|
self._UpdateTime = UpdateTime
|
|
48039
50934
|
|
|
50935
|
+
@property
|
|
50936
|
+
def FailType(self):
|
|
50937
|
+
"""刷新、预热失败类型。取值有:
|
|
50938
|
+
<li>taskFailed:任务失败;</li>
|
|
50939
|
+
<li>quotaExceeded:配额超限;</li>
|
|
50940
|
+
<li>downloadManifestFailed:下载描述文件失败;</li>
|
|
50941
|
+
<li>accessDenied:访问被拒绝。</li>
|
|
50942
|
+
<li>originPullFailed:回源失败。</li>
|
|
50943
|
+
:rtype: str
|
|
50944
|
+
"""
|
|
50945
|
+
return self._FailType
|
|
50946
|
+
|
|
50947
|
+
@FailType.setter
|
|
50948
|
+
def FailType(self, FailType):
|
|
50949
|
+
self._FailType = FailType
|
|
50950
|
+
|
|
50951
|
+
@property
|
|
50952
|
+
def FailMessage(self):
|
|
50953
|
+
"""刷新、预热失败描述。
|
|
50954
|
+
:rtype: str
|
|
50955
|
+
"""
|
|
50956
|
+
return self._FailMessage
|
|
50957
|
+
|
|
50958
|
+
@FailMessage.setter
|
|
50959
|
+
def FailMessage(self, FailMessage):
|
|
50960
|
+
self._FailMessage = FailMessage
|
|
50961
|
+
|
|
48040
50962
|
|
|
48041
50963
|
def _deserialize(self, params):
|
|
48042
50964
|
self._JobId = params.get("JobId")
|
|
@@ -48046,6 +50968,8 @@ class Task(AbstractModel):
|
|
|
48046
50968
|
self._Status = params.get("Status")
|
|
48047
50969
|
self._CreateTime = params.get("CreateTime")
|
|
48048
50970
|
self._UpdateTime = params.get("UpdateTime")
|
|
50971
|
+
self._FailType = params.get("FailType")
|
|
50972
|
+
self._FailMessage = params.get("FailMessage")
|
|
48049
50973
|
memeber_set = set(params.keys())
|
|
48050
50974
|
for name, value in vars(self).items():
|
|
48051
50975
|
property_name = name[1:]
|
|
@@ -49503,6 +52427,140 @@ class VerifyOwnershipResponse(AbstractModel):
|
|
|
49503
52427
|
self._RequestId = params.get("RequestId")
|
|
49504
52428
|
|
|
49505
52429
|
|
|
52430
|
+
class VideoTemplateInfo(AbstractModel):
|
|
52431
|
+
"""视频流配置参数。
|
|
52432
|
+
|
|
52433
|
+
"""
|
|
52434
|
+
|
|
52435
|
+
def __init__(self):
|
|
52436
|
+
r"""
|
|
52437
|
+
:param _Codec: 视频流的编码格式,可选值:<li>H.264: 使用 H.264 编码;</li><li>H.265: 使用 H.265 编码。</li>
|
|
52438
|
+
:type Codec: str
|
|
52439
|
+
:param _Fps: 视频帧率,取值范围:[0, 30],单位:Hz。
|
|
52440
|
+
取值为 0,表示帧率和原始视频保持一致,但最大不超过 30。
|
|
52441
|
+
默认值:0。
|
|
52442
|
+
:type Fps: float
|
|
52443
|
+
:param _Bitrate: 视频流的码率,取值范围:0 和 [128, 10000],单位:kbps。
|
|
52444
|
+
取值为 0,表示自动根据视频画面和质量选择视频码率。
|
|
52445
|
+
默认值:0。
|
|
52446
|
+
:type Bitrate: int
|
|
52447
|
+
:param _ResolutionAdaptive: 分辨率自适应,可选值:<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li><li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>默认值:open。
|
|
52448
|
+
:type ResolutionAdaptive: str
|
|
52449
|
+
:param _Width: 视频流宽度(或长边)的最大值,取值范围:0 和 [128, 1920],单位:px。<li>当 Width、Height 均为 0,则分辨率同源;</li><li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li><li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li><li>当 Width、Height 均非 0,则分辨率按用户指定。</li>默认值:0。
|
|
52450
|
+
:type Width: int
|
|
52451
|
+
:param _Height: 视频流高度(或短边)的最大值,取值范围:0 和 [128, 1080],单位:px。<li>当 Width、Height 均为 0,则分辨率同源;</li><li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li><li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li><li>当 Width、Height 均非 0,则分辨率按用户指定。</li>默认值:0。
|
|
52452
|
+
:type Height: int
|
|
52453
|
+
:param _FillType: 填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:<li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁”或者“拉长”。</li><li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li><li>white:留白,保持视频宽高比不变,边缘剩余部分使用白色填充。</li><li>gauss:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊填充。</li>默认值:black 。
|
|
52454
|
+
:type FillType: str
|
|
52455
|
+
"""
|
|
52456
|
+
self._Codec = None
|
|
52457
|
+
self._Fps = None
|
|
52458
|
+
self._Bitrate = None
|
|
52459
|
+
self._ResolutionAdaptive = None
|
|
52460
|
+
self._Width = None
|
|
52461
|
+
self._Height = None
|
|
52462
|
+
self._FillType = None
|
|
52463
|
+
|
|
52464
|
+
@property
|
|
52465
|
+
def Codec(self):
|
|
52466
|
+
"""视频流的编码格式,可选值:<li>H.264: 使用 H.264 编码;</li><li>H.265: 使用 H.265 编码。</li>
|
|
52467
|
+
:rtype: str
|
|
52468
|
+
"""
|
|
52469
|
+
return self._Codec
|
|
52470
|
+
|
|
52471
|
+
@Codec.setter
|
|
52472
|
+
def Codec(self, Codec):
|
|
52473
|
+
self._Codec = Codec
|
|
52474
|
+
|
|
52475
|
+
@property
|
|
52476
|
+
def Fps(self):
|
|
52477
|
+
"""视频帧率,取值范围:[0, 30],单位:Hz。
|
|
52478
|
+
取值为 0,表示帧率和原始视频保持一致,但最大不超过 30。
|
|
52479
|
+
默认值:0。
|
|
52480
|
+
:rtype: float
|
|
52481
|
+
"""
|
|
52482
|
+
return self._Fps
|
|
52483
|
+
|
|
52484
|
+
@Fps.setter
|
|
52485
|
+
def Fps(self, Fps):
|
|
52486
|
+
self._Fps = Fps
|
|
52487
|
+
|
|
52488
|
+
@property
|
|
52489
|
+
def Bitrate(self):
|
|
52490
|
+
"""视频流的码率,取值范围:0 和 [128, 10000],单位:kbps。
|
|
52491
|
+
取值为 0,表示自动根据视频画面和质量选择视频码率。
|
|
52492
|
+
默认值:0。
|
|
52493
|
+
:rtype: int
|
|
52494
|
+
"""
|
|
52495
|
+
return self._Bitrate
|
|
52496
|
+
|
|
52497
|
+
@Bitrate.setter
|
|
52498
|
+
def Bitrate(self, Bitrate):
|
|
52499
|
+
self._Bitrate = Bitrate
|
|
52500
|
+
|
|
52501
|
+
@property
|
|
52502
|
+
def ResolutionAdaptive(self):
|
|
52503
|
+
"""分辨率自适应,可选值:<li>open:开启,此时,Width 代表视频的长边,Height 表示视频的短边;</li><li>close:关闭,此时,Width 代表视频的宽度,Height 表示视频的高度。</li>默认值:open。
|
|
52504
|
+
:rtype: str
|
|
52505
|
+
"""
|
|
52506
|
+
return self._ResolutionAdaptive
|
|
52507
|
+
|
|
52508
|
+
@ResolutionAdaptive.setter
|
|
52509
|
+
def ResolutionAdaptive(self, ResolutionAdaptive):
|
|
52510
|
+
self._ResolutionAdaptive = ResolutionAdaptive
|
|
52511
|
+
|
|
52512
|
+
@property
|
|
52513
|
+
def Width(self):
|
|
52514
|
+
"""视频流宽度(或长边)的最大值,取值范围:0 和 [128, 1920],单位:px。<li>当 Width、Height 均为 0,则分辨率同源;</li><li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li><li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li><li>当 Width、Height 均非 0,则分辨率按用户指定。</li>默认值:0。
|
|
52515
|
+
:rtype: int
|
|
52516
|
+
"""
|
|
52517
|
+
return self._Width
|
|
52518
|
+
|
|
52519
|
+
@Width.setter
|
|
52520
|
+
def Width(self, Width):
|
|
52521
|
+
self._Width = Width
|
|
52522
|
+
|
|
52523
|
+
@property
|
|
52524
|
+
def Height(self):
|
|
52525
|
+
"""视频流高度(或短边)的最大值,取值范围:0 和 [128, 1080],单位:px。<li>当 Width、Height 均为 0,则分辨率同源;</li><li>当 Width 为 0,Height 非 0,则 Width 按比例缩放;</li><li>当 Width 非 0,Height 为 0,则 Height 按比例缩放;</li><li>当 Width、Height 均非 0,则分辨率按用户指定。</li>默认值:0。
|
|
52526
|
+
:rtype: int
|
|
52527
|
+
"""
|
|
52528
|
+
return self._Height
|
|
52529
|
+
|
|
52530
|
+
@Height.setter
|
|
52531
|
+
def Height(self, Height):
|
|
52532
|
+
self._Height = Height
|
|
52533
|
+
|
|
52534
|
+
@property
|
|
52535
|
+
def FillType(self):
|
|
52536
|
+
"""填充方式,当视频流配置宽高参数与原始视频的宽高比不一致时,对转码的处理方式,即为“填充”。可选填充方式:<li> stretch:拉伸,对每一帧进行拉伸,填满整个画面,可能导致转码后的视频被“压扁”或者“拉长”。</li><li>black:留黑,保持视频宽高比不变,边缘剩余部分使用黑色填充。</li><li>white:留白,保持视频宽高比不变,边缘剩余部分使用白色填充。</li><li>gauss:高斯模糊,保持视频宽高比不变,边缘剩余部分使用高斯模糊填充。</li>默认值:black 。
|
|
52537
|
+
:rtype: str
|
|
52538
|
+
"""
|
|
52539
|
+
return self._FillType
|
|
52540
|
+
|
|
52541
|
+
@FillType.setter
|
|
52542
|
+
def FillType(self, FillType):
|
|
52543
|
+
self._FillType = FillType
|
|
52544
|
+
|
|
52545
|
+
|
|
52546
|
+
def _deserialize(self, params):
|
|
52547
|
+
self._Codec = params.get("Codec")
|
|
52548
|
+
self._Fps = params.get("Fps")
|
|
52549
|
+
self._Bitrate = params.get("Bitrate")
|
|
52550
|
+
self._ResolutionAdaptive = params.get("ResolutionAdaptive")
|
|
52551
|
+
self._Width = params.get("Width")
|
|
52552
|
+
self._Height = params.get("Height")
|
|
52553
|
+
self._FillType = params.get("FillType")
|
|
52554
|
+
memeber_set = set(params.keys())
|
|
52555
|
+
for name, value in vars(self).items():
|
|
52556
|
+
property_name = name[1:]
|
|
52557
|
+
if property_name in memeber_set:
|
|
52558
|
+
memeber_set.remove(property_name)
|
|
52559
|
+
if len(memeber_set) > 0:
|
|
52560
|
+
warnings.warn("%s fileds are useless." % ",".join(memeber_set))
|
|
52561
|
+
|
|
52562
|
+
|
|
52563
|
+
|
|
49506
52564
|
class Waf(AbstractModel):
|
|
49507
52565
|
"""无
|
|
49508
52566
|
|