|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace AlibabaCloud\Ons\V20190214; |
|
4
|
|
|
|
|
5
|
|
|
use AlibabaCloud\Client\Resolver\ApiResolver; |
|
6
|
|
|
|
|
7
|
|
|
/** |
|
8
|
|
|
* @method ListTagResources listTagResources(array $options = []) |
|
9
|
|
|
* @method OnsConsumerAccumulate onsConsumerAccumulate(array $options = []) |
|
10
|
|
|
* @method OnsConsumerGetConnection onsConsumerGetConnection(array $options = []) |
|
11
|
|
|
* @method OnsConsumerResetOffset onsConsumerResetOffset(array $options = []) |
|
12
|
|
|
* @method OnsConsumerStatus onsConsumerStatus(array $options = []) |
|
13
|
|
|
* @method OnsConsumerTimeSpan onsConsumerTimeSpan(array $options = []) |
|
14
|
|
|
* @method OnsDLQMessageGetById onsDLQMessageGetById(array $options = []) |
|
15
|
|
|
* @method OnsDLQMessagePageQueryByGroupId onsDLQMessagePageQueryByGroupId(array $options = []) |
|
16
|
|
|
* @method OnsDLQMessageResendById onsDLQMessageResendById(array $options = []) |
|
17
|
|
|
* @method OnsGroupConsumerUpdate onsGroupConsumerUpdate(array $options = []) |
|
18
|
|
|
* @method OnsGroupCreate onsGroupCreate(array $options = []) |
|
19
|
|
|
* @method OnsGroupDelete onsGroupDelete(array $options = []) |
|
20
|
|
|
* @method OnsGroupList onsGroupList(array $options = []) |
|
21
|
|
|
* @method OnsGroupSubDetail onsGroupSubDetail(array $options = []) |
|
22
|
|
|
* @method OnsInstanceBaseInfo onsInstanceBaseInfo(array $options = []) |
|
23
|
|
|
* @method OnsInstanceCreate onsInstanceCreate(array $options = []) |
|
24
|
|
|
* @method OnsInstanceDelete onsInstanceDelete(array $options = []) |
|
25
|
|
|
* @method OnsInstanceInServiceList onsInstanceInServiceList(array $options = []) |
|
26
|
|
|
* @method OnsInstanceUpdate onsInstanceUpdate(array $options = []) |
|
27
|
|
|
* @method OnsMessageGetByKey onsMessageGetByKey(array $options = []) |
|
28
|
|
|
* @method OnsMessageGetByMsgId onsMessageGetByMsgId(array $options = []) |
|
29
|
|
|
* @method OnsMessagePageQueryByTopic onsMessagePageQueryByTopic(array $options = []) |
|
30
|
|
|
* @method OnsMessagePush onsMessagePush(array $options = []) |
|
31
|
|
|
* @method OnsMessageSend onsMessageSend(array $options = []) |
|
32
|
|
|
* @method OnsMessageTrace onsMessageTrace(array $options = []) |
|
33
|
|
|
* @method OnsMqttGroupIdCreate onsMqttGroupIdCreate(array $options = []) |
|
34
|
|
|
* @method OnsMqttGroupIdDelete onsMqttGroupIdDelete(array $options = []) |
|
35
|
|
|
* @method OnsMqttGroupIdList onsMqttGroupIdList(array $options = []) |
|
36
|
|
|
* @method OnsMqttQueryClientByClientId onsMqttQueryClientByClientId(array $options = []) |
|
37
|
|
|
* @method OnsMqttQueryClientByGroupId onsMqttQueryClientByGroupId(array $options = []) |
|
38
|
|
|
* @method OnsMqttQueryClientByTopic onsMqttQueryClientByTopic(array $options = []) |
|
39
|
|
|
* @method OnsMqttQueryHistoryOnline onsMqttQueryHistoryOnline(array $options = []) |
|
40
|
|
|
* @method OnsMqttQueryMsgTransTrend onsMqttQueryMsgTransTrend(array $options = []) |
|
41
|
|
|
* @method OnsRegionList onsRegionList(array $options = []) |
|
42
|
|
|
* @method OnsTopicCreate onsTopicCreate(array $options = []) |
|
43
|
|
|
* @method OnsTopicDelete onsTopicDelete(array $options = []) |
|
44
|
|
|
* @method OnsTopicList onsTopicList(array $options = []) |
|
45
|
|
|
* @method OnsTopicStatus onsTopicStatus(array $options = []) |
|
46
|
|
|
* @method OnsTopicSubDetail onsTopicSubDetail(array $options = []) |
|
47
|
|
|
* @method OnsTopicUpdate onsTopicUpdate(array $options = []) |
|
48
|
|
|
* @method OnsTraceGetResult onsTraceGetResult(array $options = []) |
|
49
|
|
|
* @method OnsTraceQueryByMsgId onsTraceQueryByMsgId(array $options = []) |
|
50
|
|
|
* @method OnsTraceQueryByMsgKey onsTraceQueryByMsgKey(array $options = []) |
|
51
|
|
|
* @method OnsTrendGroupOutputTps onsTrendGroupOutputTps(array $options = []) |
|
52
|
|
|
* @method OnsTrendTopicInputTps onsTrendTopicInputTps(array $options = []) |
|
53
|
|
|
* @method OnsWarnCreate onsWarnCreate(array $options = []) |
|
54
|
|
|
* @method OnsWarnDelete onsWarnDelete(array $options = []) |
|
55
|
|
|
* @method TagResources tagResources(array $options = []) |
|
56
|
|
|
* @method UntagResources untagResources(array $options = []) |
|
57
|
|
|
*/ |
|
58
|
|
|
class OnsApiResolver extends ApiResolver |
|
59
|
|
|
{ |
|
60
|
|
|
} |
|
61
|
|
|
|
|
62
|
|
|
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc |
|
63
|
|
|
{ |
|
64
|
|
|
/** @var string */ |
|
65
|
|
|
public $product = 'Ons'; |
|
66
|
|
|
|
|
67
|
|
|
/** @var string */ |
|
68
|
|
|
public $version = '2019-02-14'; |
|
69
|
|
|
|
|
70
|
|
|
/** @var string */ |
|
71
|
|
|
public $method = 'POST'; |
|
72
|
|
|
|
|
73
|
|
|
/** @var string */ |
|
74
|
|
|
public $serviceCode = 'ons'; |
|
75
|
|
|
} |
|
76
|
|
|
|
|
77
|
|
|
/** |
|
78
|
|
|
* @method array getResourceId() |
|
79
|
|
|
* @method string getResourceType() |
|
80
|
|
|
* @method $this withResourceType($value) |
|
81
|
|
|
* @method string getInstanceId() |
|
82
|
|
|
* @method $this withInstanceId($value) |
|
83
|
|
|
* @method string getNextToken() |
|
84
|
|
|
* @method $this withNextToken($value) |
|
85
|
|
|
* @method array getTag() |
|
86
|
|
|
*/ |
|
87
|
|
|
class ListTagResources extends Rpc |
|
88
|
|
|
{ |
|
89
|
|
|
|
|
90
|
|
|
/** |
|
91
|
|
|
* @param array $resourceId |
|
92
|
|
|
* |
|
93
|
|
|
* @return $this |
|
94
|
|
|
*/ |
|
95
|
|
|
public function withResourceId(array $resourceId) |
|
96
|
|
|
{ |
|
97
|
|
|
$this->data['ResourceId'] = $resourceId; |
|
98
|
|
|
foreach ($resourceId as $i => $iValue) { |
|
99
|
|
|
$this->options['query']['ResourceId.' . ($i + 1)] = $iValue; |
|
100
|
|
|
} |
|
101
|
|
|
|
|
102
|
|
|
return $this; |
|
103
|
|
|
} |
|
104
|
|
|
|
|
105
|
|
|
/** |
|
106
|
|
|
* @param array $tag |
|
107
|
|
|
* |
|
108
|
|
|
* @return $this |
|
109
|
|
|
*/ |
|
110
|
|
|
public function withTag(array $tag) |
|
111
|
|
|
{ |
|
112
|
|
|
$this->data['Tag'] = $tag; |
|
113
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
|
114
|
|
|
if(isset($depth1Value['Value'])){ |
|
115
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
116
|
|
|
} |
|
117
|
|
|
if(isset($depth1Value['Key'])){ |
|
118
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
119
|
|
|
} |
|
120
|
|
|
} |
|
121
|
|
|
|
|
122
|
|
|
return $this; |
|
123
|
|
|
} |
|
124
|
|
|
} |
|
125
|
|
|
|
|
126
|
|
|
/** |
|
127
|
|
|
* @method string getGroupId() |
|
128
|
|
|
* @method $this withGroupId($value) |
|
129
|
|
|
* @method string getInstanceId() |
|
130
|
|
|
* @method $this withInstanceId($value) |
|
131
|
|
|
* @method string getDetail() |
|
132
|
|
|
* @method $this withDetail($value) |
|
133
|
|
|
*/ |
|
134
|
|
|
class OnsConsumerAccumulate extends Rpc |
|
135
|
|
|
{ |
|
136
|
|
|
} |
|
137
|
|
|
|
|
138
|
|
|
/** |
|
139
|
|
|
* @method string getGroupId() |
|
140
|
|
|
* @method $this withGroupId($value) |
|
141
|
|
|
* @method string getInstanceId() |
|
142
|
|
|
* @method $this withInstanceId($value) |
|
143
|
|
|
*/ |
|
144
|
|
|
class OnsConsumerGetConnection extends Rpc |
|
145
|
|
|
{ |
|
146
|
|
|
} |
|
147
|
|
|
|
|
148
|
|
|
/** |
|
149
|
|
|
* @method string getGroupId() |
|
150
|
|
|
* @method $this withGroupId($value) |
|
151
|
|
|
* @method string getResetTimestamp() |
|
152
|
|
|
* @method $this withResetTimestamp($value) |
|
153
|
|
|
* @method string getType() |
|
154
|
|
|
* @method $this withType($value) |
|
155
|
|
|
* @method string getInstanceId() |
|
156
|
|
|
* @method $this withInstanceId($value) |
|
157
|
|
|
* @method string getTopic() |
|
158
|
|
|
* @method $this withTopic($value) |
|
159
|
|
|
*/ |
|
160
|
|
|
class OnsConsumerResetOffset extends Rpc |
|
161
|
|
|
{ |
|
162
|
|
|
} |
|
163
|
|
|
|
|
164
|
|
|
/** |
|
165
|
|
|
* @method string getGroupId() |
|
166
|
|
|
* @method $this withGroupId($value) |
|
167
|
|
|
* @method string getInstanceId() |
|
168
|
|
|
* @method $this withInstanceId($value) |
|
169
|
|
|
* @method string getNeedJstack() |
|
170
|
|
|
* @method $this withNeedJstack($value) |
|
171
|
|
|
* @method string getDetail() |
|
172
|
|
|
* @method $this withDetail($value) |
|
173
|
|
|
*/ |
|
174
|
|
|
class OnsConsumerStatus extends Rpc |
|
175
|
|
|
{ |
|
176
|
|
|
} |
|
177
|
|
|
|
|
178
|
|
|
/** |
|
179
|
|
|
* @method string getGroupId() |
|
180
|
|
|
* @method $this withGroupId($value) |
|
181
|
|
|
* @method string getInstanceId() |
|
182
|
|
|
* @method $this withInstanceId($value) |
|
183
|
|
|
* @method string getTopic() |
|
184
|
|
|
* @method $this withTopic($value) |
|
185
|
|
|
*/ |
|
186
|
|
|
class OnsConsumerTimeSpan extends Rpc |
|
187
|
|
|
{ |
|
188
|
|
|
} |
|
189
|
|
|
|
|
190
|
|
|
/** |
|
191
|
|
|
* @method string getGroupId() |
|
192
|
|
|
* @method $this withGroupId($value) |
|
193
|
|
|
* @method string getMsgId() |
|
194
|
|
|
* @method $this withMsgId($value) |
|
195
|
|
|
* @method string getInstanceId() |
|
196
|
|
|
* @method $this withInstanceId($value) |
|
197
|
|
|
*/ |
|
198
|
|
|
class OnsDLQMessageGetById extends Rpc |
|
199
|
|
|
{ |
|
200
|
|
|
} |
|
201
|
|
|
|
|
202
|
|
|
/** |
|
203
|
|
|
* @method string getGroupId() |
|
204
|
|
|
* @method $this withGroupId($value) |
|
205
|
|
|
* @method string getEndTime() |
|
206
|
|
|
* @method $this withEndTime($value) |
|
207
|
|
|
* @method string getBeginTime() |
|
208
|
|
|
* @method $this withBeginTime($value) |
|
209
|
|
|
* @method string getCurrentPage() |
|
210
|
|
|
* @method $this withCurrentPage($value) |
|
211
|
|
|
* @method string getInstanceId() |
|
212
|
|
|
* @method $this withInstanceId($value) |
|
213
|
|
|
* @method string getPageSize() |
|
214
|
|
|
* @method $this withPageSize($value) |
|
215
|
|
|
* @method string getTaskId() |
|
216
|
|
|
* @method $this withTaskId($value) |
|
217
|
|
|
*/ |
|
218
|
|
|
class OnsDLQMessagePageQueryByGroupId extends Rpc |
|
219
|
|
|
{ |
|
220
|
|
|
} |
|
221
|
|
|
|
|
222
|
|
|
/** |
|
223
|
|
|
* @method string getGroupId() |
|
224
|
|
|
* @method $this withGroupId($value) |
|
225
|
|
|
* @method string getMsgId() |
|
226
|
|
|
* @method $this withMsgId($value) |
|
227
|
|
|
* @method string getInstanceId() |
|
228
|
|
|
* @method $this withInstanceId($value) |
|
229
|
|
|
*/ |
|
230
|
|
|
class OnsDLQMessageResendById extends Rpc |
|
231
|
|
|
{ |
|
232
|
|
|
} |
|
233
|
|
|
|
|
234
|
|
|
/** |
|
235
|
|
|
* @method string getGroupId() |
|
236
|
|
|
* @method $this withGroupId($value) |
|
237
|
|
|
* @method string getReadEnable() |
|
238
|
|
|
* @method $this withReadEnable($value) |
|
239
|
|
|
* @method string getInstanceId() |
|
240
|
|
|
* @method $this withInstanceId($value) |
|
241
|
|
|
*/ |
|
242
|
|
|
class OnsGroupConsumerUpdate extends Rpc |
|
243
|
|
|
{ |
|
244
|
|
|
} |
|
245
|
|
|
|
|
246
|
|
|
/** |
|
247
|
|
|
* @method string getGroupId() |
|
248
|
|
|
* @method $this withGroupId($value) |
|
249
|
|
|
* @method string getRemark() |
|
250
|
|
|
* @method $this withRemark($value) |
|
251
|
|
|
* @method string getInstanceId() |
|
252
|
|
|
* @method $this withInstanceId($value) |
|
253
|
|
|
* @method string getGroupType() |
|
254
|
|
|
* @method $this withGroupType($value) |
|
255
|
|
|
*/ |
|
256
|
|
|
class OnsGroupCreate extends Rpc |
|
257
|
|
|
{ |
|
258
|
|
|
} |
|
259
|
|
|
|
|
260
|
|
|
/** |
|
261
|
|
|
* @method string getGroupId() |
|
262
|
|
|
* @method $this withGroupId($value) |
|
263
|
|
|
* @method string getInstanceId() |
|
264
|
|
|
* @method $this withInstanceId($value) |
|
265
|
|
|
*/ |
|
266
|
|
|
class OnsGroupDelete extends Rpc |
|
267
|
|
|
{ |
|
268
|
|
|
} |
|
269
|
|
|
|
|
270
|
|
|
/** |
|
271
|
|
|
* @method string getGroupId() |
|
272
|
|
|
* @method $this withGroupId($value) |
|
273
|
|
|
* @method string getInstanceId() |
|
274
|
|
|
* @method $this withInstanceId($value) |
|
275
|
|
|
* @method string getGroupType() |
|
276
|
|
|
* @method $this withGroupType($value) |
|
277
|
|
|
* @method array getTag() |
|
278
|
|
|
*/ |
|
279
|
|
|
class OnsGroupList extends Rpc |
|
280
|
|
|
{ |
|
281
|
|
|
|
|
282
|
|
|
/** |
|
283
|
|
|
* @param array $tag |
|
284
|
|
|
* |
|
285
|
|
|
* @return $this |
|
286
|
|
|
*/ |
|
287
|
|
|
public function withTag(array $tag) |
|
288
|
|
|
{ |
|
289
|
|
|
$this->data['Tag'] = $tag; |
|
290
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
|
291
|
|
|
if(isset($depth1Value['Value'])){ |
|
292
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
293
|
|
|
} |
|
294
|
|
|
if(isset($depth1Value['Key'])){ |
|
295
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
296
|
|
|
} |
|
297
|
|
|
} |
|
298
|
|
|
|
|
299
|
|
|
return $this; |
|
300
|
|
|
} |
|
301
|
|
|
} |
|
302
|
|
|
|
|
303
|
|
|
/** |
|
304
|
|
|
* @method string getGroupId() |
|
305
|
|
|
* @method $this withGroupId($value) |
|
306
|
|
|
* @method string getInstanceId() |
|
307
|
|
|
* @method $this withInstanceId($value) |
|
308
|
|
|
*/ |
|
309
|
|
|
class OnsGroupSubDetail extends Rpc |
|
310
|
|
|
{ |
|
311
|
|
|
} |
|
312
|
|
|
|
|
313
|
|
|
/** |
|
314
|
|
|
* @method string getInstanceId() |
|
315
|
|
|
* @method $this withInstanceId($value) |
|
316
|
|
|
*/ |
|
317
|
|
|
class OnsInstanceBaseInfo extends Rpc |
|
318
|
|
|
{ |
|
319
|
|
|
} |
|
320
|
|
|
|
|
321
|
|
|
/** |
|
322
|
|
|
* @method string getRemark() |
|
323
|
|
|
* @method $this withRemark($value) |
|
324
|
|
|
* @method string getInstanceName() |
|
325
|
|
|
* @method $this withInstanceName($value) |
|
326
|
|
|
*/ |
|
327
|
|
|
class OnsInstanceCreate extends Rpc |
|
328
|
|
|
{ |
|
329
|
|
|
} |
|
330
|
|
|
|
|
331
|
|
|
/** |
|
332
|
|
|
* @method string getInstanceId() |
|
333
|
|
|
* @method $this withInstanceId($value) |
|
334
|
|
|
*/ |
|
335
|
|
|
class OnsInstanceDelete extends Rpc |
|
336
|
|
|
{ |
|
337
|
|
|
} |
|
338
|
|
|
|
|
339
|
|
|
/** |
|
340
|
|
|
* @method array getTag() |
|
341
|
|
|
*/ |
|
342
|
|
|
class OnsInstanceInServiceList extends Rpc |
|
343
|
|
|
{ |
|
344
|
|
|
|
|
345
|
|
|
/** |
|
346
|
|
|
* @param array $tag |
|
347
|
|
|
* |
|
348
|
|
|
* @return $this |
|
349
|
|
|
*/ |
|
350
|
|
|
public function withTag(array $tag) |
|
351
|
|
|
{ |
|
352
|
|
|
$this->data['Tag'] = $tag; |
|
353
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
|
354
|
|
|
if(isset($depth1Value['Value'])){ |
|
355
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
356
|
|
|
} |
|
357
|
|
|
if(isset($depth1Value['Key'])){ |
|
358
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
359
|
|
|
} |
|
360
|
|
|
} |
|
361
|
|
|
|
|
362
|
|
|
return $this; |
|
363
|
|
|
} |
|
364
|
|
|
} |
|
365
|
|
|
|
|
366
|
|
|
/** |
|
367
|
|
|
* @method string getRemark() |
|
368
|
|
|
* @method $this withRemark($value) |
|
369
|
|
|
* @method string getInstanceName() |
|
370
|
|
|
* @method $this withInstanceName($value) |
|
371
|
|
|
* @method string getInstanceId() |
|
372
|
|
|
* @method $this withInstanceId($value) |
|
373
|
|
|
*/ |
|
374
|
|
|
class OnsInstanceUpdate extends Rpc |
|
375
|
|
|
{ |
|
376
|
|
|
} |
|
377
|
|
|
|
|
378
|
|
|
/** |
|
379
|
|
|
* @method string getInstanceId() |
|
380
|
|
|
* @method $this withInstanceId($value) |
|
381
|
|
|
* @method string getTopic() |
|
382
|
|
|
* @method $this withTopic($value) |
|
383
|
|
|
* @method string getKey() |
|
384
|
|
|
* @method $this withKey($value) |
|
385
|
|
|
*/ |
|
386
|
|
|
class OnsMessageGetByKey extends Rpc |
|
387
|
|
|
{ |
|
388
|
|
|
} |
|
389
|
|
|
|
|
390
|
|
|
/** |
|
391
|
|
|
* @method string getMsgId() |
|
392
|
|
|
* @method $this withMsgId($value) |
|
393
|
|
|
* @method string getInstanceId() |
|
394
|
|
|
* @method $this withInstanceId($value) |
|
395
|
|
|
* @method string getTopic() |
|
396
|
|
|
* @method $this withTopic($value) |
|
397
|
|
|
*/ |
|
398
|
|
|
class OnsMessageGetByMsgId extends Rpc |
|
399
|
|
|
{ |
|
400
|
|
|
} |
|
401
|
|
|
|
|
402
|
|
|
/** |
|
403
|
|
|
* @method string getEndTime() |
|
404
|
|
|
* @method $this withEndTime($value) |
|
405
|
|
|
* @method string getBeginTime() |
|
406
|
|
|
* @method $this withBeginTime($value) |
|
407
|
|
|
* @method string getCurrentPage() |
|
408
|
|
|
* @method $this withCurrentPage($value) |
|
409
|
|
|
* @method string getInstanceId() |
|
410
|
|
|
* @method $this withInstanceId($value) |
|
411
|
|
|
* @method string getPageSize() |
|
412
|
|
|
* @method $this withPageSize($value) |
|
413
|
|
|
* @method string getTopic() |
|
414
|
|
|
* @method $this withTopic($value) |
|
415
|
|
|
* @method string getTaskId() |
|
416
|
|
|
* @method $this withTaskId($value) |
|
417
|
|
|
*/ |
|
418
|
|
|
class OnsMessagePageQueryByTopic extends Rpc |
|
419
|
|
|
{ |
|
420
|
|
|
} |
|
421
|
|
|
|
|
422
|
|
|
/** |
|
423
|
|
|
* @method string getClientId() |
|
424
|
|
|
* @method $this withClientId($value) |
|
425
|
|
|
* @method string getGroupId() |
|
426
|
|
|
* @method $this withGroupId($value) |
|
427
|
|
|
* @method string getMsgId() |
|
428
|
|
|
* @method $this withMsgId($value) |
|
429
|
|
|
* @method string getInstanceId() |
|
430
|
|
|
* @method $this withInstanceId($value) |
|
431
|
|
|
* @method string getTopic() |
|
432
|
|
|
* @method $this withTopic($value) |
|
433
|
|
|
*/ |
|
434
|
|
|
class OnsMessagePush extends Rpc |
|
435
|
|
|
{ |
|
436
|
|
|
} |
|
437
|
|
|
|
|
438
|
|
|
/** |
|
439
|
|
|
* @method string getMessage() |
|
440
|
|
|
* @method $this withMessage($value) |
|
441
|
|
|
* @method string getInstanceId() |
|
442
|
|
|
* @method $this withInstanceId($value) |
|
443
|
|
|
* @method string getTopic() |
|
444
|
|
|
* @method $this withTopic($value) |
|
445
|
|
|
* @method string getTag() |
|
446
|
|
|
* @method $this withTag($value) |
|
447
|
|
|
* @method string getKey() |
|
448
|
|
|
* @method $this withKey($value) |
|
449
|
|
|
*/ |
|
450
|
|
|
class OnsMessageSend extends Rpc |
|
451
|
|
|
{ |
|
452
|
|
|
} |
|
453
|
|
|
|
|
454
|
|
|
/** |
|
455
|
|
|
* @method string getMsgId() |
|
456
|
|
|
* @method $this withMsgId($value) |
|
457
|
|
|
* @method string getInstanceId() |
|
458
|
|
|
* @method $this withInstanceId($value) |
|
459
|
|
|
* @method string getTopic() |
|
460
|
|
|
* @method $this withTopic($value) |
|
461
|
|
|
*/ |
|
462
|
|
|
class OnsMessageTrace extends Rpc |
|
463
|
|
|
{ |
|
464
|
|
|
} |
|
465
|
|
|
|
|
466
|
|
|
/** |
|
467
|
|
|
* @method string getGroupId() |
|
468
|
|
|
* @method $this withGroupId($value) |
|
469
|
|
|
* @method string getInstanceId() |
|
470
|
|
|
* @method $this withInstanceId($value) |
|
471
|
|
|
* @method string getTopic() |
|
472
|
|
|
* @method $this withTopic($value) |
|
473
|
|
|
*/ |
|
474
|
|
|
class OnsMqttGroupIdCreate extends Rpc |
|
475
|
|
|
{ |
|
476
|
|
|
} |
|
477
|
|
|
|
|
478
|
|
|
/** |
|
479
|
|
|
* @method string getGroupId() |
|
480
|
|
|
* @method $this withGroupId($value) |
|
481
|
|
|
* @method string getInstanceId() |
|
482
|
|
|
* @method $this withInstanceId($value) |
|
483
|
|
|
*/ |
|
484
|
|
|
class OnsMqttGroupIdDelete extends Rpc |
|
485
|
|
|
{ |
|
486
|
|
|
} |
|
487
|
|
|
|
|
488
|
|
|
/** |
|
489
|
|
|
* @method string getInstanceId() |
|
490
|
|
|
* @method $this withInstanceId($value) |
|
491
|
|
|
*/ |
|
492
|
|
|
class OnsMqttGroupIdList extends Rpc |
|
493
|
|
|
{ |
|
494
|
|
|
} |
|
495
|
|
|
|
|
496
|
|
|
/** |
|
497
|
|
|
* @method string getClientId() |
|
498
|
|
|
* @method $this withClientId($value) |
|
499
|
|
|
* @method string getInstanceId() |
|
500
|
|
|
* @method $this withInstanceId($value) |
|
501
|
|
|
*/ |
|
502
|
|
|
class OnsMqttQueryClientByClientId extends Rpc |
|
503
|
|
|
{ |
|
504
|
|
|
} |
|
505
|
|
|
|
|
506
|
|
|
/** |
|
507
|
|
|
* @method string getGroupId() |
|
508
|
|
|
* @method $this withGroupId($value) |
|
509
|
|
|
* @method string getInstanceId() |
|
510
|
|
|
* @method $this withInstanceId($value) |
|
511
|
|
|
*/ |
|
512
|
|
|
class OnsMqttQueryClientByGroupId extends Rpc |
|
513
|
|
|
{ |
|
514
|
|
|
} |
|
515
|
|
|
|
|
516
|
|
|
/** |
|
517
|
|
|
* @method string getParentTopic() |
|
518
|
|
|
* @method $this withParentTopic($value) |
|
519
|
|
|
* @method string getInstanceId() |
|
520
|
|
|
* @method $this withInstanceId($value) |
|
521
|
|
|
* @method string getSubTopic() |
|
522
|
|
|
* @method $this withSubTopic($value) |
|
523
|
|
|
*/ |
|
524
|
|
|
class OnsMqttQueryClientByTopic extends Rpc |
|
525
|
|
|
{ |
|
526
|
|
|
} |
|
527
|
|
|
|
|
528
|
|
|
/** |
|
529
|
|
|
* @method string getGroupId() |
|
530
|
|
|
* @method $this withGroupId($value) |
|
531
|
|
|
* @method string getEndTime() |
|
532
|
|
|
* @method $this withEndTime($value) |
|
533
|
|
|
* @method string getBeginTime() |
|
534
|
|
|
* @method $this withBeginTime($value) |
|
535
|
|
|
* @method string getInstanceId() |
|
536
|
|
|
* @method $this withInstanceId($value) |
|
537
|
|
|
*/ |
|
538
|
|
|
class OnsMqttQueryHistoryOnline extends Rpc |
|
539
|
|
|
{ |
|
540
|
|
|
} |
|
541
|
|
|
|
|
542
|
|
|
/** |
|
543
|
|
|
* @method string getTransType() |
|
544
|
|
|
* @method $this withTransType($value) |
|
545
|
|
|
* @method string getEndTime() |
|
546
|
|
|
* @method $this withEndTime($value) |
|
547
|
|
|
* @method string getBeginTime() |
|
548
|
|
|
* @method $this withBeginTime($value) |
|
549
|
|
|
* @method string getTpsType() |
|
550
|
|
|
* @method $this withTpsType($value) |
|
551
|
|
|
* @method string getParentTopic() |
|
552
|
|
|
* @method $this withParentTopic($value) |
|
553
|
|
|
* @method string getInstanceId() |
|
554
|
|
|
* @method $this withInstanceId($value) |
|
555
|
|
|
* @method string getQos() |
|
556
|
|
|
* @method $this withQos($value) |
|
557
|
|
|
* @method string getMsgType() |
|
558
|
|
|
* @method $this withMsgType($value) |
|
559
|
|
|
* @method string getSubTopic() |
|
560
|
|
|
* @method $this withSubTopic($value) |
|
561
|
|
|
*/ |
|
562
|
|
|
class OnsMqttQueryMsgTransTrend extends Rpc |
|
563
|
|
|
{ |
|
564
|
|
|
} |
|
565
|
|
|
|
|
566
|
|
|
class OnsRegionList extends Rpc |
|
567
|
|
|
{ |
|
568
|
|
|
} |
|
569
|
|
|
|
|
570
|
|
|
/** |
|
571
|
|
|
* @method string getMessageType() |
|
572
|
|
|
* @method $this withMessageType($value) |
|
573
|
|
|
* @method string getRemark() |
|
574
|
|
|
* @method $this withRemark($value) |
|
575
|
|
|
* @method string getInstanceId() |
|
576
|
|
|
* @method $this withInstanceId($value) |
|
577
|
|
|
* @method string getTopic() |
|
578
|
|
|
* @method $this withTopic($value) |
|
579
|
|
|
*/ |
|
580
|
|
|
class OnsTopicCreate extends Rpc |
|
581
|
|
|
{ |
|
582
|
|
|
} |
|
583
|
|
|
|
|
584
|
|
|
/** |
|
585
|
|
|
* @method string getInstanceId() |
|
586
|
|
|
* @method $this withInstanceId($value) |
|
587
|
|
|
* @method string getTopic() |
|
588
|
|
|
* @method $this withTopic($value) |
|
589
|
|
|
*/ |
|
590
|
|
|
class OnsTopicDelete extends Rpc |
|
591
|
|
|
{ |
|
592
|
|
|
} |
|
593
|
|
|
|
|
594
|
|
|
/** |
|
595
|
|
|
* @method string getInstanceId() |
|
596
|
|
|
* @method $this withInstanceId($value) |
|
597
|
|
|
* @method string getTopic() |
|
598
|
|
|
* @method $this withTopic($value) |
|
599
|
|
|
* @method array getTag() |
|
600
|
|
|
*/ |
|
601
|
|
|
class OnsTopicList extends Rpc |
|
602
|
|
|
{ |
|
603
|
|
|
|
|
604
|
|
|
/** |
|
605
|
|
|
* @param array $tag |
|
606
|
|
|
* |
|
607
|
|
|
* @return $this |
|
608
|
|
|
*/ |
|
609
|
|
|
public function withTag(array $tag) |
|
610
|
|
|
{ |
|
611
|
|
|
$this->data['Tag'] = $tag; |
|
612
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
|
613
|
|
|
if(isset($depth1Value['Value'])){ |
|
614
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
615
|
|
|
} |
|
616
|
|
|
if(isset($depth1Value['Key'])){ |
|
617
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
618
|
|
|
} |
|
619
|
|
|
} |
|
620
|
|
|
|
|
621
|
|
|
return $this; |
|
622
|
|
|
} |
|
623
|
|
|
} |
|
624
|
|
|
|
|
625
|
|
|
/** |
|
626
|
|
|
* @method string getInstanceId() |
|
627
|
|
|
* @method $this withInstanceId($value) |
|
628
|
|
|
* @method string getTopic() |
|
629
|
|
|
* @method $this withTopic($value) |
|
630
|
|
|
*/ |
|
631
|
|
|
class OnsTopicStatus extends Rpc |
|
632
|
|
|
{ |
|
633
|
|
|
} |
|
634
|
|
|
|
|
635
|
|
|
/** |
|
636
|
|
|
* @method string getInstanceId() |
|
637
|
|
|
* @method $this withInstanceId($value) |
|
638
|
|
|
* @method string getTopic() |
|
639
|
|
|
* @method $this withTopic($value) |
|
640
|
|
|
*/ |
|
641
|
|
|
class OnsTopicSubDetail extends Rpc |
|
642
|
|
|
{ |
|
643
|
|
|
} |
|
644
|
|
|
|
|
645
|
|
|
/** |
|
646
|
|
|
* @method string getPerm() |
|
647
|
|
|
* @method $this withPerm($value) |
|
648
|
|
|
* @method string getInstanceId() |
|
649
|
|
|
* @method $this withInstanceId($value) |
|
650
|
|
|
* @method string getTopic() |
|
651
|
|
|
* @method $this withTopic($value) |
|
652
|
|
|
*/ |
|
653
|
|
|
class OnsTopicUpdate extends Rpc |
|
654
|
|
|
{ |
|
655
|
|
|
} |
|
656
|
|
|
|
|
657
|
|
|
/** |
|
658
|
|
|
* @method string getQueryId() |
|
659
|
|
|
* @method $this withQueryId($value) |
|
660
|
|
|
*/ |
|
661
|
|
|
class OnsTraceGetResult extends Rpc |
|
662
|
|
|
{ |
|
663
|
|
|
} |
|
664
|
|
|
|
|
665
|
|
|
/** |
|
666
|
|
|
* @method string getMsgId() |
|
667
|
|
|
* @method $this withMsgId($value) |
|
668
|
|
|
* @method string getEndTime() |
|
669
|
|
|
* @method $this withEndTime($value) |
|
670
|
|
|
* @method string getBeginTime() |
|
671
|
|
|
* @method $this withBeginTime($value) |
|
672
|
|
|
* @method string getInstanceId() |
|
673
|
|
|
* @method $this withInstanceId($value) |
|
674
|
|
|
* @method string getTopic() |
|
675
|
|
|
* @method $this withTopic($value) |
|
676
|
|
|
*/ |
|
677
|
|
|
class OnsTraceQueryByMsgId extends Rpc |
|
678
|
|
|
{ |
|
679
|
|
|
} |
|
680
|
|
|
|
|
681
|
|
|
/** |
|
682
|
|
|
* @method string getEndTime() |
|
683
|
|
|
* @method $this withEndTime($value) |
|
684
|
|
|
* @method string getBeginTime() |
|
685
|
|
|
* @method $this withBeginTime($value) |
|
686
|
|
|
* @method string getInstanceId() |
|
687
|
|
|
* @method $this withInstanceId($value) |
|
688
|
|
|
* @method string getTopic() |
|
689
|
|
|
* @method $this withTopic($value) |
|
690
|
|
|
* @method string getMsgKey() |
|
691
|
|
|
* @method $this withMsgKey($value) |
|
692
|
|
|
*/ |
|
693
|
|
|
class OnsTraceQueryByMsgKey extends Rpc |
|
694
|
|
|
{ |
|
695
|
|
|
} |
|
696
|
|
|
|
|
697
|
|
|
/** |
|
698
|
|
|
* @method string getPeriod() |
|
699
|
|
|
* @method $this withPeriod($value) |
|
700
|
|
|
* @method string getGroupId() |
|
701
|
|
|
* @method $this withGroupId($value) |
|
702
|
|
|
* @method string getEndTime() |
|
703
|
|
|
* @method $this withEndTime($value) |
|
704
|
|
|
* @method string getBeginTime() |
|
705
|
|
|
* @method $this withBeginTime($value) |
|
706
|
|
|
* @method string getType() |
|
707
|
|
|
* @method $this withType($value) |
|
708
|
|
|
* @method string getInstanceId() |
|
709
|
|
|
* @method $this withInstanceId($value) |
|
710
|
|
|
* @method string getTopic() |
|
711
|
|
|
* @method $this withTopic($value) |
|
712
|
|
|
*/ |
|
713
|
|
|
class OnsTrendGroupOutputTps extends Rpc |
|
714
|
|
|
{ |
|
715
|
|
|
} |
|
716
|
|
|
|
|
717
|
|
|
/** |
|
718
|
|
|
* @method string getPeriod() |
|
719
|
|
|
* @method $this withPeriod($value) |
|
720
|
|
|
* @method string getEndTime() |
|
721
|
|
|
* @method $this withEndTime($value) |
|
722
|
|
|
* @method string getBeginTime() |
|
723
|
|
|
* @method $this withBeginTime($value) |
|
724
|
|
|
* @method string getType() |
|
725
|
|
|
* @method $this withType($value) |
|
726
|
|
|
* @method string getInstanceId() |
|
727
|
|
|
* @method $this withInstanceId($value) |
|
728
|
|
|
* @method string getTopic() |
|
729
|
|
|
* @method $this withTopic($value) |
|
730
|
|
|
*/ |
|
731
|
|
|
class OnsTrendTopicInputTps extends Rpc |
|
732
|
|
|
{ |
|
733
|
|
|
} |
|
734
|
|
|
|
|
735
|
|
|
/** |
|
736
|
|
|
* @method string getLevel() |
|
737
|
|
|
* @method $this withLevel($value) |
|
738
|
|
|
* @method string getGroupId() |
|
739
|
|
|
* @method $this withGroupId($value) |
|
740
|
|
|
* @method string getDelayTime() |
|
741
|
|
|
* @method $this withDelayTime($value) |
|
742
|
|
|
* @method string getThreshold() |
|
743
|
|
|
* @method $this withThreshold($value) |
|
744
|
|
|
* @method string getAlertTime() |
|
745
|
|
|
* @method $this withAlertTime($value) |
|
746
|
|
|
* @method string getInstanceId() |
|
747
|
|
|
* @method $this withInstanceId($value) |
|
748
|
|
|
* @method string getBlockTime() |
|
749
|
|
|
* @method $this withBlockTime($value) |
|
750
|
|
|
* @method string getTopic() |
|
751
|
|
|
* @method $this withTopic($value) |
|
752
|
|
|
* @method string getContacts() |
|
753
|
|
|
* @method $this withContacts($value) |
|
754
|
|
|
*/ |
|
755
|
|
|
class OnsWarnCreate extends Rpc |
|
756
|
|
|
{ |
|
757
|
|
|
} |
|
758
|
|
|
|
|
759
|
|
|
/** |
|
760
|
|
|
* @method string getGroupId() |
|
761
|
|
|
* @method $this withGroupId($value) |
|
762
|
|
|
* @method string getInstanceId() |
|
763
|
|
|
* @method $this withInstanceId($value) |
|
764
|
|
|
* @method string getTopic() |
|
765
|
|
|
* @method $this withTopic($value) |
|
766
|
|
|
*/ |
|
767
|
|
|
class OnsWarnDelete extends Rpc |
|
768
|
|
|
{ |
|
769
|
|
|
} |
|
770
|
|
|
|
|
771
|
|
|
/** |
|
772
|
|
|
* @method array getResourceId() |
|
773
|
|
|
* @method string getResourceType() |
|
774
|
|
|
* @method $this withResourceType($value) |
|
775
|
|
|
* @method string getInstanceId() |
|
776
|
|
|
* @method $this withInstanceId($value) |
|
777
|
|
|
* @method array getTag() |
|
778
|
|
|
*/ |
|
779
|
|
|
class TagResources extends Rpc |
|
780
|
|
|
{ |
|
781
|
|
|
|
|
782
|
|
|
/** |
|
783
|
|
|
* @param array $resourceId |
|
784
|
|
|
* |
|
785
|
|
|
* @return $this |
|
786
|
|
|
*/ |
|
787
|
|
|
public function withResourceId(array $resourceId) |
|
788
|
|
|
{ |
|
789
|
|
|
$this->data['ResourceId'] = $resourceId; |
|
790
|
|
|
foreach ($resourceId as $i => $iValue) { |
|
791
|
|
|
$this->options['query']['ResourceId.' . ($i + 1)] = $iValue; |
|
792
|
|
|
} |
|
793
|
|
|
|
|
794
|
|
|
return $this; |
|
795
|
|
|
} |
|
796
|
|
|
|
|
797
|
|
|
/** |
|
798
|
|
|
* @param array $tag |
|
799
|
|
|
* |
|
800
|
|
|
* @return $this |
|
801
|
|
|
*/ |
|
802
|
|
|
public function withTag(array $tag) |
|
803
|
|
|
{ |
|
804
|
|
|
$this->data['Tag'] = $tag; |
|
805
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
|
806
|
|
|
if(isset($depth1Value['Value'])){ |
|
807
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
808
|
|
|
} |
|
809
|
|
|
if(isset($depth1Value['Key'])){ |
|
810
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
811
|
|
|
} |
|
812
|
|
|
} |
|
813
|
|
|
|
|
814
|
|
|
return $this; |
|
815
|
|
|
} |
|
816
|
|
|
} |
|
817
|
|
|
|
|
818
|
|
|
/** |
|
819
|
|
|
* @method string getAll() |
|
820
|
|
|
* @method $this withAll($value) |
|
821
|
|
|
* @method array getResourceId() |
|
822
|
|
|
* @method string getResourceType() |
|
823
|
|
|
* @method $this withResourceType($value) |
|
824
|
|
|
* @method string getInstanceId() |
|
825
|
|
|
* @method $this withInstanceId($value) |
|
826
|
|
|
* @method array getTagKey() |
|
827
|
|
|
*/ |
|
828
|
|
|
class UntagResources extends Rpc |
|
829
|
|
|
{ |
|
830
|
|
|
|
|
831
|
|
|
/** |
|
832
|
|
|
* @param array $resourceId |
|
833
|
|
|
* |
|
834
|
|
|
* @return $this |
|
835
|
|
|
*/ |
|
836
|
|
|
public function withResourceId(array $resourceId) |
|
837
|
|
|
{ |
|
838
|
|
|
$this->data['ResourceId'] = $resourceId; |
|
839
|
|
|
foreach ($resourceId as $i => $iValue) { |
|
840
|
|
|
$this->options['query']['ResourceId.' . ($i + 1)] = $iValue; |
|
841
|
|
|
} |
|
842
|
|
|
|
|
843
|
|
|
return $this; |
|
844
|
|
|
} |
|
845
|
|
|
|
|
846
|
|
|
/** |
|
847
|
|
|
* @param array $tagKey |
|
848
|
|
|
* |
|
849
|
|
|
* @return $this |
|
850
|
|
|
*/ |
|
851
|
|
|
public function withTagKey(array $tagKey) |
|
852
|
|
|
{ |
|
853
|
|
|
$this->data['TagKey'] = $tagKey; |
|
854
|
|
|
foreach ($tagKey as $i => $iValue) { |
|
855
|
|
|
$this->options['query']['TagKey.' . ($i + 1)] = $iValue; |
|
856
|
|
|
} |
|
857
|
|
|
|
|
858
|
|
|
return $this; |
|
859
|
|
|
} |
|
860
|
|
|
} |
|
861
|
|
|
|