1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\Csas\V20230120; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\Client\Resolver\ApiResolver; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* @method AttachApplication2Connector attachApplication2Connector(array $options = []) |
9
|
|
|
* @method CreateDynamicRoute createDynamicRoute(array $options = []) |
10
|
|
|
* @method CreatePrivateAccessApplication createPrivateAccessApplication(array $options = []) |
11
|
|
|
* @method CreatePrivateAccessPolicy createPrivateAccessPolicy(array $options = []) |
12
|
|
|
* @method CreatePrivateAccessTag createPrivateAccessTag(array $options = []) |
13
|
|
|
* @method CreateUserGroup createUserGroup(array $options = []) |
14
|
|
|
* @method DeleteDynamicRoute deleteDynamicRoute(array $options = []) |
15
|
|
|
* @method DeletePrivateAccessApplication deletePrivateAccessApplication(array $options = []) |
16
|
|
|
* @method DeletePrivateAccessPolicy deletePrivateAccessPolicy(array $options = []) |
17
|
|
|
* @method DeletePrivateAccessTag deletePrivateAccessTag(array $options = []) |
18
|
|
|
* @method DeleteUserGroup deleteUserGroup(array $options = []) |
19
|
|
|
* @method DetachApplication2Connector detachApplication2Connector(array $options = []) |
20
|
|
|
* @method GetDynamicRoute getDynamicRoute(array $options = []) |
21
|
|
|
* @method GetPrivateAccessApplication getPrivateAccessApplication(array $options = []) |
22
|
|
|
* @method GetPrivateAccessPolicy getPrivateAccessPolicy(array $options = []) |
23
|
|
|
* @method GetUserGroup getUserGroup(array $options = []) |
24
|
|
|
* @method ListApplicationsForPrivateAccessPolicy listApplicationsForPrivateAccessPolicy(array $options = []) |
25
|
|
|
* @method ListApplicationsForPrivateAccessTag listApplicationsForPrivateAccessTag(array $options = []) |
26
|
|
|
* @method ListConnectors listConnectors(array $options = []) |
27
|
|
|
* @method ListDynamicRouteRegions listDynamicRouteRegions(array $options = []) |
28
|
|
|
* @method ListDynamicRoutes listDynamicRoutes(array $options = []) |
29
|
|
|
* @method ListPolicesForPrivateAccessApplication listPolicesForPrivateAccessApplication(array $options = []) |
30
|
|
|
* @method ListPolicesForPrivateAccessTag listPolicesForPrivateAccessTag(array $options = []) |
31
|
|
|
* @method ListPolicesForUserGroup listPolicesForUserGroup(array $options = []) |
32
|
|
|
* @method ListPrivateAccessApplications listPrivateAccessApplications(array $options = []) |
33
|
|
|
* @method ListPrivateAccessApplicationsForDynamicRoute listPrivateAccessApplicationsForDynamicRoute(array $options = []) |
34
|
|
|
* @method ListPrivateAccessPolices listPrivateAccessPolices(array $options = []) |
35
|
|
|
* @method ListPrivateAccessTags listPrivateAccessTags(array $options = []) |
36
|
|
|
* @method ListPrivateAccessTagsForDynamicRoute listPrivateAccessTagsForDynamicRoute(array $options = []) |
37
|
|
|
* @method ListTagsForPrivateAccessApplication listTagsForPrivateAccessApplication(array $options = []) |
38
|
|
|
* @method ListTagsForPrivateAccessPolicy listTagsForPrivateAccessPolicy(array $options = []) |
39
|
|
|
* @method ListUserGroups listUserGroups(array $options = []) |
40
|
|
|
* @method ListUserGroupsForPrivateAccessPolicy listUserGroupsForPrivateAccessPolicy(array $options = []) |
41
|
|
|
* @method UpdateDynamicRoute updateDynamicRoute(array $options = []) |
42
|
|
|
* @method UpdatePrivateAccessApplication updatePrivateAccessApplication(array $options = []) |
43
|
|
|
* @method UpdatePrivateAccessPolicy updatePrivateAccessPolicy(array $options = []) |
44
|
|
|
* @method UpdateUserGroup updateUserGroup(array $options = []) |
45
|
|
|
*/ |
46
|
|
|
class CsasApiResolver extends ApiResolver |
47
|
|
|
{ |
48
|
|
|
} |
49
|
|
|
|
50
|
|
|
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc |
51
|
|
|
{ |
52
|
|
|
/** @var string */ |
53
|
|
|
public $product = 'csas'; |
54
|
|
|
|
55
|
|
|
/** @var string */ |
56
|
|
|
public $version = '2023-01-20'; |
57
|
|
|
} |
58
|
|
|
|
59
|
|
|
/** |
60
|
|
|
* @method string getConnectorId() |
61
|
|
|
* @method string getApplicationIds() |
62
|
|
|
* @method string getSourceIp() |
63
|
|
|
* @method $this withSourceIp($value) |
64
|
|
|
*/ |
65
|
|
|
class AttachApplication2Connector extends Rpc |
66
|
|
|
{ |
67
|
|
|
|
68
|
|
|
/** @var string */ |
69
|
|
|
public $method = 'POST'; |
70
|
|
|
|
71
|
|
|
/** |
72
|
|
|
* @param string $value |
73
|
|
|
* |
74
|
|
|
* @return $this |
75
|
|
|
*/ |
76
|
|
|
public function withConnectorId($value) |
77
|
|
|
{ |
78
|
|
|
$this->data['ConnectorId'] = $value; |
79
|
|
|
$this->options['form_params']['ConnectorId'] = $value; |
80
|
|
|
|
81
|
|
|
return $this; |
82
|
|
|
} |
83
|
|
|
|
84
|
|
|
/** |
85
|
|
|
* @param string $value |
86
|
|
|
* |
87
|
|
|
* @return $this |
88
|
|
|
*/ |
89
|
|
|
public function withApplicationIds($value) |
90
|
|
|
{ |
91
|
|
|
$this->data['ApplicationIds'] = $value; |
92
|
|
|
$this->options['form_params']['ApplicationIds'] = $value; |
93
|
|
|
|
94
|
|
|
return $this; |
95
|
|
|
} |
96
|
|
|
} |
97
|
|
|
|
98
|
|
|
/** |
99
|
|
|
* @method string getDescription() |
100
|
|
|
* @method string getSourceIp() |
101
|
|
|
* @method $this withSourceIp($value) |
102
|
|
|
* @method string getDynamicRouteType() |
103
|
|
|
* @method string getTagIds() |
104
|
|
|
* @method string getRegionIds() |
105
|
|
|
* @method string getPriority() |
106
|
|
|
* @method string getNextHop() |
107
|
|
|
* @method string getApplicationIds() |
108
|
|
|
* @method string getName() |
109
|
|
|
* @method string getApplicationType() |
110
|
|
|
* @method string getStatus() |
111
|
|
|
*/ |
112
|
|
|
class CreateDynamicRoute extends Rpc |
113
|
|
|
{ |
114
|
|
|
|
115
|
|
|
/** @var string */ |
116
|
|
|
public $method = 'POST'; |
117
|
|
|
|
118
|
|
|
/** |
119
|
|
|
* @param string $value |
120
|
|
|
* |
121
|
|
|
* @return $this |
122
|
|
|
*/ |
123
|
|
|
public function withDescription($value) |
124
|
|
|
{ |
125
|
|
|
$this->data['Description'] = $value; |
126
|
|
|
$this->options['form_params']['Description'] = $value; |
127
|
|
|
|
128
|
|
|
return $this; |
129
|
|
|
} |
130
|
|
|
|
131
|
|
|
/** |
132
|
|
|
* @param string $value |
133
|
|
|
* |
134
|
|
|
* @return $this |
135
|
|
|
*/ |
136
|
|
|
public function withDynamicRouteType($value) |
137
|
|
|
{ |
138
|
|
|
$this->data['DynamicRouteType'] = $value; |
139
|
|
|
$this->options['form_params']['DynamicRouteType'] = $value; |
140
|
|
|
|
141
|
|
|
return $this; |
142
|
|
|
} |
143
|
|
|
|
144
|
|
|
/** |
145
|
|
|
* @param string $value |
146
|
|
|
* |
147
|
|
|
* @return $this |
148
|
|
|
*/ |
149
|
|
|
public function withTagIds($value) |
150
|
|
|
{ |
151
|
|
|
$this->data['TagIds'] = $value; |
152
|
|
|
$this->options['form_params']['TagIds'] = $value; |
153
|
|
|
|
154
|
|
|
return $this; |
155
|
|
|
} |
156
|
|
|
|
157
|
|
|
/** |
158
|
|
|
* @param string $value |
159
|
|
|
* |
160
|
|
|
* @return $this |
161
|
|
|
*/ |
162
|
|
|
public function withRegionIds($value) |
163
|
|
|
{ |
164
|
|
|
$this->data['RegionIds'] = $value; |
165
|
|
|
$this->options['form_params']['RegionIds'] = $value; |
166
|
|
|
|
167
|
|
|
return $this; |
168
|
|
|
} |
169
|
|
|
|
170
|
|
|
/** |
171
|
|
|
* @param string $value |
172
|
|
|
* |
173
|
|
|
* @return $this |
174
|
|
|
*/ |
175
|
|
|
public function withPriority($value) |
176
|
|
|
{ |
177
|
|
|
$this->data['Priority'] = $value; |
178
|
|
|
$this->options['form_params']['Priority'] = $value; |
179
|
|
|
|
180
|
|
|
return $this; |
181
|
|
|
} |
182
|
|
|
|
183
|
|
|
/** |
184
|
|
|
* @param string $value |
185
|
|
|
* |
186
|
|
|
* @return $this |
187
|
|
|
*/ |
188
|
|
|
public function withNextHop($value) |
189
|
|
|
{ |
190
|
|
|
$this->data['NextHop'] = $value; |
191
|
|
|
$this->options['form_params']['NextHop'] = $value; |
192
|
|
|
|
193
|
|
|
return $this; |
194
|
|
|
} |
195
|
|
|
|
196
|
|
|
/** |
197
|
|
|
* @param string $value |
198
|
|
|
* |
199
|
|
|
* @return $this |
200
|
|
|
*/ |
201
|
|
|
public function withApplicationIds($value) |
202
|
|
|
{ |
203
|
|
|
$this->data['ApplicationIds'] = $value; |
204
|
|
|
$this->options['form_params']['ApplicationIds'] = $value; |
205
|
|
|
|
206
|
|
|
return $this; |
207
|
|
|
} |
208
|
|
|
|
209
|
|
|
/** |
210
|
|
|
* @param string $value |
211
|
|
|
* |
212
|
|
|
* @return $this |
213
|
|
|
*/ |
214
|
|
|
public function withName($value) |
215
|
|
|
{ |
216
|
|
|
$this->data['Name'] = $value; |
217
|
|
|
$this->options['form_params']['Name'] = $value; |
218
|
|
|
|
219
|
|
|
return $this; |
220
|
|
|
} |
221
|
|
|
|
222
|
|
|
/** |
223
|
|
|
* @param string $value |
224
|
|
|
* |
225
|
|
|
* @return $this |
226
|
|
|
*/ |
227
|
|
|
public function withApplicationType($value) |
228
|
|
|
{ |
229
|
|
|
$this->data['ApplicationType'] = $value; |
230
|
|
|
$this->options['form_params']['ApplicationType'] = $value; |
231
|
|
|
|
232
|
|
|
return $this; |
233
|
|
|
} |
234
|
|
|
|
235
|
|
|
/** |
236
|
|
|
* @param string $value |
237
|
|
|
* |
238
|
|
|
* @return $this |
239
|
|
|
*/ |
240
|
|
|
public function withStatus($value) |
241
|
|
|
{ |
242
|
|
|
$this->data['Status'] = $value; |
243
|
|
|
$this->options['form_params']['Status'] = $value; |
244
|
|
|
|
245
|
|
|
return $this; |
246
|
|
|
} |
247
|
|
|
} |
248
|
|
|
|
249
|
|
|
/** |
250
|
|
|
* @method string getAddresses() |
251
|
|
|
* @method string getDescription() |
252
|
|
|
* @method string getProtocol() |
253
|
|
|
* @method string getSourceIp() |
254
|
|
|
* @method $this withSourceIp($value) |
255
|
|
|
* @method string getTagIds() |
256
|
|
|
* @method string getPortRanges() |
257
|
|
|
* @method string getName() |
258
|
|
|
* @method string getStatus() |
259
|
|
|
*/ |
260
|
|
|
class CreatePrivateAccessApplication extends Rpc |
261
|
|
|
{ |
262
|
|
|
|
263
|
|
|
/** @var string */ |
264
|
|
|
public $method = 'POST'; |
265
|
|
|
|
266
|
|
|
/** |
267
|
|
|
* @param string $value |
268
|
|
|
* |
269
|
|
|
* @return $this |
270
|
|
|
*/ |
271
|
|
|
public function withAddresses($value) |
272
|
|
|
{ |
273
|
|
|
$this->data['Addresses'] = $value; |
274
|
|
|
$this->options['form_params']['Addresses'] = $value; |
275
|
|
|
|
276
|
|
|
return $this; |
277
|
|
|
} |
278
|
|
|
|
279
|
|
|
/** |
280
|
|
|
* @param string $value |
281
|
|
|
* |
282
|
|
|
* @return $this |
283
|
|
|
*/ |
284
|
|
|
public function withDescription($value) |
285
|
|
|
{ |
286
|
|
|
$this->data['Description'] = $value; |
287
|
|
|
$this->options['form_params']['Description'] = $value; |
288
|
|
|
|
289
|
|
|
return $this; |
290
|
|
|
} |
291
|
|
|
|
292
|
|
|
/** |
293
|
|
|
* @param string $value |
294
|
|
|
* |
295
|
|
|
* @return $this |
296
|
|
|
*/ |
297
|
|
|
public function withProtocol($value) |
298
|
|
|
{ |
299
|
|
|
$this->data['Protocol'] = $value; |
300
|
|
|
$this->options['form_params']['Protocol'] = $value; |
301
|
|
|
|
302
|
|
|
return $this; |
303
|
|
|
} |
304
|
|
|
|
305
|
|
|
/** |
306
|
|
|
* @param string $value |
307
|
|
|
* |
308
|
|
|
* @return $this |
309
|
|
|
*/ |
310
|
|
|
public function withTagIds($value) |
311
|
|
|
{ |
312
|
|
|
$this->data['TagIds'] = $value; |
313
|
|
|
$this->options['form_params']['TagIds'] = $value; |
314
|
|
|
|
315
|
|
|
return $this; |
316
|
|
|
} |
317
|
|
|
|
318
|
|
|
/** |
319
|
|
|
* @param string $value |
320
|
|
|
* |
321
|
|
|
* @return $this |
322
|
|
|
*/ |
323
|
|
|
public function withPortRanges($value) |
324
|
|
|
{ |
325
|
|
|
$this->data['PortRanges'] = $value; |
326
|
|
|
$this->options['form_params']['PortRanges'] = $value; |
327
|
|
|
|
328
|
|
|
return $this; |
329
|
|
|
} |
330
|
|
|
|
331
|
|
|
/** |
332
|
|
|
* @param string $value |
333
|
|
|
* |
334
|
|
|
* @return $this |
335
|
|
|
*/ |
336
|
|
|
public function withName($value) |
337
|
|
|
{ |
338
|
|
|
$this->data['Name'] = $value; |
339
|
|
|
$this->options['form_params']['Name'] = $value; |
340
|
|
|
|
341
|
|
|
return $this; |
342
|
|
|
} |
343
|
|
|
|
344
|
|
|
/** |
345
|
|
|
* @param string $value |
346
|
|
|
* |
347
|
|
|
* @return $this |
348
|
|
|
*/ |
349
|
|
|
public function withStatus($value) |
350
|
|
|
{ |
351
|
|
|
$this->data['Status'] = $value; |
352
|
|
|
$this->options['form_params']['Status'] = $value; |
353
|
|
|
|
354
|
|
|
return $this; |
355
|
|
|
} |
356
|
|
|
} |
357
|
|
|
|
358
|
|
|
/** |
359
|
|
|
* @method string getDescription() |
360
|
|
|
* @method string getSourceIp() |
361
|
|
|
* @method $this withSourceIp($value) |
362
|
|
|
* @method string getCustomUserAttributes() |
363
|
|
|
* @method string getTagIds() |
364
|
|
|
* @method string getUserGroupIds() |
365
|
|
|
* @method string getPolicyAction() |
366
|
|
|
* @method string getPriority() |
367
|
|
|
* @method string getApplicationIds() |
368
|
|
|
* @method string getUserGroupMode() |
369
|
|
|
* @method string getName() |
370
|
|
|
* @method string getApplicationType() |
371
|
|
|
* @method string getStatus() |
372
|
|
|
*/ |
373
|
|
|
class CreatePrivateAccessPolicy extends Rpc |
374
|
|
|
{ |
375
|
|
|
|
376
|
|
|
/** @var string */ |
377
|
|
|
public $method = 'POST'; |
378
|
|
|
|
379
|
|
|
/** |
380
|
|
|
* @param string $value |
381
|
|
|
* |
382
|
|
|
* @return $this |
383
|
|
|
*/ |
384
|
|
|
public function withDescription($value) |
385
|
|
|
{ |
386
|
|
|
$this->data['Description'] = $value; |
387
|
|
|
$this->options['form_params']['Description'] = $value; |
388
|
|
|
|
389
|
|
|
return $this; |
390
|
|
|
} |
391
|
|
|
|
392
|
|
|
/** |
393
|
|
|
* @param string $value |
394
|
|
|
* |
395
|
|
|
* @return $this |
396
|
|
|
*/ |
397
|
|
|
public function withCustomUserAttributes($value) |
398
|
|
|
{ |
399
|
|
|
$this->data['CustomUserAttributes'] = $value; |
400
|
|
|
$this->options['form_params']['CustomUserAttributes'] = $value; |
401
|
|
|
|
402
|
|
|
return $this; |
403
|
|
|
} |
404
|
|
|
|
405
|
|
|
/** |
406
|
|
|
* @param string $value |
407
|
|
|
* |
408
|
|
|
* @return $this |
409
|
|
|
*/ |
410
|
|
|
public function withTagIds($value) |
411
|
|
|
{ |
412
|
|
|
$this->data['TagIds'] = $value; |
413
|
|
|
$this->options['form_params']['TagIds'] = $value; |
414
|
|
|
|
415
|
|
|
return $this; |
416
|
|
|
} |
417
|
|
|
|
418
|
|
|
/** |
419
|
|
|
* @param string $value |
420
|
|
|
* |
421
|
|
|
* @return $this |
422
|
|
|
*/ |
423
|
|
|
public function withUserGroupIds($value) |
424
|
|
|
{ |
425
|
|
|
$this->data['UserGroupIds'] = $value; |
426
|
|
|
$this->options['form_params']['UserGroupIds'] = $value; |
427
|
|
|
|
428
|
|
|
return $this; |
429
|
|
|
} |
430
|
|
|
|
431
|
|
|
/** |
432
|
|
|
* @param string $value |
433
|
|
|
* |
434
|
|
|
* @return $this |
435
|
|
|
*/ |
436
|
|
|
public function withPolicyAction($value) |
437
|
|
|
{ |
438
|
|
|
$this->data['PolicyAction'] = $value; |
439
|
|
|
$this->options['form_params']['PolicyAction'] = $value; |
440
|
|
|
|
441
|
|
|
return $this; |
442
|
|
|
} |
443
|
|
|
|
444
|
|
|
/** |
445
|
|
|
* @param string $value |
446
|
|
|
* |
447
|
|
|
* @return $this |
448
|
|
|
*/ |
449
|
|
|
public function withPriority($value) |
450
|
|
|
{ |
451
|
|
|
$this->data['Priority'] = $value; |
452
|
|
|
$this->options['form_params']['Priority'] = $value; |
453
|
|
|
|
454
|
|
|
return $this; |
455
|
|
|
} |
456
|
|
|
|
457
|
|
|
/** |
458
|
|
|
* @param string $value |
459
|
|
|
* |
460
|
|
|
* @return $this |
461
|
|
|
*/ |
462
|
|
|
public function withApplicationIds($value) |
463
|
|
|
{ |
464
|
|
|
$this->data['ApplicationIds'] = $value; |
465
|
|
|
$this->options['form_params']['ApplicationIds'] = $value; |
466
|
|
|
|
467
|
|
|
return $this; |
468
|
|
|
} |
469
|
|
|
|
470
|
|
|
/** |
471
|
|
|
* @param string $value |
472
|
|
|
* |
473
|
|
|
* @return $this |
474
|
|
|
*/ |
475
|
|
|
public function withUserGroupMode($value) |
476
|
|
|
{ |
477
|
|
|
$this->data['UserGroupMode'] = $value; |
478
|
|
|
$this->options['form_params']['UserGroupMode'] = $value; |
479
|
|
|
|
480
|
|
|
return $this; |
481
|
|
|
} |
482
|
|
|
|
483
|
|
|
/** |
484
|
|
|
* @param string $value |
485
|
|
|
* |
486
|
|
|
* @return $this |
487
|
|
|
*/ |
488
|
|
|
public function withName($value) |
489
|
|
|
{ |
490
|
|
|
$this->data['Name'] = $value; |
491
|
|
|
$this->options['form_params']['Name'] = $value; |
492
|
|
|
|
493
|
|
|
return $this; |
494
|
|
|
} |
495
|
|
|
|
496
|
|
|
/** |
497
|
|
|
* @param string $value |
498
|
|
|
* |
499
|
|
|
* @return $this |
500
|
|
|
*/ |
501
|
|
|
public function withApplicationType($value) |
502
|
|
|
{ |
503
|
|
|
$this->data['ApplicationType'] = $value; |
504
|
|
|
$this->options['form_params']['ApplicationType'] = $value; |
505
|
|
|
|
506
|
|
|
return $this; |
507
|
|
|
} |
508
|
|
|
|
509
|
|
|
/** |
510
|
|
|
* @param string $value |
511
|
|
|
* |
512
|
|
|
* @return $this |
513
|
|
|
*/ |
514
|
|
|
public function withStatus($value) |
515
|
|
|
{ |
516
|
|
|
$this->data['Status'] = $value; |
517
|
|
|
$this->options['form_params']['Status'] = $value; |
518
|
|
|
|
519
|
|
|
return $this; |
520
|
|
|
} |
521
|
|
|
} |
522
|
|
|
|
523
|
|
|
/** |
524
|
|
|
* @method string getDescription() |
525
|
|
|
* @method string getSourceIp() |
526
|
|
|
* @method $this withSourceIp($value) |
527
|
|
|
* @method string getName() |
528
|
|
|
*/ |
529
|
|
|
class CreatePrivateAccessTag extends Rpc |
530
|
|
|
{ |
531
|
|
|
|
532
|
|
|
/** @var string */ |
533
|
|
|
public $method = 'POST'; |
534
|
|
|
|
535
|
|
|
/** |
536
|
|
|
* @param string $value |
537
|
|
|
* |
538
|
|
|
* @return $this |
539
|
|
|
*/ |
540
|
|
|
public function withDescription($value) |
541
|
|
|
{ |
542
|
|
|
$this->data['Description'] = $value; |
543
|
|
|
$this->options['form_params']['Description'] = $value; |
544
|
|
|
|
545
|
|
|
return $this; |
546
|
|
|
} |
547
|
|
|
|
548
|
|
|
/** |
549
|
|
|
* @param string $value |
550
|
|
|
* |
551
|
|
|
* @return $this |
552
|
|
|
*/ |
553
|
|
|
public function withName($value) |
554
|
|
|
{ |
555
|
|
|
$this->data['Name'] = $value; |
556
|
|
|
$this->options['form_params']['Name'] = $value; |
557
|
|
|
|
558
|
|
|
return $this; |
559
|
|
|
} |
560
|
|
|
} |
561
|
|
|
|
562
|
|
|
/** |
563
|
|
|
* @method string getDescription() |
564
|
|
|
* @method string getSourceIp() |
565
|
|
|
* @method $this withSourceIp($value) |
566
|
|
|
* @method string getName() |
567
|
|
|
* @method string getAttributes() |
568
|
|
|
*/ |
569
|
|
|
class CreateUserGroup extends Rpc |
570
|
|
|
{ |
571
|
|
|
|
572
|
|
|
/** @var string */ |
573
|
|
|
public $method = 'POST'; |
574
|
|
|
|
575
|
|
|
/** |
576
|
|
|
* @param string $value |
577
|
|
|
* |
578
|
|
|
* @return $this |
579
|
|
|
*/ |
580
|
|
|
public function withDescription($value) |
581
|
|
|
{ |
582
|
|
|
$this->data['Description'] = $value; |
583
|
|
|
$this->options['form_params']['Description'] = $value; |
584
|
|
|
|
585
|
|
|
return $this; |
586
|
|
|
} |
587
|
|
|
|
588
|
|
|
/** |
589
|
|
|
* @param string $value |
590
|
|
|
* |
591
|
|
|
* @return $this |
592
|
|
|
*/ |
593
|
|
|
public function withName($value) |
594
|
|
|
{ |
595
|
|
|
$this->data['Name'] = $value; |
596
|
|
|
$this->options['form_params']['Name'] = $value; |
597
|
|
|
|
598
|
|
|
return $this; |
599
|
|
|
} |
600
|
|
|
|
601
|
|
|
/** |
602
|
|
|
* @param string $value |
603
|
|
|
* |
604
|
|
|
* @return $this |
605
|
|
|
*/ |
606
|
|
|
public function withAttributes($value) |
607
|
|
|
{ |
608
|
|
|
$this->data['Attributes'] = $value; |
609
|
|
|
$this->options['form_params']['Attributes'] = $value; |
610
|
|
|
|
611
|
|
|
return $this; |
612
|
|
|
} |
613
|
|
|
} |
614
|
|
|
|
615
|
|
|
/** |
616
|
|
|
* @method string getDynamicRouteId() |
617
|
|
|
* @method $this withDynamicRouteId($value) |
618
|
|
|
* @method string getSourceIp() |
619
|
|
|
* @method $this withSourceIp($value) |
620
|
|
|
*/ |
621
|
|
|
class DeleteDynamicRoute extends Rpc |
622
|
|
|
{ |
623
|
|
|
|
624
|
|
|
/** @var string */ |
625
|
|
|
public $method = 'POST'; |
626
|
|
|
} |
627
|
|
|
|
628
|
|
|
/** |
629
|
|
|
* @method string getSourceIp() |
630
|
|
|
* @method $this withSourceIp($value) |
631
|
|
|
* @method string getApplicationId() |
632
|
|
|
*/ |
633
|
|
|
class DeletePrivateAccessApplication extends Rpc |
634
|
|
|
{ |
635
|
|
|
|
636
|
|
|
/** @var string */ |
637
|
|
|
public $method = 'POST'; |
638
|
|
|
|
639
|
|
|
/** |
640
|
|
|
* @param string $value |
641
|
|
|
* |
642
|
|
|
* @return $this |
643
|
|
|
*/ |
644
|
|
|
public function withApplicationId($value) |
645
|
|
|
{ |
646
|
|
|
$this->data['ApplicationId'] = $value; |
647
|
|
|
$this->options['form_params']['ApplicationId'] = $value; |
648
|
|
|
|
649
|
|
|
return $this; |
650
|
|
|
} |
651
|
|
|
} |
652
|
|
|
|
653
|
|
|
/** |
654
|
|
|
* @method string getSourceIp() |
655
|
|
|
* @method $this withSourceIp($value) |
656
|
|
|
* @method string getPolicyId() |
657
|
|
|
*/ |
658
|
|
|
class DeletePrivateAccessPolicy extends Rpc |
659
|
|
|
{ |
660
|
|
|
|
661
|
|
|
/** @var string */ |
662
|
|
|
public $method = 'POST'; |
663
|
|
|
|
664
|
|
|
/** |
665
|
|
|
* @param string $value |
666
|
|
|
* |
667
|
|
|
* @return $this |
668
|
|
|
*/ |
669
|
|
|
public function withPolicyId($value) |
670
|
|
|
{ |
671
|
|
|
$this->data['PolicyId'] = $value; |
672
|
|
|
$this->options['form_params']['PolicyId'] = $value; |
673
|
|
|
|
674
|
|
|
return $this; |
675
|
|
|
} |
676
|
|
|
} |
677
|
|
|
|
678
|
|
|
/** |
679
|
|
|
* @method string getTagId() |
680
|
|
|
* @method string getSourceIp() |
681
|
|
|
* @method $this withSourceIp($value) |
682
|
|
|
*/ |
683
|
|
|
class DeletePrivateAccessTag extends Rpc |
684
|
|
|
{ |
685
|
|
|
|
686
|
|
|
/** @var string */ |
687
|
|
|
public $method = 'POST'; |
688
|
|
|
|
689
|
|
|
/** |
690
|
|
|
* @param string $value |
691
|
|
|
* |
692
|
|
|
* @return $this |
693
|
|
|
*/ |
694
|
|
|
public function withTagId($value) |
695
|
|
|
{ |
696
|
|
|
$this->data['TagId'] = $value; |
697
|
|
|
$this->options['form_params']['TagId'] = $value; |
698
|
|
|
|
699
|
|
|
return $this; |
700
|
|
|
} |
701
|
|
|
} |
702
|
|
|
|
703
|
|
|
/** |
704
|
|
|
* @method string getUserGroupId() |
705
|
|
|
* @method string getSourceIp() |
706
|
|
|
* @method $this withSourceIp($value) |
707
|
|
|
*/ |
708
|
|
|
class DeleteUserGroup extends Rpc |
709
|
|
|
{ |
710
|
|
|
|
711
|
|
|
/** @var string */ |
712
|
|
|
public $method = 'POST'; |
713
|
|
|
|
714
|
|
|
/** |
715
|
|
|
* @param string $value |
716
|
|
|
* |
717
|
|
|
* @return $this |
718
|
|
|
*/ |
719
|
|
|
public function withUserGroupId($value) |
720
|
|
|
{ |
721
|
|
|
$this->data['UserGroupId'] = $value; |
722
|
|
|
$this->options['form_params']['UserGroupId'] = $value; |
723
|
|
|
|
724
|
|
|
return $this; |
725
|
|
|
} |
726
|
|
|
} |
727
|
|
|
|
728
|
|
|
/** |
729
|
|
|
* @method string getConnectorId() |
730
|
|
|
* @method string getApplicationIds() |
731
|
|
|
* @method string getSourceIp() |
732
|
|
|
* @method $this withSourceIp($value) |
733
|
|
|
*/ |
734
|
|
|
class DetachApplication2Connector extends Rpc |
735
|
|
|
{ |
736
|
|
|
|
737
|
|
|
/** @var string */ |
738
|
|
|
public $method = 'POST'; |
739
|
|
|
|
740
|
|
|
/** |
741
|
|
|
* @param string $value |
742
|
|
|
* |
743
|
|
|
* @return $this |
744
|
|
|
*/ |
745
|
|
|
public function withConnectorId($value) |
746
|
|
|
{ |
747
|
|
|
$this->data['ConnectorId'] = $value; |
748
|
|
|
$this->options['form_params']['ConnectorId'] = $value; |
749
|
|
|
|
750
|
|
|
return $this; |
751
|
|
|
} |
752
|
|
|
|
753
|
|
|
/** |
754
|
|
|
* @param string $value |
755
|
|
|
* |
756
|
|
|
* @return $this |
757
|
|
|
*/ |
758
|
|
|
public function withApplicationIds($value) |
759
|
|
|
{ |
760
|
|
|
$this->data['ApplicationIds'] = $value; |
761
|
|
|
$this->options['form_params']['ApplicationIds'] = $value; |
762
|
|
|
|
763
|
|
|
return $this; |
764
|
|
|
} |
765
|
|
|
} |
766
|
|
|
|
767
|
|
|
/** |
768
|
|
|
* @method string getDynamicRouteId() |
769
|
|
|
* @method $this withDynamicRouteId($value) |
770
|
|
|
* @method string getSourceIp() |
771
|
|
|
* @method $this withSourceIp($value) |
772
|
|
|
*/ |
773
|
|
|
class GetDynamicRoute extends Rpc |
774
|
|
|
{ |
775
|
|
|
} |
776
|
|
|
|
777
|
|
|
/** |
778
|
|
|
* @method string getSourceIp() |
779
|
|
|
* @method $this withSourceIp($value) |
780
|
|
|
* @method string getApplicationId() |
781
|
|
|
* @method $this withApplicationId($value) |
782
|
|
|
*/ |
783
|
|
|
class GetPrivateAccessApplication extends Rpc |
784
|
|
|
{ |
785
|
|
|
} |
786
|
|
|
|
787
|
|
|
/** |
788
|
|
|
* @method string getSourceIp() |
789
|
|
|
* @method $this withSourceIp($value) |
790
|
|
|
* @method string getPolicyId() |
791
|
|
|
* @method $this withPolicyId($value) |
792
|
|
|
*/ |
793
|
|
|
class GetPrivateAccessPolicy extends Rpc |
794
|
|
|
{ |
795
|
|
|
} |
796
|
|
|
|
797
|
|
|
/** |
798
|
|
|
* @method string getUserGroupId() |
799
|
|
|
* @method $this withUserGroupId($value) |
800
|
|
|
* @method string getSourceIp() |
801
|
|
|
* @method $this withSourceIp($value) |
802
|
|
|
*/ |
803
|
|
|
class GetUserGroup extends Rpc |
804
|
|
|
{ |
805
|
|
|
} |
806
|
|
|
|
807
|
|
|
/** |
808
|
|
|
* @method string getPolicyIds() |
809
|
|
|
* @method $this withPolicyIds($value) |
810
|
|
|
* @method string getSourceIp() |
811
|
|
|
* @method $this withSourceIp($value) |
812
|
|
|
*/ |
813
|
|
|
class ListApplicationsForPrivateAccessPolicy extends Rpc |
814
|
|
|
{ |
815
|
|
|
} |
816
|
|
|
|
817
|
|
|
/** |
818
|
|
|
* @method string getTagIds() |
819
|
|
|
* @method $this withTagIds($value) |
820
|
|
|
* @method string getSourceIp() |
821
|
|
|
* @method $this withSourceIp($value) |
822
|
|
|
*/ |
823
|
|
|
class ListApplicationsForPrivateAccessTag extends Rpc |
824
|
|
|
{ |
825
|
|
|
} |
826
|
|
|
|
827
|
|
|
/** |
828
|
|
|
* @method string getSwitchStatus() |
829
|
|
|
* @method $this withSwitchStatus($value) |
830
|
|
|
* @method string getSourceIp() |
831
|
|
|
* @method $this withSourceIp($value) |
832
|
|
|
* @method string getPageSize() |
833
|
|
|
* @method $this withPageSize($value) |
834
|
|
|
* @method string getCurrentPage() |
835
|
|
|
* @method $this withCurrentPage($value) |
836
|
|
|
* @method string getName() |
837
|
|
|
* @method $this withName($value) |
838
|
|
|
* @method string getConnectorIds() |
839
|
|
|
* @method $this withConnectorIds($value) |
840
|
|
|
* @method string getStatus() |
841
|
|
|
* @method $this withStatus($value) |
842
|
|
|
*/ |
843
|
|
|
class ListConnectors extends Rpc |
844
|
|
|
{ |
845
|
|
|
} |
846
|
|
|
|
847
|
|
|
/** |
848
|
|
|
* @method string getSourceIp() |
849
|
|
|
* @method $this withSourceIp($value) |
850
|
|
|
*/ |
851
|
|
|
class ListDynamicRouteRegions extends Rpc |
852
|
|
|
{ |
853
|
|
|
} |
854
|
|
|
|
855
|
|
|
/** |
856
|
|
|
* @method string getSourceIp() |
857
|
|
|
* @method $this withSourceIp($value) |
858
|
|
|
* @method string getPageSize() |
859
|
|
|
* @method $this withPageSize($value) |
860
|
|
|
* @method string getApplicationId() |
861
|
|
|
* @method $this withApplicationId($value) |
862
|
|
|
* @method string getDynamicRouteIds() |
863
|
|
|
* @method $this withDynamicRouteIds($value) |
864
|
|
|
* @method string getTagId() |
865
|
|
|
* @method $this withTagId($value) |
866
|
|
|
* @method string getCurrentPage() |
867
|
|
|
* @method $this withCurrentPage($value) |
868
|
|
|
* @method string getRegionIds() |
869
|
|
|
* @method $this withRegionIds($value) |
870
|
|
|
* @method string getNextHop() |
871
|
|
|
* @method $this withNextHop($value) |
872
|
|
|
* @method string getName() |
873
|
|
|
* @method $this withName($value) |
874
|
|
|
* @method string getStatus() |
875
|
|
|
* @method $this withStatus($value) |
876
|
|
|
*/ |
877
|
|
|
class ListDynamicRoutes extends Rpc |
878
|
|
|
{ |
879
|
|
|
} |
880
|
|
|
|
881
|
|
|
/** |
882
|
|
|
* @method string getApplicationIds() |
883
|
|
|
* @method $this withApplicationIds($value) |
884
|
|
|
* @method string getSourceIp() |
885
|
|
|
* @method $this withSourceIp($value) |
886
|
|
|
*/ |
887
|
|
|
class ListPolicesForPrivateAccessApplication extends Rpc |
888
|
|
|
{ |
889
|
|
|
} |
890
|
|
|
|
891
|
|
|
/** |
892
|
|
|
* @method string getTagIds() |
893
|
|
|
* @method $this withTagIds($value) |
894
|
|
|
* @method string getSourceIp() |
895
|
|
|
* @method $this withSourceIp($value) |
896
|
|
|
*/ |
897
|
|
|
class ListPolicesForPrivateAccessTag extends Rpc |
898
|
|
|
{ |
899
|
|
|
} |
900
|
|
|
|
901
|
|
|
/** |
902
|
|
|
* @method string getUserGroupIds() |
903
|
|
|
* @method $this withUserGroupIds($value) |
904
|
|
|
* @method string getSourceIp() |
905
|
|
|
* @method $this withSourceIp($value) |
906
|
|
|
*/ |
907
|
|
|
class ListPolicesForUserGroup extends Rpc |
908
|
|
|
{ |
909
|
|
|
} |
910
|
|
|
|
911
|
|
|
/** |
912
|
|
|
* @method string getSourceIp() |
913
|
|
|
* @method $this withSourceIp($value) |
914
|
|
|
* @method string getPolicyId() |
915
|
|
|
* @method $this withPolicyId($value) |
916
|
|
|
* @method string getPageSize() |
917
|
|
|
* @method $this withPageSize($value) |
918
|
|
|
* @method string getAddress() |
919
|
|
|
* @method $this withAddress($value) |
920
|
|
|
* @method string getTagId() |
921
|
|
|
* @method $this withTagId($value) |
922
|
|
|
* @method string getCurrentPage() |
923
|
|
|
* @method $this withCurrentPage($value) |
924
|
|
|
* @method string getApplicationIds() |
925
|
|
|
* @method $this withApplicationIds($value) |
926
|
|
|
* @method string getName() |
927
|
|
|
* @method $this withName($value) |
928
|
|
|
* @method string getStatus() |
929
|
|
|
* @method $this withStatus($value) |
930
|
|
|
*/ |
931
|
|
|
class ListPrivateAccessApplications extends Rpc |
932
|
|
|
{ |
933
|
|
|
} |
934
|
|
|
|
935
|
|
|
/** |
936
|
|
|
* @method string getDynamicRouteIds() |
937
|
|
|
* @method $this withDynamicRouteIds($value) |
938
|
|
|
* @method string getSourceIp() |
939
|
|
|
* @method $this withSourceIp($value) |
940
|
|
|
*/ |
941
|
|
|
class ListPrivateAccessApplicationsForDynamicRoute extends Rpc |
942
|
|
|
{ |
943
|
|
|
} |
944
|
|
|
|
945
|
|
|
/** |
946
|
|
|
* @method string getPolicyIds() |
947
|
|
|
* @method $this withPolicyIds($value) |
948
|
|
|
* @method string getSourceIp() |
949
|
|
|
* @method $this withSourceIp($value) |
950
|
|
|
* @method string getPageSize() |
951
|
|
|
* @method $this withPageSize($value) |
952
|
|
|
* @method string getApplicationId() |
953
|
|
|
* @method $this withApplicationId($value) |
954
|
|
|
* @method string getTagId() |
955
|
|
|
* @method $this withTagId($value) |
956
|
|
|
* @method string getUserGroupId() |
957
|
|
|
* @method $this withUserGroupId($value) |
958
|
|
|
* @method string getCurrentPage() |
959
|
|
|
* @method $this withCurrentPage($value) |
960
|
|
|
* @method string getPolicyAction() |
961
|
|
|
* @method $this withPolicyAction($value) |
962
|
|
|
* @method string getName() |
963
|
|
|
* @method $this withName($value) |
964
|
|
|
* @method string getStatus() |
965
|
|
|
* @method $this withStatus($value) |
966
|
|
|
*/ |
967
|
|
|
class ListPrivateAccessPolices extends Rpc |
968
|
|
|
{ |
969
|
|
|
} |
970
|
|
|
|
971
|
|
|
/** |
972
|
|
|
* @method string getSourceIp() |
973
|
|
|
* @method $this withSourceIp($value) |
974
|
|
|
* @method string getPolicyId() |
975
|
|
|
* @method $this withPolicyId($value) |
976
|
|
|
* @method string getPageSize() |
977
|
|
|
* @method $this withPageSize($value) |
978
|
|
|
* @method string getApplicationId() |
979
|
|
|
* @method $this withApplicationId($value) |
980
|
|
|
* @method string getTagIds() |
981
|
|
|
* @method $this withTagIds($value) |
982
|
|
|
* @method string getCurrentPage() |
983
|
|
|
* @method $this withCurrentPage($value) |
984
|
|
|
* @method string getName() |
985
|
|
|
* @method $this withName($value) |
986
|
|
|
*/ |
987
|
|
|
class ListPrivateAccessTags extends Rpc |
988
|
|
|
{ |
989
|
|
|
} |
990
|
|
|
|
991
|
|
|
/** |
992
|
|
|
* @method string getDynamicRouteIds() |
993
|
|
|
* @method $this withDynamicRouteIds($value) |
994
|
|
|
* @method string getSourceIp() |
995
|
|
|
* @method $this withSourceIp($value) |
996
|
|
|
*/ |
997
|
|
|
class ListPrivateAccessTagsForDynamicRoute extends Rpc |
998
|
|
|
{ |
999
|
|
|
} |
1000
|
|
|
|
1001
|
|
|
/** |
1002
|
|
|
* @method string getApplicationIds() |
1003
|
|
|
* @method $this withApplicationIds($value) |
1004
|
|
|
* @method string getSourceIp() |
1005
|
|
|
* @method $this withSourceIp($value) |
1006
|
|
|
*/ |
1007
|
|
|
class ListTagsForPrivateAccessApplication extends Rpc |
1008
|
|
|
{ |
1009
|
|
|
} |
1010
|
|
|
|
1011
|
|
|
/** |
1012
|
|
|
* @method string getPolicyIds() |
1013
|
|
|
* @method $this withPolicyIds($value) |
1014
|
|
|
* @method string getSourceIp() |
1015
|
|
|
* @method $this withSourceIp($value) |
1016
|
|
|
*/ |
1017
|
|
|
class ListTagsForPrivateAccessPolicy extends Rpc |
1018
|
|
|
{ |
1019
|
|
|
} |
1020
|
|
|
|
1021
|
|
|
/** |
1022
|
|
|
* @method string getAttributeValue() |
1023
|
|
|
* @method $this withAttributeValue($value) |
1024
|
|
|
* @method string getSourceIp() |
1025
|
|
|
* @method $this withSourceIp($value) |
1026
|
|
|
* @method string getPAPolicyId() |
1027
|
|
|
* @method $this withPAPolicyId($value) |
1028
|
|
|
* @method string getPageSize() |
1029
|
|
|
* @method $this withPageSize($value) |
1030
|
|
|
* @method string getCurrentPage() |
1031
|
|
|
* @method $this withCurrentPage($value) |
1032
|
|
|
* @method string getUserGroupIds() |
1033
|
|
|
* @method $this withUserGroupIds($value) |
1034
|
|
|
* @method string getName() |
1035
|
|
|
* @method $this withName($value) |
1036
|
|
|
*/ |
1037
|
|
|
class ListUserGroups extends Rpc |
1038
|
|
|
{ |
1039
|
|
|
} |
1040
|
|
|
|
1041
|
|
|
/** |
1042
|
|
|
* @method string getPolicyIds() |
1043
|
|
|
* @method $this withPolicyIds($value) |
1044
|
|
|
* @method string getSourceIp() |
1045
|
|
|
* @method $this withSourceIp($value) |
1046
|
|
|
*/ |
1047
|
|
|
class ListUserGroupsForPrivateAccessPolicy extends Rpc |
1048
|
|
|
{ |
1049
|
|
|
} |
1050
|
|
|
|
1051
|
|
|
/** |
1052
|
|
|
* @method string getDescription() |
1053
|
|
|
* @method string getDynamicRouteId() |
1054
|
|
|
* @method string getSourceIp() |
1055
|
|
|
* @method $this withSourceIp($value) |
1056
|
|
|
* @method string getDynamicRouteType() |
1057
|
|
|
* @method string getTagIds() |
1058
|
|
|
* @method string getRegionIds() |
1059
|
|
|
* @method string getPriority() |
1060
|
|
|
* @method string getNextHop() |
1061
|
|
|
* @method string getApplicationIds() |
1062
|
|
|
* @method string getModifyType() |
1063
|
|
|
* @method string getName() |
1064
|
|
|
* @method string getApplicationType() |
1065
|
|
|
* @method string getStatus() |
1066
|
|
|
*/ |
1067
|
|
|
class UpdateDynamicRoute extends Rpc |
1068
|
|
|
{ |
1069
|
|
|
|
1070
|
|
|
/** @var string */ |
1071
|
|
|
public $method = 'POST'; |
1072
|
|
|
|
1073
|
|
|
/** |
1074
|
|
|
* @param string $value |
1075
|
|
|
* |
1076
|
|
|
* @return $this |
1077
|
|
|
*/ |
1078
|
|
|
public function withDescription($value) |
1079
|
|
|
{ |
1080
|
|
|
$this->data['Description'] = $value; |
1081
|
|
|
$this->options['form_params']['Description'] = $value; |
1082
|
|
|
|
1083
|
|
|
return $this; |
1084
|
|
|
} |
1085
|
|
|
|
1086
|
|
|
/** |
1087
|
|
|
* @param string $value |
1088
|
|
|
* |
1089
|
|
|
* @return $this |
1090
|
|
|
*/ |
1091
|
|
|
public function withDynamicRouteId($value) |
1092
|
|
|
{ |
1093
|
|
|
$this->data['DynamicRouteId'] = $value; |
1094
|
|
|
$this->options['form_params']['DynamicRouteId'] = $value; |
1095
|
|
|
|
1096
|
|
|
return $this; |
1097
|
|
|
} |
1098
|
|
|
|
1099
|
|
|
/** |
1100
|
|
|
* @param string $value |
1101
|
|
|
* |
1102
|
|
|
* @return $this |
1103
|
|
|
*/ |
1104
|
|
|
public function withDynamicRouteType($value) |
1105
|
|
|
{ |
1106
|
|
|
$this->data['DynamicRouteType'] = $value; |
1107
|
|
|
$this->options['form_params']['DynamicRouteType'] = $value; |
1108
|
|
|
|
1109
|
|
|
return $this; |
1110
|
|
|
} |
1111
|
|
|
|
1112
|
|
|
/** |
1113
|
|
|
* @param string $value |
1114
|
|
|
* |
1115
|
|
|
* @return $this |
1116
|
|
|
*/ |
1117
|
|
|
public function withTagIds($value) |
1118
|
|
|
{ |
1119
|
|
|
$this->data['TagIds'] = $value; |
1120
|
|
|
$this->options['form_params']['TagIds'] = $value; |
1121
|
|
|
|
1122
|
|
|
return $this; |
1123
|
|
|
} |
1124
|
|
|
|
1125
|
|
|
/** |
1126
|
|
|
* @param string $value |
1127
|
|
|
* |
1128
|
|
|
* @return $this |
1129
|
|
|
*/ |
1130
|
|
|
public function withRegionIds($value) |
1131
|
|
|
{ |
1132
|
|
|
$this->data['RegionIds'] = $value; |
1133
|
|
|
$this->options['form_params']['RegionIds'] = $value; |
1134
|
|
|
|
1135
|
|
|
return $this; |
1136
|
|
|
} |
1137
|
|
|
|
1138
|
|
|
/** |
1139
|
|
|
* @param string $value |
1140
|
|
|
* |
1141
|
|
|
* @return $this |
1142
|
|
|
*/ |
1143
|
|
|
public function withPriority($value) |
1144
|
|
|
{ |
1145
|
|
|
$this->data['Priority'] = $value; |
1146
|
|
|
$this->options['form_params']['Priority'] = $value; |
1147
|
|
|
|
1148
|
|
|
return $this; |
1149
|
|
|
} |
1150
|
|
|
|
1151
|
|
|
/** |
1152
|
|
|
* @param string $value |
1153
|
|
|
* |
1154
|
|
|
* @return $this |
1155
|
|
|
*/ |
1156
|
|
|
public function withNextHop($value) |
1157
|
|
|
{ |
1158
|
|
|
$this->data['NextHop'] = $value; |
1159
|
|
|
$this->options['form_params']['NextHop'] = $value; |
1160
|
|
|
|
1161
|
|
|
return $this; |
1162
|
|
|
} |
1163
|
|
|
|
1164
|
|
|
/** |
1165
|
|
|
* @param string $value |
1166
|
|
|
* |
1167
|
|
|
* @return $this |
1168
|
|
|
*/ |
1169
|
|
|
public function withApplicationIds($value) |
1170
|
|
|
{ |
1171
|
|
|
$this->data['ApplicationIds'] = $value; |
1172
|
|
|
$this->options['form_params']['ApplicationIds'] = $value; |
1173
|
|
|
|
1174
|
|
|
return $this; |
1175
|
|
|
} |
1176
|
|
|
|
1177
|
|
|
/** |
1178
|
|
|
* @param string $value |
1179
|
|
|
* |
1180
|
|
|
* @return $this |
1181
|
|
|
*/ |
1182
|
|
|
public function withModifyType($value) |
1183
|
|
|
{ |
1184
|
|
|
$this->data['ModifyType'] = $value; |
1185
|
|
|
$this->options['form_params']['ModifyType'] = $value; |
1186
|
|
|
|
1187
|
|
|
return $this; |
1188
|
|
|
} |
1189
|
|
|
|
1190
|
|
|
/** |
1191
|
|
|
* @param string $value |
1192
|
|
|
* |
1193
|
|
|
* @return $this |
1194
|
|
|
*/ |
1195
|
|
|
public function withName($value) |
1196
|
|
|
{ |
1197
|
|
|
$this->data['Name'] = $value; |
1198
|
|
|
$this->options['form_params']['Name'] = $value; |
1199
|
|
|
|
1200
|
|
|
return $this; |
1201
|
|
|
} |
1202
|
|
|
|
1203
|
|
|
/** |
1204
|
|
|
* @param string $value |
1205
|
|
|
* |
1206
|
|
|
* @return $this |
1207
|
|
|
*/ |
1208
|
|
|
public function withApplicationType($value) |
1209
|
|
|
{ |
1210
|
|
|
$this->data['ApplicationType'] = $value; |
1211
|
|
|
$this->options['form_params']['ApplicationType'] = $value; |
1212
|
|
|
|
1213
|
|
|
return $this; |
1214
|
|
|
} |
1215
|
|
|
|
1216
|
|
|
/** |
1217
|
|
|
* @param string $value |
1218
|
|
|
* |
1219
|
|
|
* @return $this |
1220
|
|
|
*/ |
1221
|
|
|
public function withStatus($value) |
1222
|
|
|
{ |
1223
|
|
|
$this->data['Status'] = $value; |
1224
|
|
|
$this->options['form_params']['Status'] = $value; |
1225
|
|
|
|
1226
|
|
|
return $this; |
1227
|
|
|
} |
1228
|
|
|
} |
1229
|
|
|
|
1230
|
|
|
/** |
1231
|
|
|
* @method string getAddresses() |
1232
|
|
|
* @method string getDescription() |
1233
|
|
|
* @method string getProtocol() |
1234
|
|
|
* @method string getSourceIp() |
1235
|
|
|
* @method $this withSourceIp($value) |
1236
|
|
|
* @method string getApplicationId() |
1237
|
|
|
* @method string getTagIds() |
1238
|
|
|
* @method string getPortRanges() |
1239
|
|
|
* @method string getModifyType() |
1240
|
|
|
* @method string getStatus() |
1241
|
|
|
*/ |
1242
|
|
|
class UpdatePrivateAccessApplication extends Rpc |
1243
|
|
|
{ |
1244
|
|
|
|
1245
|
|
|
/** @var string */ |
1246
|
|
|
public $method = 'POST'; |
1247
|
|
|
|
1248
|
|
|
/** |
1249
|
|
|
* @param string $value |
1250
|
|
|
* |
1251
|
|
|
* @return $this |
1252
|
|
|
*/ |
1253
|
|
|
public function withAddresses($value) |
1254
|
|
|
{ |
1255
|
|
|
$this->data['Addresses'] = $value; |
1256
|
|
|
$this->options['form_params']['Addresses'] = $value; |
1257
|
|
|
|
1258
|
|
|
return $this; |
1259
|
|
|
} |
1260
|
|
|
|
1261
|
|
|
/** |
1262
|
|
|
* @param string $value |
1263
|
|
|
* |
1264
|
|
|
* @return $this |
1265
|
|
|
*/ |
1266
|
|
|
public function withDescription($value) |
1267
|
|
|
{ |
1268
|
|
|
$this->data['Description'] = $value; |
1269
|
|
|
$this->options['form_params']['Description'] = $value; |
1270
|
|
|
|
1271
|
|
|
return $this; |
1272
|
|
|
} |
1273
|
|
|
|
1274
|
|
|
/** |
1275
|
|
|
* @param string $value |
1276
|
|
|
* |
1277
|
|
|
* @return $this |
1278
|
|
|
*/ |
1279
|
|
|
public function withProtocol($value) |
1280
|
|
|
{ |
1281
|
|
|
$this->data['Protocol'] = $value; |
1282
|
|
|
$this->options['form_params']['Protocol'] = $value; |
1283
|
|
|
|
1284
|
|
|
return $this; |
1285
|
|
|
} |
1286
|
|
|
|
1287
|
|
|
/** |
1288
|
|
|
* @param string $value |
1289
|
|
|
* |
1290
|
|
|
* @return $this |
1291
|
|
|
*/ |
1292
|
|
|
public function withApplicationId($value) |
1293
|
|
|
{ |
1294
|
|
|
$this->data['ApplicationId'] = $value; |
1295
|
|
|
$this->options['form_params']['ApplicationId'] = $value; |
1296
|
|
|
|
1297
|
|
|
return $this; |
1298
|
|
|
} |
1299
|
|
|
|
1300
|
|
|
/** |
1301
|
|
|
* @param string $value |
1302
|
|
|
* |
1303
|
|
|
* @return $this |
1304
|
|
|
*/ |
1305
|
|
|
public function withTagIds($value) |
1306
|
|
|
{ |
1307
|
|
|
$this->data['TagIds'] = $value; |
1308
|
|
|
$this->options['form_params']['TagIds'] = $value; |
1309
|
|
|
|
1310
|
|
|
return $this; |
1311
|
|
|
} |
1312
|
|
|
|
1313
|
|
|
/** |
1314
|
|
|
* @param string $value |
1315
|
|
|
* |
1316
|
|
|
* @return $this |
1317
|
|
|
*/ |
1318
|
|
|
public function withPortRanges($value) |
1319
|
|
|
{ |
1320
|
|
|
$this->data['PortRanges'] = $value; |
1321
|
|
|
$this->options['form_params']['PortRanges'] = $value; |
1322
|
|
|
|
1323
|
|
|
return $this; |
1324
|
|
|
} |
1325
|
|
|
|
1326
|
|
|
/** |
1327
|
|
|
* @param string $value |
1328
|
|
|
* |
1329
|
|
|
* @return $this |
1330
|
|
|
*/ |
1331
|
|
|
public function withModifyType($value) |
1332
|
|
|
{ |
1333
|
|
|
$this->data['ModifyType'] = $value; |
1334
|
|
|
$this->options['form_params']['ModifyType'] = $value; |
1335
|
|
|
|
1336
|
|
|
return $this; |
1337
|
|
|
} |
1338
|
|
|
|
1339
|
|
|
/** |
1340
|
|
|
* @param string $value |
1341
|
|
|
* |
1342
|
|
|
* @return $this |
1343
|
|
|
*/ |
1344
|
|
|
public function withStatus($value) |
1345
|
|
|
{ |
1346
|
|
|
$this->data['Status'] = $value; |
1347
|
|
|
$this->options['form_params']['Status'] = $value; |
1348
|
|
|
|
1349
|
|
|
return $this; |
1350
|
|
|
} |
1351
|
|
|
} |
1352
|
|
|
|
1353
|
|
|
/** |
1354
|
|
|
* @method string getDescription() |
1355
|
|
|
* @method string getSourceIp() |
1356
|
|
|
* @method $this withSourceIp($value) |
1357
|
|
|
* @method string getPolicyId() |
1358
|
|
|
* @method string getCustomUserAttributes() |
1359
|
|
|
* @method string getTagIds() |
1360
|
|
|
* @method string getUserGroupIds() |
1361
|
|
|
* @method string getPolicyAction() |
1362
|
|
|
* @method string getPriority() |
1363
|
|
|
* @method string getApplicationIds() |
1364
|
|
|
* @method string getUserGroupMode() |
1365
|
|
|
* @method string getModifyType() |
1366
|
|
|
* @method string getApplicationType() |
1367
|
|
|
* @method string getStatus() |
1368
|
|
|
*/ |
1369
|
|
|
class UpdatePrivateAccessPolicy extends Rpc |
1370
|
|
|
{ |
1371
|
|
|
|
1372
|
|
|
/** @var string */ |
1373
|
|
|
public $method = 'POST'; |
1374
|
|
|
|
1375
|
|
|
/** |
1376
|
|
|
* @param string $value |
1377
|
|
|
* |
1378
|
|
|
* @return $this |
1379
|
|
|
*/ |
1380
|
|
|
public function withDescription($value) |
1381
|
|
|
{ |
1382
|
|
|
$this->data['Description'] = $value; |
1383
|
|
|
$this->options['form_params']['Description'] = $value; |
1384
|
|
|
|
1385
|
|
|
return $this; |
1386
|
|
|
} |
1387
|
|
|
|
1388
|
|
|
/** |
1389
|
|
|
* @param string $value |
1390
|
|
|
* |
1391
|
|
|
* @return $this |
1392
|
|
|
*/ |
1393
|
|
|
public function withPolicyId($value) |
1394
|
|
|
{ |
1395
|
|
|
$this->data['PolicyId'] = $value; |
1396
|
|
|
$this->options['form_params']['PolicyId'] = $value; |
1397
|
|
|
|
1398
|
|
|
return $this; |
1399
|
|
|
} |
1400
|
|
|
|
1401
|
|
|
/** |
1402
|
|
|
* @param string $value |
1403
|
|
|
* |
1404
|
|
|
* @return $this |
1405
|
|
|
*/ |
1406
|
|
|
public function withCustomUserAttributes($value) |
1407
|
|
|
{ |
1408
|
|
|
$this->data['CustomUserAttributes'] = $value; |
1409
|
|
|
$this->options['form_params']['CustomUserAttributes'] = $value; |
1410
|
|
|
|
1411
|
|
|
return $this; |
1412
|
|
|
} |
1413
|
|
|
|
1414
|
|
|
/** |
1415
|
|
|
* @param string $value |
1416
|
|
|
* |
1417
|
|
|
* @return $this |
1418
|
|
|
*/ |
1419
|
|
|
public function withTagIds($value) |
1420
|
|
|
{ |
1421
|
|
|
$this->data['TagIds'] = $value; |
1422
|
|
|
$this->options['form_params']['TagIds'] = $value; |
1423
|
|
|
|
1424
|
|
|
return $this; |
1425
|
|
|
} |
1426
|
|
|
|
1427
|
|
|
/** |
1428
|
|
|
* @param string $value |
1429
|
|
|
* |
1430
|
|
|
* @return $this |
1431
|
|
|
*/ |
1432
|
|
|
public function withUserGroupIds($value) |
1433
|
|
|
{ |
1434
|
|
|
$this->data['UserGroupIds'] = $value; |
1435
|
|
|
$this->options['form_params']['UserGroupIds'] = $value; |
1436
|
|
|
|
1437
|
|
|
return $this; |
1438
|
|
|
} |
1439
|
|
|
|
1440
|
|
|
/** |
1441
|
|
|
* @param string $value |
1442
|
|
|
* |
1443
|
|
|
* @return $this |
1444
|
|
|
*/ |
1445
|
|
|
public function withPolicyAction($value) |
1446
|
|
|
{ |
1447
|
|
|
$this->data['PolicyAction'] = $value; |
1448
|
|
|
$this->options['form_params']['PolicyAction'] = $value; |
1449
|
|
|
|
1450
|
|
|
return $this; |
1451
|
|
|
} |
1452
|
|
|
|
1453
|
|
|
/** |
1454
|
|
|
* @param string $value |
1455
|
|
|
* |
1456
|
|
|
* @return $this |
1457
|
|
|
*/ |
1458
|
|
|
public function withPriority($value) |
1459
|
|
|
{ |
1460
|
|
|
$this->data['Priority'] = $value; |
1461
|
|
|
$this->options['form_params']['Priority'] = $value; |
1462
|
|
|
|
1463
|
|
|
return $this; |
1464
|
|
|
} |
1465
|
|
|
|
1466
|
|
|
/** |
1467
|
|
|
* @param string $value |
1468
|
|
|
* |
1469
|
|
|
* @return $this |
1470
|
|
|
*/ |
1471
|
|
|
public function withApplicationIds($value) |
1472
|
|
|
{ |
1473
|
|
|
$this->data['ApplicationIds'] = $value; |
1474
|
|
|
$this->options['form_params']['ApplicationIds'] = $value; |
1475
|
|
|
|
1476
|
|
|
return $this; |
1477
|
|
|
} |
1478
|
|
|
|
1479
|
|
|
/** |
1480
|
|
|
* @param string $value |
1481
|
|
|
* |
1482
|
|
|
* @return $this |
1483
|
|
|
*/ |
1484
|
|
|
public function withUserGroupMode($value) |
1485
|
|
|
{ |
1486
|
|
|
$this->data['UserGroupMode'] = $value; |
1487
|
|
|
$this->options['form_params']['UserGroupMode'] = $value; |
1488
|
|
|
|
1489
|
|
|
return $this; |
1490
|
|
|
} |
1491
|
|
|
|
1492
|
|
|
/** |
1493
|
|
|
* @param string $value |
1494
|
|
|
* |
1495
|
|
|
* @return $this |
1496
|
|
|
*/ |
1497
|
|
|
public function withModifyType($value) |
1498
|
|
|
{ |
1499
|
|
|
$this->data['ModifyType'] = $value; |
1500
|
|
|
$this->options['form_params']['ModifyType'] = $value; |
1501
|
|
|
|
1502
|
|
|
return $this; |
1503
|
|
|
} |
1504
|
|
|
|
1505
|
|
|
/** |
1506
|
|
|
* @param string $value |
1507
|
|
|
* |
1508
|
|
|
* @return $this |
1509
|
|
|
*/ |
1510
|
|
|
public function withApplicationType($value) |
1511
|
|
|
{ |
1512
|
|
|
$this->data['ApplicationType'] = $value; |
1513
|
|
|
$this->options['form_params']['ApplicationType'] = $value; |
1514
|
|
|
|
1515
|
|
|
return $this; |
1516
|
|
|
} |
1517
|
|
|
|
1518
|
|
|
/** |
1519
|
|
|
* @param string $value |
1520
|
|
|
* |
1521
|
|
|
* @return $this |
1522
|
|
|
*/ |
1523
|
|
|
public function withStatus($value) |
1524
|
|
|
{ |
1525
|
|
|
$this->data['Status'] = $value; |
1526
|
|
|
$this->options['form_params']['Status'] = $value; |
1527
|
|
|
|
1528
|
|
|
return $this; |
1529
|
|
|
} |
1530
|
|
|
} |
1531
|
|
|
|
1532
|
|
|
/** |
1533
|
|
|
* @method string getUserGroupId() |
1534
|
|
|
* @method string getDescription() |
1535
|
|
|
* @method string getSourceIp() |
1536
|
|
|
* @method $this withSourceIp($value) |
1537
|
|
|
* @method string getModifyType() |
1538
|
|
|
* @method string getAttributes() |
1539
|
|
|
*/ |
1540
|
|
|
class UpdateUserGroup extends Rpc |
1541
|
|
|
{ |
1542
|
|
|
|
1543
|
|
|
/** @var string */ |
1544
|
|
|
public $method = 'POST'; |
1545
|
|
|
|
1546
|
|
|
/** |
1547
|
|
|
* @param string $value |
1548
|
|
|
* |
1549
|
|
|
* @return $this |
1550
|
|
|
*/ |
1551
|
|
|
public function withUserGroupId($value) |
1552
|
|
|
{ |
1553
|
|
|
$this->data['UserGroupId'] = $value; |
1554
|
|
|
$this->options['form_params']['UserGroupId'] = $value; |
1555
|
|
|
|
1556
|
|
|
return $this; |
1557
|
|
|
} |
1558
|
|
|
|
1559
|
|
|
/** |
1560
|
|
|
* @param string $value |
1561
|
|
|
* |
1562
|
|
|
* @return $this |
1563
|
|
|
*/ |
1564
|
|
|
public function withDescription($value) |
1565
|
|
|
{ |
1566
|
|
|
$this->data['Description'] = $value; |
1567
|
|
|
$this->options['form_params']['Description'] = $value; |
1568
|
|
|
|
1569
|
|
|
return $this; |
1570
|
|
|
} |
1571
|
|
|
|
1572
|
|
|
/** |
1573
|
|
|
* @param string $value |
1574
|
|
|
* |
1575
|
|
|
* @return $this |
1576
|
|
|
*/ |
1577
|
|
|
public function withModifyType($value) |
1578
|
|
|
{ |
1579
|
|
|
$this->data['ModifyType'] = $value; |
1580
|
|
|
$this->options['form_params']['ModifyType'] = $value; |
1581
|
|
|
|
1582
|
|
|
return $this; |
1583
|
|
|
} |
1584
|
|
|
|
1585
|
|
|
/** |
1586
|
|
|
* @param string $value |
1587
|
|
|
* |
1588
|
|
|
* @return $this |
1589
|
|
|
*/ |
1590
|
|
|
public function withAttributes($value) |
1591
|
|
|
{ |
1592
|
|
|
$this->data['Attributes'] = $value; |
1593
|
|
|
$this->options['form_params']['Attributes'] = $value; |
1594
|
|
|
|
1595
|
|
|
return $this; |
1596
|
|
|
} |
1597
|
|
|
} |
1598
|
|
|
|