|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace AlibabaCloud\ARMS\V20190808; |
|
4
|
|
|
|
|
5
|
|
|
use AlibabaCloud\Client\Resolver\ApiResolver; |
|
6
|
|
|
|
|
7
|
|
|
/** |
|
8
|
|
|
* @method AddGrafana addGrafana(array $options = []) |
|
9
|
|
|
* @method AddIntegration addIntegration(array $options = []) |
|
10
|
|
|
* @method ApplyScenario applyScenario(array $options = []) |
|
11
|
|
|
* @method CheckDataConsistency checkDataConsistency(array $options = []) |
|
12
|
|
|
* @method CheckServiceLinkedRoleForDeleting checkServiceLinkedRoleForDeleting(array $options = []) |
|
13
|
|
|
* @method ConfigApp configApp(array $options = []) |
|
14
|
|
|
* @method CreateAlertContact createAlertContact(array $options = []) |
|
15
|
|
|
* @method CreateAlertContactGroup createAlertContactGroup(array $options = []) |
|
16
|
|
|
* @method CreateDispatchRule createDispatchRule(array $options = []) |
|
17
|
|
|
* @method CreateRetcodeApp createRetcodeApp(array $options = []) |
|
18
|
|
|
* @method CreateWehook createWehook(array $options = []) |
|
19
|
|
|
* @method DeleteAlertContact deleteAlertContact(array $options = []) |
|
20
|
|
|
* @method DeleteAlertContactGroup deleteAlertContactGroup(array $options = []) |
|
21
|
|
|
* @method DeleteAlertRules deleteAlertRules(array $options = []) |
|
22
|
|
|
* @method DeleteDispatchRule deleteDispatchRule(array $options = []) |
|
23
|
|
|
* @method DeleteRetcodeApp deleteRetcodeApp(array $options = []) |
|
24
|
|
|
* @method DeleteScenario deleteScenario(array $options = []) |
|
25
|
|
|
* @method DeleteTraceApp deleteTraceApp(array $options = []) |
|
26
|
|
|
* @method DescribeDispatchRule describeDispatchRule(array $options = []) |
|
27
|
|
|
* @method DescribeTraceLicenseKey describeTraceLicenseKey(array $options = []) |
|
28
|
|
|
* @method DescribeTraceLocation describeTraceLocation(array $options = []) |
|
29
|
|
|
* @method ExportPrometheusRules exportPrometheusRules(array $options = []) |
|
30
|
|
|
* @method GetAgentDownloadUrl getAgentDownloadUrl(array $options = []) |
|
31
|
|
|
* @method GetAppApiByPage getAppApiByPage(array $options = []) |
|
32
|
|
|
* @method GetConsistencySnapshot getConsistencySnapshot(array $options = []) |
|
33
|
|
|
* @method GetIntegrationToken getIntegrationToken(array $options = []) |
|
34
|
|
|
* @method GetMultipleTrace getMultipleTrace(array $options = []) |
|
35
|
|
|
* @method GetPrometheusApiToken getPrometheusApiToken(array $options = []) |
|
36
|
|
|
* @method GetRetcodeShareUrl getRetcodeShareUrl(array $options = []) |
|
37
|
|
|
* @method GetStack getStack(array $options = []) |
|
38
|
|
|
* @method GetTrace getTrace(array $options = []) |
|
39
|
|
|
* @method GetTraceApp getTraceApp(array $options = []) |
|
40
|
|
|
* @method ImportAppAlertRules importAppAlertRules(array $options = []) |
|
41
|
|
|
* @method ImportCustomAlertRules importCustomAlertRules(array $options = []) |
|
42
|
|
|
* @method ImportPrometheusRules importPrometheusRules(array $options = []) |
|
43
|
|
|
* @method ListClusterFromGrafana listClusterFromGrafana(array $options = []) |
|
44
|
|
|
* @method ListDashboards listDashboards(array $options = []) |
|
45
|
|
|
* @method ListPromClusters listPromClusters(array $options = []) |
|
46
|
|
|
* @method ListRetcodeApps listRetcodeApps(array $options = []) |
|
47
|
|
|
* @method ListScenario listScenario(array $options = []) |
|
48
|
|
|
* @method ListTraceApps listTraceApps(array $options = []) |
|
49
|
|
|
* @method OpenArmsService openArmsService(array $options = []) |
|
50
|
|
|
* @method QueryDataset queryDataset(array $options = []) |
|
51
|
|
|
* @method QueryMetric queryMetric(array $options = []) |
|
52
|
|
|
* @method QueryMetricByPage queryMetricByPage(array $options = []) |
|
53
|
|
|
* @method SaveTraceAppConfig saveTraceAppConfig(array $options = []) |
|
54
|
|
|
* @method SearchAlertContact searchAlertContact(array $options = []) |
|
55
|
|
|
* @method SearchAlertContactGroup searchAlertContactGroup(array $options = []) |
|
56
|
|
|
* @method SearchAlertHistories searchAlertHistories(array $options = []) |
|
57
|
|
|
* @method SearchAlertRules searchAlertRules(array $options = []) |
|
58
|
|
|
* @method SearchEvents searchEvents(array $options = []) |
|
59
|
|
|
* @method SearchRetcodeAppByPage searchRetcodeAppByPage(array $options = []) |
|
60
|
|
|
* @method SearchTraceAppByName searchTraceAppByName(array $options = []) |
|
61
|
|
|
* @method SearchTraceAppByPage searchTraceAppByPage(array $options = []) |
|
62
|
|
|
* @method SearchTraces searchTraces(array $options = []) |
|
63
|
|
|
* @method SearchTracesByPage searchTracesByPage(array $options = []) |
|
64
|
|
|
* @method SendCustomIncidents sendCustomIncidents(array $options = []) |
|
65
|
|
|
* @method SendMseIncident sendMseIncident(array $options = []) |
|
66
|
|
|
* @method SetRetcodeShareStatus setRetcodeShareStatus(array $options = []) |
|
67
|
|
|
* @method StartAlert startAlert(array $options = []) |
|
68
|
|
|
* @method StopAlert stopAlert(array $options = []) |
|
69
|
|
|
* @method UpdateAlertContact updateAlertContact(array $options = []) |
|
70
|
|
|
* @method UpdateAlertContactGroup updateAlertContactGroup(array $options = []) |
|
71
|
|
|
* @method UpdateAlertRule updateAlertRule(array $options = []) |
|
72
|
|
|
* @method UpdateDispatchRule updateDispatchRule(array $options = []) |
|
73
|
|
|
* @method UpdateWebhook updateWebhook(array $options = []) |
|
74
|
|
|
*/ |
|
75
|
|
|
class ARMSApiResolver extends ApiResolver |
|
76
|
|
|
{ |
|
77
|
|
|
} |
|
78
|
|
|
|
|
79
|
|
|
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc |
|
80
|
|
|
{ |
|
81
|
|
|
/** @var string */ |
|
82
|
|
|
public $product = 'ARMS'; |
|
83
|
|
|
|
|
84
|
|
|
/** @var string */ |
|
85
|
|
|
public $version = '2019-08-08'; |
|
86
|
|
|
|
|
87
|
|
|
/** @var string */ |
|
88
|
|
|
public $method = 'POST'; |
|
89
|
|
|
|
|
90
|
|
|
/** @var string */ |
|
91
|
|
|
public $serviceCode = 'arms'; |
|
92
|
|
|
} |
|
93
|
|
|
|
|
94
|
|
|
/** |
|
95
|
|
|
* @method string getIntegration() |
|
96
|
|
|
* @method $this withIntegration($value) |
|
97
|
|
|
* @method string getClusterId() |
|
98
|
|
|
* @method $this withClusterId($value) |
|
99
|
|
|
*/ |
|
100
|
|
|
class AddGrafana extends Rpc |
|
101
|
|
|
{ |
|
102
|
|
|
} |
|
103
|
|
|
|
|
104
|
|
|
/** |
|
105
|
|
|
* @method string getIntegration() |
|
106
|
|
|
* @method $this withIntegration($value) |
|
107
|
|
|
* @method string getClusterId() |
|
108
|
|
|
* @method $this withClusterId($value) |
|
109
|
|
|
*/ |
|
110
|
|
|
class AddIntegration extends Rpc |
|
111
|
|
|
{ |
|
112
|
|
|
} |
|
113
|
|
|
|
|
114
|
|
|
/** |
|
115
|
|
|
* @method string getSnForce() |
|
116
|
|
|
* @method $this withSnForce($value) |
|
117
|
|
|
* @method string getSign() |
|
118
|
|
|
* @method $this withSign($value) |
|
119
|
|
|
* @method string getSnStat() |
|
120
|
|
|
* @method $this withSnStat($value) |
|
121
|
|
|
* @method string getScenario() |
|
122
|
|
|
* @method $this withScenario($value) |
|
123
|
|
|
* @method string getSnDump() |
|
124
|
|
|
* @method $this withSnDump($value) |
|
125
|
|
|
* @method string getAppId() |
|
126
|
|
|
* @method $this withAppId($value) |
|
127
|
|
|
* @method string getName() |
|
128
|
|
|
* @method $this withName($value) |
|
129
|
|
|
* @method string getSnTransfer() |
|
130
|
|
|
* @method $this withSnTransfer($value) |
|
131
|
|
|
* @method string getUpdateOption() |
|
132
|
|
|
* @method $this withUpdateOption($value) |
|
133
|
|
|
* @method string getConfig() |
|
134
|
|
|
* @method $this withConfig($value) |
|
135
|
|
|
*/ |
|
136
|
|
|
class ApplyScenario extends Rpc |
|
137
|
|
|
{ |
|
138
|
|
|
} |
|
139
|
|
|
|
|
140
|
|
|
/** |
|
141
|
|
|
* @method string getCurrentTimestamp() |
|
142
|
|
|
* @method $this withCurrentTimestamp($value) |
|
143
|
|
|
* @method string getAppType() |
|
144
|
|
|
* @method $this withAppType($value) |
|
145
|
|
|
* @method string getPid() |
|
146
|
|
|
* @method $this withPid($value) |
|
147
|
|
|
* @method string getProxyUserId() |
|
148
|
|
|
* @method $this withProxyUserId($value) |
|
149
|
|
|
*/ |
|
150
|
|
|
class CheckDataConsistency extends Rpc |
|
151
|
|
|
{ |
|
152
|
|
|
} |
|
153
|
|
|
|
|
154
|
|
|
/** |
|
155
|
|
|
* @method string getSPIRegionId() |
|
156
|
|
|
* @method $this withSPIRegionId($value) |
|
157
|
|
|
* @method string getRoleArn() |
|
158
|
|
|
* @method $this withRoleArn($value) |
|
159
|
|
|
* @method string getDeletionTaskId() |
|
160
|
|
|
* @method $this withDeletionTaskId($value) |
|
161
|
|
|
* @method string getServiceName() |
|
162
|
|
|
* @method $this withServiceName($value) |
|
163
|
|
|
*/ |
|
164
|
|
|
class CheckServiceLinkedRoleForDeleting extends Rpc |
|
165
|
|
|
{ |
|
166
|
|
|
} |
|
167
|
|
|
|
|
168
|
|
|
/** |
|
169
|
|
|
* @method string getAppIds() |
|
170
|
|
|
* @method $this withAppIds($value) |
|
171
|
|
|
* @method string getEnable() |
|
172
|
|
|
* @method $this withEnable($value) |
|
173
|
|
|
*/ |
|
174
|
|
|
class ConfigApp extends Rpc |
|
175
|
|
|
{ |
|
176
|
|
|
} |
|
177
|
|
|
|
|
178
|
|
|
/** |
|
179
|
|
|
* @method string getPhoneNum() |
|
180
|
|
|
* @method $this withPhoneNum($value) |
|
181
|
|
|
* @method string getProxyUserId() |
|
182
|
|
|
* @method $this withProxyUserId($value) |
|
183
|
|
|
* @method string getContactName() |
|
184
|
|
|
* @method $this withContactName($value) |
|
185
|
|
|
* @method string getDingRobotWebhookUrl() |
|
186
|
|
|
* @method $this withDingRobotWebhookUrl($value) |
|
187
|
|
|
* @method string getEmail() |
|
188
|
|
|
* @method $this withEmail($value) |
|
189
|
|
|
* @method string getSystemNoc() |
|
190
|
|
|
* @method $this withSystemNoc($value) |
|
191
|
|
|
*/ |
|
192
|
|
|
class CreateAlertContact extends Rpc |
|
193
|
|
|
{ |
|
194
|
|
|
} |
|
195
|
|
|
|
|
196
|
|
|
/** |
|
197
|
|
|
* @method string getContactGroupName() |
|
198
|
|
|
* @method $this withContactGroupName($value) |
|
199
|
|
|
* @method string getProxyUserId() |
|
200
|
|
|
* @method $this withProxyUserId($value) |
|
201
|
|
|
* @method string getContactIds() |
|
202
|
|
|
* @method $this withContactIds($value) |
|
203
|
|
|
*/ |
|
204
|
|
|
class CreateAlertContactGroup extends Rpc |
|
205
|
|
|
{ |
|
206
|
|
|
} |
|
207
|
|
|
|
|
208
|
|
|
/** |
|
209
|
|
|
* @method string getDispatchRule() |
|
210
|
|
|
* @method $this withDispatchRule($value) |
|
211
|
|
|
* @method string getProxyUserId() |
|
212
|
|
|
* @method $this withProxyUserId($value) |
|
213
|
|
|
*/ |
|
214
|
|
|
class CreateDispatchRule extends Rpc |
|
215
|
|
|
{ |
|
216
|
|
|
} |
|
217
|
|
|
|
|
218
|
|
|
/** |
|
219
|
|
|
* @method string getRetcodeAppName() |
|
220
|
|
|
* @method $this withRetcodeAppName($value) |
|
221
|
|
|
* @method string getRetcodeAppType() |
|
222
|
|
|
* @method $this withRetcodeAppType($value) |
|
223
|
|
|
*/ |
|
224
|
|
|
class CreateRetcodeApp extends Rpc |
|
225
|
|
|
{ |
|
226
|
|
|
} |
|
227
|
|
|
|
|
228
|
|
|
/** |
|
229
|
|
|
* @method string getHttpHeaders() |
|
230
|
|
|
* @method $this withHttpHeaders($value) |
|
231
|
|
|
* @method string getMethod() |
|
232
|
|
|
* @method $this withMethod($value) |
|
233
|
|
|
* @method string getHttpParams() |
|
234
|
|
|
* @method $this withHttpParams($value) |
|
235
|
|
|
* @method string getProxyUserId() |
|
236
|
|
|
* @method $this withProxyUserId($value) |
|
237
|
|
|
* @method string getBody() |
|
238
|
|
|
* @method $this withBody($value) |
|
239
|
|
|
* @method string getUrl() |
|
240
|
|
|
* @method $this withUrl($value) |
|
241
|
|
|
* @method string getContactName() |
|
242
|
|
|
* @method $this withContactName($value) |
|
243
|
|
|
*/ |
|
244
|
|
|
class CreateWehook extends Rpc |
|
245
|
|
|
{ |
|
246
|
|
|
} |
|
247
|
|
|
|
|
248
|
|
|
/** |
|
249
|
|
|
* @method string getContactId() |
|
250
|
|
|
* @method $this withContactId($value) |
|
251
|
|
|
* @method string getProxyUserId() |
|
252
|
|
|
* @method $this withProxyUserId($value) |
|
253
|
|
|
*/ |
|
254
|
|
|
class DeleteAlertContact extends Rpc |
|
255
|
|
|
{ |
|
256
|
|
|
} |
|
257
|
|
|
|
|
258
|
|
|
/** |
|
259
|
|
|
* @method string getContactGroupId() |
|
260
|
|
|
* @method $this withContactGroupId($value) |
|
261
|
|
|
* @method string getProxyUserId() |
|
262
|
|
|
* @method $this withProxyUserId($value) |
|
263
|
|
|
*/ |
|
264
|
|
|
class DeleteAlertContactGroup extends Rpc |
|
265
|
|
|
{ |
|
266
|
|
|
} |
|
267
|
|
|
|
|
268
|
|
|
/** |
|
269
|
|
|
* @method string getAlertIds() |
|
270
|
|
|
* @method $this withAlertIds($value) |
|
271
|
|
|
* @method string getProxyUserId() |
|
272
|
|
|
* @method $this withProxyUserId($value) |
|
273
|
|
|
*/ |
|
274
|
|
|
class DeleteAlertRules extends Rpc |
|
275
|
|
|
{ |
|
276
|
|
|
} |
|
277
|
|
|
|
|
278
|
|
|
/** |
|
279
|
|
|
* @method string getId() |
|
280
|
|
|
* @method $this withId($value) |
|
281
|
|
|
* @method string getProxyUserId() |
|
282
|
|
|
* @method $this withProxyUserId($value) |
|
283
|
|
|
*/ |
|
284
|
|
|
class DeleteDispatchRule extends Rpc |
|
285
|
|
|
{ |
|
286
|
|
|
} |
|
287
|
|
|
|
|
288
|
|
|
/** |
|
289
|
|
|
* @method string getAppId() |
|
290
|
|
|
* @method $this withAppId($value) |
|
291
|
|
|
*/ |
|
292
|
|
|
class DeleteRetcodeApp extends Rpc |
|
293
|
|
|
{ |
|
294
|
|
|
} |
|
295
|
|
|
|
|
296
|
|
|
/** |
|
297
|
|
|
* @method string getScenarioId() |
|
298
|
|
|
* @method $this withScenarioId($value) |
|
299
|
|
|
*/ |
|
300
|
|
|
class DeleteScenario extends Rpc |
|
301
|
|
|
{ |
|
302
|
|
|
} |
|
303
|
|
|
|
|
304
|
|
|
/** |
|
305
|
|
|
* @method string getAppId() |
|
306
|
|
|
* @method $this withAppId($value) |
|
307
|
|
|
* @method string getPid() |
|
308
|
|
|
* @method $this withPid($value) |
|
309
|
|
|
* @method string getType() |
|
310
|
|
|
* @method $this withType($value) |
|
311
|
|
|
*/ |
|
312
|
|
|
class DeleteTraceApp extends Rpc |
|
313
|
|
|
{ |
|
314
|
|
|
} |
|
315
|
|
|
|
|
316
|
|
|
/** |
|
317
|
|
|
* @method string getId() |
|
318
|
|
|
* @method $this withId($value) |
|
319
|
|
|
* @method string getProxyUserId() |
|
320
|
|
|
* @method $this withProxyUserId($value) |
|
321
|
|
|
*/ |
|
322
|
|
|
class DescribeDispatchRule extends Rpc |
|
323
|
|
|
{ |
|
324
|
|
|
} |
|
325
|
|
|
|
|
326
|
|
|
class DescribeTraceLicenseKey extends Rpc |
|
327
|
|
|
{ |
|
328
|
|
|
} |
|
329
|
|
|
|
|
330
|
|
|
class DescribeTraceLocation extends Rpc |
|
331
|
|
|
{ |
|
332
|
|
|
} |
|
333
|
|
|
|
|
334
|
|
|
/** |
|
335
|
|
|
* @method string getNameSpace() |
|
336
|
|
|
* @method $this withNameSpace($value) |
|
337
|
|
|
* @method string getName() |
|
338
|
|
|
* @method $this withName($value) |
|
339
|
|
|
* @method string getClusterId() |
|
340
|
|
|
* @method $this withClusterId($value) |
|
341
|
|
|
*/ |
|
342
|
|
|
class ExportPrometheusRules extends Rpc |
|
343
|
|
|
{ |
|
344
|
|
|
} |
|
345
|
|
|
|
|
346
|
|
|
class GetAgentDownloadUrl extends Rpc |
|
347
|
|
|
{ |
|
348
|
|
|
|
|
349
|
|
|
/** @var string */ |
|
350
|
|
|
public $method = 'GET'; |
|
351
|
|
|
} |
|
352
|
|
|
|
|
353
|
|
|
/** |
|
354
|
|
|
* @method string getEndTime() |
|
355
|
|
|
* @method $this withEndTime($value) |
|
356
|
|
|
* @method string getCurrentPage() |
|
357
|
|
|
* @method $this withCurrentPage($value) |
|
358
|
|
|
* @method string getPId() |
|
359
|
|
|
* @method $this withPId($value) |
|
360
|
|
|
* @method string getStartTime() |
|
361
|
|
|
* @method $this withStartTime($value) |
|
362
|
|
|
* @method string getPageSize() |
|
363
|
|
|
* @method $this withPageSize($value) |
|
364
|
|
|
* @method string getIntervalMills() |
|
365
|
|
|
* @method $this withIntervalMills($value) |
|
366
|
|
|
*/ |
|
367
|
|
|
class GetAppApiByPage extends Rpc |
|
368
|
|
|
{ |
|
369
|
|
|
} |
|
370
|
|
|
|
|
371
|
|
|
/** |
|
372
|
|
|
* @method string getCurrentTimestamp() |
|
373
|
|
|
* @method $this withCurrentTimestamp($value) |
|
374
|
|
|
* @method string getAppType() |
|
375
|
|
|
* @method $this withAppType($value) |
|
376
|
|
|
* @method string getPid() |
|
377
|
|
|
* @method $this withPid($value) |
|
378
|
|
|
* @method string getProxyUserId() |
|
379
|
|
|
* @method $this withProxyUserId($value) |
|
380
|
|
|
*/ |
|
381
|
|
|
class GetConsistencySnapshot extends Rpc |
|
382
|
|
|
{ |
|
383
|
|
|
} |
|
384
|
|
|
|
|
385
|
|
|
/** |
|
386
|
|
|
* @method string getProxyUserId() |
|
387
|
|
|
* @method $this withProxyUserId($value) |
|
388
|
|
|
* @method string getProductType() |
|
389
|
|
|
* @method $this withProductType($value) |
|
390
|
|
|
*/ |
|
391
|
|
|
class GetIntegrationToken extends Rpc |
|
392
|
|
|
{ |
|
393
|
|
|
} |
|
394
|
|
|
|
|
395
|
|
|
/** |
|
396
|
|
|
* @method array getTraceIDs() |
|
397
|
|
|
*/ |
|
398
|
|
|
class GetMultipleTrace extends Rpc |
|
399
|
|
|
{ |
|
400
|
|
|
|
|
401
|
|
|
/** |
|
402
|
|
|
* @param array $traceIDs |
|
403
|
|
|
* |
|
404
|
|
|
* @return $this |
|
405
|
|
|
*/ |
|
406
|
|
|
public function withTraceIDs(array $traceIDs) |
|
407
|
|
|
{ |
|
408
|
|
|
$this->data['TraceIDs'] = $traceIDs; |
|
409
|
|
|
foreach ($traceIDs as $i => $iValue) { |
|
410
|
|
|
$this->options['query']['TraceIDs.' . ($i + 1)] = $iValue; |
|
411
|
|
|
} |
|
412
|
|
|
|
|
413
|
|
|
return $this; |
|
414
|
|
|
} |
|
415
|
|
|
} |
|
416
|
|
|
|
|
417
|
|
|
class GetPrometheusApiToken extends Rpc |
|
418
|
|
|
{ |
|
419
|
|
|
} |
|
420
|
|
|
|
|
421
|
|
|
/** |
|
422
|
|
|
* @method string getPid() |
|
423
|
|
|
* @method $this withPid($value) |
|
424
|
|
|
*/ |
|
425
|
|
|
class GetRetcodeShareUrl extends Rpc |
|
426
|
|
|
{ |
|
427
|
|
|
} |
|
428
|
|
|
|
|
429
|
|
|
/** |
|
430
|
|
|
* @method string getTraceID() |
|
431
|
|
|
* @method $this withTraceID($value) |
|
432
|
|
|
* @method string getRpcID() |
|
433
|
|
|
* @method $this withRpcID($value) |
|
434
|
|
|
* @method string getPid() |
|
435
|
|
|
* @method $this withPid($value) |
|
436
|
|
|
*/ |
|
437
|
|
|
class GetStack extends Rpc |
|
438
|
|
|
{ |
|
439
|
|
|
} |
|
440
|
|
|
|
|
441
|
|
|
/** |
|
442
|
|
|
* @method string getTraceID() |
|
443
|
|
|
* @method $this withTraceID($value) |
|
444
|
|
|
*/ |
|
445
|
|
|
class GetTrace extends Rpc |
|
446
|
|
|
{ |
|
447
|
|
|
} |
|
448
|
|
|
|
|
449
|
|
|
/** |
|
450
|
|
|
* @method string getPid() |
|
451
|
|
|
* @method $this withPid($value) |
|
452
|
|
|
*/ |
|
453
|
|
|
class GetTraceApp extends Rpc |
|
454
|
|
|
{ |
|
455
|
|
|
} |
|
456
|
|
|
|
|
457
|
|
|
/** |
|
458
|
|
|
* @method string getIsAutoStart() |
|
459
|
|
|
* @method $this withIsAutoStart($value) |
|
460
|
|
|
* @method string getProxyUserId() |
|
461
|
|
|
* @method $this withProxyUserId($value) |
|
462
|
|
|
* @method string getContactGroupIds() |
|
463
|
|
|
* @method $this withContactGroupIds($value) |
|
464
|
|
|
* @method string getPids() |
|
465
|
|
|
* @method $this withPids($value) |
|
466
|
|
|
* @method string getTemplageAlertConfig() |
|
467
|
|
|
* @method $this withTemplageAlertConfig($value) |
|
468
|
|
|
* @method string getTemplateAlertId() |
|
469
|
|
|
* @method $this withTemplateAlertId($value) |
|
470
|
|
|
*/ |
|
471
|
|
|
class ImportAppAlertRules extends Rpc |
|
472
|
|
|
{ |
|
473
|
|
|
} |
|
474
|
|
|
|
|
475
|
|
|
/** |
|
476
|
|
|
* @method string getIsAutoStart() |
|
477
|
|
|
* @method $this withIsAutoStart($value) |
|
478
|
|
|
* @method string getProxyUserId() |
|
479
|
|
|
* @method $this withProxyUserId($value) |
|
480
|
|
|
* @method string getContactGroupIds() |
|
481
|
|
|
* @method $this withContactGroupIds($value) |
|
482
|
|
|
* @method string getTemplateAlertConfig() |
|
483
|
|
|
* @method $this withTemplateAlertConfig($value) |
|
484
|
|
|
* @method string getTemplageAlertConfig() |
|
485
|
|
|
* @method $this withTemplageAlertConfig($value) |
|
486
|
|
|
*/ |
|
487
|
|
|
class ImportCustomAlertRules extends Rpc |
|
488
|
|
|
{ |
|
489
|
|
|
} |
|
490
|
|
|
|
|
491
|
|
|
/** |
|
492
|
|
|
* @method string getNameSpace() |
|
493
|
|
|
* @method $this withNameSpace($value) |
|
494
|
|
|
* @method string getName() |
|
495
|
|
|
* @method $this withName($value) |
|
496
|
|
|
* @method string getClusterId() |
|
497
|
|
|
* @method $this withClusterId($value) |
|
498
|
|
|
* @method string getContent() |
|
499
|
|
|
* @method $this withContent($value) |
|
500
|
|
|
*/ |
|
501
|
|
|
class ImportPrometheusRules extends Rpc |
|
502
|
|
|
{ |
|
503
|
|
|
} |
|
504
|
|
|
|
|
505
|
|
|
class ListClusterFromGrafana extends Rpc |
|
506
|
|
|
{ |
|
507
|
|
|
} |
|
508
|
|
|
|
|
509
|
|
|
/** |
|
510
|
|
|
* @method string getClusterType() |
|
511
|
|
|
* @method $this withClusterType($value) |
|
512
|
|
|
* @method string getClusterId() |
|
513
|
|
|
* @method $this withClusterId($value) |
|
514
|
|
|
* @method string getTitle() |
|
515
|
|
|
* @method $this withTitle($value) |
|
516
|
|
|
*/ |
|
517
|
|
|
class ListDashboards extends Rpc |
|
518
|
|
|
{ |
|
519
|
|
|
} |
|
520
|
|
|
|
|
521
|
|
|
class ListPromClusters extends Rpc |
|
522
|
|
|
{ |
|
523
|
|
|
} |
|
524
|
|
|
|
|
525
|
|
|
/** |
|
526
|
|
|
* @method string getSecurityToken() |
|
527
|
|
|
* @method $this withSecurityToken($value) |
|
528
|
|
|
*/ |
|
529
|
|
|
class ListRetcodeApps extends Rpc |
|
530
|
|
|
{ |
|
531
|
|
|
} |
|
532
|
|
|
|
|
533
|
|
|
/** |
|
534
|
|
|
* @method string getScenario() |
|
535
|
|
|
* @method $this withScenario($value) |
|
536
|
|
|
* @method string getAppId() |
|
537
|
|
|
* @method $this withAppId($value) |
|
538
|
|
|
* @method string getName() |
|
539
|
|
|
* @method $this withName($value) |
|
540
|
|
|
* @method string getSign() |
|
541
|
|
|
* @method $this withSign($value) |
|
542
|
|
|
*/ |
|
543
|
|
|
class ListScenario extends Rpc |
|
544
|
|
|
{ |
|
545
|
|
|
} |
|
546
|
|
|
|
|
547
|
|
|
class ListTraceApps extends Rpc |
|
548
|
|
|
{ |
|
549
|
|
|
} |
|
550
|
|
|
|
|
551
|
|
|
/** |
|
552
|
|
|
* @method string getOwnerId() |
|
553
|
|
|
* @method $this withOwnerId($value) |
|
554
|
|
|
* @method string getType() |
|
555
|
|
|
* @method $this withType($value) |
|
556
|
|
|
*/ |
|
557
|
|
|
class OpenArmsService extends Rpc |
|
558
|
|
|
{ |
|
559
|
|
|
} |
|
560
|
|
|
|
|
561
|
|
|
/** |
|
562
|
|
|
* @method string getDateStr() |
|
563
|
|
|
* @method $this withDateStr($value) |
|
564
|
|
|
* @method string getMinTime() |
|
565
|
|
|
* @method $this withMinTime($value) |
|
566
|
|
|
* @method string getProxyUserId() |
|
567
|
|
|
* @method $this withProxyUserId($value) |
|
568
|
|
|
* @method string getReduceTail() |
|
569
|
|
|
* @method $this withReduceTail($value) |
|
570
|
|
|
* @method string getMaxTime() |
|
571
|
|
|
* @method $this withMaxTime($value) |
|
572
|
|
|
* @method array getOptionalDims() |
|
573
|
|
|
* @method array getMeasures() |
|
574
|
|
|
* @method string getIntervalInSec() |
|
575
|
|
|
* @method $this withIntervalInSec($value) |
|
576
|
|
|
* @method string getIsDrillDown() |
|
577
|
|
|
* @method $this withIsDrillDown($value) |
|
578
|
|
|
* @method string getHungryMode() |
|
579
|
|
|
* @method $this withHungryMode($value) |
|
580
|
|
|
* @method string getOrderByKey() |
|
581
|
|
|
* @method $this withOrderByKey($value) |
|
582
|
|
|
* @method string getLimit() |
|
583
|
|
|
* @method $this withLimit($value) |
|
584
|
|
|
* @method string getDatasetId() |
|
585
|
|
|
* @method $this withDatasetId($value) |
|
586
|
|
|
* @method array getRequiredDims() |
|
587
|
|
|
* @method array getDimensions() |
|
588
|
|
|
*/ |
|
589
|
|
|
class QueryDataset extends Rpc |
|
590
|
|
|
{ |
|
591
|
|
|
|
|
592
|
|
|
/** |
|
593
|
|
|
* @param array $optionalDims |
|
594
|
|
|
* |
|
595
|
|
|
* @return $this |
|
596
|
|
|
*/ |
|
597
|
|
|
public function withOptionalDims(array $optionalDims) |
|
598
|
|
|
{ |
|
599
|
|
|
$this->data['OptionalDims'] = $optionalDims; |
|
600
|
|
|
foreach ($optionalDims as $depth1 => $depth1Value) { |
|
601
|
|
|
if(isset($depth1Value['Type'])){ |
|
602
|
|
|
$this->options['query']['OptionalDims.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type']; |
|
603
|
|
|
} |
|
604
|
|
|
if(isset($depth1Value['Value'])){ |
|
605
|
|
|
$this->options['query']['OptionalDims.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
606
|
|
|
} |
|
607
|
|
|
if(isset($depth1Value['Key'])){ |
|
608
|
|
|
$this->options['query']['OptionalDims.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
609
|
|
|
} |
|
610
|
|
|
} |
|
611
|
|
|
|
|
612
|
|
|
return $this; |
|
613
|
|
|
} |
|
614
|
|
|
|
|
615
|
|
|
/** |
|
616
|
|
|
* @param array $measures |
|
617
|
|
|
* |
|
618
|
|
|
* @return $this |
|
619
|
|
|
*/ |
|
620
|
|
|
public function withMeasures(array $measures) |
|
621
|
|
|
{ |
|
622
|
|
|
$this->data['Measures'] = $measures; |
|
623
|
|
|
foreach ($measures as $i => $iValue) { |
|
624
|
|
|
$this->options['query']['Measures.' . ($i + 1)] = $iValue; |
|
625
|
|
|
} |
|
626
|
|
|
|
|
627
|
|
|
return $this; |
|
628
|
|
|
} |
|
629
|
|
|
|
|
630
|
|
|
/** |
|
631
|
|
|
* @param array $requiredDims |
|
632
|
|
|
* |
|
633
|
|
|
* @return $this |
|
634
|
|
|
*/ |
|
635
|
|
|
public function withRequiredDims(array $requiredDims) |
|
636
|
|
|
{ |
|
637
|
|
|
$this->data['RequiredDims'] = $requiredDims; |
|
638
|
|
|
foreach ($requiredDims as $depth1 => $depth1Value) { |
|
639
|
|
|
if(isset($depth1Value['Type'])){ |
|
640
|
|
|
$this->options['query']['RequiredDims.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type']; |
|
641
|
|
|
} |
|
642
|
|
|
if(isset($depth1Value['Value'])){ |
|
643
|
|
|
$this->options['query']['RequiredDims.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
644
|
|
|
} |
|
645
|
|
|
if(isset($depth1Value['Key'])){ |
|
646
|
|
|
$this->options['query']['RequiredDims.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
647
|
|
|
} |
|
648
|
|
|
} |
|
649
|
|
|
|
|
650
|
|
|
return $this; |
|
651
|
|
|
} |
|
652
|
|
|
|
|
653
|
|
|
/** |
|
654
|
|
|
* @param array $dimensions |
|
655
|
|
|
* |
|
656
|
|
|
* @return $this |
|
657
|
|
|
*/ |
|
658
|
|
|
public function withDimensions(array $dimensions) |
|
659
|
|
|
{ |
|
660
|
|
|
$this->data['Dimensions'] = $dimensions; |
|
661
|
|
|
foreach ($dimensions as $depth1 => $depth1Value) { |
|
662
|
|
|
if(isset($depth1Value['Type'])){ |
|
663
|
|
|
$this->options['query']['Dimensions.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type']; |
|
664
|
|
|
} |
|
665
|
|
|
if(isset($depth1Value['Value'])){ |
|
666
|
|
|
$this->options['query']['Dimensions.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
667
|
|
|
} |
|
668
|
|
|
if(isset($depth1Value['Key'])){ |
|
669
|
|
|
$this->options['query']['Dimensions.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
670
|
|
|
} |
|
671
|
|
|
} |
|
672
|
|
|
|
|
673
|
|
|
return $this; |
|
674
|
|
|
} |
|
675
|
|
|
} |
|
676
|
|
|
|
|
677
|
|
|
/** |
|
678
|
|
|
* @method string getConsistencyQueryStrategy() |
|
679
|
|
|
* @method $this withConsistencyQueryStrategy($value) |
|
680
|
|
|
* @method string getEndTime() |
|
681
|
|
|
* @method $this withEndTime($value) |
|
682
|
|
|
* @method string getOrderBy() |
|
683
|
|
|
* @method $this withOrderBy($value) |
|
684
|
|
|
* @method string getStartTime() |
|
685
|
|
|
* @method $this withStartTime($value) |
|
686
|
|
|
* @method array getFilters() |
|
687
|
|
|
* @method string getConsistencyDataKey() |
|
688
|
|
|
* @method $this withConsistencyDataKey($value) |
|
689
|
|
|
* @method string getProxyUserId() |
|
690
|
|
|
* @method $this withProxyUserId($value) |
|
691
|
|
|
* @method array getMeasures() |
|
692
|
|
|
* @method string getIntervalInSec() |
|
693
|
|
|
* @method $this withIntervalInSec($value) |
|
694
|
|
|
* @method string getMetric() |
|
695
|
|
|
* @method $this withMetric($value) |
|
696
|
|
|
* @method string getLimit() |
|
697
|
|
|
* @method $this withLimit($value) |
|
698
|
|
|
* @method array getDimensions() |
|
699
|
|
|
* @method string getOrder() |
|
700
|
|
|
* @method $this withOrder($value) |
|
701
|
|
|
*/ |
|
702
|
|
|
class QueryMetric extends Rpc |
|
703
|
|
|
{ |
|
704
|
|
|
|
|
705
|
|
|
/** |
|
706
|
|
|
* @param array $filters |
|
707
|
|
|
* |
|
708
|
|
|
* @return $this |
|
709
|
|
|
*/ |
|
710
|
|
|
public function withFilters(array $filters) |
|
711
|
|
|
{ |
|
712
|
|
|
$this->data['Filters'] = $filters; |
|
713
|
|
|
foreach ($filters as $depth1 => $depth1Value) { |
|
714
|
|
|
if(isset($depth1Value['Value'])){ |
|
715
|
|
|
$this->options['query']['Filters.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
716
|
|
|
} |
|
717
|
|
|
if(isset($depth1Value['Key'])){ |
|
718
|
|
|
$this->options['query']['Filters.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
719
|
|
|
} |
|
720
|
|
|
} |
|
721
|
|
|
|
|
722
|
|
|
return $this; |
|
723
|
|
|
} |
|
724
|
|
|
|
|
725
|
|
|
/** |
|
726
|
|
|
* @param array $measures |
|
727
|
|
|
* |
|
728
|
|
|
* @return $this |
|
729
|
|
|
*/ |
|
730
|
|
|
public function withMeasures(array $measures) |
|
731
|
|
|
{ |
|
732
|
|
|
$this->data['Measures'] = $measures; |
|
733
|
|
|
foreach ($measures as $i => $iValue) { |
|
734
|
|
|
$this->options['query']['Measures.' . ($i + 1)] = $iValue; |
|
735
|
|
|
} |
|
736
|
|
|
|
|
737
|
|
|
return $this; |
|
738
|
|
|
} |
|
739
|
|
|
|
|
740
|
|
|
/** |
|
741
|
|
|
* @param array $dimensions |
|
742
|
|
|
* |
|
743
|
|
|
* @return $this |
|
744
|
|
|
*/ |
|
745
|
|
|
public function withDimensions(array $dimensions) |
|
746
|
|
|
{ |
|
747
|
|
|
$this->data['Dimensions'] = $dimensions; |
|
748
|
|
|
foreach ($dimensions as $i => $iValue) { |
|
749
|
|
|
$this->options['query']['Dimensions.' . ($i + 1)] = $iValue; |
|
750
|
|
|
} |
|
751
|
|
|
|
|
752
|
|
|
return $this; |
|
753
|
|
|
} |
|
754
|
|
|
} |
|
755
|
|
|
|
|
756
|
|
|
/** |
|
757
|
|
|
* @method string getConsistencyQueryStrategy() |
|
758
|
|
|
* @method $this withConsistencyQueryStrategy($value) |
|
759
|
|
|
* @method string getEndTime() |
|
760
|
|
|
* @method $this withEndTime($value) |
|
761
|
|
|
* @method string getOrderBy() |
|
762
|
|
|
* @method $this withOrderBy($value) |
|
763
|
|
|
* @method string getCurrentPage() |
|
764
|
|
|
* @method $this withCurrentPage($value) |
|
765
|
|
|
* @method string getStartTime() |
|
766
|
|
|
* @method $this withStartTime($value) |
|
767
|
|
|
* @method array getFilters() |
|
768
|
|
|
* @method string getConsistencyDataKey() |
|
769
|
|
|
* @method $this withConsistencyDataKey($value) |
|
770
|
|
|
* @method string getProxyUserId() |
|
771
|
|
|
* @method $this withProxyUserId($value) |
|
772
|
|
|
* @method array getMeasures() |
|
773
|
|
|
* @method string getIntervalInSec() |
|
774
|
|
|
* @method $this withIntervalInSec($value) |
|
775
|
|
|
* @method string getMetric() |
|
776
|
|
|
* @method $this withMetric($value) |
|
777
|
|
|
* @method array getCustomFilters() |
|
778
|
|
|
* @method string getPageSize() |
|
779
|
|
|
* @method $this withPageSize($value) |
|
780
|
|
|
* @method array getDimensions() |
|
781
|
|
|
* @method string getOrder() |
|
782
|
|
|
* @method $this withOrder($value) |
|
783
|
|
|
*/ |
|
784
|
|
|
class QueryMetricByPage extends Rpc |
|
785
|
|
|
{ |
|
786
|
|
|
|
|
787
|
|
|
/** |
|
788
|
|
|
* @param array $filters |
|
789
|
|
|
* |
|
790
|
|
|
* @return $this |
|
791
|
|
|
*/ |
|
792
|
|
|
public function withFilters(array $filters) |
|
793
|
|
|
{ |
|
794
|
|
|
$this->data['Filters'] = $filters; |
|
795
|
|
|
foreach ($filters as $depth1 => $depth1Value) { |
|
796
|
|
|
if(isset($depth1Value['Value'])){ |
|
797
|
|
|
$this->options['query']['Filters.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
798
|
|
|
} |
|
799
|
|
|
if(isset($depth1Value['Key'])){ |
|
800
|
|
|
$this->options['query']['Filters.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
801
|
|
|
} |
|
802
|
|
|
} |
|
803
|
|
|
|
|
804
|
|
|
return $this; |
|
805
|
|
|
} |
|
806
|
|
|
|
|
807
|
|
|
/** |
|
808
|
|
|
* @param array $measures |
|
809
|
|
|
* |
|
810
|
|
|
* @return $this |
|
811
|
|
|
*/ |
|
812
|
|
|
public function withMeasures(array $measures) |
|
813
|
|
|
{ |
|
814
|
|
|
$this->data['Measures'] = $measures; |
|
815
|
|
|
foreach ($measures as $i => $iValue) { |
|
816
|
|
|
$this->options['query']['Measures.' . ($i + 1)] = $iValue; |
|
817
|
|
|
} |
|
818
|
|
|
|
|
819
|
|
|
return $this; |
|
820
|
|
|
} |
|
821
|
|
|
|
|
822
|
|
|
/** |
|
823
|
|
|
* @param array $customFilters |
|
824
|
|
|
* |
|
825
|
|
|
* @return $this |
|
826
|
|
|
*/ |
|
827
|
|
|
public function withCustomFilters(array $customFilters) |
|
828
|
|
|
{ |
|
829
|
|
|
$this->data['CustomFilters'] = $customFilters; |
|
830
|
|
|
foreach ($customFilters as $i => $iValue) { |
|
831
|
|
|
$this->options['query']['CustomFilters.' . ($i + 1)] = $iValue; |
|
832
|
|
|
} |
|
833
|
|
|
|
|
834
|
|
|
return $this; |
|
835
|
|
|
} |
|
836
|
|
|
|
|
837
|
|
|
/** |
|
838
|
|
|
* @param array $dimensions |
|
839
|
|
|
* |
|
840
|
|
|
* @return $this |
|
841
|
|
|
*/ |
|
842
|
|
|
public function withDimensions(array $dimensions) |
|
843
|
|
|
{ |
|
844
|
|
|
$this->data['Dimensions'] = $dimensions; |
|
845
|
|
|
foreach ($dimensions as $i => $iValue) { |
|
846
|
|
|
$this->options['query']['Dimensions.' . ($i + 1)] = $iValue; |
|
847
|
|
|
} |
|
848
|
|
|
|
|
849
|
|
|
return $this; |
|
850
|
|
|
} |
|
851
|
|
|
} |
|
852
|
|
|
|
|
853
|
|
|
/** |
|
854
|
|
|
* @method array getSettings() |
|
855
|
|
|
* @method string getPid() |
|
856
|
|
|
* @method $this withPid($value) |
|
857
|
|
|
*/ |
|
858
|
|
|
class SaveTraceAppConfig extends Rpc |
|
859
|
|
|
{ |
|
860
|
|
|
|
|
861
|
|
|
/** |
|
862
|
|
|
* @param array $settings |
|
863
|
|
|
* |
|
864
|
|
|
* @return $this |
|
865
|
|
|
*/ |
|
866
|
|
|
public function withSettings(array $settings) |
|
867
|
|
|
{ |
|
868
|
|
|
$this->data['Settings'] = $settings; |
|
869
|
|
|
foreach ($settings as $depth1 => $depth1Value) { |
|
870
|
|
|
if(isset($depth1Value['Value'])){ |
|
871
|
|
|
$this->options['query']['Settings.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
872
|
|
|
} |
|
873
|
|
|
if(isset($depth1Value['Key'])){ |
|
874
|
|
|
$this->options['query']['Settings.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
875
|
|
|
} |
|
876
|
|
|
} |
|
877
|
|
|
|
|
878
|
|
|
return $this; |
|
879
|
|
|
} |
|
880
|
|
|
} |
|
881
|
|
|
|
|
882
|
|
|
/** |
|
883
|
|
|
* @method string getCurrentPage() |
|
884
|
|
|
* @method $this withCurrentPage($value) |
|
885
|
|
|
* @method string getProxyUserId() |
|
886
|
|
|
* @method $this withProxyUserId($value) |
|
887
|
|
|
* @method string getContactIds() |
|
888
|
|
|
* @method $this withContactIds($value) |
|
889
|
|
|
* @method string getContactName() |
|
890
|
|
|
* @method $this withContactName($value) |
|
891
|
|
|
* @method string getPhone() |
|
892
|
|
|
* @method $this withPhone($value) |
|
893
|
|
|
* @method string getPageSize() |
|
894
|
|
|
* @method $this withPageSize($value) |
|
895
|
|
|
* @method string getEmail() |
|
896
|
|
|
* @method $this withEmail($value) |
|
897
|
|
|
*/ |
|
898
|
|
|
class SearchAlertContact extends Rpc |
|
899
|
|
|
{ |
|
900
|
|
|
} |
|
901
|
|
|
|
|
902
|
|
|
/** |
|
903
|
|
|
* @method string getContactId() |
|
904
|
|
|
* @method $this withContactId($value) |
|
905
|
|
|
* @method string getIsDetail() |
|
906
|
|
|
* @method $this withIsDetail($value) |
|
907
|
|
|
* @method string getContactGroupName() |
|
908
|
|
|
* @method $this withContactGroupName($value) |
|
909
|
|
|
* @method string getProxyUserId() |
|
910
|
|
|
* @method $this withProxyUserId($value) |
|
911
|
|
|
* @method string getContactName() |
|
912
|
|
|
* @method $this withContactName($value) |
|
913
|
|
|
* @method string getContactGroupIds() |
|
914
|
|
|
* @method $this withContactGroupIds($value) |
|
915
|
|
|
*/ |
|
916
|
|
|
class SearchAlertContactGroup extends Rpc |
|
917
|
|
|
{ |
|
918
|
|
|
} |
|
919
|
|
|
|
|
920
|
|
|
/** |
|
921
|
|
|
* @method string getEndTime() |
|
922
|
|
|
* @method $this withEndTime($value) |
|
923
|
|
|
* @method string getCurrentPage() |
|
924
|
|
|
* @method $this withCurrentPage($value) |
|
925
|
|
|
* @method string getStartTime() |
|
926
|
|
|
* @method $this withStartTime($value) |
|
927
|
|
|
* @method string getProxyUserId() |
|
928
|
|
|
* @method $this withProxyUserId($value) |
|
929
|
|
|
* @method string getAlertType() |
|
930
|
|
|
* @method $this withAlertType($value) |
|
931
|
|
|
* @method string getPageSize() |
|
932
|
|
|
* @method $this withPageSize($value) |
|
933
|
|
|
* @method string getAlertId() |
|
934
|
|
|
* @method $this withAlertId($value) |
|
935
|
|
|
*/ |
|
936
|
|
|
class SearchAlertHistories extends Rpc |
|
937
|
|
|
{ |
|
938
|
|
|
} |
|
939
|
|
|
|
|
940
|
|
|
/** |
|
941
|
|
|
* @method string getAppType() |
|
942
|
|
|
* @method $this withAppType($value) |
|
943
|
|
|
* @method string getCurrentPage() |
|
944
|
|
|
* @method $this withCurrentPage($value) |
|
945
|
|
|
* @method string getPid() |
|
946
|
|
|
* @method $this withPid($value) |
|
947
|
|
|
* @method string getProxyUserId() |
|
948
|
|
|
* @method $this withProxyUserId($value) |
|
949
|
|
|
* @method string getTitle() |
|
950
|
|
|
* @method $this withTitle($value) |
|
951
|
|
|
* @method string getType() |
|
952
|
|
|
* @method $this withType($value) |
|
953
|
|
|
* @method string getPageSize() |
|
954
|
|
|
* @method $this withPageSize($value) |
|
955
|
|
|
*/ |
|
956
|
|
|
class SearchAlertRules extends Rpc |
|
957
|
|
|
{ |
|
958
|
|
|
} |
|
959
|
|
|
|
|
960
|
|
|
/** |
|
961
|
|
|
* @method string getIsTrigger() |
|
962
|
|
|
* @method $this withIsTrigger($value) |
|
963
|
|
|
* @method string getAppType() |
|
964
|
|
|
* @method $this withAppType($value) |
|
965
|
|
|
* @method string getEndTime() |
|
966
|
|
|
* @method $this withEndTime($value) |
|
967
|
|
|
* @method string getPid() |
|
968
|
|
|
* @method $this withPid($value) |
|
969
|
|
|
* @method string getCurrentPage() |
|
970
|
|
|
* @method $this withCurrentPage($value) |
|
971
|
|
|
* @method string getStartTime() |
|
972
|
|
|
* @method $this withStartTime($value) |
|
973
|
|
|
* @method string getProxyUserId() |
|
974
|
|
|
* @method $this withProxyUserId($value) |
|
975
|
|
|
* @method string getAlertType() |
|
976
|
|
|
* @method $this withAlertType($value) |
|
977
|
|
|
* @method string getPageSize() |
|
978
|
|
|
* @method $this withPageSize($value) |
|
979
|
|
|
* @method string getAlertId() |
|
980
|
|
|
* @method $this withAlertId($value) |
|
981
|
|
|
*/ |
|
982
|
|
|
class SearchEvents extends Rpc |
|
983
|
|
|
{ |
|
984
|
|
|
} |
|
985
|
|
|
|
|
986
|
|
|
/** |
|
987
|
|
|
* @method string getRetcodeAppName() |
|
988
|
|
|
* @method $this withRetcodeAppName($value) |
|
989
|
|
|
* @method string getPageSize() |
|
990
|
|
|
* @method $this withPageSize($value) |
|
991
|
|
|
* @method string getPageNumber() |
|
992
|
|
|
* @method $this withPageNumber($value) |
|
993
|
|
|
*/ |
|
994
|
|
|
class SearchRetcodeAppByPage extends Rpc |
|
995
|
|
|
{ |
|
996
|
|
|
} |
|
997
|
|
|
|
|
998
|
|
|
/** |
|
999
|
|
|
* @method string getTraceAppName() |
|
1000
|
|
|
* @method $this withTraceAppName($value) |
|
1001
|
|
|
*/ |
|
1002
|
|
|
class SearchTraceAppByName extends Rpc |
|
1003
|
|
|
{ |
|
1004
|
|
|
} |
|
1005
|
|
|
|
|
1006
|
|
|
/** |
|
1007
|
|
|
* @method string getTraceAppName() |
|
1008
|
|
|
* @method $this withTraceAppName($value) |
|
1009
|
|
|
* @method string getPageSize() |
|
1010
|
|
|
* @method $this withPageSize($value) |
|
1011
|
|
|
* @method string getPageNumber() |
|
1012
|
|
|
* @method $this withPageNumber($value) |
|
1013
|
|
|
*/ |
|
1014
|
|
|
class SearchTraceAppByPage extends Rpc |
|
1015
|
|
|
{ |
|
1016
|
|
|
} |
|
1017
|
|
|
|
|
1018
|
|
|
/** |
|
1019
|
|
|
* @method string getEndTime() |
|
1020
|
|
|
* @method $this withEndTime($value) |
|
1021
|
|
|
* @method string getStartTime() |
|
1022
|
|
|
* @method $this withStartTime($value) |
|
1023
|
|
|
* @method string getReverse() |
|
1024
|
|
|
* @method $this withReverse($value) |
|
1025
|
|
|
* @method string getMinDuration() |
|
1026
|
|
|
* @method $this withMinDuration($value) |
|
1027
|
|
|
* @method string getServiceIp() |
|
1028
|
|
|
* @method $this withServiceIp($value) |
|
1029
|
|
|
* @method array getExclusionFilters() |
|
1030
|
|
|
* @method string getOperationName() |
|
1031
|
|
|
* @method $this withOperationName($value) |
|
1032
|
|
|
* @method string getServiceName() |
|
1033
|
|
|
* @method $this withServiceName($value) |
|
1034
|
|
|
* @method array getTag() |
|
1035
|
|
|
*/ |
|
1036
|
|
|
class SearchTraces extends Rpc |
|
1037
|
|
|
{ |
|
1038
|
|
|
|
|
1039
|
|
|
/** |
|
1040
|
|
|
* @param array $exclusionFilters |
|
1041
|
|
|
* |
|
1042
|
|
|
* @return $this |
|
1043
|
|
|
*/ |
|
1044
|
|
|
public function withExclusionFilters(array $exclusionFilters) |
|
1045
|
|
|
{ |
|
1046
|
|
|
$this->data['ExclusionFilters'] = $exclusionFilters; |
|
1047
|
|
|
foreach ($exclusionFilters as $depth1 => $depth1Value) { |
|
1048
|
|
|
if(isset($depth1Value['Value'])){ |
|
1049
|
|
|
$this->options['query']['ExclusionFilters.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
1050
|
|
|
} |
|
1051
|
|
|
if(isset($depth1Value['Key'])){ |
|
1052
|
|
|
$this->options['query']['ExclusionFilters.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
1053
|
|
|
} |
|
1054
|
|
|
} |
|
1055
|
|
|
|
|
1056
|
|
|
return $this; |
|
1057
|
|
|
} |
|
1058
|
|
|
|
|
1059
|
|
|
/** |
|
1060
|
|
|
* @param array $tag |
|
1061
|
|
|
* |
|
1062
|
|
|
* @return $this |
|
1063
|
|
|
*/ |
|
1064
|
|
|
public function withTag(array $tag) |
|
1065
|
|
|
{ |
|
1066
|
|
|
$this->data['Tag'] = $tag; |
|
1067
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
|
1068
|
|
|
if(isset($depth1Value['Value'])){ |
|
1069
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
1070
|
|
|
} |
|
1071
|
|
|
if(isset($depth1Value['Key'])){ |
|
1072
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
1073
|
|
|
} |
|
1074
|
|
|
} |
|
1075
|
|
|
|
|
1076
|
|
|
return $this; |
|
1077
|
|
|
} |
|
1078
|
|
|
} |
|
1079
|
|
|
|
|
1080
|
|
|
/** |
|
1081
|
|
|
* @method string getEndTime() |
|
1082
|
|
|
* @method $this withEndTime($value) |
|
1083
|
|
|
* @method string getStartTime() |
|
1084
|
|
|
* @method $this withStartTime($value) |
|
1085
|
|
|
* @method string getReverse() |
|
1086
|
|
|
* @method $this withReverse($value) |
|
1087
|
|
|
* @method string getMinDuration() |
|
1088
|
|
|
* @method $this withMinDuration($value) |
|
1089
|
|
|
* @method string getPageNumber() |
|
1090
|
|
|
* @method $this withPageNumber($value) |
|
1091
|
|
|
* @method string getServiceIp() |
|
1092
|
|
|
* @method $this withServiceIp($value) |
|
1093
|
|
|
* @method array getExclusionFilters() |
|
1094
|
|
|
* @method string getOperationName() |
|
1095
|
|
|
* @method $this withOperationName($value) |
|
1096
|
|
|
* @method string getPageSize() |
|
1097
|
|
|
* @method $this withPageSize($value) |
|
1098
|
|
|
* @method string getServiceName() |
|
1099
|
|
|
* @method $this withServiceName($value) |
|
1100
|
|
|
*/ |
|
1101
|
|
|
class SearchTracesByPage extends Rpc |
|
1102
|
|
|
{ |
|
1103
|
|
|
|
|
1104
|
|
|
/** |
|
1105
|
|
|
* @param array $exclusionFilters |
|
1106
|
|
|
* |
|
1107
|
|
|
* @return $this |
|
1108
|
|
|
*/ |
|
1109
|
|
|
public function withExclusionFilters(array $exclusionFilters) |
|
1110
|
|
|
{ |
|
1111
|
|
|
$this->data['ExclusionFilters'] = $exclusionFilters; |
|
1112
|
|
|
foreach ($exclusionFilters as $depth1 => $depth1Value) { |
|
1113
|
|
|
if(isset($depth1Value['Value'])){ |
|
1114
|
|
|
$this->options['query']['ExclusionFilters.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
1115
|
|
|
} |
|
1116
|
|
|
if(isset($depth1Value['Key'])){ |
|
1117
|
|
|
$this->options['query']['ExclusionFilters.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
1118
|
|
|
} |
|
1119
|
|
|
} |
|
1120
|
|
|
|
|
1121
|
|
|
return $this; |
|
1122
|
|
|
} |
|
1123
|
|
|
} |
|
1124
|
|
|
|
|
1125
|
|
|
/** |
|
1126
|
|
|
* @method string getIncidents() |
|
1127
|
|
|
* @method $this withIncidents($value) |
|
1128
|
|
|
* @method string getProxyUserId() |
|
1129
|
|
|
* @method $this withProxyUserId($value) |
|
1130
|
|
|
* @method string getProductType() |
|
1131
|
|
|
* @method $this withProductType($value) |
|
1132
|
|
|
*/ |
|
1133
|
|
|
class SendCustomIncidents extends Rpc |
|
1134
|
|
|
{ |
|
1135
|
|
|
} |
|
1136
|
|
|
|
|
1137
|
|
|
/** |
|
1138
|
|
|
* @method string getIncidents() |
|
1139
|
|
|
* @method $this withIncidents($value) |
|
1140
|
|
|
* @method string getProxyUserId() |
|
1141
|
|
|
* @method $this withProxyUserId($value) |
|
1142
|
|
|
*/ |
|
1143
|
|
|
class SendMseIncident extends Rpc |
|
1144
|
|
|
{ |
|
1145
|
|
|
} |
|
1146
|
|
|
|
|
1147
|
|
|
/** |
|
1148
|
|
|
* @method string getPid() |
|
1149
|
|
|
* @method $this withPid($value) |
|
1150
|
|
|
* @method string getStatus() |
|
1151
|
|
|
* @method $this withStatus($value) |
|
1152
|
|
|
*/ |
|
1153
|
|
|
class SetRetcodeShareStatus extends Rpc |
|
1154
|
|
|
{ |
|
1155
|
|
|
} |
|
1156
|
|
|
|
|
1157
|
|
|
/** |
|
1158
|
|
|
* @method string getAlertId() |
|
1159
|
|
|
* @method $this withAlertId($value) |
|
1160
|
|
|
* @method string getProxyUserId() |
|
1161
|
|
|
* @method $this withProxyUserId($value) |
|
1162
|
|
|
*/ |
|
1163
|
|
|
class StartAlert extends Rpc |
|
1164
|
|
|
{ |
|
1165
|
|
|
} |
|
1166
|
|
|
|
|
1167
|
|
|
/** |
|
1168
|
|
|
* @method string getAlertId() |
|
1169
|
|
|
* @method $this withAlertId($value) |
|
1170
|
|
|
* @method string getProxyUserId() |
|
1171
|
|
|
* @method $this withProxyUserId($value) |
|
1172
|
|
|
*/ |
|
1173
|
|
|
class StopAlert extends Rpc |
|
1174
|
|
|
{ |
|
1175
|
|
|
} |
|
1176
|
|
|
|
|
1177
|
|
|
/** |
|
1178
|
|
|
* @method string getContactId() |
|
1179
|
|
|
* @method $this withContactId($value) |
|
1180
|
|
|
* @method string getPhoneNum() |
|
1181
|
|
|
* @method $this withPhoneNum($value) |
|
1182
|
|
|
* @method string getProxyUserId() |
|
1183
|
|
|
* @method $this withProxyUserId($value) |
|
1184
|
|
|
* @method string getContactName() |
|
1185
|
|
|
* @method $this withContactName($value) |
|
1186
|
|
|
* @method string getDingRobotWebhookUrl() |
|
1187
|
|
|
* @method $this withDingRobotWebhookUrl($value) |
|
1188
|
|
|
* @method string getEmail() |
|
1189
|
|
|
* @method $this withEmail($value) |
|
1190
|
|
|
* @method string getSystemNoc() |
|
1191
|
|
|
* @method $this withSystemNoc($value) |
|
1192
|
|
|
*/ |
|
1193
|
|
|
class UpdateAlertContact extends Rpc |
|
1194
|
|
|
{ |
|
1195
|
|
|
} |
|
1196
|
|
|
|
|
1197
|
|
|
/** |
|
1198
|
|
|
* @method string getContactGroupId() |
|
1199
|
|
|
* @method $this withContactGroupId($value) |
|
1200
|
|
|
* @method string getContactGroupName() |
|
1201
|
|
|
* @method $this withContactGroupName($value) |
|
1202
|
|
|
* @method string getProxyUserId() |
|
1203
|
|
|
* @method $this withProxyUserId($value) |
|
1204
|
|
|
* @method string getContactIds() |
|
1205
|
|
|
* @method $this withContactIds($value) |
|
1206
|
|
|
*/ |
|
1207
|
|
|
class UpdateAlertContactGroup extends Rpc |
|
1208
|
|
|
{ |
|
1209
|
|
|
} |
|
1210
|
|
|
|
|
1211
|
|
|
/** |
|
1212
|
|
|
* @method string getIsAutoStart() |
|
1213
|
|
|
* @method $this withIsAutoStart($value) |
|
1214
|
|
|
* @method string getProxyUserId() |
|
1215
|
|
|
* @method $this withProxyUserId($value) |
|
1216
|
|
|
* @method string getContactGroupIds() |
|
1217
|
|
|
* @method $this withContactGroupIds($value) |
|
1218
|
|
|
* @method string getAlertId() |
|
1219
|
|
|
* @method $this withAlertId($value) |
|
1220
|
|
|
* @method string getTemplageAlertConfig() |
|
1221
|
|
|
* @method $this withTemplageAlertConfig($value) |
|
1222
|
|
|
*/ |
|
1223
|
|
|
class UpdateAlertRule extends Rpc |
|
1224
|
|
|
{ |
|
1225
|
|
|
} |
|
1226
|
|
|
|
|
1227
|
|
|
/** |
|
1228
|
|
|
* @method string getDispatchRule() |
|
1229
|
|
|
* @method $this withDispatchRule($value) |
|
1230
|
|
|
* @method string getProxyUserId() |
|
1231
|
|
|
* @method $this withProxyUserId($value) |
|
1232
|
|
|
*/ |
|
1233
|
|
|
class UpdateDispatchRule extends Rpc |
|
1234
|
|
|
{ |
|
1235
|
|
|
} |
|
1236
|
|
|
|
|
1237
|
|
|
/** |
|
1238
|
|
|
* @method string getHttpHeaders() |
|
1239
|
|
|
* @method $this withHttpHeaders($value) |
|
1240
|
|
|
* @method string getMethod() |
|
1241
|
|
|
* @method $this withMethod($value) |
|
1242
|
|
|
* @method string getContactId() |
|
1243
|
|
|
* @method $this withContactId($value) |
|
1244
|
|
|
* @method string getHttpParams() |
|
1245
|
|
|
* @method $this withHttpParams($value) |
|
1246
|
|
|
* @method string getProxyUserId() |
|
1247
|
|
|
* @method $this withProxyUserId($value) |
|
1248
|
|
|
* @method string getBody() |
|
1249
|
|
|
* @method $this withBody($value) |
|
1250
|
|
|
* @method string getUrl() |
|
1251
|
|
|
* @method $this withUrl($value) |
|
1252
|
|
|
* @method string getContactName() |
|
1253
|
|
|
* @method $this withContactName($value) |
|
1254
|
|
|
*/ |
|
1255
|
|
|
class UpdateWebhook extends Rpc |
|
1256
|
|
|
{ |
|
1257
|
|
|
} |
|
1258
|
|
|
|