|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace AlibabaCloud\WafOpenapi\V20190910; |
|
4
|
|
|
|
|
5
|
|
|
use AlibabaCloud\Client\Resolver\ApiResolver; |
|
6
|
|
|
|
|
7
|
|
|
/** |
|
8
|
|
|
* @method CreateCertificate createCertificate(array $options = []) |
|
9
|
|
|
* @method CreateCertificateByCertificateId createCertificateByCertificateId(array $options = []) |
|
10
|
|
|
* @method CreateDomain createDomain(array $options = []) |
|
11
|
|
|
* @method CreateProtectionModuleRule createProtectionModuleRule(array $options = []) |
|
12
|
|
|
* @method DeleteDomain deleteDomain(array $options = []) |
|
13
|
|
|
* @method DeleteInstance deleteInstance(array $options = []) |
|
14
|
|
|
* @method DeleteProtectionModuleRule deleteProtectionModuleRule(array $options = []) |
|
15
|
|
|
* @method DescribeCertificates describeCertificates(array $options = []) |
|
16
|
|
|
* @method DescribeCertMatchStatus describeCertMatchStatus(array $options = []) |
|
17
|
|
|
* @method DescribeDomain describeDomain(array $options = []) |
|
18
|
|
|
* @method DescribeDomainAdvanceConfigs describeDomainAdvanceConfigs(array $options = []) |
|
19
|
|
|
* @method DescribeDomainBasicConfigs describeDomainBasicConfigs(array $options = []) |
|
20
|
|
|
* @method DescribeDomainList describeDomainList(array $options = []) |
|
21
|
|
|
* @method DescribeDomainNames describeDomainNames(array $options = []) |
|
22
|
|
|
* @method DescribeDomainRuleGroup describeDomainRuleGroup(array $options = []) |
|
23
|
|
|
* @method DescribeInstanceInfo describeInstanceInfo(array $options = []) |
|
24
|
|
|
* @method DescribeInstanceInfos describeInstanceInfos(array $options = []) |
|
25
|
|
|
* @method DescribeInstanceSpecInfo describeInstanceSpecInfo(array $options = []) |
|
26
|
|
|
* @method DescribeLogServiceStatus describeLogServiceStatus(array $options = []) |
|
27
|
|
|
* @method DescribeProtectionModuleCodeConfig describeProtectionModuleCodeConfig(array $options = []) |
|
28
|
|
|
* @method DescribeProtectionModuleMode describeProtectionModuleMode(array $options = []) |
|
29
|
|
|
* @method DescribeProtectionModuleRules describeProtectionModuleRules(array $options = []) |
|
30
|
|
|
* @method DescribeProtectionModuleStatus describeProtectionModuleStatus(array $options = []) |
|
31
|
|
|
* @method DescribeWafSourceIpSegment describeWafSourceIpSegment(array $options = []) |
|
32
|
|
|
* @method ModifyDomain modifyDomain(array $options = []) |
|
33
|
|
|
* @method ModifyDomainIpv6Status modifyDomainIpv6Status(array $options = []) |
|
34
|
|
|
* @method ModifyLogRetrievalStatus modifyLogRetrievalStatus(array $options = []) |
|
35
|
|
|
* @method ModifyLogServiceStatus modifyLogServiceStatus(array $options = []) |
|
36
|
|
|
* @method ModifyProtectionModuleMode modifyProtectionModuleMode(array $options = []) |
|
37
|
|
|
* @method ModifyProtectionModuleRule modifyProtectionModuleRule(array $options = []) |
|
38
|
|
|
* @method ModifyProtectionModuleStatus modifyProtectionModuleStatus(array $options = []) |
|
39
|
|
|
* @method ModifyProtectionRuleCacheStatus modifyProtectionRuleCacheStatus(array $options = []) |
|
40
|
|
|
* @method ModifyProtectionRuleStatus modifyProtectionRuleStatus(array $options = []) |
|
41
|
|
|
* @method SetDomainRuleGroup setDomainRuleGroup(array $options = []) |
|
42
|
|
|
*/ |
|
43
|
|
|
class WafOpenapiApiResolver extends ApiResolver |
|
44
|
|
|
{ |
|
45
|
|
|
} |
|
46
|
|
|
|
|
47
|
|
|
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc |
|
48
|
|
|
{ |
|
49
|
|
|
/** @var string */ |
|
50
|
|
|
public $product = 'waf-openapi'; |
|
51
|
|
|
|
|
52
|
|
|
/** @var string */ |
|
53
|
|
|
public $version = '2019-09-10'; |
|
54
|
|
|
|
|
55
|
|
|
/** @var string */ |
|
56
|
|
|
public $method = 'POST'; |
|
57
|
|
|
|
|
58
|
|
|
/** @var string */ |
|
59
|
|
|
public $serviceCode = 'waf'; |
|
60
|
|
|
} |
|
61
|
|
|
|
|
62
|
|
|
/** |
|
63
|
|
|
* @method string getCertificate() |
|
64
|
|
|
* @method $this withCertificate($value) |
|
65
|
|
|
* @method string getPrivateKey() |
|
66
|
|
|
* @method $this withPrivateKey($value) |
|
67
|
|
|
* @method string getSourceIp() |
|
68
|
|
|
* @method $this withSourceIp($value) |
|
69
|
|
|
* @method string getLang() |
|
70
|
|
|
* @method $this withLang($value) |
|
71
|
|
|
* @method string getInstanceId() |
|
72
|
|
|
* @method $this withInstanceId($value) |
|
73
|
|
|
* @method string getDomain() |
|
74
|
|
|
* @method $this withDomain($value) |
|
75
|
|
|
* @method string getCertificateName() |
|
76
|
|
|
* @method $this withCertificateName($value) |
|
77
|
|
|
*/ |
|
78
|
|
|
class CreateCertificate extends Rpc |
|
79
|
|
|
{ |
|
80
|
|
|
} |
|
81
|
|
|
|
|
82
|
|
|
/** |
|
83
|
|
|
* @method string getCertificateId() |
|
84
|
|
|
* @method $this withCertificateId($value) |
|
85
|
|
|
* @method string getInstanceId() |
|
86
|
|
|
* @method $this withInstanceId($value) |
|
87
|
|
|
* @method string getSourceIp() |
|
88
|
|
|
* @method $this withSourceIp($value) |
|
89
|
|
|
* @method string getDomain() |
|
90
|
|
|
* @method $this withDomain($value) |
|
91
|
|
|
* @method string getLang() |
|
92
|
|
|
* @method $this withLang($value) |
|
93
|
|
|
*/ |
|
94
|
|
|
class CreateCertificateByCertificateId extends Rpc |
|
95
|
|
|
{ |
|
96
|
|
|
} |
|
97
|
|
|
|
|
98
|
|
|
/** |
|
99
|
|
|
* @method string getIpFollowStatus() |
|
100
|
|
|
* @method $this withIpFollowStatus($value) |
|
101
|
|
|
* @method string getResourceGroupId() |
|
102
|
|
|
* @method $this withResourceGroupId($value) |
|
103
|
|
|
* @method string getSourceIp() |
|
104
|
|
|
* @method $this withSourceIp($value) |
|
105
|
|
|
* @method string getHttpPort() |
|
106
|
|
|
* @method $this withHttpPort($value) |
|
107
|
|
|
* @method string getHttp2Port() |
|
108
|
|
|
* @method $this withHttp2Port($value) |
|
109
|
|
|
* @method string getWriteTime() |
|
110
|
|
|
* @method $this withWriteTime($value) |
|
111
|
|
|
* @method string getLang() |
|
112
|
|
|
* @method $this withLang($value) |
|
113
|
|
|
* @method string getAccessHeaderMode() |
|
114
|
|
|
* @method $this withAccessHeaderMode($value) |
|
115
|
|
|
* @method string getAccessType() |
|
116
|
|
|
* @method $this withAccessType($value) |
|
117
|
|
|
* @method string getLogHeaders() |
|
118
|
|
|
* @method $this withLogHeaders($value) |
|
119
|
|
|
* @method string getAccessHeaders() |
|
120
|
|
|
* @method $this withAccessHeaders($value) |
|
121
|
|
|
* @method string getConnectionTime() |
|
122
|
|
|
* @method $this withConnectionTime($value) |
|
123
|
|
|
* @method string getClusterType() |
|
124
|
|
|
* @method $this withClusterType($value) |
|
125
|
|
|
* @method string getCloudNativeInstances() |
|
126
|
|
|
* @method $this withCloudNativeInstances($value) |
|
127
|
|
|
* @method string getHttpsRedirect() |
|
128
|
|
|
* @method $this withHttpsRedirect($value) |
|
129
|
|
|
* @method string getInstanceId() |
|
130
|
|
|
* @method $this withInstanceId($value) |
|
131
|
|
|
* @method string getSourceIps() |
|
132
|
|
|
* @method $this withSourceIps($value) |
|
133
|
|
|
* @method string getDomain() |
|
134
|
|
|
* @method $this withDomain($value) |
|
135
|
|
|
* @method string getIsAccessProduct() |
|
136
|
|
|
* @method $this withIsAccessProduct($value) |
|
137
|
|
|
* @method string getReadTime() |
|
138
|
|
|
* @method $this withReadTime($value) |
|
139
|
|
|
* @method string getHttpsPort() |
|
140
|
|
|
* @method $this withHttpsPort($value) |
|
141
|
|
|
* @method string getLoadBalancing() |
|
142
|
|
|
* @method $this withLoadBalancing($value) |
|
143
|
|
|
* @method string getHttpToUserIp() |
|
144
|
|
|
* @method $this withHttpToUserIp($value) |
|
145
|
|
|
*/ |
|
146
|
|
|
class CreateDomain extends Rpc |
|
147
|
|
|
{ |
|
148
|
|
|
} |
|
149
|
|
|
|
|
150
|
|
|
/** |
|
151
|
|
|
* @method string getDefenseType() |
|
152
|
|
|
* @method $this withDefenseType($value) |
|
153
|
|
|
* @method string getRule() |
|
154
|
|
|
* @method $this withRule($value) |
|
155
|
|
|
* @method string getInstanceId() |
|
156
|
|
|
* @method $this withInstanceId($value) |
|
157
|
|
|
* @method string getSourceIp() |
|
158
|
|
|
* @method $this withSourceIp($value) |
|
159
|
|
|
* @method string getDomain() |
|
160
|
|
|
* @method $this withDomain($value) |
|
161
|
|
|
* @method string getLang() |
|
162
|
|
|
* @method $this withLang($value) |
|
163
|
|
|
*/ |
|
164
|
|
|
class CreateProtectionModuleRule extends Rpc |
|
165
|
|
|
{ |
|
166
|
|
|
} |
|
167
|
|
|
|
|
168
|
|
|
/** |
|
169
|
|
|
* @method string getInstanceId() |
|
170
|
|
|
* @method $this withInstanceId($value) |
|
171
|
|
|
* @method string getSourceIp() |
|
172
|
|
|
* @method $this withSourceIp($value) |
|
173
|
|
|
* @method string getDomain() |
|
174
|
|
|
* @method $this withDomain($value) |
|
175
|
|
|
* @method string getLang() |
|
176
|
|
|
* @method $this withLang($value) |
|
177
|
|
|
*/ |
|
178
|
|
|
class DeleteDomain extends Rpc |
|
179
|
|
|
{ |
|
180
|
|
|
} |
|
181
|
|
|
|
|
182
|
|
|
/** |
|
183
|
|
|
* @method string getResourceGroupId() |
|
184
|
|
|
* @method $this withResourceGroupId($value) |
|
185
|
|
|
* @method string getInstanceId() |
|
186
|
|
|
* @method $this withInstanceId($value) |
|
187
|
|
|
* @method string getSourceIp() |
|
188
|
|
|
* @method $this withSourceIp($value) |
|
189
|
|
|
* @method string getLang() |
|
190
|
|
|
* @method $this withLang($value) |
|
191
|
|
|
*/ |
|
192
|
|
|
class DeleteInstance extends Rpc |
|
193
|
|
|
{ |
|
194
|
|
|
} |
|
195
|
|
|
|
|
196
|
|
|
/** |
|
197
|
|
|
* @method string getDefenseType() |
|
198
|
|
|
* @method $this withDefenseType($value) |
|
199
|
|
|
* @method string getInstanceId() |
|
200
|
|
|
* @method $this withInstanceId($value) |
|
201
|
|
|
* @method string getSourceIp() |
|
202
|
|
|
* @method $this withSourceIp($value) |
|
203
|
|
|
* @method string getDomain() |
|
204
|
|
|
* @method $this withDomain($value) |
|
205
|
|
|
* @method string getLang() |
|
206
|
|
|
* @method $this withLang($value) |
|
207
|
|
|
* @method string getRuleId() |
|
208
|
|
|
* @method $this withRuleId($value) |
|
209
|
|
|
*/ |
|
210
|
|
|
class DeleteProtectionModuleRule extends Rpc |
|
211
|
|
|
{ |
|
212
|
|
|
} |
|
213
|
|
|
|
|
214
|
|
|
/** |
|
215
|
|
|
* @method string getInstanceId() |
|
216
|
|
|
* @method $this withInstanceId($value) |
|
217
|
|
|
* @method string getSourceIp() |
|
218
|
|
|
* @method $this withSourceIp($value) |
|
219
|
|
|
* @method string getDomain() |
|
220
|
|
|
* @method $this withDomain($value) |
|
221
|
|
|
* @method string getLang() |
|
222
|
|
|
* @method $this withLang($value) |
|
223
|
|
|
*/ |
|
224
|
|
|
class DescribeCertificates extends Rpc |
|
225
|
|
|
{ |
|
226
|
|
|
} |
|
227
|
|
|
|
|
228
|
|
|
/** |
|
229
|
|
|
* @method string getCertificate() |
|
230
|
|
|
* @method $this withCertificate($value) |
|
231
|
|
|
* @method string getPrivateKey() |
|
232
|
|
|
* @method $this withPrivateKey($value) |
|
233
|
|
|
* @method string getInstanceId() |
|
234
|
|
|
* @method $this withInstanceId($value) |
|
235
|
|
|
* @method string getSourceIp() |
|
236
|
|
|
* @method $this withSourceIp($value) |
|
237
|
|
|
* @method string getDomain() |
|
238
|
|
|
* @method $this withDomain($value) |
|
239
|
|
|
* @method string getLang() |
|
240
|
|
|
* @method $this withLang($value) |
|
241
|
|
|
*/ |
|
242
|
|
|
class DescribeCertMatchStatus extends Rpc |
|
243
|
|
|
{ |
|
244
|
|
|
|
|
245
|
|
|
/** @var string */ |
|
246
|
|
|
public $scheme = 'https'; |
|
247
|
|
|
} |
|
248
|
|
|
|
|
249
|
|
|
/** |
|
250
|
|
|
* @method string getSourceIp() |
|
251
|
|
|
* @method $this withSourceIp($value) |
|
252
|
|
|
* @method string getLang() |
|
253
|
|
|
* @method $this withLang($value) |
|
254
|
|
|
* @method string getInstanceId() |
|
255
|
|
|
* @method $this withInstanceId($value) |
|
256
|
|
|
* @method string getDomain() |
|
257
|
|
|
* @method $this withDomain($value) |
|
258
|
|
|
*/ |
|
259
|
|
|
class DescribeDomain extends Rpc |
|
260
|
|
|
{ |
|
261
|
|
|
} |
|
262
|
|
|
|
|
263
|
|
|
/** |
|
264
|
|
|
* @method string getDomainList() |
|
265
|
|
|
* @method $this withDomainList($value) |
|
266
|
|
|
* @method string getResourceGroupId() |
|
267
|
|
|
* @method $this withResourceGroupId($value) |
|
268
|
|
|
* @method string getInstanceId() |
|
269
|
|
|
* @method $this withInstanceId($value) |
|
270
|
|
|
* @method string getSourceIp() |
|
271
|
|
|
* @method $this withSourceIp($value) |
|
272
|
|
|
* @method string getLang() |
|
273
|
|
|
* @method $this withLang($value) |
|
274
|
|
|
*/ |
|
275
|
|
|
class DescribeDomainAdvanceConfigs extends Rpc |
|
276
|
|
|
{ |
|
277
|
|
|
} |
|
278
|
|
|
|
|
279
|
|
|
/** |
|
280
|
|
|
* @method string getPageNumber() |
|
281
|
|
|
* @method $this withPageNumber($value) |
|
282
|
|
|
* @method string getResourceGroupId() |
|
283
|
|
|
* @method $this withResourceGroupId($value) |
|
284
|
|
|
* @method string getSourceIp() |
|
285
|
|
|
* @method $this withSourceIp($value) |
|
286
|
|
|
* @method string getPageSize() |
|
287
|
|
|
* @method $this withPageSize($value) |
|
288
|
|
|
* @method string getLang() |
|
289
|
|
|
* @method $this withLang($value) |
|
290
|
|
|
* @method string getAccessType() |
|
291
|
|
|
* @method $this withAccessType($value) |
|
292
|
|
|
* @method string getCloudNativeProductId() |
|
293
|
|
|
* @method $this withCloudNativeProductId($value) |
|
294
|
|
|
* @method string getInstanceId() |
|
295
|
|
|
* @method $this withInstanceId($value) |
|
296
|
|
|
* @method string getDomainKey() |
|
297
|
|
|
* @method $this withDomainKey($value) |
|
298
|
|
|
*/ |
|
299
|
|
|
class DescribeDomainBasicConfigs extends Rpc |
|
300
|
|
|
{ |
|
301
|
|
|
} |
|
302
|
|
|
|
|
303
|
|
|
/** |
|
304
|
|
|
* @method array getDomainNames() |
|
305
|
|
|
* @method string getPageNumber() |
|
306
|
|
|
* @method $this withPageNumber($value) |
|
307
|
|
|
* @method string getResourceGroupId() |
|
308
|
|
|
* @method $this withResourceGroupId($value) |
|
309
|
|
|
* @method string getSourceIp() |
|
310
|
|
|
* @method $this withSourceIp($value) |
|
311
|
|
|
* @method string getPageSize() |
|
312
|
|
|
* @method $this withPageSize($value) |
|
313
|
|
|
* @method string getDomainName() |
|
314
|
|
|
* @method $this withDomainName($value) |
|
315
|
|
|
* @method string getIsSub() |
|
316
|
|
|
* @method $this withIsSub($value) |
|
317
|
|
|
* @method string getInstanceId() |
|
318
|
|
|
* @method $this withInstanceId($value) |
|
319
|
|
|
*/ |
|
320
|
|
|
class DescribeDomainList extends Rpc |
|
321
|
|
|
{ |
|
322
|
|
|
|
|
323
|
|
|
/** |
|
324
|
|
|
* @param array $domainNames |
|
325
|
|
|
* |
|
326
|
|
|
* @return $this |
|
327
|
|
|
*/ |
|
328
|
|
|
public function withDomainNames(array $domainNames) |
|
329
|
|
|
{ |
|
330
|
|
|
$this->data['DomainNames'] = $domainNames; |
|
331
|
|
|
foreach ($domainNames as $i => $iValue) { |
|
332
|
|
|
$this->options['query']['DomainNames.' . ($i + 1)] = $iValue; |
|
333
|
|
|
} |
|
334
|
|
|
|
|
335
|
|
|
return $this; |
|
336
|
|
|
} |
|
337
|
|
|
} |
|
338
|
|
|
|
|
339
|
|
|
/** |
|
340
|
|
|
* @method string getResourceGroupId() |
|
341
|
|
|
* @method $this withResourceGroupId($value) |
|
342
|
|
|
* @method string getInstanceId() |
|
343
|
|
|
* @method $this withInstanceId($value) |
|
344
|
|
|
* @method string getSourceIp() |
|
345
|
|
|
* @method $this withSourceIp($value) |
|
346
|
|
|
* @method string getLang() |
|
347
|
|
|
* @method $this withLang($value) |
|
348
|
|
|
* @method string getCallSource() |
|
349
|
|
|
* @method $this withCallSource($value) |
|
350
|
|
|
*/ |
|
351
|
|
|
class DescribeDomainNames extends Rpc |
|
352
|
|
|
{ |
|
353
|
|
|
} |
|
354
|
|
|
|
|
355
|
|
|
/** |
|
356
|
|
|
* @method string getInstanceId() |
|
357
|
|
|
* @method $this withInstanceId($value) |
|
358
|
|
|
* @method string getSourceIp() |
|
359
|
|
|
* @method $this withSourceIp($value) |
|
360
|
|
|
* @method string getDomain() |
|
361
|
|
|
* @method $this withDomain($value) |
|
362
|
|
|
* @method string getLang() |
|
363
|
|
|
* @method $this withLang($value) |
|
364
|
|
|
*/ |
|
365
|
|
|
class DescribeDomainRuleGroup extends Rpc |
|
366
|
|
|
{ |
|
367
|
|
|
} |
|
368
|
|
|
|
|
369
|
|
|
/** |
|
370
|
|
|
* @method string getResourceGroupId() |
|
371
|
|
|
* @method $this withResourceGroupId($value) |
|
372
|
|
|
* @method string getInstanceId() |
|
373
|
|
|
* @method $this withInstanceId($value) |
|
374
|
|
|
* @method string getSourceIp() |
|
375
|
|
|
* @method $this withSourceIp($value) |
|
376
|
|
|
* @method string getInstanceSource() |
|
377
|
|
|
* @method $this withInstanceSource($value) |
|
378
|
|
|
* @method string getLang() |
|
379
|
|
|
* @method $this withLang($value) |
|
380
|
|
|
*/ |
|
381
|
|
|
class DescribeInstanceInfo extends Rpc |
|
382
|
|
|
{ |
|
383
|
|
|
} |
|
384
|
|
|
|
|
385
|
|
|
/** |
|
386
|
|
|
* @method string getResourceGroupId() |
|
387
|
|
|
* @method $this withResourceGroupId($value) |
|
388
|
|
|
* @method string getInstanceId() |
|
389
|
|
|
* @method $this withInstanceId($value) |
|
390
|
|
|
* @method string getSourceIp() |
|
391
|
|
|
* @method $this withSourceIp($value) |
|
392
|
|
|
* @method string getInstanceSource() |
|
393
|
|
|
* @method $this withInstanceSource($value) |
|
394
|
|
|
* @method string getLang() |
|
395
|
|
|
* @method $this withLang($value) |
|
396
|
|
|
*/ |
|
397
|
|
|
class DescribeInstanceInfos extends Rpc |
|
398
|
|
|
{ |
|
399
|
|
|
} |
|
400
|
|
|
|
|
401
|
|
|
/** |
|
402
|
|
|
* @method string getResourceGroupId() |
|
403
|
|
|
* @method $this withResourceGroupId($value) |
|
404
|
|
|
* @method string getInstanceId() |
|
405
|
|
|
* @method $this withInstanceId($value) |
|
406
|
|
|
* @method string getSourceIp() |
|
407
|
|
|
* @method $this withSourceIp($value) |
|
408
|
|
|
* @method string getLang() |
|
409
|
|
|
* @method $this withLang($value) |
|
410
|
|
|
*/ |
|
411
|
|
|
class DescribeInstanceSpecInfo extends Rpc |
|
412
|
|
|
{ |
|
413
|
|
|
} |
|
414
|
|
|
|
|
415
|
|
|
/** |
|
416
|
|
|
* @method array getDomainNames() |
|
417
|
|
|
* @method string getPageNumber() |
|
418
|
|
|
* @method $this withPageNumber($value) |
|
419
|
|
|
* @method string getResourceGroupId() |
|
420
|
|
|
* @method $this withResourceGroupId($value) |
|
421
|
|
|
* @method string getSourceIp() |
|
422
|
|
|
* @method $this withSourceIp($value) |
|
423
|
|
|
* @method string getPageSize() |
|
424
|
|
|
* @method $this withPageSize($value) |
|
425
|
|
|
* @method string getInstanceId() |
|
426
|
|
|
* @method $this withInstanceId($value) |
|
427
|
|
|
* @method string getRegion() |
|
428
|
|
|
* @method $this withRegion($value) |
|
429
|
|
|
*/ |
|
430
|
|
|
class DescribeLogServiceStatus extends Rpc |
|
431
|
|
|
{ |
|
432
|
|
|
|
|
433
|
|
|
/** |
|
434
|
|
|
* @param array $domainNames |
|
435
|
|
|
* |
|
436
|
|
|
* @return $this |
|
437
|
|
|
*/ |
|
438
|
|
|
public function withDomainNames(array $domainNames) |
|
439
|
|
|
{ |
|
440
|
|
|
$this->data['DomainNames'] = $domainNames; |
|
441
|
|
|
foreach ($domainNames as $i => $iValue) { |
|
442
|
|
|
$this->options['query']['DomainNames.' . ($i + 1)] = $iValue; |
|
443
|
|
|
} |
|
444
|
|
|
|
|
445
|
|
|
return $this; |
|
446
|
|
|
} |
|
447
|
|
|
} |
|
448
|
|
|
|
|
449
|
|
|
/** |
|
450
|
|
|
* @method string getCodeValue() |
|
451
|
|
|
* @method $this withCodeValue($value) |
|
452
|
|
|
* @method string getResourceGroupId() |
|
453
|
|
|
* @method $this withResourceGroupId($value) |
|
454
|
|
|
* @method string getInstanceId() |
|
455
|
|
|
* @method $this withInstanceId($value) |
|
456
|
|
|
* @method string getSourceIp() |
|
457
|
|
|
* @method $this withSourceIp($value) |
|
458
|
|
|
* @method string getCodeType() |
|
459
|
|
|
* @method $this withCodeType($value) |
|
460
|
|
|
* @method string getLang() |
|
461
|
|
|
* @method $this withLang($value) |
|
462
|
|
|
*/ |
|
463
|
|
|
class DescribeProtectionModuleCodeConfig extends Rpc |
|
464
|
|
|
{ |
|
465
|
|
|
} |
|
466
|
|
|
|
|
467
|
|
|
/** |
|
468
|
|
|
* @method string getDefenseType() |
|
469
|
|
|
* @method $this withDefenseType($value) |
|
470
|
|
|
* @method string getResourceGroupId() |
|
471
|
|
|
* @method $this withResourceGroupId($value) |
|
472
|
|
|
* @method string getInstanceId() |
|
473
|
|
|
* @method $this withInstanceId($value) |
|
474
|
|
|
* @method string getSourceIp() |
|
475
|
|
|
* @method $this withSourceIp($value) |
|
476
|
|
|
* @method string getDomain() |
|
477
|
|
|
* @method $this withDomain($value) |
|
478
|
|
|
* @method string getLang() |
|
479
|
|
|
* @method $this withLang($value) |
|
480
|
|
|
*/ |
|
481
|
|
|
class DescribeProtectionModuleMode extends Rpc |
|
482
|
|
|
{ |
|
483
|
|
|
} |
|
484
|
|
|
|
|
485
|
|
|
/** |
|
486
|
|
|
* @method string getPageNumber() |
|
487
|
|
|
* @method $this withPageNumber($value) |
|
488
|
|
|
* @method string getResourceGroupId() |
|
489
|
|
|
* @method $this withResourceGroupId($value) |
|
490
|
|
|
* @method string getSourceIp() |
|
491
|
|
|
* @method $this withSourceIp($value) |
|
492
|
|
|
* @method string getPageSize() |
|
493
|
|
|
* @method $this withPageSize($value) |
|
494
|
|
|
* @method string getLang() |
|
495
|
|
|
* @method $this withLang($value) |
|
496
|
|
|
* @method string getDefenseType() |
|
497
|
|
|
* @method $this withDefenseType($value) |
|
498
|
|
|
* @method string getQuery() |
|
499
|
|
|
* @method $this withQuery($value) |
|
500
|
|
|
* @method string getInstanceId() |
|
501
|
|
|
* @method $this withInstanceId($value) |
|
502
|
|
|
* @method string getDomain() |
|
503
|
|
|
* @method $this withDomain($value) |
|
504
|
|
|
*/ |
|
505
|
|
|
class DescribeProtectionModuleRules extends Rpc |
|
506
|
|
|
{ |
|
507
|
|
|
} |
|
508
|
|
|
|
|
509
|
|
|
/** |
|
510
|
|
|
* @method string getDefenseType() |
|
511
|
|
|
* @method $this withDefenseType($value) |
|
512
|
|
|
* @method string getInstanceId() |
|
513
|
|
|
* @method $this withInstanceId($value) |
|
514
|
|
|
* @method string getSourceIp() |
|
515
|
|
|
* @method $this withSourceIp($value) |
|
516
|
|
|
* @method string getDomain() |
|
517
|
|
|
* @method $this withDomain($value) |
|
518
|
|
|
* @method string getLang() |
|
519
|
|
|
* @method $this withLang($value) |
|
520
|
|
|
*/ |
|
521
|
|
|
class DescribeProtectionModuleStatus extends Rpc |
|
522
|
|
|
{ |
|
523
|
|
|
} |
|
524
|
|
|
|
|
525
|
|
|
/** |
|
526
|
|
|
* @method string getResourceGroupId() |
|
527
|
|
|
* @method $this withResourceGroupId($value) |
|
528
|
|
|
* @method string getInstanceId() |
|
529
|
|
|
* @method $this withInstanceId($value) |
|
530
|
|
|
* @method string getSourceIp() |
|
531
|
|
|
* @method $this withSourceIp($value) |
|
532
|
|
|
* @method string getLang() |
|
533
|
|
|
* @method $this withLang($value) |
|
534
|
|
|
*/ |
|
535
|
|
|
class DescribeWafSourceIpSegment extends Rpc |
|
536
|
|
|
{ |
|
537
|
|
|
} |
|
538
|
|
|
|
|
539
|
|
|
/** |
|
540
|
|
|
* @method string getIpFollowStatus() |
|
541
|
|
|
* @method $this withIpFollowStatus($value) |
|
542
|
|
|
* @method string getHybridCloudType() |
|
543
|
|
|
* @method $this withHybridCloudType($value) |
|
544
|
|
|
* @method string getSourceIp() |
|
545
|
|
|
* @method $this withSourceIp($value) |
|
546
|
|
|
* @method string getHttpPort() |
|
547
|
|
|
* @method $this withHttpPort($value) |
|
548
|
|
|
* @method string getHttp2Port() |
|
549
|
|
|
* @method $this withHttp2Port($value) |
|
550
|
|
|
* @method string getWriteTime() |
|
551
|
|
|
* @method $this withWriteTime($value) |
|
552
|
|
|
* @method string getLang() |
|
553
|
|
|
* @method $this withLang($value) |
|
554
|
|
|
* @method string getAccessHeaderMode() |
|
555
|
|
|
* @method $this withAccessHeaderMode($value) |
|
556
|
|
|
* @method string getAccessType() |
|
557
|
|
|
* @method $this withAccessType($value) |
|
558
|
|
|
* @method string getBindingIpv6() |
|
559
|
|
|
* @method $this withBindingIpv6($value) |
|
560
|
|
|
* @method string getLogHeaders() |
|
561
|
|
|
* @method $this withLogHeaders($value) |
|
562
|
|
|
* @method string getAccessHeaders() |
|
563
|
|
|
* @method $this withAccessHeaders($value) |
|
564
|
|
|
* @method string getConnectionTime() |
|
565
|
|
|
* @method $this withConnectionTime($value) |
|
566
|
|
|
* @method string getClusterType() |
|
567
|
|
|
* @method $this withClusterType($value) |
|
568
|
|
|
* @method string getCloudNativeInstances() |
|
569
|
|
|
* @method $this withCloudNativeInstances($value) |
|
570
|
|
|
* @method string getHttpsRedirect() |
|
571
|
|
|
* @method $this withHttpsRedirect($value) |
|
572
|
|
|
* @method string getInstanceId() |
|
573
|
|
|
* @method $this withInstanceId($value) |
|
574
|
|
|
* @method string getSourceIps() |
|
575
|
|
|
* @method $this withSourceIps($value) |
|
576
|
|
|
* @method string getDomain() |
|
577
|
|
|
* @method $this withDomain($value) |
|
578
|
|
|
* @method string getIsAccessProduct() |
|
579
|
|
|
* @method $this withIsAccessProduct($value) |
|
580
|
|
|
* @method string getReadTime() |
|
581
|
|
|
* @method $this withReadTime($value) |
|
582
|
|
|
* @method string getHttpsPort() |
|
583
|
|
|
* @method $this withHttpsPort($value) |
|
584
|
|
|
* @method string getLoadBalancing() |
|
585
|
|
|
* @method $this withLoadBalancing($value) |
|
586
|
|
|
* @method string getHttpToUserIp() |
|
587
|
|
|
* @method $this withHttpToUserIp($value) |
|
588
|
|
|
*/ |
|
589
|
|
|
class ModifyDomain extends Rpc |
|
590
|
|
|
{ |
|
591
|
|
|
} |
|
592
|
|
|
|
|
593
|
|
|
/** |
|
594
|
|
|
* @method string getWafVersion() |
|
595
|
|
|
* @method $this withWafVersion($value) |
|
596
|
|
|
* @method string getEnabled() |
|
597
|
|
|
* @method $this withEnabled($value) |
|
598
|
|
|
* @method string getInstanceId() |
|
599
|
|
|
* @method $this withInstanceId($value) |
|
600
|
|
|
* @method string getSourceIp() |
|
601
|
|
|
* @method $this withSourceIp($value) |
|
602
|
|
|
* @method string getDomain() |
|
603
|
|
|
* @method $this withDomain($value) |
|
604
|
|
|
* @method string getLang() |
|
605
|
|
|
* @method $this withLang($value) |
|
606
|
|
|
*/ |
|
607
|
|
|
class ModifyDomainIpv6Status extends Rpc |
|
608
|
|
|
{ |
|
609
|
|
|
} |
|
610
|
|
|
|
|
611
|
|
|
/** |
|
612
|
|
|
* @method string getEnabled() |
|
613
|
|
|
* @method $this withEnabled($value) |
|
614
|
|
|
* @method string getInstanceId() |
|
615
|
|
|
* @method $this withInstanceId($value) |
|
616
|
|
|
* @method string getSourceIp() |
|
617
|
|
|
* @method $this withSourceIp($value) |
|
618
|
|
|
* @method string getDomain() |
|
619
|
|
|
* @method $this withDomain($value) |
|
620
|
|
|
* @method string getLang() |
|
621
|
|
|
* @method $this withLang($value) |
|
622
|
|
|
*/ |
|
623
|
|
|
class ModifyLogRetrievalStatus extends Rpc |
|
624
|
|
|
{ |
|
625
|
|
|
} |
|
626
|
|
|
|
|
627
|
|
|
/** |
|
628
|
|
|
* @method string getEnabled() |
|
629
|
|
|
* @method $this withEnabled($value) |
|
630
|
|
|
* @method string getInstanceId() |
|
631
|
|
|
* @method $this withInstanceId($value) |
|
632
|
|
|
* @method string getSourceIp() |
|
633
|
|
|
* @method $this withSourceIp($value) |
|
634
|
|
|
* @method string getDomain() |
|
635
|
|
|
* @method $this withDomain($value) |
|
636
|
|
|
* @method string getLang() |
|
637
|
|
|
* @method $this withLang($value) |
|
638
|
|
|
*/ |
|
639
|
|
|
class ModifyLogServiceStatus extends Rpc |
|
640
|
|
|
{ |
|
641
|
|
|
} |
|
642
|
|
|
|
|
643
|
|
|
/** |
|
644
|
|
|
* @method string getDefenseType() |
|
645
|
|
|
* @method $this withDefenseType($value) |
|
646
|
|
|
* @method string getMode() |
|
647
|
|
|
* @method $this withMode($value) |
|
648
|
|
|
* @method string getInstanceId() |
|
649
|
|
|
* @method $this withInstanceId($value) |
|
650
|
|
|
* @method string getSourceIp() |
|
651
|
|
|
* @method $this withSourceIp($value) |
|
652
|
|
|
* @method string getDomain() |
|
653
|
|
|
* @method $this withDomain($value) |
|
654
|
|
|
* @method string getLang() |
|
655
|
|
|
* @method $this withLang($value) |
|
656
|
|
|
*/ |
|
657
|
|
|
class ModifyProtectionModuleMode extends Rpc |
|
658
|
|
|
{ |
|
659
|
|
|
} |
|
660
|
|
|
|
|
661
|
|
|
/** |
|
662
|
|
|
* @method string getRule() |
|
663
|
|
|
* @method $this withRule($value) |
|
664
|
|
|
* @method string getLockVersion() |
|
665
|
|
|
* @method $this withLockVersion($value) |
|
666
|
|
|
* @method string getSourceIp() |
|
667
|
|
|
* @method $this withSourceIp($value) |
|
668
|
|
|
* @method string getLang() |
|
669
|
|
|
* @method $this withLang($value) |
|
670
|
|
|
* @method string getDefenseType() |
|
671
|
|
|
* @method $this withDefenseType($value) |
|
672
|
|
|
* @method string getInstanceId() |
|
673
|
|
|
* @method $this withInstanceId($value) |
|
674
|
|
|
* @method string getDomain() |
|
675
|
|
|
* @method $this withDomain($value) |
|
676
|
|
|
* @method string getRuleId() |
|
677
|
|
|
* @method $this withRuleId($value) |
|
678
|
|
|
*/ |
|
679
|
|
|
class ModifyProtectionModuleRule extends Rpc |
|
680
|
|
|
{ |
|
681
|
|
|
} |
|
682
|
|
|
|
|
683
|
|
|
/** |
|
684
|
|
|
* @method string getDefenseType() |
|
685
|
|
|
* @method $this withDefenseType($value) |
|
686
|
|
|
* @method string getInstanceId() |
|
687
|
|
|
* @method $this withInstanceId($value) |
|
688
|
|
|
* @method string getSourceIp() |
|
689
|
|
|
* @method $this withSourceIp($value) |
|
690
|
|
|
* @method string getDomain() |
|
691
|
|
|
* @method $this withDomain($value) |
|
692
|
|
|
* @method string getModuleStatus() |
|
693
|
|
|
* @method $this withModuleStatus($value) |
|
694
|
|
|
* @method string getLang() |
|
695
|
|
|
* @method $this withLang($value) |
|
696
|
|
|
*/ |
|
697
|
|
|
class ModifyProtectionModuleStatus extends Rpc |
|
698
|
|
|
{ |
|
699
|
|
|
} |
|
700
|
|
|
|
|
701
|
|
|
/** |
|
702
|
|
|
* @method string getDefenseType() |
|
703
|
|
|
* @method $this withDefenseType($value) |
|
704
|
|
|
* @method string getInstanceId() |
|
705
|
|
|
* @method $this withInstanceId($value) |
|
706
|
|
|
* @method string getSourceIp() |
|
707
|
|
|
* @method $this withSourceIp($value) |
|
708
|
|
|
* @method string getDomain() |
|
709
|
|
|
* @method $this withDomain($value) |
|
710
|
|
|
* @method string getLang() |
|
711
|
|
|
* @method $this withLang($value) |
|
712
|
|
|
* @method string getRuleId() |
|
713
|
|
|
* @method $this withRuleId($value) |
|
714
|
|
|
*/ |
|
715
|
|
|
class ModifyProtectionRuleCacheStatus extends Rpc |
|
716
|
|
|
{ |
|
717
|
|
|
} |
|
718
|
|
|
|
|
719
|
|
|
/** |
|
720
|
|
|
* @method string getLockVersion() |
|
721
|
|
|
* @method $this withLockVersion($value) |
|
722
|
|
|
* @method string getSourceIp() |
|
723
|
|
|
* @method $this withSourceIp($value) |
|
724
|
|
|
* @method string getLang() |
|
725
|
|
|
* @method $this withLang($value) |
|
726
|
|
|
* @method string getDefenseType() |
|
727
|
|
|
* @method $this withDefenseType($value) |
|
728
|
|
|
* @method string getRuleStatus() |
|
729
|
|
|
* @method $this withRuleStatus($value) |
|
730
|
|
|
* @method string getInstanceId() |
|
731
|
|
|
* @method $this withInstanceId($value) |
|
732
|
|
|
* @method string getDomain() |
|
733
|
|
|
* @method $this withDomain($value) |
|
734
|
|
|
* @method string getRuleId() |
|
735
|
|
|
* @method $this withRuleId($value) |
|
736
|
|
|
*/ |
|
737
|
|
|
class ModifyProtectionRuleStatus extends Rpc |
|
738
|
|
|
{ |
|
739
|
|
|
} |
|
740
|
|
|
|
|
741
|
|
|
/** |
|
742
|
|
|
* @method string getWafVersion() |
|
743
|
|
|
* @method $this withWafVersion($value) |
|
744
|
|
|
* @method string getRuleGroupId() |
|
745
|
|
|
* @method $this withRuleGroupId($value) |
|
746
|
|
|
* @method string getResourceGroupId() |
|
747
|
|
|
* @method $this withResourceGroupId($value) |
|
748
|
|
|
* @method string getSourceIp() |
|
749
|
|
|
* @method $this withSourceIp($value) |
|
750
|
|
|
* @method string getLang() |
|
751
|
|
|
* @method $this withLang($value) |
|
752
|
|
|
* @method string getDomains() |
|
753
|
|
|
* @method $this withDomains($value) |
|
754
|
|
|
* @method string getInstanceId() |
|
755
|
|
|
* @method $this withInstanceId($value) |
|
756
|
|
|
*/ |
|
757
|
|
|
class SetDomainRuleGroup extends Rpc |
|
758
|
|
|
{ |
|
759
|
|
|
} |
|
760
|
|
|
|