|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace AlibabaCloud\ARMS\V20190808; |
|
4
|
|
|
|
|
5
|
|
|
use AlibabaCloud\Client\Resolver\ApiResolver; |
|
6
|
|
|
|
|
7
|
|
|
/** |
|
8
|
|
|
* @method AddAliClusterIdsToPrometheusGlobalView addAliClusterIdsToPrometheusGlobalView(array $options = []) |
|
9
|
|
|
* @method AddGrafana addGrafana(array $options = []) |
|
10
|
|
|
* @method AddIntegration addIntegration(array $options = []) |
|
11
|
|
|
* @method AddPrometheusGlobalView addPrometheusGlobalView(array $options = []) |
|
12
|
|
|
* @method AddPrometheusGlobalViewByAliClusterIds addPrometheusGlobalViewByAliClusterIds(array $options = []) |
|
13
|
|
|
* @method AddPrometheusInstance addPrometheusInstance(array $options = []) |
|
14
|
|
|
* @method AddRecordingRule addRecordingRule(array $options = []) |
|
15
|
|
|
* @method AppendInstancesToPrometheusGlobalView appendInstancesToPrometheusGlobalView(array $options = []) |
|
16
|
|
|
* @method ApplyScenario applyScenario(array $options = []) |
|
17
|
|
|
* @method CheckServiceStatus checkServiceStatus(array $options = []) |
|
18
|
|
|
* @method ConfigApp configApp(array $options = []) |
|
19
|
|
|
* @method CreateAlertContact createAlertContact(array $options = []) |
|
20
|
|
|
* @method CreateAlertContactGroup createAlertContactGroup(array $options = []) |
|
21
|
|
|
* @method CreateDispatchRule createDispatchRule(array $options = []) |
|
22
|
|
|
* @method CreateIntegration createIntegration(array $options = []) |
|
23
|
|
|
* @method CreateOrUpdateAlertRule createOrUpdateAlertRule(array $options = []) |
|
24
|
|
|
* @method CreateOrUpdateContact createOrUpdateContact(array $options = []) |
|
25
|
|
|
* @method CreateOrUpdateContactGroup createOrUpdateContactGroup(array $options = []) |
|
26
|
|
|
* @method CreateOrUpdateEventBridgeIntegration createOrUpdateEventBridgeIntegration(array $options = []) |
|
27
|
|
|
* @method CreateOrUpdateIMRobot createOrUpdateIMRobot(array $options = []) |
|
28
|
|
|
* @method CreateOrUpdateNotificationPolicy createOrUpdateNotificationPolicy(array $options = []) |
|
29
|
|
|
* @method CreateOrUpdateSilencePolicy createOrUpdateSilencePolicy(array $options = []) |
|
30
|
|
|
* @method CreateOrUpdateWebhookContact createOrUpdateWebhookContact(array $options = []) |
|
31
|
|
|
* @method CreatePrometheusAlertRule createPrometheusAlertRule(array $options = []) |
|
32
|
|
|
* @method CreateRetcodeApp createRetcodeApp(array $options = []) |
|
33
|
|
|
* @method CreateSyntheticTask createSyntheticTask(array $options = []) |
|
34
|
|
|
* @method CreateWebhook createWebhook(array $options = []) |
|
35
|
|
|
* @method DelAuthToken delAuthToken(array $options = []) |
|
36
|
|
|
* @method DeleteAlertContact deleteAlertContact(array $options = []) |
|
37
|
|
|
* @method DeleteAlertContactGroup deleteAlertContactGroup(array $options = []) |
|
38
|
|
|
* @method DeleteAlertRule deleteAlertRule(array $options = []) |
|
39
|
|
|
* @method DeleteAlertRules deleteAlertRules(array $options = []) |
|
40
|
|
|
* @method DeleteCmsExporter deleteCmsExporter(array $options = []) |
|
41
|
|
|
* @method DeleteContact deleteContact(array $options = []) |
|
42
|
|
|
* @method DeleteContactGroup deleteContactGroup(array $options = []) |
|
43
|
|
|
* @method DeleteDispatchRule deleteDispatchRule(array $options = []) |
|
44
|
|
|
* @method DeleteEventBridgeIntegration deleteEventBridgeIntegration(array $options = []) |
|
45
|
|
|
* @method DeleteGrafanaResource deleteGrafanaResource(array $options = []) |
|
46
|
|
|
* @method DeleteIMRobot deleteIMRobot(array $options = []) |
|
47
|
|
|
* @method DeleteIntegration deleteIntegration(array $options = []) |
|
48
|
|
|
* @method DeleteIntegrations deleteIntegrations(array $options = []) |
|
49
|
|
|
* @method DeleteNotificationPolicy deleteNotificationPolicy(array $options = []) |
|
50
|
|
|
* @method DeletePrometheusAlertRule deletePrometheusAlertRule(array $options = []) |
|
51
|
|
|
* @method DeletePrometheusGlobalView deletePrometheusGlobalView(array $options = []) |
|
52
|
|
|
* @method DeleteRetcodeApp deleteRetcodeApp(array $options = []) |
|
53
|
|
|
* @method DeleteScenario deleteScenario(array $options = []) |
|
54
|
|
|
* @method DeleteSilencePolicy deleteSilencePolicy(array $options = []) |
|
55
|
|
|
* @method DeleteSourceMap deleteSourceMap(array $options = []) |
|
56
|
|
|
* @method DeleteSyntheticTask deleteSyntheticTask(array $options = []) |
|
57
|
|
|
* @method DeleteTraceApp deleteTraceApp(array $options = []) |
|
58
|
|
|
* @method DeleteWebhookContact deleteWebhookContact(array $options = []) |
|
59
|
|
|
* @method DescribeContactGroups describeContactGroups(array $options = []) |
|
60
|
|
|
* @method DescribeContacts describeContacts(array $options = []) |
|
61
|
|
|
* @method DescribeDispatchRule describeDispatchRule(array $options = []) |
|
62
|
|
|
* @method DescribeIMRobots describeIMRobots(array $options = []) |
|
63
|
|
|
* @method DescribePrometheusAlertRule describePrometheusAlertRule(array $options = []) |
|
64
|
|
|
* @method DescribeTraceLicenseKey describeTraceLicenseKey(array $options = []) |
|
65
|
|
|
* @method DescribeWebhookContacts describeWebhookContacts(array $options = []) |
|
66
|
|
|
* @method GetAgentDownloadUrl getAgentDownloadUrl(array $options = []) |
|
67
|
|
|
* @method GetAlertRules getAlertRules(array $options = []) |
|
68
|
|
|
* @method GetAppApiByPage getAppApiByPage(array $options = []) |
|
69
|
|
|
* @method GetAuthToken getAuthToken(array $options = []) |
|
70
|
|
|
* @method GetClusterAllUrl getClusterAllUrl(array $options = []) |
|
71
|
|
|
* @method GetExploreUrl getExploreUrl(array $options = []) |
|
72
|
|
|
* @method GetIntegrationState getIntegrationState(array $options = []) |
|
73
|
|
|
* @method GetManagedPrometheusStatus getManagedPrometheusStatus(array $options = []) |
|
74
|
|
|
* @method GetMultipleTrace getMultipleTrace(array $options = []) |
|
75
|
|
|
* @method GetOnCallSchedulesDetail getOnCallSchedulesDetail(array $options = []) |
|
76
|
|
|
* @method GetPrometheusApiToken getPrometheusApiToken(array $options = []) |
|
77
|
|
|
* @method GetPrometheusGlobalView getPrometheusGlobalView(array $options = []) |
|
78
|
|
|
* @method GetRecordingRule getRecordingRule(array $options = []) |
|
79
|
|
|
* @method GetRetcodeShareUrl getRetcodeShareUrl(array $options = []) |
|
80
|
|
|
* @method GetSourceMapInfo getSourceMapInfo(array $options = []) |
|
81
|
|
|
* @method GetStack getStack(array $options = []) |
|
82
|
|
|
* @method GetSyntheticTaskDetail getSyntheticTaskDetail(array $options = []) |
|
83
|
|
|
* @method GetSyntheticTaskList getSyntheticTaskList(array $options = []) |
|
84
|
|
|
* @method GetSyntheticTaskMonitors getSyntheticTaskMonitors(array $options = []) |
|
85
|
|
|
* @method GetTrace getTrace(array $options = []) |
|
86
|
|
|
* @method GetTraceApp getTraceApp(array $options = []) |
|
87
|
|
|
* @method ImportAppAlertRules importAppAlertRules(array $options = []) |
|
88
|
|
|
* @method InstallCmsExporter installCmsExporter(array $options = []) |
|
89
|
|
|
* @method InstallManagedPrometheus installManagedPrometheus(array $options = []) |
|
90
|
|
|
* @method ListActivatedAlerts listActivatedAlerts(array $options = []) |
|
91
|
|
|
* @method ListAlertEvents listAlertEvents(array $options = []) |
|
92
|
|
|
* @method ListAlerts listAlerts(array $options = []) |
|
93
|
|
|
* @method ListClusterFromGrafana listClusterFromGrafana(array $options = []) |
|
94
|
|
|
* @method ListCmsInstances listCmsInstances(array $options = []) |
|
95
|
|
|
* @method ListDashboards listDashboards(array $options = []) |
|
96
|
|
|
* @method ListDashboardsByName listDashboardsByName(array $options = []) |
|
97
|
|
|
* @method ListDispatchRule listDispatchRule(array $options = []) |
|
98
|
|
|
* @method ListEscalationPolicies listEscalationPolicies(array $options = []) |
|
99
|
|
|
* @method ListEventBridgeIntegrations listEventBridgeIntegrations(array $options = []) |
|
100
|
|
|
* @method ListInsightsEvents listInsightsEvents(array $options = []) |
|
101
|
|
|
* @method ListIntegration listIntegration(array $options = []) |
|
102
|
|
|
* @method ListNotificationPolicies listNotificationPolicies(array $options = []) |
|
103
|
|
|
* @method ListOnCallSchedules listOnCallSchedules(array $options = []) |
|
104
|
|
|
* @method ListPrometheusAlertRules listPrometheusAlertRules(array $options = []) |
|
105
|
|
|
* @method ListPrometheusAlertTemplates listPrometheusAlertTemplates(array $options = []) |
|
106
|
|
|
* @method ListPrometheusGlobalView listPrometheusGlobalView(array $options = []) |
|
107
|
|
|
* @method ListPrometheusInstances listPrometheusInstances(array $options = []) |
|
108
|
|
|
* @method ListRetcodeApps listRetcodeApps(array $options = []) |
|
109
|
|
|
* @method ListScenario listScenario(array $options = []) |
|
110
|
|
|
* @method ListSilencePolicies listSilencePolicies(array $options = []) |
|
111
|
|
|
* @method ListTraceApps listTraceApps(array $options = []) |
|
112
|
|
|
* @method ManageGetRecordingRule manageGetRecordingRule(array $options = []) |
|
113
|
|
|
* @method ManageRecordingRule manageRecordingRule(array $options = []) |
|
114
|
|
|
* @method OpenArmsDefaultSLR openArmsDefaultSLR(array $options = []) |
|
115
|
|
|
* @method OpenArmsServiceSecondVersion openArmsServiceSecondVersion(array $options = []) |
|
116
|
|
|
* @method OpenVCluster openVCluster(array $options = []) |
|
117
|
|
|
* @method OpenXtraceDefaultSLR openXtraceDefaultSLR(array $options = []) |
|
118
|
|
|
* @method QueryMetricByPage queryMetricByPage(array $options = []) |
|
119
|
|
|
* @method QueryPromInstallStatus queryPromInstallStatus(array $options = []) |
|
120
|
|
|
* @method QueryReleaseMetric queryReleaseMetric(array $options = []) |
|
121
|
|
|
* @method RemoveAliClusterIdsFromPrometheusGlobalView removeAliClusterIdsFromPrometheusGlobalView(array $options = []) |
|
122
|
|
|
* @method RemoveSourcesFromPrometheusGlobalView removeSourcesFromPrometheusGlobalView(array $options = []) |
|
123
|
|
|
* @method SaveTraceAppConfig saveTraceAppConfig(array $options = []) |
|
124
|
|
|
* @method SearchAlertContact searchAlertContact(array $options = []) |
|
125
|
|
|
* @method SearchAlertContactGroup searchAlertContactGroup(array $options = []) |
|
126
|
|
|
* @method SearchAlertHistories searchAlertHistories(array $options = []) |
|
127
|
|
|
* @method SearchAlertRules searchAlertRules(array $options = []) |
|
128
|
|
|
* @method SearchEvents searchEvents(array $options = []) |
|
129
|
|
|
* @method SearchRetcodeAppByPage searchRetcodeAppByPage(array $options = []) |
|
130
|
|
|
* @method SearchTraceAppByName searchTraceAppByName(array $options = []) |
|
131
|
|
|
* @method SearchTraceAppByPage searchTraceAppByPage(array $options = []) |
|
132
|
|
|
* @method SearchTraces searchTraces(array $options = []) |
|
133
|
|
|
* @method SearchTracesByPage searchTracesByPage(array $options = []) |
|
134
|
|
|
* @method SendTTSVerifyLink sendTTSVerifyLink(array $options = []) |
|
135
|
|
|
* @method SetRetcodeShareStatus setRetcodeShareStatus(array $options = []) |
|
136
|
|
|
* @method StartAlert startAlert(array $options = []) |
|
137
|
|
|
* @method StopAlert stopAlert(array $options = []) |
|
138
|
|
|
* @method SwitchSyntheticTaskStatus switchSyntheticTaskStatus(array $options = []) |
|
139
|
|
|
* @method SyncRecordingRules syncRecordingRules(array $options = []) |
|
140
|
|
|
* @method TurnOnSecondSwitch turnOnSecondSwitch(array $options = []) |
|
141
|
|
|
* @method UninstallManagedPrometheus uninstallManagedPrometheus(array $options = []) |
|
142
|
|
|
* @method UninstallPromCluster uninstallPromCluster(array $options = []) |
|
143
|
|
|
* @method UpdateAlertContact updateAlertContact(array $options = []) |
|
144
|
|
|
* @method UpdateAlertContactGroup updateAlertContactGroup(array $options = []) |
|
145
|
|
|
* @method UpdateAlertRule updateAlertRule(array $options = []) |
|
146
|
|
|
* @method UpdateDispatchRule updateDispatchRule(array $options = []) |
|
147
|
|
|
* @method UpdateIntegration updateIntegration(array $options = []) |
|
148
|
|
|
* @method UpdatePrometheusAlertRule updatePrometheusAlertRule(array $options = []) |
|
149
|
|
|
* @method UpdateWebhook updateWebhook(array $options = []) |
|
150
|
|
|
* @method Upload upload(array $options = []) |
|
151
|
|
|
*/ |
|
152
|
|
|
class ARMSApiResolver extends ApiResolver |
|
153
|
|
|
{ |
|
154
|
|
|
} |
|
155
|
|
|
|
|
156
|
|
|
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc |
|
157
|
|
|
{ |
|
158
|
|
|
/** @var string */ |
|
159
|
|
|
public $product = 'ARMS'; |
|
160
|
|
|
|
|
161
|
|
|
/** @var string */ |
|
162
|
|
|
public $version = '2019-08-08'; |
|
163
|
|
|
|
|
164
|
|
|
/** @var string */ |
|
165
|
|
|
public $method = 'POST'; |
|
166
|
|
|
|
|
167
|
|
|
/** @var string */ |
|
168
|
|
|
public $serviceCode = 'arms'; |
|
169
|
|
|
} |
|
170
|
|
|
|
|
171
|
|
|
/** |
|
172
|
|
|
* @method string getGlobalViewClusterId() |
|
173
|
|
|
* @method $this withGlobalViewClusterId($value) |
|
174
|
|
|
* @method string getClusterIds() |
|
175
|
|
|
* @method $this withClusterIds($value) |
|
176
|
|
|
* @method string getGroupName() |
|
177
|
|
|
* @method $this withGroupName($value) |
|
178
|
|
|
*/ |
|
179
|
|
|
class AddAliClusterIdsToPrometheusGlobalView extends Rpc |
|
180
|
|
|
{ |
|
181
|
|
|
} |
|
182
|
|
|
|
|
183
|
|
|
/** |
|
184
|
|
|
* @method string getIntegration() |
|
185
|
|
|
* @method $this withIntegration($value) |
|
186
|
|
|
* @method string getClusterId() |
|
187
|
|
|
* @method $this withClusterId($value) |
|
188
|
|
|
*/ |
|
189
|
|
|
class AddGrafana extends Rpc |
|
190
|
|
|
{ |
|
191
|
|
|
} |
|
192
|
|
|
|
|
193
|
|
|
/** |
|
194
|
|
|
* @method string getIntegration() |
|
195
|
|
|
* @method $this withIntegration($value) |
|
196
|
|
|
* @method string getClusterId() |
|
197
|
|
|
* @method $this withClusterId($value) |
|
198
|
|
|
*/ |
|
199
|
|
|
class AddIntegration extends Rpc |
|
200
|
|
|
{ |
|
201
|
|
|
} |
|
202
|
|
|
|
|
203
|
|
|
/** |
|
204
|
|
|
* @method string getGroupName() |
|
205
|
|
|
* @method $this withGroupName($value) |
|
206
|
|
|
* @method string getClusters() |
|
207
|
|
|
* @method $this withClusters($value) |
|
208
|
|
|
*/ |
|
209
|
|
|
class AddPrometheusGlobalView extends Rpc |
|
210
|
|
|
{ |
|
211
|
|
|
} |
|
212
|
|
|
|
|
213
|
|
|
/** |
|
214
|
|
|
* @method string getProductCode() |
|
215
|
|
|
* @method $this withProductCode($value) |
|
216
|
|
|
* @method string getClusterIds() |
|
217
|
|
|
* @method $this withClusterIds($value) |
|
218
|
|
|
* @method string getGroupName() |
|
219
|
|
|
* @method $this withGroupName($value) |
|
220
|
|
|
*/ |
|
221
|
|
|
class AddPrometheusGlobalViewByAliClusterIds extends Rpc |
|
222
|
|
|
{ |
|
223
|
|
|
} |
|
224
|
|
|
|
|
225
|
|
|
/** |
|
226
|
|
|
* @method string getName() |
|
227
|
|
|
* @method $this withName($value) |
|
228
|
|
|
* @method string getType() |
|
229
|
|
|
* @method $this withType($value) |
|
230
|
|
|
*/ |
|
231
|
|
|
class AddPrometheusInstance extends Rpc |
|
232
|
|
|
{ |
|
233
|
|
|
} |
|
234
|
|
|
|
|
235
|
|
|
/** |
|
236
|
|
|
* @method string getRuleYaml() |
|
237
|
|
|
* @method $this withRuleYaml($value) |
|
238
|
|
|
* @method string getClusterId() |
|
239
|
|
|
* @method $this withClusterId($value) |
|
240
|
|
|
*/ |
|
241
|
|
|
class AddRecordingRule extends Rpc |
|
242
|
|
|
{ |
|
243
|
|
|
} |
|
244
|
|
|
|
|
245
|
|
|
/** |
|
246
|
|
|
* @method string getGlobalViewClusterId() |
|
247
|
|
|
* @method $this withGlobalViewClusterId($value) |
|
248
|
|
|
* @method string getGroupName() |
|
249
|
|
|
* @method $this withGroupName($value) |
|
250
|
|
|
* @method string getClusters() |
|
251
|
|
|
* @method $this withClusters($value) |
|
252
|
|
|
*/ |
|
253
|
|
|
class AppendInstancesToPrometheusGlobalView extends Rpc |
|
254
|
|
|
{ |
|
255
|
|
|
} |
|
256
|
|
|
|
|
257
|
|
|
/** |
|
258
|
|
|
* @method string getSnForce() |
|
259
|
|
|
* @method $this withSnForce($value) |
|
260
|
|
|
* @method string getSign() |
|
261
|
|
|
* @method $this withSign($value) |
|
262
|
|
|
* @method string getSnStat() |
|
263
|
|
|
* @method $this withSnStat($value) |
|
264
|
|
|
* @method string getScenario() |
|
265
|
|
|
* @method $this withScenario($value) |
|
266
|
|
|
* @method string getSnDump() |
|
267
|
|
|
* @method $this withSnDump($value) |
|
268
|
|
|
* @method string getAppId() |
|
269
|
|
|
* @method $this withAppId($value) |
|
270
|
|
|
* @method string getName() |
|
271
|
|
|
* @method $this withName($value) |
|
272
|
|
|
* @method string getSnTransfer() |
|
273
|
|
|
* @method $this withSnTransfer($value) |
|
274
|
|
|
* @method string getUpdateOption() |
|
275
|
|
|
* @method $this withUpdateOption($value) |
|
276
|
|
|
* @method string getConfig() |
|
277
|
|
|
* @method $this withConfig($value) |
|
278
|
|
|
*/ |
|
279
|
|
|
class ApplyScenario extends Rpc |
|
280
|
|
|
{ |
|
281
|
|
|
} |
|
282
|
|
|
|
|
283
|
|
|
/** |
|
284
|
|
|
* @method string getSvcCode() |
|
285
|
|
|
* @method $this withSvcCode($value) |
|
286
|
|
|
*/ |
|
287
|
|
|
class CheckServiceStatus extends Rpc |
|
288
|
|
|
{ |
|
289
|
|
|
} |
|
290
|
|
|
|
|
291
|
|
|
/** |
|
292
|
|
|
* @method string getAppIds() |
|
293
|
|
|
* @method $this withAppIds($value) |
|
294
|
|
|
* @method string getEnable() |
|
295
|
|
|
* @method $this withEnable($value) |
|
296
|
|
|
*/ |
|
297
|
|
|
class ConfigApp extends Rpc |
|
298
|
|
|
{ |
|
299
|
|
|
} |
|
300
|
|
|
|
|
301
|
|
|
/** |
|
302
|
|
|
* @method string getPhoneNum() |
|
303
|
|
|
* @method $this withPhoneNum($value) |
|
304
|
|
|
* @method string getProxyUserId() |
|
305
|
|
|
* @method $this withProxyUserId($value) |
|
306
|
|
|
* @method string getContactName() |
|
307
|
|
|
* @method $this withContactName($value) |
|
308
|
|
|
* @method string getDingRobotWebhookUrl() |
|
309
|
|
|
* @method $this withDingRobotWebhookUrl($value) |
|
310
|
|
|
* @method string getEmail() |
|
311
|
|
|
* @method $this withEmail($value) |
|
312
|
|
|
* @method string getSystemNoc() |
|
313
|
|
|
* @method $this withSystemNoc($value) |
|
314
|
|
|
*/ |
|
315
|
|
|
class CreateAlertContact extends Rpc |
|
316
|
|
|
{ |
|
317
|
|
|
} |
|
318
|
|
|
|
|
319
|
|
|
/** |
|
320
|
|
|
* @method string getContactGroupName() |
|
321
|
|
|
* @method $this withContactGroupName($value) |
|
322
|
|
|
* @method string getProxyUserId() |
|
323
|
|
|
* @method $this withProxyUserId($value) |
|
324
|
|
|
* @method string getContactIds() |
|
325
|
|
|
* @method $this withContactIds($value) |
|
326
|
|
|
*/ |
|
327
|
|
|
class CreateAlertContactGroup extends Rpc |
|
328
|
|
|
{ |
|
329
|
|
|
} |
|
330
|
|
|
|
|
331
|
|
|
/** |
|
332
|
|
|
* @method string getDispatchRule() |
|
333
|
|
|
* @method $this withDispatchRule($value) |
|
334
|
|
|
* @method string getProxyUserId() |
|
335
|
|
|
* @method $this withProxyUserId($value) |
|
336
|
|
|
*/ |
|
337
|
|
|
class CreateDispatchRule extends Rpc |
|
338
|
|
|
{ |
|
339
|
|
|
} |
|
340
|
|
|
|
|
341
|
|
|
/** |
|
342
|
|
|
* @method string getAutoRecover() |
|
343
|
|
|
* @method string getRecoverTime() |
|
344
|
|
|
* @method string getIntegrationName() |
|
345
|
|
|
* @method string getDescription() |
|
346
|
|
|
* @method string getIntegrationProductType() |
|
347
|
|
|
*/ |
|
348
|
|
|
class CreateIntegration extends Rpc |
|
349
|
|
|
{ |
|
350
|
|
|
|
|
351
|
|
|
/** |
|
352
|
|
|
* @param string $value |
|
353
|
|
|
* |
|
354
|
|
|
* @return $this |
|
355
|
|
|
*/ |
|
356
|
|
|
public function withAutoRecover($value) |
|
357
|
|
|
{ |
|
358
|
|
|
$this->data['AutoRecover'] = $value; |
|
359
|
|
|
$this->options['form_params']['AutoRecover'] = $value; |
|
360
|
|
|
|
|
361
|
|
|
return $this; |
|
362
|
|
|
} |
|
363
|
|
|
|
|
364
|
|
|
/** |
|
365
|
|
|
* @param string $value |
|
366
|
|
|
* |
|
367
|
|
|
* @return $this |
|
368
|
|
|
*/ |
|
369
|
|
|
public function withRecoverTime($value) |
|
370
|
|
|
{ |
|
371
|
|
|
$this->data['RecoverTime'] = $value; |
|
372
|
|
|
$this->options['form_params']['RecoverTime'] = $value; |
|
373
|
|
|
|
|
374
|
|
|
return $this; |
|
375
|
|
|
} |
|
376
|
|
|
|
|
377
|
|
|
/** |
|
378
|
|
|
* @param string $value |
|
379
|
|
|
* |
|
380
|
|
|
* @return $this |
|
381
|
|
|
*/ |
|
382
|
|
|
public function withIntegrationName($value) |
|
383
|
|
|
{ |
|
384
|
|
|
$this->data['IntegrationName'] = $value; |
|
385
|
|
|
$this->options['form_params']['IntegrationName'] = $value; |
|
386
|
|
|
|
|
387
|
|
|
return $this; |
|
388
|
|
|
} |
|
389
|
|
|
|
|
390
|
|
|
/** |
|
391
|
|
|
* @param string $value |
|
392
|
|
|
* |
|
393
|
|
|
* @return $this |
|
394
|
|
|
*/ |
|
395
|
|
|
public function withDescription($value) |
|
396
|
|
|
{ |
|
397
|
|
|
$this->data['Description'] = $value; |
|
398
|
|
|
$this->options['form_params']['Description'] = $value; |
|
399
|
|
|
|
|
400
|
|
|
return $this; |
|
401
|
|
|
} |
|
402
|
|
|
|
|
403
|
|
|
/** |
|
404
|
|
|
* @param string $value |
|
405
|
|
|
* |
|
406
|
|
|
* @return $this |
|
407
|
|
|
*/ |
|
408
|
|
|
public function withIntegrationProductType($value) |
|
409
|
|
|
{ |
|
410
|
|
|
$this->data['IntegrationProductType'] = $value; |
|
411
|
|
|
$this->options['form_params']['IntegrationProductType'] = $value; |
|
412
|
|
|
|
|
413
|
|
|
return $this; |
|
414
|
|
|
} |
|
415
|
|
|
} |
|
416
|
|
|
|
|
417
|
|
|
/** |
|
418
|
|
|
* @method string getAlertGroup() |
|
419
|
|
|
* @method string getAlertName() |
|
420
|
|
|
* @method string getAlertStatus() |
|
421
|
|
|
* @method string getAnnotations() |
|
422
|
|
|
* @method string getDuration() |
|
423
|
|
|
* @method string getMetricsKey() |
|
424
|
|
|
* @method string getAlertRuleContent() |
|
425
|
|
|
* @method string getPromQL() |
|
426
|
|
|
* @method string getLevel() |
|
427
|
|
|
* @method string getAutoAddNewApplication() |
|
428
|
|
|
* @method string getFilters() |
|
429
|
|
|
* @method string getClusterId() |
|
430
|
|
|
* @method string getMessage() |
|
431
|
|
|
* @method string getNotifyStrategy() |
|
432
|
|
|
* @method string getLabels() |
|
433
|
|
|
* @method string getAlertType() |
|
434
|
|
|
* @method string getAlertCheckType() |
|
435
|
|
|
* @method string getMetricsType() |
|
436
|
|
|
* @method string getAlertId() |
|
437
|
|
|
* @method string getPids() |
|
438
|
|
|
*/ |
|
439
|
|
|
class CreateOrUpdateAlertRule extends Rpc |
|
440
|
|
|
{ |
|
441
|
|
|
|
|
442
|
|
|
/** |
|
443
|
|
|
* @param string $value |
|
444
|
|
|
* |
|
445
|
|
|
* @return $this |
|
446
|
|
|
*/ |
|
447
|
|
|
public function withAlertGroup($value) |
|
448
|
|
|
{ |
|
449
|
|
|
$this->data['AlertGroup'] = $value; |
|
450
|
|
|
$this->options['form_params']['AlertGroup'] = $value; |
|
451
|
|
|
|
|
452
|
|
|
return $this; |
|
453
|
|
|
} |
|
454
|
|
|
|
|
455
|
|
|
/** |
|
456
|
|
|
* @param string $value |
|
457
|
|
|
* |
|
458
|
|
|
* @return $this |
|
459
|
|
|
*/ |
|
460
|
|
|
public function withAlertName($value) |
|
461
|
|
|
{ |
|
462
|
|
|
$this->data['AlertName'] = $value; |
|
463
|
|
|
$this->options['form_params']['AlertName'] = $value; |
|
464
|
|
|
|
|
465
|
|
|
return $this; |
|
466
|
|
|
} |
|
467
|
|
|
|
|
468
|
|
|
/** |
|
469
|
|
|
* @param string $value |
|
470
|
|
|
* |
|
471
|
|
|
* @return $this |
|
472
|
|
|
*/ |
|
473
|
|
|
public function withAlertStatus($value) |
|
474
|
|
|
{ |
|
475
|
|
|
$this->data['AlertStatus'] = $value; |
|
476
|
|
|
$this->options['form_params']['AlertStatus'] = $value; |
|
477
|
|
|
|
|
478
|
|
|
return $this; |
|
479
|
|
|
} |
|
480
|
|
|
|
|
481
|
|
|
/** |
|
482
|
|
|
* @param string $value |
|
483
|
|
|
* |
|
484
|
|
|
* @return $this |
|
485
|
|
|
*/ |
|
486
|
|
|
public function withAnnotations($value) |
|
487
|
|
|
{ |
|
488
|
|
|
$this->data['Annotations'] = $value; |
|
489
|
|
|
$this->options['form_params']['Annotations'] = $value; |
|
490
|
|
|
|
|
491
|
|
|
return $this; |
|
492
|
|
|
} |
|
493
|
|
|
|
|
494
|
|
|
/** |
|
495
|
|
|
* @param string $value |
|
496
|
|
|
* |
|
497
|
|
|
* @return $this |
|
498
|
|
|
*/ |
|
499
|
|
|
public function withDuration($value) |
|
500
|
|
|
{ |
|
501
|
|
|
$this->data['Duration'] = $value; |
|
502
|
|
|
$this->options['form_params']['Duration'] = $value; |
|
503
|
|
|
|
|
504
|
|
|
return $this; |
|
505
|
|
|
} |
|
506
|
|
|
|
|
507
|
|
|
/** |
|
508
|
|
|
* @param string $value |
|
509
|
|
|
* |
|
510
|
|
|
* @return $this |
|
511
|
|
|
*/ |
|
512
|
|
|
public function withMetricsKey($value) |
|
513
|
|
|
{ |
|
514
|
|
|
$this->data['MetricsKey'] = $value; |
|
515
|
|
|
$this->options['form_params']['MetricsKey'] = $value; |
|
516
|
|
|
|
|
517
|
|
|
return $this; |
|
518
|
|
|
} |
|
519
|
|
|
|
|
520
|
|
|
/** |
|
521
|
|
|
* @param string $value |
|
522
|
|
|
* |
|
523
|
|
|
* @return $this |
|
524
|
|
|
*/ |
|
525
|
|
|
public function withAlertRuleContent($value) |
|
526
|
|
|
{ |
|
527
|
|
|
$this->data['AlertRuleContent'] = $value; |
|
528
|
|
|
$this->options['form_params']['AlertRuleContent'] = $value; |
|
529
|
|
|
|
|
530
|
|
|
return $this; |
|
531
|
|
|
} |
|
532
|
|
|
|
|
533
|
|
|
/** |
|
534
|
|
|
* @param string $value |
|
535
|
|
|
* |
|
536
|
|
|
* @return $this |
|
537
|
|
|
*/ |
|
538
|
|
|
public function withPromQL($value) |
|
539
|
|
|
{ |
|
540
|
|
|
$this->data['PromQL'] = $value; |
|
541
|
|
|
$this->options['form_params']['PromQL'] = $value; |
|
542
|
|
|
|
|
543
|
|
|
return $this; |
|
544
|
|
|
} |
|
545
|
|
|
|
|
546
|
|
|
/** |
|
547
|
|
|
* @param string $value |
|
548
|
|
|
* |
|
549
|
|
|
* @return $this |
|
550
|
|
|
*/ |
|
551
|
|
|
public function withLevel($value) |
|
552
|
|
|
{ |
|
553
|
|
|
$this->data['Level'] = $value; |
|
554
|
|
|
$this->options['form_params']['Level'] = $value; |
|
555
|
|
|
|
|
556
|
|
|
return $this; |
|
557
|
|
|
} |
|
558
|
|
|
|
|
559
|
|
|
/** |
|
560
|
|
|
* @param string $value |
|
561
|
|
|
* |
|
562
|
|
|
* @return $this |
|
563
|
|
|
*/ |
|
564
|
|
|
public function withAutoAddNewApplication($value) |
|
565
|
|
|
{ |
|
566
|
|
|
$this->data['AutoAddNewApplication'] = $value; |
|
567
|
|
|
$this->options['form_params']['AutoAddNewApplication'] = $value; |
|
568
|
|
|
|
|
569
|
|
|
return $this; |
|
570
|
|
|
} |
|
571
|
|
|
|
|
572
|
|
|
/** |
|
573
|
|
|
* @param string $value |
|
574
|
|
|
* |
|
575
|
|
|
* @return $this |
|
576
|
|
|
*/ |
|
577
|
|
|
public function withFilters($value) |
|
578
|
|
|
{ |
|
579
|
|
|
$this->data['Filters'] = $value; |
|
580
|
|
|
$this->options['form_params']['Filters'] = $value; |
|
581
|
|
|
|
|
582
|
|
|
return $this; |
|
583
|
|
|
} |
|
584
|
|
|
|
|
585
|
|
|
/** |
|
586
|
|
|
* @param string $value |
|
587
|
|
|
* |
|
588
|
|
|
* @return $this |
|
589
|
|
|
*/ |
|
590
|
|
|
public function withClusterId($value) |
|
591
|
|
|
{ |
|
592
|
|
|
$this->data['ClusterId'] = $value; |
|
593
|
|
|
$this->options['form_params']['ClusterId'] = $value; |
|
594
|
|
|
|
|
595
|
|
|
return $this; |
|
596
|
|
|
} |
|
597
|
|
|
|
|
598
|
|
|
/** |
|
599
|
|
|
* @param string $value |
|
600
|
|
|
* |
|
601
|
|
|
* @return $this |
|
602
|
|
|
*/ |
|
603
|
|
|
public function withMessage($value) |
|
604
|
|
|
{ |
|
605
|
|
|
$this->data['Message'] = $value; |
|
606
|
|
|
$this->options['form_params']['Message'] = $value; |
|
607
|
|
|
|
|
608
|
|
|
return $this; |
|
609
|
|
|
} |
|
610
|
|
|
|
|
611
|
|
|
/** |
|
612
|
|
|
* @param string $value |
|
613
|
|
|
* |
|
614
|
|
|
* @return $this |
|
615
|
|
|
*/ |
|
616
|
|
|
public function withNotifyStrategy($value) |
|
617
|
|
|
{ |
|
618
|
|
|
$this->data['NotifyStrategy'] = $value; |
|
619
|
|
|
$this->options['form_params']['NotifyStrategy'] = $value; |
|
620
|
|
|
|
|
621
|
|
|
return $this; |
|
622
|
|
|
} |
|
623
|
|
|
|
|
624
|
|
|
/** |
|
625
|
|
|
* @param string $value |
|
626
|
|
|
* |
|
627
|
|
|
* @return $this |
|
628
|
|
|
*/ |
|
629
|
|
|
public function withLabels($value) |
|
630
|
|
|
{ |
|
631
|
|
|
$this->data['Labels'] = $value; |
|
632
|
|
|
$this->options['form_params']['Labels'] = $value; |
|
633
|
|
|
|
|
634
|
|
|
return $this; |
|
635
|
|
|
} |
|
636
|
|
|
|
|
637
|
|
|
/** |
|
638
|
|
|
* @param string $value |
|
639
|
|
|
* |
|
640
|
|
|
* @return $this |
|
641
|
|
|
*/ |
|
642
|
|
|
public function withAlertType($value) |
|
643
|
|
|
{ |
|
644
|
|
|
$this->data['AlertType'] = $value; |
|
645
|
|
|
$this->options['form_params']['AlertType'] = $value; |
|
646
|
|
|
|
|
647
|
|
|
return $this; |
|
648
|
|
|
} |
|
649
|
|
|
|
|
650
|
|
|
/** |
|
651
|
|
|
* @param string $value |
|
652
|
|
|
* |
|
653
|
|
|
* @return $this |
|
654
|
|
|
*/ |
|
655
|
|
|
public function withAlertCheckType($value) |
|
656
|
|
|
{ |
|
657
|
|
|
$this->data['AlertCheckType'] = $value; |
|
658
|
|
|
$this->options['form_params']['AlertCheckType'] = $value; |
|
659
|
|
|
|
|
660
|
|
|
return $this; |
|
661
|
|
|
} |
|
662
|
|
|
|
|
663
|
|
|
/** |
|
664
|
|
|
* @param string $value |
|
665
|
|
|
* |
|
666
|
|
|
* @return $this |
|
667
|
|
|
*/ |
|
668
|
|
|
public function withMetricsType($value) |
|
669
|
|
|
{ |
|
670
|
|
|
$this->data['MetricsType'] = $value; |
|
671
|
|
|
$this->options['form_params']['MetricsType'] = $value; |
|
672
|
|
|
|
|
673
|
|
|
return $this; |
|
674
|
|
|
} |
|
675
|
|
|
|
|
676
|
|
|
/** |
|
677
|
|
|
* @param string $value |
|
678
|
|
|
* |
|
679
|
|
|
* @return $this |
|
680
|
|
|
*/ |
|
681
|
|
|
public function withAlertId($value) |
|
682
|
|
|
{ |
|
683
|
|
|
$this->data['AlertId'] = $value; |
|
684
|
|
|
$this->options['form_params']['AlertId'] = $value; |
|
685
|
|
|
|
|
686
|
|
|
return $this; |
|
687
|
|
|
} |
|
688
|
|
|
|
|
689
|
|
|
/** |
|
690
|
|
|
* @param string $value |
|
691
|
|
|
* |
|
692
|
|
|
* @return $this |
|
693
|
|
|
*/ |
|
694
|
|
|
public function withPids($value) |
|
695
|
|
|
{ |
|
696
|
|
|
$this->data['Pids'] = $value; |
|
697
|
|
|
$this->options['form_params']['Pids'] = $value; |
|
698
|
|
|
|
|
699
|
|
|
return $this; |
|
700
|
|
|
} |
|
701
|
|
|
} |
|
702
|
|
|
|
|
703
|
|
|
/** |
|
704
|
|
|
* @method string getContactId() |
|
705
|
|
|
* @method string getReissueSendNotice() |
|
706
|
|
|
* @method string getIsVerify() |
|
707
|
|
|
* @method string getProxyUserId() |
|
708
|
|
|
* @method string getContactName() |
|
709
|
|
|
* @method string getPhone() |
|
710
|
|
|
* @method string getEmail() |
|
711
|
|
|
*/ |
|
712
|
|
|
class CreateOrUpdateContact extends Rpc |
|
713
|
|
|
{ |
|
714
|
|
|
|
|
715
|
|
|
/** |
|
716
|
|
|
* @param string $value |
|
717
|
|
|
* |
|
718
|
|
|
* @return $this |
|
719
|
|
|
*/ |
|
720
|
|
|
public function withContactId($value) |
|
721
|
|
|
{ |
|
722
|
|
|
$this->data['ContactId'] = $value; |
|
723
|
|
|
$this->options['form_params']['ContactId'] = $value; |
|
724
|
|
|
|
|
725
|
|
|
return $this; |
|
726
|
|
|
} |
|
727
|
|
|
|
|
728
|
|
|
/** |
|
729
|
|
|
* @param string $value |
|
730
|
|
|
* |
|
731
|
|
|
* @return $this |
|
732
|
|
|
*/ |
|
733
|
|
|
public function withReissueSendNotice($value) |
|
734
|
|
|
{ |
|
735
|
|
|
$this->data['ReissueSendNotice'] = $value; |
|
736
|
|
|
$this->options['form_params']['ReissueSendNotice'] = $value; |
|
737
|
|
|
|
|
738
|
|
|
return $this; |
|
739
|
|
|
} |
|
740
|
|
|
|
|
741
|
|
|
/** |
|
742
|
|
|
* @param string $value |
|
743
|
|
|
* |
|
744
|
|
|
* @return $this |
|
745
|
|
|
*/ |
|
746
|
|
|
public function withIsVerify($value) |
|
747
|
|
|
{ |
|
748
|
|
|
$this->data['IsVerify'] = $value; |
|
749
|
|
|
$this->options['form_params']['IsVerify'] = $value; |
|
750
|
|
|
|
|
751
|
|
|
return $this; |
|
752
|
|
|
} |
|
753
|
|
|
|
|
754
|
|
|
/** |
|
755
|
|
|
* @param string $value |
|
756
|
|
|
* |
|
757
|
|
|
* @return $this |
|
758
|
|
|
*/ |
|
759
|
|
|
public function withProxyUserId($value) |
|
760
|
|
|
{ |
|
761
|
|
|
$this->data['ProxyUserId'] = $value; |
|
762
|
|
|
$this->options['form_params']['ProxyUserId'] = $value; |
|
763
|
|
|
|
|
764
|
|
|
return $this; |
|
765
|
|
|
} |
|
766
|
|
|
|
|
767
|
|
|
/** |
|
768
|
|
|
* @param string $value |
|
769
|
|
|
* |
|
770
|
|
|
* @return $this |
|
771
|
|
|
*/ |
|
772
|
|
|
public function withContactName($value) |
|
773
|
|
|
{ |
|
774
|
|
|
$this->data['ContactName'] = $value; |
|
775
|
|
|
$this->options['form_params']['ContactName'] = $value; |
|
776
|
|
|
|
|
777
|
|
|
return $this; |
|
778
|
|
|
} |
|
779
|
|
|
|
|
780
|
|
|
/** |
|
781
|
|
|
* @param string $value |
|
782
|
|
|
* |
|
783
|
|
|
* @return $this |
|
784
|
|
|
*/ |
|
785
|
|
|
public function withPhone($value) |
|
786
|
|
|
{ |
|
787
|
|
|
$this->data['Phone'] = $value; |
|
788
|
|
|
$this->options['form_params']['Phone'] = $value; |
|
789
|
|
|
|
|
790
|
|
|
return $this; |
|
791
|
|
|
} |
|
792
|
|
|
|
|
793
|
|
|
/** |
|
794
|
|
|
* @param string $value |
|
795
|
|
|
* |
|
796
|
|
|
* @return $this |
|
797
|
|
|
*/ |
|
798
|
|
|
public function withEmail($value) |
|
799
|
|
|
{ |
|
800
|
|
|
$this->data['Email'] = $value; |
|
801
|
|
|
$this->options['form_params']['Email'] = $value; |
|
802
|
|
|
|
|
803
|
|
|
return $this; |
|
804
|
|
|
} |
|
805
|
|
|
} |
|
806
|
|
|
|
|
807
|
|
|
/** |
|
808
|
|
|
* @method string getContactGroupId() |
|
809
|
|
|
* @method string getContactGroupName() |
|
810
|
|
|
* @method string getProxyUserId() |
|
811
|
|
|
* @method string getContactIds() |
|
812
|
|
|
*/ |
|
813
|
|
|
class CreateOrUpdateContactGroup extends Rpc |
|
814
|
|
|
{ |
|
815
|
|
|
|
|
816
|
|
|
/** |
|
817
|
|
|
* @param string $value |
|
818
|
|
|
* |
|
819
|
|
|
* @return $this |
|
820
|
|
|
*/ |
|
821
|
|
|
public function withContactGroupId($value) |
|
822
|
|
|
{ |
|
823
|
|
|
$this->data['ContactGroupId'] = $value; |
|
824
|
|
|
$this->options['form_params']['ContactGroupId'] = $value; |
|
825
|
|
|
|
|
826
|
|
|
return $this; |
|
827
|
|
|
} |
|
828
|
|
|
|
|
829
|
|
|
/** |
|
830
|
|
|
* @param string $value |
|
831
|
|
|
* |
|
832
|
|
|
* @return $this |
|
833
|
|
|
*/ |
|
834
|
|
|
public function withContactGroupName($value) |
|
835
|
|
|
{ |
|
836
|
|
|
$this->data['ContactGroupName'] = $value; |
|
837
|
|
|
$this->options['form_params']['ContactGroupName'] = $value; |
|
838
|
|
|
|
|
839
|
|
|
return $this; |
|
840
|
|
|
} |
|
841
|
|
|
|
|
842
|
|
|
/** |
|
843
|
|
|
* @param string $value |
|
844
|
|
|
* |
|
845
|
|
|
* @return $this |
|
846
|
|
|
*/ |
|
847
|
|
|
public function withProxyUserId($value) |
|
848
|
|
|
{ |
|
849
|
|
|
$this->data['ProxyUserId'] = $value; |
|
850
|
|
|
$this->options['form_params']['ProxyUserId'] = $value; |
|
851
|
|
|
|
|
852
|
|
|
return $this; |
|
853
|
|
|
} |
|
854
|
|
|
|
|
855
|
|
|
/** |
|
856
|
|
|
* @param string $value |
|
857
|
|
|
* |
|
858
|
|
|
* @return $this |
|
859
|
|
|
*/ |
|
860
|
|
|
public function withContactIds($value) |
|
861
|
|
|
{ |
|
862
|
|
|
$this->data['ContactIds'] = $value; |
|
863
|
|
|
$this->options['form_params']['ContactIds'] = $value; |
|
864
|
|
|
|
|
865
|
|
|
return $this; |
|
866
|
|
|
} |
|
867
|
|
|
} |
|
868
|
|
|
|
|
869
|
|
|
/** |
|
870
|
|
|
* @method string getAccessSecret() |
|
871
|
|
|
* @method string getEventBusRegionId() |
|
872
|
|
|
* @method string getDescription() |
|
873
|
|
|
* @method string getSource() |
|
874
|
|
|
* @method string getEventBusName() |
|
875
|
|
|
* @method string getEndpoint() |
|
876
|
|
|
* @method string getAccessKey() |
|
877
|
|
|
* @method string getName() |
|
878
|
|
|
* @method string getId() |
|
879
|
|
|
*/ |
|
880
|
|
|
class CreateOrUpdateEventBridgeIntegration extends Rpc |
|
881
|
|
|
{ |
|
882
|
|
|
|
|
883
|
|
|
/** |
|
884
|
|
|
* @param string $value |
|
885
|
|
|
* |
|
886
|
|
|
* @return $this |
|
887
|
|
|
*/ |
|
888
|
|
|
public function withAccessSecret($value) |
|
889
|
|
|
{ |
|
890
|
|
|
$this->data['AccessSecret'] = $value; |
|
891
|
|
|
$this->options['form_params']['AccessSecret'] = $value; |
|
892
|
|
|
|
|
893
|
|
|
return $this; |
|
894
|
|
|
} |
|
895
|
|
|
|
|
896
|
|
|
/** |
|
897
|
|
|
* @param string $value |
|
898
|
|
|
* |
|
899
|
|
|
* @return $this |
|
900
|
|
|
*/ |
|
901
|
|
|
public function withEventBusRegionId($value) |
|
902
|
|
|
{ |
|
903
|
|
|
$this->data['EventBusRegionId'] = $value; |
|
904
|
|
|
$this->options['form_params']['EventBusRegionId'] = $value; |
|
905
|
|
|
|
|
906
|
|
|
return $this; |
|
907
|
|
|
} |
|
908
|
|
|
|
|
909
|
|
|
/** |
|
910
|
|
|
* @param string $value |
|
911
|
|
|
* |
|
912
|
|
|
* @return $this |
|
913
|
|
|
*/ |
|
914
|
|
|
public function withDescription($value) |
|
915
|
|
|
{ |
|
916
|
|
|
$this->data['Description'] = $value; |
|
917
|
|
|
$this->options['form_params']['Description'] = $value; |
|
918
|
|
|
|
|
919
|
|
|
return $this; |
|
920
|
|
|
} |
|
921
|
|
|
|
|
922
|
|
|
/** |
|
923
|
|
|
* @param string $value |
|
924
|
|
|
* |
|
925
|
|
|
* @return $this |
|
926
|
|
|
*/ |
|
927
|
|
|
public function withSource($value) |
|
928
|
|
|
{ |
|
929
|
|
|
$this->data['Source'] = $value; |
|
930
|
|
|
$this->options['form_params']['Source'] = $value; |
|
931
|
|
|
|
|
932
|
|
|
return $this; |
|
933
|
|
|
} |
|
934
|
|
|
|
|
935
|
|
|
/** |
|
936
|
|
|
* @param string $value |
|
937
|
|
|
* |
|
938
|
|
|
* @return $this |
|
939
|
|
|
*/ |
|
940
|
|
|
public function withEventBusName($value) |
|
941
|
|
|
{ |
|
942
|
|
|
$this->data['EventBusName'] = $value; |
|
943
|
|
|
$this->options['form_params']['EventBusName'] = $value; |
|
944
|
|
|
|
|
945
|
|
|
return $this; |
|
946
|
|
|
} |
|
947
|
|
|
|
|
948
|
|
|
/** |
|
949
|
|
|
* @param string $value |
|
950
|
|
|
* |
|
951
|
|
|
* @return $this |
|
952
|
|
|
*/ |
|
953
|
|
|
public function withEndpoint($value) |
|
954
|
|
|
{ |
|
955
|
|
|
$this->data['Endpoint'] = $value; |
|
956
|
|
|
$this->options['form_params']['Endpoint'] = $value; |
|
957
|
|
|
|
|
958
|
|
|
return $this; |
|
959
|
|
|
} |
|
960
|
|
|
|
|
961
|
|
|
/** |
|
962
|
|
|
* @param string $value |
|
963
|
|
|
* |
|
964
|
|
|
* @return $this |
|
965
|
|
|
*/ |
|
966
|
|
|
public function withAccessKey($value) |
|
967
|
|
|
{ |
|
968
|
|
|
$this->data['AccessKey'] = $value; |
|
969
|
|
|
$this->options['form_params']['AccessKey'] = $value; |
|
970
|
|
|
|
|
971
|
|
|
return $this; |
|
972
|
|
|
} |
|
973
|
|
|
|
|
974
|
|
|
/** |
|
975
|
|
|
* @param string $value |
|
976
|
|
|
* |
|
977
|
|
|
* @return $this |
|
978
|
|
|
*/ |
|
979
|
|
|
public function withName($value) |
|
980
|
|
|
{ |
|
981
|
|
|
$this->data['Name'] = $value; |
|
982
|
|
|
$this->options['form_params']['Name'] = $value; |
|
983
|
|
|
|
|
984
|
|
|
return $this; |
|
985
|
|
|
} |
|
986
|
|
|
|
|
987
|
|
|
/** |
|
988
|
|
|
* @param string $value |
|
989
|
|
|
* |
|
990
|
|
|
* @return $this |
|
991
|
|
|
*/ |
|
992
|
|
|
public function withId($value) |
|
993
|
|
|
{ |
|
994
|
|
|
$this->data['Id'] = $value; |
|
995
|
|
|
$this->options['form_params']['Id'] = $value; |
|
996
|
|
|
|
|
997
|
|
|
return $this; |
|
998
|
|
|
} |
|
999
|
|
|
} |
|
1000
|
|
|
|
|
1001
|
|
|
/** |
|
1002
|
|
|
* @method string getDailyNoc() |
|
1003
|
|
|
* @method string getRobotAddress() |
|
1004
|
|
|
* @method string getDingSignKey() |
|
1005
|
|
|
* @method string getRobotName() |
|
1006
|
|
|
* @method string getRobotId() |
|
1007
|
|
|
* @method string getType() |
|
1008
|
|
|
* @method string getProxyUserId() |
|
1009
|
|
|
* @method string getDailyNocTime() |
|
1010
|
|
|
* @method string getToken() |
|
1011
|
|
|
* @method string getCardTemplate() |
|
1012
|
|
|
* @method string getEnableOutgoing() |
|
1013
|
|
|
*/ |
|
1014
|
|
|
class CreateOrUpdateIMRobot extends Rpc |
|
1015
|
|
|
{ |
|
1016
|
|
|
|
|
1017
|
|
|
/** |
|
1018
|
|
|
* @param string $value |
|
1019
|
|
|
* |
|
1020
|
|
|
* @return $this |
|
1021
|
|
|
*/ |
|
1022
|
|
|
public function withDailyNoc($value) |
|
1023
|
|
|
{ |
|
1024
|
|
|
$this->data['DailyNoc'] = $value; |
|
1025
|
|
|
$this->options['form_params']['DailyNoc'] = $value; |
|
1026
|
|
|
|
|
1027
|
|
|
return $this; |
|
1028
|
|
|
} |
|
1029
|
|
|
|
|
1030
|
|
|
/** |
|
1031
|
|
|
* @param string $value |
|
1032
|
|
|
* |
|
1033
|
|
|
* @return $this |
|
1034
|
|
|
*/ |
|
1035
|
|
|
public function withRobotAddress($value) |
|
1036
|
|
|
{ |
|
1037
|
|
|
$this->data['RobotAddress'] = $value; |
|
1038
|
|
|
$this->options['form_params']['RobotAddress'] = $value; |
|
1039
|
|
|
|
|
1040
|
|
|
return $this; |
|
1041
|
|
|
} |
|
1042
|
|
|
|
|
1043
|
|
|
/** |
|
1044
|
|
|
* @param string $value |
|
1045
|
|
|
* |
|
1046
|
|
|
* @return $this |
|
1047
|
|
|
*/ |
|
1048
|
|
|
public function withDingSignKey($value) |
|
1049
|
|
|
{ |
|
1050
|
|
|
$this->data['DingSignKey'] = $value; |
|
1051
|
|
|
$this->options['form_params']['DingSignKey'] = $value; |
|
1052
|
|
|
|
|
1053
|
|
|
return $this; |
|
1054
|
|
|
} |
|
1055
|
|
|
|
|
1056
|
|
|
/** |
|
1057
|
|
|
* @param string $value |
|
1058
|
|
|
* |
|
1059
|
|
|
* @return $this |
|
1060
|
|
|
*/ |
|
1061
|
|
|
public function withRobotName($value) |
|
1062
|
|
|
{ |
|
1063
|
|
|
$this->data['RobotName'] = $value; |
|
1064
|
|
|
$this->options['form_params']['RobotName'] = $value; |
|
1065
|
|
|
|
|
1066
|
|
|
return $this; |
|
1067
|
|
|
} |
|
1068
|
|
|
|
|
1069
|
|
|
/** |
|
1070
|
|
|
* @param string $value |
|
1071
|
|
|
* |
|
1072
|
|
|
* @return $this |
|
1073
|
|
|
*/ |
|
1074
|
|
|
public function withRobotId($value) |
|
1075
|
|
|
{ |
|
1076
|
|
|
$this->data['RobotId'] = $value; |
|
1077
|
|
|
$this->options['form_params']['RobotId'] = $value; |
|
1078
|
|
|
|
|
1079
|
|
|
return $this; |
|
1080
|
|
|
} |
|
1081
|
|
|
|
|
1082
|
|
|
/** |
|
1083
|
|
|
* @param string $value |
|
1084
|
|
|
* |
|
1085
|
|
|
* @return $this |
|
1086
|
|
|
*/ |
|
1087
|
|
|
public function withType($value) |
|
1088
|
|
|
{ |
|
1089
|
|
|
$this->data['Type'] = $value; |
|
1090
|
|
|
$this->options['form_params']['Type'] = $value; |
|
1091
|
|
|
|
|
1092
|
|
|
return $this; |
|
1093
|
|
|
} |
|
1094
|
|
|
|
|
1095
|
|
|
/** |
|
1096
|
|
|
* @param string $value |
|
1097
|
|
|
* |
|
1098
|
|
|
* @return $this |
|
1099
|
|
|
*/ |
|
1100
|
|
|
public function withProxyUserId($value) |
|
1101
|
|
|
{ |
|
1102
|
|
|
$this->data['ProxyUserId'] = $value; |
|
1103
|
|
|
$this->options['form_params']['ProxyUserId'] = $value; |
|
1104
|
|
|
|
|
1105
|
|
|
return $this; |
|
1106
|
|
|
} |
|
1107
|
|
|
|
|
1108
|
|
|
/** |
|
1109
|
|
|
* @param string $value |
|
1110
|
|
|
* |
|
1111
|
|
|
* @return $this |
|
1112
|
|
|
*/ |
|
1113
|
|
|
public function withDailyNocTime($value) |
|
1114
|
|
|
{ |
|
1115
|
|
|
$this->data['DailyNocTime'] = $value; |
|
1116
|
|
|
$this->options['form_params']['DailyNocTime'] = $value; |
|
1117
|
|
|
|
|
1118
|
|
|
return $this; |
|
1119
|
|
|
} |
|
1120
|
|
|
|
|
1121
|
|
|
/** |
|
1122
|
|
|
* @param string $value |
|
1123
|
|
|
* |
|
1124
|
|
|
* @return $this |
|
1125
|
|
|
*/ |
|
1126
|
|
|
public function withToken($value) |
|
1127
|
|
|
{ |
|
1128
|
|
|
$this->data['Token'] = $value; |
|
1129
|
|
|
$this->options['form_params']['Token'] = $value; |
|
1130
|
|
|
|
|
1131
|
|
|
return $this; |
|
1132
|
|
|
} |
|
1133
|
|
|
|
|
1134
|
|
|
/** |
|
1135
|
|
|
* @param string $value |
|
1136
|
|
|
* |
|
1137
|
|
|
* @return $this |
|
1138
|
|
|
*/ |
|
1139
|
|
|
public function withCardTemplate($value) |
|
1140
|
|
|
{ |
|
1141
|
|
|
$this->data['CardTemplate'] = $value; |
|
1142
|
|
|
$this->options['form_params']['CardTemplate'] = $value; |
|
1143
|
|
|
|
|
1144
|
|
|
return $this; |
|
1145
|
|
|
} |
|
1146
|
|
|
|
|
1147
|
|
|
/** |
|
1148
|
|
|
* @param string $value |
|
1149
|
|
|
* |
|
1150
|
|
|
* @return $this |
|
1151
|
|
|
*/ |
|
1152
|
|
|
public function withEnableOutgoing($value) |
|
1153
|
|
|
{ |
|
1154
|
|
|
$this->data['EnableOutgoing'] = $value; |
|
1155
|
|
|
$this->options['form_params']['EnableOutgoing'] = $value; |
|
1156
|
|
|
|
|
1157
|
|
|
return $this; |
|
1158
|
|
|
} |
|
1159
|
|
|
} |
|
1160
|
|
|
|
|
1161
|
|
|
/** |
|
1162
|
|
|
* @method string getEscalationPolicyId() |
|
1163
|
|
|
* @method string getSendRecoverMessage() |
|
1164
|
|
|
* @method string getIntegrationId() |
|
1165
|
|
|
* @method string getMatchingRules() |
|
1166
|
|
|
* @method string getGroupRule() |
|
1167
|
|
|
* @method string getRepeat() |
|
1168
|
|
|
* @method string getName() |
|
1169
|
|
|
* @method string getId() |
|
1170
|
|
|
* @method string getNotifyRule() |
|
1171
|
|
|
* @method string getNotifyTemplate() |
|
1172
|
|
|
* @method string getRepeatInterval() |
|
1173
|
|
|
*/ |
|
1174
|
|
|
class CreateOrUpdateNotificationPolicy extends Rpc |
|
1175
|
|
|
{ |
|
1176
|
|
|
|
|
1177
|
|
|
/** |
|
1178
|
|
|
* @param string $value |
|
1179
|
|
|
* |
|
1180
|
|
|
* @return $this |
|
1181
|
|
|
*/ |
|
1182
|
|
|
public function withEscalationPolicyId($value) |
|
1183
|
|
|
{ |
|
1184
|
|
|
$this->data['EscalationPolicyId'] = $value; |
|
1185
|
|
|
$this->options['form_params']['EscalationPolicyId'] = $value; |
|
1186
|
|
|
|
|
1187
|
|
|
return $this; |
|
1188
|
|
|
} |
|
1189
|
|
|
|
|
1190
|
|
|
/** |
|
1191
|
|
|
* @param string $value |
|
1192
|
|
|
* |
|
1193
|
|
|
* @return $this |
|
1194
|
|
|
*/ |
|
1195
|
|
|
public function withSendRecoverMessage($value) |
|
1196
|
|
|
{ |
|
1197
|
|
|
$this->data['SendRecoverMessage'] = $value; |
|
1198
|
|
|
$this->options['form_params']['SendRecoverMessage'] = $value; |
|
1199
|
|
|
|
|
1200
|
|
|
return $this; |
|
1201
|
|
|
} |
|
1202
|
|
|
|
|
1203
|
|
|
/** |
|
1204
|
|
|
* @param string $value |
|
1205
|
|
|
* |
|
1206
|
|
|
* @return $this |
|
1207
|
|
|
*/ |
|
1208
|
|
|
public function withIntegrationId($value) |
|
1209
|
|
|
{ |
|
1210
|
|
|
$this->data['IntegrationId'] = $value; |
|
1211
|
|
|
$this->options['form_params']['IntegrationId'] = $value; |
|
1212
|
|
|
|
|
1213
|
|
|
return $this; |
|
1214
|
|
|
} |
|
1215
|
|
|
|
|
1216
|
|
|
/** |
|
1217
|
|
|
* @param string $value |
|
1218
|
|
|
* |
|
1219
|
|
|
* @return $this |
|
1220
|
|
|
*/ |
|
1221
|
|
|
public function withMatchingRules($value) |
|
1222
|
|
|
{ |
|
1223
|
|
|
$this->data['MatchingRules'] = $value; |
|
1224
|
|
|
$this->options['form_params']['MatchingRules'] = $value; |
|
1225
|
|
|
|
|
1226
|
|
|
return $this; |
|
1227
|
|
|
} |
|
1228
|
|
|
|
|
1229
|
|
|
/** |
|
1230
|
|
|
* @param string $value |
|
1231
|
|
|
* |
|
1232
|
|
|
* @return $this |
|
1233
|
|
|
*/ |
|
1234
|
|
|
public function withGroupRule($value) |
|
1235
|
|
|
{ |
|
1236
|
|
|
$this->data['GroupRule'] = $value; |
|
1237
|
|
|
$this->options['form_params']['GroupRule'] = $value; |
|
1238
|
|
|
|
|
1239
|
|
|
return $this; |
|
1240
|
|
|
} |
|
1241
|
|
|
|
|
1242
|
|
|
/** |
|
1243
|
|
|
* @param string $value |
|
1244
|
|
|
* |
|
1245
|
|
|
* @return $this |
|
1246
|
|
|
*/ |
|
1247
|
|
|
public function withRepeat($value) |
|
1248
|
|
|
{ |
|
1249
|
|
|
$this->data['Repeat'] = $value; |
|
1250
|
|
|
$this->options['form_params']['Repeat'] = $value; |
|
1251
|
|
|
|
|
1252
|
|
|
return $this; |
|
1253
|
|
|
} |
|
1254
|
|
|
|
|
1255
|
|
|
/** |
|
1256
|
|
|
* @param string $value |
|
1257
|
|
|
* |
|
1258
|
|
|
* @return $this |
|
1259
|
|
|
*/ |
|
1260
|
|
|
public function withName($value) |
|
1261
|
|
|
{ |
|
1262
|
|
|
$this->data['Name'] = $value; |
|
1263
|
|
|
$this->options['form_params']['Name'] = $value; |
|
1264
|
|
|
|
|
1265
|
|
|
return $this; |
|
1266
|
|
|
} |
|
1267
|
|
|
|
|
1268
|
|
|
/** |
|
1269
|
|
|
* @param string $value |
|
1270
|
|
|
* |
|
1271
|
|
|
* @return $this |
|
1272
|
|
|
*/ |
|
1273
|
|
|
public function withId($value) |
|
1274
|
|
|
{ |
|
1275
|
|
|
$this->data['Id'] = $value; |
|
1276
|
|
|
$this->options['form_params']['Id'] = $value; |
|
1277
|
|
|
|
|
1278
|
|
|
return $this; |
|
1279
|
|
|
} |
|
1280
|
|
|
|
|
1281
|
|
|
/** |
|
1282
|
|
|
* @param string $value |
|
1283
|
|
|
* |
|
1284
|
|
|
* @return $this |
|
1285
|
|
|
*/ |
|
1286
|
|
|
public function withNotifyRule($value) |
|
1287
|
|
|
{ |
|
1288
|
|
|
$this->data['NotifyRule'] = $value; |
|
1289
|
|
|
$this->options['form_params']['NotifyRule'] = $value; |
|
1290
|
|
|
|
|
1291
|
|
|
return $this; |
|
1292
|
|
|
} |
|
1293
|
|
|
|
|
1294
|
|
|
/** |
|
1295
|
|
|
* @param string $value |
|
1296
|
|
|
* |
|
1297
|
|
|
* @return $this |
|
1298
|
|
|
*/ |
|
1299
|
|
|
public function withNotifyTemplate($value) |
|
1300
|
|
|
{ |
|
1301
|
|
|
$this->data['NotifyTemplate'] = $value; |
|
1302
|
|
|
$this->options['form_params']['NotifyTemplate'] = $value; |
|
1303
|
|
|
|
|
1304
|
|
|
return $this; |
|
1305
|
|
|
} |
|
1306
|
|
|
|
|
1307
|
|
|
/** |
|
1308
|
|
|
* @param string $value |
|
1309
|
|
|
* |
|
1310
|
|
|
* @return $this |
|
1311
|
|
|
*/ |
|
1312
|
|
|
public function withRepeatInterval($value) |
|
1313
|
|
|
{ |
|
1314
|
|
|
$this->data['RepeatInterval'] = $value; |
|
1315
|
|
|
$this->options['form_params']['RepeatInterval'] = $value; |
|
1316
|
|
|
|
|
1317
|
|
|
return $this; |
|
1318
|
|
|
} |
|
1319
|
|
|
} |
|
1320
|
|
|
|
|
1321
|
|
|
/** |
|
1322
|
|
|
* @method string getName() |
|
1323
|
|
|
* @method string getId() |
|
1324
|
|
|
* @method string getMatchingRules() |
|
1325
|
|
|
*/ |
|
1326
|
|
|
class CreateOrUpdateSilencePolicy extends Rpc |
|
1327
|
|
|
{ |
|
1328
|
|
|
|
|
1329
|
|
|
/** |
|
1330
|
|
|
* @param string $value |
|
1331
|
|
|
* |
|
1332
|
|
|
* @return $this |
|
1333
|
|
|
*/ |
|
1334
|
|
|
public function withName($value) |
|
1335
|
|
|
{ |
|
1336
|
|
|
$this->data['Name'] = $value; |
|
1337
|
|
|
$this->options['form_params']['Name'] = $value; |
|
1338
|
|
|
|
|
1339
|
|
|
return $this; |
|
1340
|
|
|
} |
|
1341
|
|
|
|
|
1342
|
|
|
/** |
|
1343
|
|
|
* @param string $value |
|
1344
|
|
|
* |
|
1345
|
|
|
* @return $this |
|
1346
|
|
|
*/ |
|
1347
|
|
|
public function withId($value) |
|
1348
|
|
|
{ |
|
1349
|
|
|
$this->data['Id'] = $value; |
|
1350
|
|
|
$this->options['form_params']['Id'] = $value; |
|
1351
|
|
|
|
|
1352
|
|
|
return $this; |
|
1353
|
|
|
} |
|
1354
|
|
|
|
|
1355
|
|
|
/** |
|
1356
|
|
|
* @param string $value |
|
1357
|
|
|
* |
|
1358
|
|
|
* @return $this |
|
1359
|
|
|
*/ |
|
1360
|
|
|
public function withMatchingRules($value) |
|
1361
|
|
|
{ |
|
1362
|
|
|
$this->data['MatchingRules'] = $value; |
|
1363
|
|
|
$this->options['form_params']['MatchingRules'] = $value; |
|
1364
|
|
|
|
|
1365
|
|
|
return $this; |
|
1366
|
|
|
} |
|
1367
|
|
|
} |
|
1368
|
|
|
|
|
1369
|
|
|
/** |
|
1370
|
|
|
* @method string getWebhookId() |
|
1371
|
|
|
* @method string getMethod() |
|
1372
|
|
|
* @method string getWebhookName() |
|
1373
|
|
|
* @method string getBizParams() |
|
1374
|
|
|
* @method string getBody() |
|
1375
|
|
|
* @method string getProxyUserId() |
|
1376
|
|
|
* @method string getUrl() |
|
1377
|
|
|
* @method string getBizHeaders() |
|
1378
|
|
|
* @method string getRecoverBody() |
|
1379
|
|
|
*/ |
|
1380
|
|
|
class CreateOrUpdateWebhookContact extends Rpc |
|
1381
|
|
|
{ |
|
1382
|
|
|
|
|
1383
|
|
|
/** |
|
1384
|
|
|
* @param string $value |
|
1385
|
|
|
* |
|
1386
|
|
|
* @return $this |
|
1387
|
|
|
*/ |
|
1388
|
|
|
public function withWebhookId($value) |
|
1389
|
|
|
{ |
|
1390
|
|
|
$this->data['WebhookId'] = $value; |
|
1391
|
|
|
$this->options['form_params']['WebhookId'] = $value; |
|
1392
|
|
|
|
|
1393
|
|
|
return $this; |
|
1394
|
|
|
} |
|
1395
|
|
|
|
|
1396
|
|
|
/** |
|
1397
|
|
|
* @param string $value |
|
1398
|
|
|
* |
|
1399
|
|
|
* @return $this |
|
1400
|
|
|
*/ |
|
1401
|
|
|
public function withMethod($value) |
|
1402
|
|
|
{ |
|
1403
|
|
|
$this->data['Method'] = $value; |
|
1404
|
|
|
$this->options['form_params']['Method'] = $value; |
|
1405
|
|
|
|
|
1406
|
|
|
return $this; |
|
1407
|
|
|
} |
|
1408
|
|
|
|
|
1409
|
|
|
/** |
|
1410
|
|
|
* @param string $value |
|
1411
|
|
|
* |
|
1412
|
|
|
* @return $this |
|
1413
|
|
|
*/ |
|
1414
|
|
|
public function withWebhookName($value) |
|
1415
|
|
|
{ |
|
1416
|
|
|
$this->data['WebhookName'] = $value; |
|
1417
|
|
|
$this->options['form_params']['WebhookName'] = $value; |
|
1418
|
|
|
|
|
1419
|
|
|
return $this; |
|
1420
|
|
|
} |
|
1421
|
|
|
|
|
1422
|
|
|
/** |
|
1423
|
|
|
* @param string $value |
|
1424
|
|
|
* |
|
1425
|
|
|
* @return $this |
|
1426
|
|
|
*/ |
|
1427
|
|
|
public function withBizParams($value) |
|
1428
|
|
|
{ |
|
1429
|
|
|
$this->data['BizParams'] = $value; |
|
1430
|
|
|
$this->options['form_params']['BizParams'] = $value; |
|
1431
|
|
|
|
|
1432
|
|
|
return $this; |
|
1433
|
|
|
} |
|
1434
|
|
|
|
|
1435
|
|
|
/** |
|
1436
|
|
|
* @param string $value |
|
1437
|
|
|
* |
|
1438
|
|
|
* @return $this |
|
1439
|
|
|
*/ |
|
1440
|
|
|
public function withBody($value) |
|
1441
|
|
|
{ |
|
1442
|
|
|
$this->data['Body'] = $value; |
|
1443
|
|
|
$this->options['form_params']['Body'] = $value; |
|
1444
|
|
|
|
|
1445
|
|
|
return $this; |
|
1446
|
|
|
} |
|
1447
|
|
|
|
|
1448
|
|
|
/** |
|
1449
|
|
|
* @param string $value |
|
1450
|
|
|
* |
|
1451
|
|
|
* @return $this |
|
1452
|
|
|
*/ |
|
1453
|
|
|
public function withProxyUserId($value) |
|
1454
|
|
|
{ |
|
1455
|
|
|
$this->data['ProxyUserId'] = $value; |
|
1456
|
|
|
$this->options['form_params']['ProxyUserId'] = $value; |
|
1457
|
|
|
|
|
1458
|
|
|
return $this; |
|
1459
|
|
|
} |
|
1460
|
|
|
|
|
1461
|
|
|
/** |
|
1462
|
|
|
* @param string $value |
|
1463
|
|
|
* |
|
1464
|
|
|
* @return $this |
|
1465
|
|
|
*/ |
|
1466
|
|
|
public function withUrl($value) |
|
1467
|
|
|
{ |
|
1468
|
|
|
$this->data['Url'] = $value; |
|
1469
|
|
|
$this->options['form_params']['Url'] = $value; |
|
1470
|
|
|
|
|
1471
|
|
|
return $this; |
|
1472
|
|
|
} |
|
1473
|
|
|
|
|
1474
|
|
|
/** |
|
1475
|
|
|
* @param string $value |
|
1476
|
|
|
* |
|
1477
|
|
|
* @return $this |
|
1478
|
|
|
*/ |
|
1479
|
|
|
public function withBizHeaders($value) |
|
1480
|
|
|
{ |
|
1481
|
|
|
$this->data['BizHeaders'] = $value; |
|
1482
|
|
|
$this->options['form_params']['BizHeaders'] = $value; |
|
1483
|
|
|
|
|
1484
|
|
|
return $this; |
|
1485
|
|
|
} |
|
1486
|
|
|
|
|
1487
|
|
|
/** |
|
1488
|
|
|
* @param string $value |
|
1489
|
|
|
* |
|
1490
|
|
|
* @return $this |
|
1491
|
|
|
*/ |
|
1492
|
|
|
public function withRecoverBody($value) |
|
1493
|
|
|
{ |
|
1494
|
|
|
$this->data['RecoverBody'] = $value; |
|
1495
|
|
|
$this->options['form_params']['RecoverBody'] = $value; |
|
1496
|
|
|
|
|
1497
|
|
|
return $this; |
|
1498
|
|
|
} |
|
1499
|
|
|
} |
|
1500
|
|
|
|
|
1501
|
|
|
/** |
|
1502
|
|
|
* @method string getProductCode() |
|
1503
|
|
|
* @method $this withProductCode($value) |
|
1504
|
|
|
* @method string getExpression() |
|
1505
|
|
|
* @method $this withExpression($value) |
|
1506
|
|
|
* @method string getAlertName() |
|
1507
|
|
|
* @method $this withAlertName($value) |
|
1508
|
|
|
* @method string getAnnotations() |
|
1509
|
|
|
* @method $this withAnnotations($value) |
|
1510
|
|
|
* @method string getClusterId() |
|
1511
|
|
|
* @method $this withClusterId($value) |
|
1512
|
|
|
* @method string getDispatchRuleId() |
|
1513
|
|
|
* @method $this withDispatchRuleId($value) |
|
1514
|
|
|
* @method string getProxyUserId() |
|
1515
|
|
|
* @method $this withProxyUserId($value) |
|
1516
|
|
|
* @method string getType() |
|
1517
|
|
|
* @method $this withType($value) |
|
1518
|
|
|
* @method string getMessage() |
|
1519
|
|
|
* @method $this withMessage($value) |
|
1520
|
|
|
* @method string getLabels() |
|
1521
|
|
|
* @method $this withLabels($value) |
|
1522
|
|
|
* @method string getDuration() |
|
1523
|
|
|
* @method $this withDuration($value) |
|
1524
|
|
|
* @method string getNotifyType() |
|
1525
|
|
|
* @method $this withNotifyType($value) |
|
1526
|
|
|
*/ |
|
1527
|
|
|
class CreatePrometheusAlertRule extends Rpc |
|
1528
|
|
|
{ |
|
1529
|
|
|
} |
|
1530
|
|
|
|
|
1531
|
|
|
/** |
|
1532
|
|
|
* @method string getRetcodeAppName() |
|
1533
|
|
|
* @method $this withRetcodeAppName($value) |
|
1534
|
|
|
* @method string getRetcodeAppType() |
|
1535
|
|
|
* @method $this withRetcodeAppType($value) |
|
1536
|
|
|
*/ |
|
1537
|
|
|
class CreateRetcodeApp extends Rpc |
|
1538
|
|
|
{ |
|
1539
|
|
|
} |
|
1540
|
|
|
|
|
1541
|
|
|
/** |
|
1542
|
|
|
* @method string getTaskType() |
|
1543
|
|
|
* @method $this withTaskType($value) |
|
1544
|
|
|
* @method string getIntervalType() |
|
1545
|
|
|
* @method $this withIntervalType($value) |
|
1546
|
|
|
* @method string getUpdateTask() |
|
1547
|
|
|
* @method $this withUpdateTask($value) |
|
1548
|
|
|
* @method string getTaskName() |
|
1549
|
|
|
* @method $this withTaskName($value) |
|
1550
|
|
|
* @method string getMonitorList() |
|
1551
|
|
|
* @method $this withMonitorList($value) |
|
1552
|
|
|
* @method string getIpType() |
|
1553
|
|
|
* @method $this withIpType($value) |
|
1554
|
|
|
* @method string getUrl() |
|
1555
|
|
|
* @method $this withUrl($value) |
|
1556
|
|
|
* @method string getIntervalTime() |
|
1557
|
|
|
* @method $this withIntervalTime($value) |
|
1558
|
|
|
* @method string getCommonParam() |
|
1559
|
|
|
* @method $this withCommonParam($value) |
|
1560
|
|
|
* @method string getExtendInterval() |
|
1561
|
|
|
* @method $this withExtendInterval($value) |
|
1562
|
|
|
* @method string getNavigation() |
|
1563
|
|
|
* @method $this withNavigation($value) |
|
1564
|
|
|
* @method string getDownload() |
|
1565
|
|
|
* @method $this withDownload($value) |
|
1566
|
|
|
* @method string getProtocol() |
|
1567
|
|
|
* @method $this withProtocol($value) |
|
1568
|
|
|
* @method string getNet() |
|
1569
|
|
|
* @method $this withNet($value) |
|
1570
|
|
|
*/ |
|
1571
|
|
|
class CreateSyntheticTask extends Rpc |
|
1572
|
|
|
{ |
|
1573
|
|
|
} |
|
1574
|
|
|
|
|
1575
|
|
|
/** |
|
1576
|
|
|
* @method string getHttpHeaders() |
|
1577
|
|
|
* @method $this withHttpHeaders($value) |
|
1578
|
|
|
* @method string getMethod() |
|
1579
|
|
|
* @method $this withMethod($value) |
|
1580
|
|
|
* @method string getHttpParams() |
|
1581
|
|
|
* @method $this withHttpParams($value) |
|
1582
|
|
|
* @method string getProxyUserId() |
|
1583
|
|
|
* @method $this withProxyUserId($value) |
|
1584
|
|
|
* @method string getBody() |
|
1585
|
|
|
* @method $this withBody($value) |
|
1586
|
|
|
* @method string getUrl() |
|
1587
|
|
|
* @method $this withUrl($value) |
|
1588
|
|
|
* @method string getContactName() |
|
1589
|
|
|
* @method $this withContactName($value) |
|
1590
|
|
|
* @method string getRecoverBody() |
|
1591
|
|
|
* @method $this withRecoverBody($value) |
|
1592
|
|
|
*/ |
|
1593
|
|
|
class CreateWebhook extends Rpc |
|
1594
|
|
|
{ |
|
1595
|
|
|
} |
|
1596
|
|
|
|
|
1597
|
|
|
/** |
|
1598
|
|
|
* @method string getClusterId() |
|
1599
|
|
|
* @method $this withClusterId($value) |
|
1600
|
|
|
*/ |
|
1601
|
|
|
class DelAuthToken extends Rpc |
|
1602
|
|
|
{ |
|
1603
|
|
|
} |
|
1604
|
|
|
|
|
1605
|
|
|
/** |
|
1606
|
|
|
* @method string getContactId() |
|
1607
|
|
|
* @method $this withContactId($value) |
|
1608
|
|
|
* @method string getProxyUserId() |
|
1609
|
|
|
* @method $this withProxyUserId($value) |
|
1610
|
|
|
*/ |
|
1611
|
|
|
class DeleteAlertContact extends Rpc |
|
1612
|
|
|
{ |
|
1613
|
|
|
} |
|
1614
|
|
|
|
|
1615
|
|
|
/** |
|
1616
|
|
|
* @method string getContactGroupId() |
|
1617
|
|
|
* @method $this withContactGroupId($value) |
|
1618
|
|
|
* @method string getProxyUserId() |
|
1619
|
|
|
* @method $this withProxyUserId($value) |
|
1620
|
|
|
*/ |
|
1621
|
|
|
class DeleteAlertContactGroup extends Rpc |
|
1622
|
|
|
{ |
|
1623
|
|
|
} |
|
1624
|
|
|
|
|
1625
|
|
|
/** |
|
1626
|
|
|
* @method string getAlertId() |
|
1627
|
|
|
* @method $this withAlertId($value) |
|
1628
|
|
|
*/ |
|
1629
|
|
|
class DeleteAlertRule extends Rpc |
|
1630
|
|
|
{ |
|
1631
|
|
|
} |
|
1632
|
|
|
|
|
1633
|
|
|
/** |
|
1634
|
|
|
* @method string getAlertIds() |
|
1635
|
|
|
* @method $this withAlertIds($value) |
|
1636
|
|
|
* @method string getProxyUserId() |
|
1637
|
|
|
* @method $this withProxyUserId($value) |
|
1638
|
|
|
*/ |
|
1639
|
|
|
class DeleteAlertRules extends Rpc |
|
1640
|
|
|
{ |
|
1641
|
|
|
} |
|
1642
|
|
|
|
|
1643
|
|
|
/** |
|
1644
|
|
|
* @method string getClusterId() |
|
1645
|
|
|
* @method $this withClusterId($value) |
|
1646
|
|
|
*/ |
|
1647
|
|
|
class DeleteCmsExporter extends Rpc |
|
1648
|
|
|
{ |
|
1649
|
|
|
} |
|
1650
|
|
|
|
|
1651
|
|
|
/** |
|
1652
|
|
|
* @method string getContactId() |
|
1653
|
|
|
* @method $this withContactId($value) |
|
1654
|
|
|
*/ |
|
1655
|
|
|
class DeleteContact extends Rpc |
|
1656
|
|
|
{ |
|
1657
|
|
|
} |
|
1658
|
|
|
|
|
1659
|
|
|
/** |
|
1660
|
|
|
* @method string getContactGroupId() |
|
1661
|
|
|
* @method $this withContactGroupId($value) |
|
1662
|
|
|
*/ |
|
1663
|
|
|
class DeleteContactGroup extends Rpc |
|
1664
|
|
|
{ |
|
1665
|
|
|
} |
|
1666
|
|
|
|
|
1667
|
|
|
/** |
|
1668
|
|
|
* @method string getId() |
|
1669
|
|
|
* @method $this withId($value) |
|
1670
|
|
|
* @method string getProxyUserId() |
|
1671
|
|
|
* @method $this withProxyUserId($value) |
|
1672
|
|
|
*/ |
|
1673
|
|
|
class DeleteDispatchRule extends Rpc |
|
1674
|
|
|
{ |
|
1675
|
|
|
} |
|
1676
|
|
|
|
|
1677
|
|
|
/** |
|
1678
|
|
|
* @method string getId() |
|
1679
|
|
|
*/ |
|
1680
|
|
|
class DeleteEventBridgeIntegration extends Rpc |
|
1681
|
|
|
{ |
|
1682
|
|
|
|
|
1683
|
|
|
/** |
|
1684
|
|
|
* @param string $value |
|
1685
|
|
|
* |
|
1686
|
|
|
* @return $this |
|
1687
|
|
|
*/ |
|
1688
|
|
|
public function withId($value) |
|
1689
|
|
|
{ |
|
1690
|
|
|
$this->data['Id'] = $value; |
|
1691
|
|
|
$this->options['form_params']['Id'] = $value; |
|
1692
|
|
|
|
|
1693
|
|
|
return $this; |
|
1694
|
|
|
} |
|
1695
|
|
|
} |
|
1696
|
|
|
|
|
1697
|
|
|
/** |
|
1698
|
|
|
* @method string getClusterName() |
|
1699
|
|
|
* @method string getClusterId() |
|
1700
|
|
|
*/ |
|
1701
|
|
|
class DeleteGrafanaResource extends Rpc |
|
1702
|
|
|
{ |
|
1703
|
|
|
|
|
1704
|
|
|
/** |
|
1705
|
|
|
* @param string $value |
|
1706
|
|
|
* |
|
1707
|
|
|
* @return $this |
|
1708
|
|
|
*/ |
|
1709
|
|
|
public function withClusterName($value) |
|
1710
|
|
|
{ |
|
1711
|
|
|
$this->data['ClusterName'] = $value; |
|
1712
|
|
|
$this->options['form_params']['ClusterName'] = $value; |
|
1713
|
|
|
|
|
1714
|
|
|
return $this; |
|
1715
|
|
|
} |
|
1716
|
|
|
|
|
1717
|
|
|
/** |
|
1718
|
|
|
* @param string $value |
|
1719
|
|
|
* |
|
1720
|
|
|
* @return $this |
|
1721
|
|
|
*/ |
|
1722
|
|
|
public function withClusterId($value) |
|
1723
|
|
|
{ |
|
1724
|
|
|
$this->data['ClusterId'] = $value; |
|
1725
|
|
|
$this->options['form_params']['ClusterId'] = $value; |
|
1726
|
|
|
|
|
1727
|
|
|
return $this; |
|
1728
|
|
|
} |
|
1729
|
|
|
} |
|
1730
|
|
|
|
|
1731
|
|
|
/** |
|
1732
|
|
|
* @method string getRobotId() |
|
1733
|
|
|
* @method $this withRobotId($value) |
|
1734
|
|
|
*/ |
|
1735
|
|
|
class DeleteIMRobot extends Rpc |
|
1736
|
|
|
{ |
|
1737
|
|
|
} |
|
1738
|
|
|
|
|
1739
|
|
|
/** |
|
1740
|
|
|
* @method string getIntegration() |
|
1741
|
|
|
* @method $this withIntegration($value) |
|
1742
|
|
|
* @method string getClusterId() |
|
1743
|
|
|
* @method $this withClusterId($value) |
|
1744
|
|
|
*/ |
|
1745
|
|
|
class DeleteIntegration extends Rpc |
|
1746
|
|
|
{ |
|
1747
|
|
|
} |
|
1748
|
|
|
|
|
1749
|
|
|
/** |
|
1750
|
|
|
* @method string getIntegrationId() |
|
1751
|
|
|
* @method $this withIntegrationId($value) |
|
1752
|
|
|
*/ |
|
1753
|
|
|
class DeleteIntegrations extends Rpc |
|
1754
|
|
|
{ |
|
1755
|
|
|
|
|
1756
|
|
|
/** @var string */ |
|
1757
|
|
|
public $method = 'GET'; |
|
1758
|
|
|
} |
|
1759
|
|
|
|
|
1760
|
|
|
/** |
|
1761
|
|
|
* @method string getId() |
|
1762
|
|
|
* @method $this withId($value) |
|
1763
|
|
|
*/ |
|
1764
|
|
|
class DeleteNotificationPolicy extends Rpc |
|
1765
|
|
|
{ |
|
1766
|
|
|
} |
|
1767
|
|
|
|
|
1768
|
|
|
/** |
|
1769
|
|
|
* @method string getAlertId() |
|
1770
|
|
|
* @method $this withAlertId($value) |
|
1771
|
|
|
*/ |
|
1772
|
|
|
class DeletePrometheusAlertRule extends Rpc |
|
1773
|
|
|
{ |
|
1774
|
|
|
} |
|
1775
|
|
|
|
|
1776
|
|
|
/** |
|
1777
|
|
|
* @method string getGlobalViewClusterId() |
|
1778
|
|
|
* @method $this withGlobalViewClusterId($value) |
|
1779
|
|
|
*/ |
|
1780
|
|
|
class DeletePrometheusGlobalView extends Rpc |
|
1781
|
|
|
{ |
|
1782
|
|
|
} |
|
1783
|
|
|
|
|
1784
|
|
|
/** |
|
1785
|
|
|
* @method string getAppId() |
|
1786
|
|
|
* @method $this withAppId($value) |
|
1787
|
|
|
*/ |
|
1788
|
|
|
class DeleteRetcodeApp extends Rpc |
|
1789
|
|
|
{ |
|
1790
|
|
|
} |
|
1791
|
|
|
|
|
1792
|
|
|
/** |
|
1793
|
|
|
* @method string getScenarioId() |
|
1794
|
|
|
* @method $this withScenarioId($value) |
|
1795
|
|
|
*/ |
|
1796
|
|
|
class DeleteScenario extends Rpc |
|
1797
|
|
|
{ |
|
1798
|
|
|
} |
|
1799
|
|
|
|
|
1800
|
|
|
/** |
|
1801
|
|
|
* @method string getId() |
|
1802
|
|
|
* @method $this withId($value) |
|
1803
|
|
|
*/ |
|
1804
|
|
|
class DeleteSilencePolicy extends Rpc |
|
1805
|
|
|
{ |
|
1806
|
|
|
} |
|
1807
|
|
|
|
|
1808
|
|
|
/** |
|
1809
|
|
|
* @method string getFidList() |
|
1810
|
|
|
* @method $this withFidList($value) |
|
1811
|
|
|
* @method string getPid() |
|
1812
|
|
|
* @method $this withPid($value) |
|
1813
|
|
|
*/ |
|
1814
|
|
|
class DeleteSourceMap extends Rpc |
|
1815
|
|
|
{ |
|
1816
|
|
|
} |
|
1817
|
|
|
|
|
1818
|
|
|
/** |
|
1819
|
|
|
* @method array getTaskIds() |
|
1820
|
|
|
*/ |
|
1821
|
|
|
class DeleteSyntheticTask extends Rpc |
|
1822
|
|
|
{ |
|
1823
|
|
|
|
|
1824
|
|
|
/** |
|
1825
|
|
|
* @param array $taskIds |
|
1826
|
|
|
* |
|
1827
|
|
|
* @return $this |
|
1828
|
|
|
*/ |
|
1829
|
|
|
public function withTaskIds(array $taskIds) |
|
1830
|
|
|
{ |
|
1831
|
|
|
$this->data['TaskIds'] = $taskIds; |
|
1832
|
|
|
foreach ($taskIds as $i => $iValue) { |
|
1833
|
|
|
$this->options['query']['TaskIds.' . ($i + 1)] = $iValue; |
|
1834
|
|
|
} |
|
1835
|
|
|
|
|
1836
|
|
|
return $this; |
|
1837
|
|
|
} |
|
1838
|
|
|
} |
|
1839
|
|
|
|
|
1840
|
|
|
/** |
|
1841
|
|
|
* @method string getAppId() |
|
1842
|
|
|
* @method $this withAppId($value) |
|
1843
|
|
|
* @method string getPid() |
|
1844
|
|
|
* @method $this withPid($value) |
|
1845
|
|
|
* @method string getType() |
|
1846
|
|
|
* @method $this withType($value) |
|
1847
|
|
|
*/ |
|
1848
|
|
|
class DeleteTraceApp extends Rpc |
|
1849
|
|
|
{ |
|
1850
|
|
|
} |
|
1851
|
|
|
|
|
1852
|
|
|
/** |
|
1853
|
|
|
* @method string getWebhookId() |
|
1854
|
|
|
* @method $this withWebhookId($value) |
|
1855
|
|
|
*/ |
|
1856
|
|
|
class DeleteWebhookContact extends Rpc |
|
1857
|
|
|
{ |
|
1858
|
|
|
} |
|
1859
|
|
|
|
|
1860
|
|
|
/** |
|
1861
|
|
|
* @method string getSize() |
|
1862
|
|
|
* @method $this withSize($value) |
|
1863
|
|
|
* @method string getIsDetail() |
|
1864
|
|
|
* @method $this withIsDetail($value) |
|
1865
|
|
|
* @method string getPage() |
|
1866
|
|
|
* @method $this withPage($value) |
|
1867
|
|
|
* @method string getContactGroupName() |
|
1868
|
|
|
* @method $this withContactGroupName($value) |
|
1869
|
|
|
*/ |
|
1870
|
|
|
class DescribeContactGroups extends Rpc |
|
1871
|
|
|
{ |
|
1872
|
|
|
} |
|
1873
|
|
|
|
|
1874
|
|
|
/** |
|
1875
|
|
|
* @method string getContactName() |
|
1876
|
|
|
* @method $this withContactName($value) |
|
1877
|
|
|
* @method string getSize() |
|
1878
|
|
|
* @method $this withSize($value) |
|
1879
|
|
|
* @method string getPhone() |
|
1880
|
|
|
* @method $this withPhone($value) |
|
1881
|
|
|
* @method string getPage() |
|
1882
|
|
|
* @method $this withPage($value) |
|
1883
|
|
|
* @method string getEmail() |
|
1884
|
|
|
* @method $this withEmail($value) |
|
1885
|
|
|
*/ |
|
1886
|
|
|
class DescribeContacts extends Rpc |
|
1887
|
|
|
{ |
|
1888
|
|
|
} |
|
1889
|
|
|
|
|
1890
|
|
|
/** |
|
1891
|
|
|
* @method string getId() |
|
1892
|
|
|
* @method $this withId($value) |
|
1893
|
|
|
* @method string getProxyUserId() |
|
1894
|
|
|
* @method $this withProxyUserId($value) |
|
1895
|
|
|
*/ |
|
1896
|
|
|
class DescribeDispatchRule extends Rpc |
|
1897
|
|
|
{ |
|
1898
|
|
|
} |
|
1899
|
|
|
|
|
1900
|
|
|
/** |
|
1901
|
|
|
* @method string getSize() |
|
1902
|
|
|
* @method $this withSize($value) |
|
1903
|
|
|
* @method string getRobotName() |
|
1904
|
|
|
* @method $this withRobotName($value) |
|
1905
|
|
|
* @method string getPage() |
|
1906
|
|
|
* @method $this withPage($value) |
|
1907
|
|
|
*/ |
|
1908
|
|
|
class DescribeIMRobots extends Rpc |
|
1909
|
|
|
{ |
|
1910
|
|
|
} |
|
1911
|
|
|
|
|
1912
|
|
|
/** |
|
1913
|
|
|
* @method string getAlertId() |
|
1914
|
|
|
* @method $this withAlertId($value) |
|
1915
|
|
|
*/ |
|
1916
|
|
|
class DescribePrometheusAlertRule extends Rpc |
|
1917
|
|
|
{ |
|
1918
|
|
|
} |
|
1919
|
|
|
|
|
1920
|
|
|
class DescribeTraceLicenseKey extends Rpc |
|
1921
|
|
|
{ |
|
1922
|
|
|
} |
|
1923
|
|
|
|
|
1924
|
|
|
/** |
|
1925
|
|
|
* @method string getSize() |
|
1926
|
|
|
* @method $this withSize($value) |
|
1927
|
|
|
* @method string getWebhookName() |
|
1928
|
|
|
* @method $this withWebhookName($value) |
|
1929
|
|
|
* @method string getPage() |
|
1930
|
|
|
* @method $this withPage($value) |
|
1931
|
|
|
*/ |
|
1932
|
|
|
class DescribeWebhookContacts extends Rpc |
|
1933
|
|
|
{ |
|
1934
|
|
|
|
|
1935
|
|
|
/** @var string */ |
|
1936
|
|
|
public $method = 'GET'; |
|
1937
|
|
|
} |
|
1938
|
|
|
|
|
1939
|
|
|
class GetAgentDownloadUrl extends Rpc |
|
1940
|
|
|
{ |
|
1941
|
|
|
|
|
1942
|
|
|
/** @var string */ |
|
1943
|
|
|
public $method = 'GET'; |
|
1944
|
|
|
} |
|
1945
|
|
|
|
|
1946
|
|
|
/** |
|
1947
|
|
|
* @method string getAlertStatus() |
|
1948
|
|
|
* @method $this withAlertStatus($value) |
|
1949
|
|
|
* @method string getClusterId() |
|
1950
|
|
|
* @method $this withClusterId($value) |
|
1951
|
|
|
* @method string getAlertNames() |
|
1952
|
|
|
* @method $this withAlertNames($value) |
|
1953
|
|
|
* @method string getAlertType() |
|
1954
|
|
|
* @method $this withAlertType($value) |
|
1955
|
|
|
* @method string getSize() |
|
1956
|
|
|
* @method $this withSize($value) |
|
1957
|
|
|
* @method string getAlertIds() |
|
1958
|
|
|
* @method $this withAlertIds($value) |
|
1959
|
|
|
* @method string getPage() |
|
1960
|
|
|
* @method $this withPage($value) |
|
1961
|
|
|
*/ |
|
1962
|
|
|
class GetAlertRules extends Rpc |
|
1963
|
|
|
{ |
|
1964
|
|
|
} |
|
1965
|
|
|
|
|
1966
|
|
|
/** |
|
1967
|
|
|
* @method string getEndTime() |
|
1968
|
|
|
* @method $this withEndTime($value) |
|
1969
|
|
|
* @method string getCurrentPage() |
|
1970
|
|
|
* @method $this withCurrentPage($value) |
|
1971
|
|
|
* @method string getPId() |
|
1972
|
|
|
* @method $this withPId($value) |
|
1973
|
|
|
* @method string getStartTime() |
|
1974
|
|
|
* @method $this withStartTime($value) |
|
1975
|
|
|
* @method string getPageSize() |
|
1976
|
|
|
* @method $this withPageSize($value) |
|
1977
|
|
|
* @method string getIntervalMills() |
|
1978
|
|
|
* @method $this withIntervalMills($value) |
|
1979
|
|
|
*/ |
|
1980
|
|
|
class GetAppApiByPage extends Rpc |
|
1981
|
|
|
{ |
|
1982
|
|
|
} |
|
1983
|
|
|
|
|
1984
|
|
|
/** |
|
1985
|
|
|
* @method string getClusterId() |
|
1986
|
|
|
* @method $this withClusterId($value) |
|
1987
|
|
|
*/ |
|
1988
|
|
|
class GetAuthToken extends Rpc |
|
1989
|
|
|
{ |
|
1990
|
|
|
} |
|
1991
|
|
|
|
|
1992
|
|
|
/** |
|
1993
|
|
|
* @method string getClusterId() |
|
1994
|
|
|
* @method $this withClusterId($value) |
|
1995
|
|
|
*/ |
|
1996
|
|
|
class GetClusterAllUrl extends Rpc |
|
1997
|
|
|
{ |
|
1998
|
|
|
} |
|
1999
|
|
|
|
|
2000
|
|
|
/** |
|
2001
|
|
|
* @method string getExpression() |
|
2002
|
|
|
* @method $this withExpression($value) |
|
2003
|
|
|
* @method string getClusterId() |
|
2004
|
|
|
* @method $this withClusterId($value) |
|
2005
|
|
|
* @method string getType() |
|
2006
|
|
|
* @method $this withType($value) |
|
2007
|
|
|
*/ |
|
2008
|
|
|
class GetExploreUrl extends Rpc |
|
2009
|
|
|
{ |
|
2010
|
|
|
} |
|
2011
|
|
|
|
|
2012
|
|
|
/** |
|
2013
|
|
|
* @method string getIntegration() |
|
2014
|
|
|
* @method $this withIntegration($value) |
|
2015
|
|
|
* @method string getClusterId() |
|
2016
|
|
|
* @method $this withClusterId($value) |
|
2017
|
|
|
*/ |
|
2018
|
|
|
class GetIntegrationState extends Rpc |
|
2019
|
|
|
{ |
|
2020
|
|
|
} |
|
2021
|
|
|
|
|
2022
|
|
|
/** |
|
2023
|
|
|
* @method string getClusterType() |
|
2024
|
|
|
* @method $this withClusterType($value) |
|
2025
|
|
|
* @method string getClusterId() |
|
2026
|
|
|
* @method $this withClusterId($value) |
|
2027
|
|
|
*/ |
|
2028
|
|
|
class GetManagedPrometheusStatus extends Rpc |
|
2029
|
|
|
{ |
|
2030
|
|
|
} |
|
2031
|
|
|
|
|
2032
|
|
|
/** |
|
2033
|
|
|
* @method array getTraceIDs() |
|
2034
|
|
|
*/ |
|
2035
|
|
|
class GetMultipleTrace extends Rpc |
|
2036
|
|
|
{ |
|
2037
|
|
|
|
|
2038
|
|
|
/** |
|
2039
|
|
|
* @param array $traceIDs |
|
2040
|
|
|
* |
|
2041
|
|
|
* @return $this |
|
2042
|
|
|
*/ |
|
2043
|
|
|
public function withTraceIDs(array $traceIDs) |
|
2044
|
|
|
{ |
|
2045
|
|
|
$this->data['TraceIDs'] = $traceIDs; |
|
2046
|
|
|
foreach ($traceIDs as $i => $iValue) { |
|
2047
|
|
|
$this->options['query']['TraceIDs.' . ($i + 1)] = $iValue; |
|
2048
|
|
|
} |
|
2049
|
|
|
|
|
2050
|
|
|
return $this; |
|
2051
|
|
|
} |
|
2052
|
|
|
} |
|
2053
|
|
|
|
|
2054
|
|
|
/** |
|
2055
|
|
|
* @method string getEndTime() |
|
2056
|
|
|
* @method $this withEndTime($value) |
|
2057
|
|
|
* @method string getId() |
|
2058
|
|
|
* @method $this withId($value) |
|
2059
|
|
|
* @method string getStartTime() |
|
2060
|
|
|
* @method $this withStartTime($value) |
|
2061
|
|
|
*/ |
|
2062
|
|
|
class GetOnCallSchedulesDetail extends Rpc |
|
2063
|
|
|
{ |
|
2064
|
|
|
|
|
2065
|
|
|
/** @var string */ |
|
2066
|
|
|
public $method = 'GET'; |
|
2067
|
|
|
} |
|
2068
|
|
|
|
|
2069
|
|
|
class GetPrometheusApiToken extends Rpc |
|
2070
|
|
|
{ |
|
2071
|
|
|
} |
|
2072
|
|
|
|
|
2073
|
|
|
/** |
|
2074
|
|
|
* @method string getGlobalViewClusterId() |
|
2075
|
|
|
* @method $this withGlobalViewClusterId($value) |
|
2076
|
|
|
*/ |
|
2077
|
|
|
class GetPrometheusGlobalView extends Rpc |
|
2078
|
|
|
{ |
|
2079
|
|
|
} |
|
2080
|
|
|
|
|
2081
|
|
|
/** |
|
2082
|
|
|
* @method string getClusterId() |
|
2083
|
|
|
* @method $this withClusterId($value) |
|
2084
|
|
|
*/ |
|
2085
|
|
|
class GetRecordingRule extends Rpc |
|
2086
|
|
|
{ |
|
2087
|
|
|
} |
|
2088
|
|
|
|
|
2089
|
|
|
/** |
|
2090
|
|
|
* @method string getPid() |
|
2091
|
|
|
* @method $this withPid($value) |
|
2092
|
|
|
*/ |
|
2093
|
|
|
class GetRetcodeShareUrl extends Rpc |
|
2094
|
|
|
{ |
|
2095
|
|
|
} |
|
2096
|
|
|
|
|
2097
|
|
|
/** |
|
2098
|
|
|
* @method string getEdition() |
|
2099
|
|
|
* @method $this withEdition($value) |
|
2100
|
|
|
* @method string getVersion() |
|
2101
|
|
|
* @method $this withVersion($value) |
|
2102
|
|
|
* @method string getID() |
|
2103
|
|
|
* @method $this withID($value) |
|
2104
|
|
|
* @method string getKeyword() |
|
2105
|
|
|
* @method $this withKeyword($value) |
|
2106
|
|
|
* @method string getAscendingSequence() |
|
2107
|
|
|
* @method $this withAscendingSequence($value) |
|
2108
|
|
|
* @method string getOrderField() |
|
2109
|
|
|
* @method $this withOrderField($value) |
|
2110
|
|
|
*/ |
|
2111
|
|
|
class GetSourceMapInfo extends Rpc |
|
2112
|
|
|
{ |
|
2113
|
|
|
} |
|
2114
|
|
|
|
|
2115
|
|
|
/** |
|
2116
|
|
|
* @method string getTraceID() |
|
2117
|
|
|
* @method $this withTraceID($value) |
|
2118
|
|
|
* @method string getEndTime() |
|
2119
|
|
|
* @method $this withEndTime($value) |
|
2120
|
|
|
* @method string getRpcID() |
|
2121
|
|
|
* @method $this withRpcID($value) |
|
2122
|
|
|
* @method string getPid() |
|
2123
|
|
|
* @method $this withPid($value) |
|
2124
|
|
|
* @method string getStartTime() |
|
2125
|
|
|
* @method $this withStartTime($value) |
|
2126
|
|
|
*/ |
|
2127
|
|
|
class GetStack extends Rpc |
|
2128
|
|
|
{ |
|
2129
|
|
|
} |
|
2130
|
|
|
|
|
2131
|
|
|
/** |
|
2132
|
|
|
* @method string getTaskId() |
|
2133
|
|
|
* @method $this withTaskId($value) |
|
2134
|
|
|
*/ |
|
2135
|
|
|
class GetSyntheticTaskDetail extends Rpc |
|
2136
|
|
|
{ |
|
2137
|
|
|
} |
|
2138
|
|
|
|
|
2139
|
|
|
/** |
|
2140
|
|
|
* @method string getTaskType() |
|
2141
|
|
|
* @method $this withTaskType($value) |
|
2142
|
|
|
* @method string getTaskName() |
|
2143
|
|
|
* @method $this withTaskName($value) |
|
2144
|
|
|
* @method string getPageNum() |
|
2145
|
|
|
* @method $this withPageNum($value) |
|
2146
|
|
|
* @method string getUrl() |
|
2147
|
|
|
* @method $this withUrl($value) |
|
2148
|
|
|
* @method string getTaskStatus() |
|
2149
|
|
|
* @method $this withTaskStatus($value) |
|
2150
|
|
|
* @method string getPageSize() |
|
2151
|
|
|
* @method $this withPageSize($value) |
|
2152
|
|
|
* @method string getOrder() |
|
2153
|
|
|
* @method $this withOrder($value) |
|
2154
|
|
|
* @method string getDirection() |
|
2155
|
|
|
* @method $this withDirection($value) |
|
2156
|
|
|
*/ |
|
2157
|
|
|
class GetSyntheticTaskList extends Rpc |
|
2158
|
|
|
{ |
|
2159
|
|
|
} |
|
2160
|
|
|
|
|
2161
|
|
|
class GetSyntheticTaskMonitors extends Rpc |
|
2162
|
|
|
{ |
|
2163
|
|
|
} |
|
2164
|
|
|
|
|
2165
|
|
|
/** |
|
2166
|
|
|
* @method string getTraceID() |
|
2167
|
|
|
* @method $this withTraceID($value) |
|
2168
|
|
|
* @method string getEndTime() |
|
2169
|
|
|
* @method $this withEndTime($value) |
|
2170
|
|
|
* @method string getStartTime() |
|
2171
|
|
|
* @method $this withStartTime($value) |
|
2172
|
|
|
*/ |
|
2173
|
|
|
class GetTrace extends Rpc |
|
2174
|
|
|
{ |
|
2175
|
|
|
} |
|
2176
|
|
|
|
|
2177
|
|
|
/** |
|
2178
|
|
|
* @method string getPid() |
|
2179
|
|
|
* @method $this withPid($value) |
|
2180
|
|
|
*/ |
|
2181
|
|
|
class GetTraceApp extends Rpc |
|
2182
|
|
|
{ |
|
2183
|
|
|
} |
|
2184
|
|
|
|
|
2185
|
|
|
/** |
|
2186
|
|
|
* @method string getIsAutoStart() |
|
2187
|
|
|
* @method $this withIsAutoStart($value) |
|
2188
|
|
|
* @method string getProxyUserId() |
|
2189
|
|
|
* @method $this withProxyUserId($value) |
|
2190
|
|
|
* @method string getContactGroupIds() |
|
2191
|
|
|
* @method $this withContactGroupIds($value) |
|
2192
|
|
|
* @method string getPids() |
|
2193
|
|
|
* @method $this withPids($value) |
|
2194
|
|
|
* @method string getTemplageAlertConfig() |
|
2195
|
|
|
* @method $this withTemplageAlertConfig($value) |
|
2196
|
|
|
* @method string getTemplateAlertId() |
|
2197
|
|
|
* @method $this withTemplateAlertId($value) |
|
2198
|
|
|
*/ |
|
2199
|
|
|
class ImportAppAlertRules extends Rpc |
|
2200
|
|
|
{ |
|
2201
|
|
|
} |
|
2202
|
|
|
|
|
2203
|
|
|
/** |
|
2204
|
|
|
* @method string getClusterId() |
|
2205
|
|
|
* @method $this withClusterId($value) |
|
2206
|
|
|
* @method string getDirectArgs() |
|
2207
|
|
|
* @method $this withDirectArgs($value) |
|
2208
|
|
|
* @method string getCmsArgs() |
|
2209
|
|
|
* @method $this withCmsArgs($value) |
|
2210
|
|
|
* @method string getEnableTag() |
|
2211
|
|
|
* @method $this withEnableTag($value) |
|
2212
|
|
|
*/ |
|
2213
|
|
|
class InstallCmsExporter extends Rpc |
|
2214
|
|
|
{ |
|
2215
|
|
|
} |
|
2216
|
|
|
|
|
2217
|
|
|
/** |
|
2218
|
|
|
* @method string getSecurityGroupId() |
|
2219
|
|
|
* @method $this withSecurityGroupId($value) |
|
2220
|
|
|
* @method string getClusterId() |
|
2221
|
|
|
* @method $this withClusterId($value) |
|
2222
|
|
|
* @method string getKubeConfig() |
|
2223
|
|
|
* @method $this withKubeConfig($value) |
|
2224
|
|
|
* @method string getClusterType() |
|
2225
|
|
|
* @method $this withClusterType($value) |
|
2226
|
|
|
* @method string getVSwitchId() |
|
2227
|
|
|
* @method $this withVSwitchId($value) |
|
2228
|
|
|
* @method string getVpcId() |
|
2229
|
|
|
* @method $this withVpcId($value) |
|
2230
|
|
|
*/ |
|
2231
|
|
|
class InstallManagedPrometheus extends Rpc |
|
2232
|
|
|
{ |
|
2233
|
|
|
} |
|
2234
|
|
|
|
|
2235
|
|
|
/** |
|
2236
|
|
|
* @method string getFilter() |
|
2237
|
|
|
* @method $this withFilter($value) |
|
2238
|
|
|
* @method string getPageSize() |
|
2239
|
|
|
* @method $this withPageSize($value) |
|
2240
|
|
|
* @method string getCurrentPage() |
|
2241
|
|
|
* @method $this withCurrentPage($value) |
|
2242
|
|
|
* @method string getProxyUserId() |
|
2243
|
|
|
* @method $this withProxyUserId($value) |
|
2244
|
|
|
*/ |
|
2245
|
|
|
class ListActivatedAlerts extends Rpc |
|
2246
|
|
|
{ |
|
2247
|
|
|
} |
|
2248
|
|
|
|
|
2249
|
|
|
/** |
|
2250
|
|
|
* @method string getAlertName() |
|
2251
|
|
|
* @method $this withAlertName($value) |
|
2252
|
|
|
* @method string getEndTime() |
|
2253
|
|
|
* @method $this withEndTime($value) |
|
2254
|
|
|
* @method string getStartTime() |
|
2255
|
|
|
* @method $this withStartTime($value) |
|
2256
|
|
|
* @method string getSize() |
|
2257
|
|
|
* @method $this withSize($value) |
|
2258
|
|
|
* @method string getMatchingConditions() |
|
2259
|
|
|
* @method $this withMatchingConditions($value) |
|
2260
|
|
|
* @method string getPage() |
|
2261
|
|
|
* @method $this withPage($value) |
|
2262
|
|
|
* @method string getStatus() |
|
2263
|
|
|
* @method $this withStatus($value) |
|
2264
|
|
|
*/ |
|
2265
|
|
|
class ListAlertEvents extends Rpc |
|
2266
|
|
|
{ |
|
2267
|
|
|
} |
|
2268
|
|
|
|
|
2269
|
|
|
/** |
|
2270
|
|
|
* @method string getSeverity() |
|
2271
|
|
|
* @method $this withSeverity($value) |
|
2272
|
|
|
* @method string getIntegrationType() |
|
2273
|
|
|
* @method $this withIntegrationType($value) |
|
2274
|
|
|
* @method string getAlertName() |
|
2275
|
|
|
* @method $this withAlertName($value) |
|
2276
|
|
|
* @method string getShowActivities() |
|
2277
|
|
|
* @method $this withShowActivities($value) |
|
2278
|
|
|
* @method string getEndTime() |
|
2279
|
|
|
* @method $this withEndTime($value) |
|
2280
|
|
|
* @method string getDispatchRuleId() |
|
2281
|
|
|
* @method $this withDispatchRuleId($value) |
|
2282
|
|
|
* @method string getStartTime() |
|
2283
|
|
|
* @method $this withStartTime($value) |
|
2284
|
|
|
* @method string getShowEvents() |
|
2285
|
|
|
* @method $this withShowEvents($value) |
|
2286
|
|
|
* @method string getSize() |
|
2287
|
|
|
* @method $this withSize($value) |
|
2288
|
|
|
* @method string getState() |
|
2289
|
|
|
* @method $this withState($value) |
|
2290
|
|
|
* @method string getPage() |
|
2291
|
|
|
* @method $this withPage($value) |
|
2292
|
|
|
*/ |
|
2293
|
|
|
class ListAlerts extends Rpc |
|
2294
|
|
|
{ |
|
2295
|
|
|
} |
|
2296
|
|
|
|
|
2297
|
|
|
class ListClusterFromGrafana extends Rpc |
|
2298
|
|
|
{ |
|
2299
|
|
|
} |
|
2300
|
|
|
|
|
2301
|
|
|
/** |
|
2302
|
|
|
* @method string getTypeFilter() |
|
2303
|
|
|
* @method $this withTypeFilter($value) |
|
2304
|
|
|
* @method string getClusterId() |
|
2305
|
|
|
* @method $this withClusterId($value) |
|
2306
|
|
|
*/ |
|
2307
|
|
|
class ListCmsInstances extends Rpc |
|
2308
|
|
|
{ |
|
2309
|
|
|
} |
|
2310
|
|
|
|
|
2311
|
|
|
/** |
|
2312
|
|
|
* @method string getDashboardName() |
|
2313
|
|
|
* @method $this withDashboardName($value) |
|
2314
|
|
|
* @method string getProduct() |
|
2315
|
|
|
* @method $this withProduct($value) |
|
2316
|
|
|
* @method string getRecreateSwitch() |
|
2317
|
|
|
* @method $this withRecreateSwitch($value) |
|
2318
|
|
|
* @method string getLanguage() |
|
2319
|
|
|
* @method $this withLanguage($value) |
|
2320
|
|
|
* @method string getClusterId() |
|
2321
|
|
|
* @method $this withClusterId($value) |
|
2322
|
|
|
* @method string getProxyUserId() |
|
2323
|
|
|
* @method $this withProxyUserId($value) |
|
2324
|
|
|
* @method string getTitle() |
|
2325
|
|
|
* @method $this withTitle($value) |
|
2326
|
|
|
* @method string getClusterType() |
|
2327
|
|
|
* @method $this withClusterType($value) |
|
2328
|
|
|
*/ |
|
2329
|
|
|
class ListDashboards extends Rpc |
|
2330
|
|
|
{ |
|
2331
|
|
|
} |
|
2332
|
|
|
|
|
2333
|
|
|
/** |
|
2334
|
|
|
* @method string getDataSourceType() |
|
2335
|
|
|
* @method $this withDataSourceType($value) |
|
2336
|
|
|
* @method string getDashBoardName() |
|
2337
|
|
|
* @method $this withDashBoardName($value) |
|
2338
|
|
|
* @method string getProductCode() |
|
2339
|
|
|
* @method $this withProductCode($value) |
|
2340
|
|
|
* @method string getClusterId() |
|
2341
|
|
|
* @method $this withClusterId($value) |
|
2342
|
|
|
* @method string getOnlyQuery() |
|
2343
|
|
|
* @method $this withOnlyQuery($value) |
|
2344
|
|
|
* @method string getGroupName() |
|
2345
|
|
|
* @method $this withGroupName($value) |
|
2346
|
|
|
* @method string getClusterType() |
|
2347
|
|
|
* @method $this withClusterType($value) |
|
2348
|
|
|
* @method string getDashBoardVersion() |
|
2349
|
|
|
* @method $this withDashBoardVersion($value) |
|
2350
|
|
|
*/ |
|
2351
|
|
|
class ListDashboardsByName extends Rpc |
|
2352
|
|
|
{ |
|
2353
|
|
|
} |
|
2354
|
|
|
|
|
2355
|
|
|
/** |
|
2356
|
|
|
* @method string getSystem() |
|
2357
|
|
|
* @method $this withSystem($value) |
|
2358
|
|
|
* @method string getName() |
|
2359
|
|
|
* @method $this withName($value) |
|
2360
|
|
|
* @method string getProxyUserId() |
|
2361
|
|
|
* @method $this withProxyUserId($value) |
|
2362
|
|
|
*/ |
|
2363
|
|
|
class ListDispatchRule extends Rpc |
|
2364
|
|
|
{ |
|
2365
|
|
|
} |
|
2366
|
|
|
|
|
2367
|
|
|
/** |
|
2368
|
|
|
* @method string getSize() |
|
2369
|
|
|
* @method $this withSize($value) |
|
2370
|
|
|
* @method string getName() |
|
2371
|
|
|
* @method $this withName($value) |
|
2372
|
|
|
* @method string getPage() |
|
2373
|
|
|
* @method $this withPage($value) |
|
2374
|
|
|
*/ |
|
2375
|
|
|
class ListEscalationPolicies extends Rpc |
|
2376
|
|
|
{ |
|
2377
|
|
|
|
|
2378
|
|
|
/** @var string */ |
|
2379
|
|
|
public $method = 'GET'; |
|
2380
|
|
|
} |
|
2381
|
|
|
|
|
2382
|
|
|
/** |
|
2383
|
|
|
* @method string getSize() |
|
2384
|
|
|
* @method $this withSize($value) |
|
2385
|
|
|
* @method string getName() |
|
2386
|
|
|
* @method $this withName($value) |
|
2387
|
|
|
* @method string getPage() |
|
2388
|
|
|
* @method $this withPage($value) |
|
2389
|
|
|
*/ |
|
2390
|
|
|
class ListEventBridgeIntegrations extends Rpc |
|
2391
|
|
|
{ |
|
2392
|
|
|
|
|
2393
|
|
|
/** @var string */ |
|
2394
|
|
|
public $method = 'GET'; |
|
2395
|
|
|
} |
|
2396
|
|
|
|
|
2397
|
|
|
/** |
|
2398
|
|
|
* @method string getInsightsTypes() |
|
2399
|
|
|
* @method $this withInsightsTypes($value) |
|
2400
|
|
|
* @method string getEndTime() |
|
2401
|
|
|
* @method $this withEndTime($value) |
|
2402
|
|
|
* @method string getPid() |
|
2403
|
|
|
* @method $this withPid($value) |
|
2404
|
|
|
* @method string getStartTime() |
|
2405
|
|
|
* @method $this withStartTime($value) |
|
2406
|
|
|
*/ |
|
2407
|
|
|
class ListInsightsEvents extends Rpc |
|
2408
|
|
|
{ |
|
2409
|
|
|
} |
|
2410
|
|
|
|
|
2411
|
|
|
/** |
|
2412
|
|
|
* @method string getSize() |
|
2413
|
|
|
* @method $this withSize($value) |
|
2414
|
|
|
* @method string getIntegrationName() |
|
2415
|
|
|
* @method $this withIntegrationName($value) |
|
2416
|
|
|
* @method string getIsDetail() |
|
2417
|
|
|
* @method $this withIsDetail($value) |
|
2418
|
|
|
* @method string getPage() |
|
2419
|
|
|
* @method $this withPage($value) |
|
2420
|
|
|
* @method string getIntegrationProductType() |
|
2421
|
|
|
* @method $this withIntegrationProductType($value) |
|
2422
|
|
|
*/ |
|
2423
|
|
|
class ListIntegration extends Rpc |
|
2424
|
|
|
{ |
|
2425
|
|
|
|
|
2426
|
|
|
/** @var string */ |
|
2427
|
|
|
public $method = 'GET'; |
|
2428
|
|
|
} |
|
2429
|
|
|
|
|
2430
|
|
|
/** |
|
2431
|
|
|
* @method string getSize() |
|
2432
|
|
|
* @method $this withSize($value) |
|
2433
|
|
|
* @method string getName() |
|
2434
|
|
|
* @method $this withName($value) |
|
2435
|
|
|
* @method string getIsDetail() |
|
2436
|
|
|
* @method $this withIsDetail($value) |
|
2437
|
|
|
* @method string getPage() |
|
2438
|
|
|
* @method $this withPage($value) |
|
2439
|
|
|
*/ |
|
2440
|
|
|
class ListNotificationPolicies extends Rpc |
|
2441
|
|
|
{ |
|
2442
|
|
|
} |
|
2443
|
|
|
|
|
2444
|
|
|
/** |
|
2445
|
|
|
* @method string getSize() |
|
2446
|
|
|
* @method $this withSize($value) |
|
2447
|
|
|
* @method string getName() |
|
2448
|
|
|
* @method $this withName($value) |
|
2449
|
|
|
* @method string getPage() |
|
2450
|
|
|
* @method $this withPage($value) |
|
2451
|
|
|
*/ |
|
2452
|
|
|
class ListOnCallSchedules extends Rpc |
|
2453
|
|
|
{ |
|
2454
|
|
|
|
|
2455
|
|
|
/** @var string */ |
|
2456
|
|
|
public $method = 'GET'; |
|
2457
|
|
|
} |
|
2458
|
|
|
|
|
2459
|
|
|
/** |
|
2460
|
|
|
* @method string getClusterId() |
|
2461
|
|
|
* @method $this withClusterId($value) |
|
2462
|
|
|
* @method string getProxyUserId() |
|
2463
|
|
|
* @method $this withProxyUserId($value) |
|
2464
|
|
|
* @method string getType() |
|
2465
|
|
|
* @method $this withType($value) |
|
2466
|
|
|
* @method string getName() |
|
2467
|
|
|
* @method $this withName($value) |
|
2468
|
|
|
* @method string getMatchExpressions() |
|
2469
|
|
|
* @method $this withMatchExpressions($value) |
|
2470
|
|
|
* @method string getStatus() |
|
2471
|
|
|
* @method $this withStatus($value) |
|
2472
|
|
|
*/ |
|
2473
|
|
|
class ListPrometheusAlertRules extends Rpc |
|
2474
|
|
|
{ |
|
2475
|
|
|
} |
|
2476
|
|
|
|
|
2477
|
|
|
/** |
|
2478
|
|
|
* @method string getProductCode() |
|
2479
|
|
|
* @method $this withProductCode($value) |
|
2480
|
|
|
* @method string getClusterId() |
|
2481
|
|
|
* @method $this withClusterId($value) |
|
2482
|
|
|
* @method string getProxyUserId() |
|
2483
|
|
|
* @method $this withProxyUserId($value) |
|
2484
|
|
|
*/ |
|
2485
|
|
|
class ListPrometheusAlertTemplates extends Rpc |
|
2486
|
|
|
{ |
|
2487
|
|
|
} |
|
2488
|
|
|
|
|
2489
|
|
|
class ListPrometheusGlobalView extends Rpc |
|
2490
|
|
|
{ |
|
2491
|
|
|
} |
|
2492
|
|
|
|
|
2493
|
|
|
/** |
|
2494
|
|
|
* @method string getShowGlobalView() |
|
2495
|
|
|
* @method $this withShowGlobalView($value) |
|
2496
|
|
|
*/ |
|
2497
|
|
|
class ListPrometheusInstances extends Rpc |
|
2498
|
|
|
{ |
|
2499
|
|
|
} |
|
2500
|
|
|
|
|
2501
|
|
|
/** |
|
2502
|
|
|
* @method string getSecurityToken() |
|
2503
|
|
|
* @method $this withSecurityToken($value) |
|
2504
|
|
|
*/ |
|
2505
|
|
|
class ListRetcodeApps extends Rpc |
|
2506
|
|
|
{ |
|
2507
|
|
|
} |
|
2508
|
|
|
|
|
2509
|
|
|
/** |
|
2510
|
|
|
* @method string getScenario() |
|
2511
|
|
|
* @method $this withScenario($value) |
|
2512
|
|
|
* @method string getAppId() |
|
2513
|
|
|
* @method $this withAppId($value) |
|
2514
|
|
|
* @method string getName() |
|
2515
|
|
|
* @method $this withName($value) |
|
2516
|
|
|
* @method string getSign() |
|
2517
|
|
|
* @method $this withSign($value) |
|
2518
|
|
|
*/ |
|
2519
|
|
|
class ListScenario extends Rpc |
|
2520
|
|
|
{ |
|
2521
|
|
|
} |
|
2522
|
|
|
|
|
2523
|
|
|
/** |
|
2524
|
|
|
* @method string getSize() |
|
2525
|
|
|
* @method $this withSize($value) |
|
2526
|
|
|
* @method string getName() |
|
2527
|
|
|
* @method $this withName($value) |
|
2528
|
|
|
* @method string getIsDetail() |
|
2529
|
|
|
* @method $this withIsDetail($value) |
|
2530
|
|
|
* @method string getPage() |
|
2531
|
|
|
* @method $this withPage($value) |
|
2532
|
|
|
*/ |
|
2533
|
|
|
class ListSilencePolicies extends Rpc |
|
2534
|
|
|
{ |
|
2535
|
|
|
} |
|
2536
|
|
|
|
|
2537
|
|
|
class ListTraceApps extends Rpc |
|
2538
|
|
|
{ |
|
2539
|
|
|
} |
|
2540
|
|
|
|
|
2541
|
|
|
/** |
|
2542
|
|
|
* @method string getQueryUserId() |
|
2543
|
|
|
* @method $this withQueryUserId($value) |
|
2544
|
|
|
* @method string getClusterId() |
|
2545
|
|
|
* @method $this withClusterId($value) |
|
2546
|
|
|
*/ |
|
2547
|
|
|
class ManageGetRecordingRule extends Rpc |
|
2548
|
|
|
{ |
|
2549
|
|
|
} |
|
2550
|
|
|
|
|
2551
|
|
|
/** |
|
2552
|
|
|
* @method string getRuleYaml() |
|
2553
|
|
|
* @method $this withRuleYaml($value) |
|
2554
|
|
|
* @method string getQueryUserId() |
|
2555
|
|
|
* @method $this withQueryUserId($value) |
|
2556
|
|
|
* @method string getClusterId() |
|
2557
|
|
|
* @method $this withClusterId($value) |
|
2558
|
|
|
*/ |
|
2559
|
|
|
class ManageRecordingRule extends Rpc |
|
2560
|
|
|
{ |
|
2561
|
|
|
} |
|
2562
|
|
|
|
|
2563
|
|
|
class OpenArmsDefaultSLR extends Rpc |
|
2564
|
|
|
{ |
|
2565
|
|
|
} |
|
2566
|
|
|
|
|
2567
|
|
|
/** |
|
2568
|
|
|
* @method string getType() |
|
2569
|
|
|
* @method $this withType($value) |
|
2570
|
|
|
*/ |
|
2571
|
|
|
class OpenArmsServiceSecondVersion extends Rpc |
|
2572
|
|
|
{ |
|
2573
|
|
|
} |
|
2574
|
|
|
|
|
2575
|
|
|
/** |
|
2576
|
|
|
* @method string getClusterType() |
|
2577
|
|
|
* @method $this withClusterType($value) |
|
2578
|
|
|
* @method string getProduct() |
|
2579
|
|
|
* @method $this withProduct($value) |
|
2580
|
|
|
* @method string getRecreateSwitch() |
|
2581
|
|
|
* @method $this withRecreateSwitch($value) |
|
2582
|
|
|
* @method string getLength() |
|
2583
|
|
|
* @method $this withLength($value) |
|
2584
|
|
|
*/ |
|
2585
|
|
|
class OpenVCluster extends Rpc |
|
2586
|
|
|
{ |
|
2587
|
|
|
} |
|
2588
|
|
|
|
|
2589
|
|
|
class OpenXtraceDefaultSLR extends Rpc |
|
2590
|
|
|
{ |
|
2591
|
|
|
} |
|
2592
|
|
|
|
|
2593
|
|
|
/** |
|
2594
|
|
|
* @method string getConsistencyQueryStrategy() |
|
2595
|
|
|
* @method $this withConsistencyQueryStrategy($value) |
|
2596
|
|
|
* @method string getEndTime() |
|
2597
|
|
|
* @method $this withEndTime($value) |
|
2598
|
|
|
* @method string getOrderBy() |
|
2599
|
|
|
* @method $this withOrderBy($value) |
|
2600
|
|
|
* @method string getCurrentPage() |
|
2601
|
|
|
* @method $this withCurrentPage($value) |
|
2602
|
|
|
* @method string getStartTime() |
|
2603
|
|
|
* @method $this withStartTime($value) |
|
2604
|
|
|
* @method string getConsistencyDataKey() |
|
2605
|
|
|
* @method $this withConsistencyDataKey($value) |
|
2606
|
|
|
* @method array getFilters() |
|
2607
|
|
|
* @method string getProxyUserId() |
|
2608
|
|
|
* @method $this withProxyUserId($value) |
|
2609
|
|
|
* @method array getMeasures() |
|
2610
|
|
|
* @method string getIntervalInSec() |
|
2611
|
|
|
* @method $this withIntervalInSec($value) |
|
2612
|
|
|
* @method string getMetric() |
|
2613
|
|
|
* @method $this withMetric($value) |
|
2614
|
|
|
* @method array getCustomFilters() |
|
2615
|
|
|
* @method string getPageSize() |
|
2616
|
|
|
* @method $this withPageSize($value) |
|
2617
|
|
|
* @method string getOrder() |
|
2618
|
|
|
* @method $this withOrder($value) |
|
2619
|
|
|
* @method array getDimensions() |
|
2620
|
|
|
*/ |
|
2621
|
|
|
class QueryMetricByPage extends Rpc |
|
2622
|
|
|
{ |
|
2623
|
|
|
|
|
2624
|
|
|
/** |
|
2625
|
|
|
* @param array $filters |
|
2626
|
|
|
* |
|
2627
|
|
|
* @return $this |
|
2628
|
|
|
*/ |
|
2629
|
|
|
public function withFilters(array $filters) |
|
2630
|
|
|
{ |
|
2631
|
|
|
$this->data['Filters'] = $filters; |
|
2632
|
|
|
foreach ($filters as $depth1 => $depth1Value) { |
|
2633
|
|
|
if(isset($depth1Value['Value'])){ |
|
2634
|
|
|
$this->options['query']['Filters.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
2635
|
|
|
} |
|
2636
|
|
|
if(isset($depth1Value['Key'])){ |
|
2637
|
|
|
$this->options['query']['Filters.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
2638
|
|
|
} |
|
2639
|
|
|
} |
|
2640
|
|
|
|
|
2641
|
|
|
return $this; |
|
2642
|
|
|
} |
|
2643
|
|
|
|
|
2644
|
|
|
/** |
|
2645
|
|
|
* @param array $measures |
|
2646
|
|
|
* |
|
2647
|
|
|
* @return $this |
|
2648
|
|
|
*/ |
|
2649
|
|
|
public function withMeasures(array $measures) |
|
2650
|
|
|
{ |
|
2651
|
|
|
$this->data['Measures'] = $measures; |
|
2652
|
|
|
foreach ($measures as $i => $iValue) { |
|
2653
|
|
|
$this->options['query']['Measures.' . ($i + 1)] = $iValue; |
|
2654
|
|
|
} |
|
2655
|
|
|
|
|
2656
|
|
|
return $this; |
|
2657
|
|
|
} |
|
2658
|
|
|
|
|
2659
|
|
|
/** |
|
2660
|
|
|
* @param array $customFilters |
|
2661
|
|
|
* |
|
2662
|
|
|
* @return $this |
|
2663
|
|
|
*/ |
|
2664
|
|
|
public function withCustomFilters(array $customFilters) |
|
2665
|
|
|
{ |
|
2666
|
|
|
$this->data['CustomFilters'] = $customFilters; |
|
2667
|
|
|
foreach ($customFilters as $i => $iValue) { |
|
2668
|
|
|
$this->options['query']['CustomFilters.' . ($i + 1)] = $iValue; |
|
2669
|
|
|
} |
|
2670
|
|
|
|
|
2671
|
|
|
return $this; |
|
2672
|
|
|
} |
|
2673
|
|
|
|
|
2674
|
|
|
/** |
|
2675
|
|
|
* @param array $dimensions |
|
2676
|
|
|
* |
|
2677
|
|
|
* @return $this |
|
2678
|
|
|
*/ |
|
2679
|
|
|
public function withDimensions(array $dimensions) |
|
2680
|
|
|
{ |
|
2681
|
|
|
$this->data['Dimensions'] = $dimensions; |
|
2682
|
|
|
foreach ($dimensions as $i => $iValue) { |
|
2683
|
|
|
$this->options['query']['Dimensions.' . ($i + 1)] = $iValue; |
|
2684
|
|
|
} |
|
2685
|
|
|
|
|
2686
|
|
|
return $this; |
|
2687
|
|
|
} |
|
2688
|
|
|
} |
|
2689
|
|
|
|
|
2690
|
|
|
/** |
|
2691
|
|
|
* @method string getClusterId() |
|
2692
|
|
|
* @method $this withClusterId($value) |
|
2693
|
|
|
*/ |
|
2694
|
|
|
class QueryPromInstallStatus extends Rpc |
|
2695
|
|
|
{ |
|
2696
|
|
|
} |
|
2697
|
|
|
|
|
2698
|
|
|
/** |
|
2699
|
|
|
* @method string getChangeOrderId() |
|
2700
|
|
|
* @method $this withChangeOrderId($value) |
|
2701
|
|
|
* @method string getMetricType() |
|
2702
|
|
|
* @method $this withMetricType($value) |
|
2703
|
|
|
* @method string getCreateTime() |
|
2704
|
|
|
* @method $this withCreateTime($value) |
|
2705
|
|
|
* @method string getPid() |
|
2706
|
|
|
* @method $this withPid($value) |
|
2707
|
|
|
* @method string getProxyUserId() |
|
2708
|
|
|
* @method $this withProxyUserId($value) |
|
2709
|
|
|
* @method string getReleaseEndTime() |
|
2710
|
|
|
* @method $this withReleaseEndTime($value) |
|
2711
|
|
|
* @method string getService() |
|
2712
|
|
|
* @method $this withService($value) |
|
2713
|
|
|
* @method string getReleaseStartTime() |
|
2714
|
|
|
* @method $this withReleaseStartTime($value) |
|
2715
|
|
|
*/ |
|
2716
|
|
|
class QueryReleaseMetric extends Rpc |
|
2717
|
|
|
{ |
|
2718
|
|
|
} |
|
2719
|
|
|
|
|
2720
|
|
|
/** |
|
2721
|
|
|
* @method string getGlobalViewClusterId() |
|
2722
|
|
|
* @method $this withGlobalViewClusterId($value) |
|
2723
|
|
|
* @method string getClusterIds() |
|
2724
|
|
|
* @method $this withClusterIds($value) |
|
2725
|
|
|
* @method string getGroupName() |
|
2726
|
|
|
* @method $this withGroupName($value) |
|
2727
|
|
|
*/ |
|
2728
|
|
|
class RemoveAliClusterIdsFromPrometheusGlobalView extends Rpc |
|
2729
|
|
|
{ |
|
2730
|
|
|
} |
|
2731
|
|
|
|
|
2732
|
|
|
/** |
|
2733
|
|
|
* @method string getSourceNames() |
|
2734
|
|
|
* @method $this withSourceNames($value) |
|
2735
|
|
|
* @method string getGlobalViewClusterId() |
|
2736
|
|
|
* @method $this withGlobalViewClusterId($value) |
|
2737
|
|
|
* @method string getGroupName() |
|
2738
|
|
|
* @method $this withGroupName($value) |
|
2739
|
|
|
*/ |
|
2740
|
|
|
class RemoveSourcesFromPrometheusGlobalView extends Rpc |
|
2741
|
|
|
{ |
|
2742
|
|
|
} |
|
2743
|
|
|
|
|
2744
|
|
|
/** |
|
2745
|
|
|
* @method array getSettings() |
|
2746
|
|
|
* @method string getPid() |
|
2747
|
|
|
* @method $this withPid($value) |
|
2748
|
|
|
*/ |
|
2749
|
|
|
class SaveTraceAppConfig extends Rpc |
|
2750
|
|
|
{ |
|
2751
|
|
|
|
|
2752
|
|
|
/** |
|
2753
|
|
|
* @param array $settings |
|
2754
|
|
|
* |
|
2755
|
|
|
* @return $this |
|
2756
|
|
|
*/ |
|
2757
|
|
|
public function withSettings(array $settings) |
|
2758
|
|
|
{ |
|
2759
|
|
|
$this->data['Settings'] = $settings; |
|
2760
|
|
|
foreach ($settings as $depth1 => $depth1Value) { |
|
2761
|
|
|
if(isset($depth1Value['Value'])){ |
|
2762
|
|
|
$this->options['query']['Settings.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
2763
|
|
|
} |
|
2764
|
|
|
if(isset($depth1Value['Key'])){ |
|
2765
|
|
|
$this->options['query']['Settings.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
2766
|
|
|
} |
|
2767
|
|
|
} |
|
2768
|
|
|
|
|
2769
|
|
|
return $this; |
|
2770
|
|
|
} |
|
2771
|
|
|
} |
|
2772
|
|
|
|
|
2773
|
|
|
/** |
|
2774
|
|
|
* @method string getCurrentPage() |
|
2775
|
|
|
* @method $this withCurrentPage($value) |
|
2776
|
|
|
* @method string getProxyUserId() |
|
2777
|
|
|
* @method $this withProxyUserId($value) |
|
2778
|
|
|
* @method string getContactIds() |
|
2779
|
|
|
* @method $this withContactIds($value) |
|
2780
|
|
|
* @method string getContactName() |
|
2781
|
|
|
* @method $this withContactName($value) |
|
2782
|
|
|
* @method string getPhone() |
|
2783
|
|
|
* @method $this withPhone($value) |
|
2784
|
|
|
* @method string getPageSize() |
|
2785
|
|
|
* @method $this withPageSize($value) |
|
2786
|
|
|
* @method string getEmail() |
|
2787
|
|
|
* @method $this withEmail($value) |
|
2788
|
|
|
*/ |
|
2789
|
|
|
class SearchAlertContact extends Rpc |
|
2790
|
|
|
{ |
|
2791
|
|
|
} |
|
2792
|
|
|
|
|
2793
|
|
|
/** |
|
2794
|
|
|
* @method string getContactId() |
|
2795
|
|
|
* @method $this withContactId($value) |
|
2796
|
|
|
* @method string getIsDetail() |
|
2797
|
|
|
* @method $this withIsDetail($value) |
|
2798
|
|
|
* @method string getContactGroupName() |
|
2799
|
|
|
* @method $this withContactGroupName($value) |
|
2800
|
|
|
* @method string getProxyUserId() |
|
2801
|
|
|
* @method $this withProxyUserId($value) |
|
2802
|
|
|
* @method string getContactName() |
|
2803
|
|
|
* @method $this withContactName($value) |
|
2804
|
|
|
* @method string getContactGroupIds() |
|
2805
|
|
|
* @method $this withContactGroupIds($value) |
|
2806
|
|
|
*/ |
|
2807
|
|
|
class SearchAlertContactGroup extends Rpc |
|
2808
|
|
|
{ |
|
2809
|
|
|
} |
|
2810
|
|
|
|
|
2811
|
|
|
/** |
|
2812
|
|
|
* @method string getEndTime() |
|
2813
|
|
|
* @method $this withEndTime($value) |
|
2814
|
|
|
* @method string getCurrentPage() |
|
2815
|
|
|
* @method $this withCurrentPage($value) |
|
2816
|
|
|
* @method string getStartTime() |
|
2817
|
|
|
* @method $this withStartTime($value) |
|
2818
|
|
|
* @method string getProxyUserId() |
|
2819
|
|
|
* @method $this withProxyUserId($value) |
|
2820
|
|
|
* @method string getAlertType() |
|
2821
|
|
|
* @method $this withAlertType($value) |
|
2822
|
|
|
* @method string getPageSize() |
|
2823
|
|
|
* @method $this withPageSize($value) |
|
2824
|
|
|
* @method string getAlertId() |
|
2825
|
|
|
* @method $this withAlertId($value) |
|
2826
|
|
|
*/ |
|
2827
|
|
|
class SearchAlertHistories extends Rpc |
|
2828
|
|
|
{ |
|
2829
|
|
|
} |
|
2830
|
|
|
|
|
2831
|
|
|
/** |
|
2832
|
|
|
* @method string getAppType() |
|
2833
|
|
|
* @method $this withAppType($value) |
|
2834
|
|
|
* @method string getCurrentPage() |
|
2835
|
|
|
* @method $this withCurrentPage($value) |
|
2836
|
|
|
* @method string getPid() |
|
2837
|
|
|
* @method $this withPid($value) |
|
2838
|
|
|
* @method string getSystemRegionId() |
|
2839
|
|
|
* @method $this withSystemRegionId($value) |
|
2840
|
|
|
* @method string getProxyUserId() |
|
2841
|
|
|
* @method $this withProxyUserId($value) |
|
2842
|
|
|
* @method string getTitle() |
|
2843
|
|
|
* @method $this withTitle($value) |
|
2844
|
|
|
* @method string getType() |
|
2845
|
|
|
* @method $this withType($value) |
|
2846
|
|
|
* @method string getPageSize() |
|
2847
|
|
|
* @method $this withPageSize($value) |
|
2848
|
|
|
*/ |
|
2849
|
|
|
class SearchAlertRules extends Rpc |
|
2850
|
|
|
{ |
|
2851
|
|
|
} |
|
2852
|
|
|
|
|
2853
|
|
|
/** |
|
2854
|
|
|
* @method string getIsTrigger() |
|
2855
|
|
|
* @method $this withIsTrigger($value) |
|
2856
|
|
|
* @method string getAppType() |
|
2857
|
|
|
* @method $this withAppType($value) |
|
2858
|
|
|
* @method string getEndTime() |
|
2859
|
|
|
* @method $this withEndTime($value) |
|
2860
|
|
|
* @method string getPid() |
|
2861
|
|
|
* @method $this withPid($value) |
|
2862
|
|
|
* @method string getCurrentPage() |
|
2863
|
|
|
* @method $this withCurrentPage($value) |
|
2864
|
|
|
* @method string getStartTime() |
|
2865
|
|
|
* @method $this withStartTime($value) |
|
2866
|
|
|
* @method string getProxyUserId() |
|
2867
|
|
|
* @method $this withProxyUserId($value) |
|
2868
|
|
|
* @method string getAlertType() |
|
2869
|
|
|
* @method $this withAlertType($value) |
|
2870
|
|
|
* @method string getPageSize() |
|
2871
|
|
|
* @method $this withPageSize($value) |
|
2872
|
|
|
* @method string getAlertId() |
|
2873
|
|
|
* @method $this withAlertId($value) |
|
2874
|
|
|
*/ |
|
2875
|
|
|
class SearchEvents extends Rpc |
|
2876
|
|
|
{ |
|
2877
|
|
|
} |
|
2878
|
|
|
|
|
2879
|
|
|
/** |
|
2880
|
|
|
* @method string getRetcodeAppName() |
|
2881
|
|
|
* @method $this withRetcodeAppName($value) |
|
2882
|
|
|
* @method string getPageSize() |
|
2883
|
|
|
* @method $this withPageSize($value) |
|
2884
|
|
|
* @method string getPageNumber() |
|
2885
|
|
|
* @method $this withPageNumber($value) |
|
2886
|
|
|
*/ |
|
2887
|
|
|
class SearchRetcodeAppByPage extends Rpc |
|
2888
|
|
|
{ |
|
2889
|
|
|
} |
|
2890
|
|
|
|
|
2891
|
|
|
/** |
|
2892
|
|
|
* @method string getTraceAppName() |
|
2893
|
|
|
* @method $this withTraceAppName($value) |
|
2894
|
|
|
*/ |
|
2895
|
|
|
class SearchTraceAppByName extends Rpc |
|
2896
|
|
|
{ |
|
2897
|
|
|
} |
|
2898
|
|
|
|
|
2899
|
|
|
/** |
|
2900
|
|
|
* @method string getTraceAppName() |
|
2901
|
|
|
* @method $this withTraceAppName($value) |
|
2902
|
|
|
* @method string getPageSize() |
|
2903
|
|
|
* @method $this withPageSize($value) |
|
2904
|
|
|
* @method string getPageNumber() |
|
2905
|
|
|
* @method $this withPageNumber($value) |
|
2906
|
|
|
*/ |
|
2907
|
|
|
class SearchTraceAppByPage extends Rpc |
|
2908
|
|
|
{ |
|
2909
|
|
|
} |
|
2910
|
|
|
|
|
2911
|
|
|
/** |
|
2912
|
|
|
* @method string getEndTime() |
|
2913
|
|
|
* @method $this withEndTime($value) |
|
2914
|
|
|
* @method string getPid() |
|
2915
|
|
|
* @method $this withPid($value) |
|
2916
|
|
|
* @method string getStartTime() |
|
2917
|
|
|
* @method $this withStartTime($value) |
|
2918
|
|
|
* @method string getReverse() |
|
2919
|
|
|
* @method $this withReverse($value) |
|
2920
|
|
|
* @method string getMinDuration() |
|
2921
|
|
|
* @method $this withMinDuration($value) |
|
2922
|
|
|
* @method string getServiceIp() |
|
2923
|
|
|
* @method $this withServiceIp($value) |
|
2924
|
|
|
* @method array getExclusionFilters() |
|
2925
|
|
|
* @method string getOperationName() |
|
2926
|
|
|
* @method $this withOperationName($value) |
|
2927
|
|
|
* @method string getServiceName() |
|
2928
|
|
|
* @method $this withServiceName($value) |
|
2929
|
|
|
* @method array getTag() |
|
2930
|
|
|
*/ |
|
2931
|
|
|
class SearchTraces extends Rpc |
|
2932
|
|
|
{ |
|
2933
|
|
|
|
|
2934
|
|
|
/** |
|
2935
|
|
|
* @param array $exclusionFilters |
|
2936
|
|
|
* |
|
2937
|
|
|
* @return $this |
|
2938
|
|
|
*/ |
|
2939
|
|
|
public function withExclusionFilters(array $exclusionFilters) |
|
2940
|
|
|
{ |
|
2941
|
|
|
$this->data['ExclusionFilters'] = $exclusionFilters; |
|
2942
|
|
|
foreach ($exclusionFilters as $depth1 => $depth1Value) { |
|
2943
|
|
|
if(isset($depth1Value['Value'])){ |
|
2944
|
|
|
$this->options['query']['ExclusionFilters.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
2945
|
|
|
} |
|
2946
|
|
|
if(isset($depth1Value['Key'])){ |
|
2947
|
|
|
$this->options['query']['ExclusionFilters.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
2948
|
|
|
} |
|
2949
|
|
|
} |
|
2950
|
|
|
|
|
2951
|
|
|
return $this; |
|
2952
|
|
|
} |
|
2953
|
|
|
|
|
2954
|
|
|
/** |
|
2955
|
|
|
* @param array $tag |
|
2956
|
|
|
* |
|
2957
|
|
|
* @return $this |
|
2958
|
|
|
*/ |
|
2959
|
|
|
public function withTag(array $tag) |
|
2960
|
|
|
{ |
|
2961
|
|
|
$this->data['Tag'] = $tag; |
|
2962
|
|
|
foreach ($tag as $depth1 => $depth1Value) { |
|
2963
|
|
|
if(isset($depth1Value['Value'])){ |
|
2964
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
2965
|
|
|
} |
|
2966
|
|
|
if(isset($depth1Value['Key'])){ |
|
2967
|
|
|
$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
2968
|
|
|
} |
|
2969
|
|
|
} |
|
2970
|
|
|
|
|
2971
|
|
|
return $this; |
|
2972
|
|
|
} |
|
2973
|
|
|
} |
|
2974
|
|
|
|
|
2975
|
|
|
/** |
|
2976
|
|
|
* @method string getEndTime() |
|
2977
|
|
|
* @method $this withEndTime($value) |
|
2978
|
|
|
* @method string getPid() |
|
2979
|
|
|
* @method $this withPid($value) |
|
2980
|
|
|
* @method string getStartTime() |
|
2981
|
|
|
* @method $this withStartTime($value) |
|
2982
|
|
|
* @method string getReverse() |
|
2983
|
|
|
* @method $this withReverse($value) |
|
2984
|
|
|
* @method string getMinDuration() |
|
2985
|
|
|
* @method $this withMinDuration($value) |
|
2986
|
|
|
* @method string getPageNumber() |
|
2987
|
|
|
* @method $this withPageNumber($value) |
|
2988
|
|
|
* @method array getTags() |
|
2989
|
|
|
* @method string getServiceIp() |
|
2990
|
|
|
* @method $this withServiceIp($value) |
|
2991
|
|
|
* @method array getExclusionFilters() |
|
2992
|
|
|
* @method string getOperationName() |
|
2993
|
|
|
* @method $this withOperationName($value) |
|
2994
|
|
|
* @method string getPageSize() |
|
2995
|
|
|
* @method $this withPageSize($value) |
|
2996
|
|
|
* @method string getServiceName() |
|
2997
|
|
|
* @method $this withServiceName($value) |
|
2998
|
|
|
*/ |
|
2999
|
|
|
class SearchTracesByPage extends Rpc |
|
3000
|
|
|
{ |
|
3001
|
|
|
|
|
3002
|
|
|
/** |
|
3003
|
|
|
* @param array $tags |
|
3004
|
|
|
* |
|
3005
|
|
|
* @return $this |
|
3006
|
|
|
*/ |
|
3007
|
|
|
public function withTags(array $tags) |
|
3008
|
|
|
{ |
|
3009
|
|
|
$this->data['Tags'] = $tags; |
|
3010
|
|
|
foreach ($tags as $depth1 => $depth1Value) { |
|
3011
|
|
|
if(isset($depth1Value['Value'])){ |
|
3012
|
|
|
$this->options['query']['Tags.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
3013
|
|
|
} |
|
3014
|
|
|
if(isset($depth1Value['Key'])){ |
|
3015
|
|
|
$this->options['query']['Tags.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
3016
|
|
|
} |
|
3017
|
|
|
} |
|
3018
|
|
|
|
|
3019
|
|
|
return $this; |
|
3020
|
|
|
} |
|
3021
|
|
|
|
|
3022
|
|
|
/** |
|
3023
|
|
|
* @param array $exclusionFilters |
|
3024
|
|
|
* |
|
3025
|
|
|
* @return $this |
|
3026
|
|
|
*/ |
|
3027
|
|
|
public function withExclusionFilters(array $exclusionFilters) |
|
3028
|
|
|
{ |
|
3029
|
|
|
$this->data['ExclusionFilters'] = $exclusionFilters; |
|
3030
|
|
|
foreach ($exclusionFilters as $depth1 => $depth1Value) { |
|
3031
|
|
|
if(isset($depth1Value['Value'])){ |
|
3032
|
|
|
$this->options['query']['ExclusionFilters.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value']; |
|
3033
|
|
|
} |
|
3034
|
|
|
if(isset($depth1Value['Key'])){ |
|
3035
|
|
|
$this->options['query']['ExclusionFilters.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key']; |
|
3036
|
|
|
} |
|
3037
|
|
|
} |
|
3038
|
|
|
|
|
3039
|
|
|
return $this; |
|
3040
|
|
|
} |
|
3041
|
|
|
} |
|
3042
|
|
|
|
|
3043
|
|
|
/** |
|
3044
|
|
|
* @method string getContactId() |
|
3045
|
|
|
* @method string getPhone() |
|
3046
|
|
|
*/ |
|
3047
|
|
|
class SendTTSVerifyLink extends Rpc |
|
3048
|
|
|
{ |
|
3049
|
|
|
|
|
3050
|
|
|
/** |
|
3051
|
|
|
* @param string $value |
|
3052
|
|
|
* |
|
3053
|
|
|
* @return $this |
|
3054
|
|
|
*/ |
|
3055
|
|
|
public function withContactId($value) |
|
3056
|
|
|
{ |
|
3057
|
|
|
$this->data['ContactId'] = $value; |
|
3058
|
|
|
$this->options['form_params']['ContactId'] = $value; |
|
3059
|
|
|
|
|
3060
|
|
|
return $this; |
|
3061
|
|
|
} |
|
3062
|
|
|
|
|
3063
|
|
|
/** |
|
3064
|
|
|
* @param string $value |
|
3065
|
|
|
* |
|
3066
|
|
|
* @return $this |
|
3067
|
|
|
*/ |
|
3068
|
|
|
public function withPhone($value) |
|
3069
|
|
|
{ |
|
3070
|
|
|
$this->data['Phone'] = $value; |
|
3071
|
|
|
$this->options['form_params']['Phone'] = $value; |
|
3072
|
|
|
|
|
3073
|
|
|
return $this; |
|
3074
|
|
|
} |
|
3075
|
|
|
} |
|
3076
|
|
|
|
|
3077
|
|
|
/** |
|
3078
|
|
|
* @method string getPid() |
|
3079
|
|
|
* @method $this withPid($value) |
|
3080
|
|
|
* @method string getStatus() |
|
3081
|
|
|
* @method $this withStatus($value) |
|
3082
|
|
|
*/ |
|
3083
|
|
|
class SetRetcodeShareStatus extends Rpc |
|
3084
|
|
|
{ |
|
3085
|
|
|
} |
|
3086
|
|
|
|
|
3087
|
|
|
/** |
|
3088
|
|
|
* @method string getAlertId() |
|
3089
|
|
|
* @method $this withAlertId($value) |
|
3090
|
|
|
* @method string getProxyUserId() |
|
3091
|
|
|
* @method $this withProxyUserId($value) |
|
3092
|
|
|
*/ |
|
3093
|
|
|
class StartAlert extends Rpc |
|
3094
|
|
|
{ |
|
3095
|
|
|
} |
|
3096
|
|
|
|
|
3097
|
|
|
/** |
|
3098
|
|
|
* @method string getAlertId() |
|
3099
|
|
|
* @method $this withAlertId($value) |
|
3100
|
|
|
* @method string getProxyUserId() |
|
3101
|
|
|
* @method $this withProxyUserId($value) |
|
3102
|
|
|
*/ |
|
3103
|
|
|
class StopAlert extends Rpc |
|
3104
|
|
|
{ |
|
3105
|
|
|
} |
|
3106
|
|
|
|
|
3107
|
|
|
/** |
|
3108
|
|
|
* @method array getTaskIds() |
|
3109
|
|
|
* @method string getSwitchStatus() |
|
3110
|
|
|
* @method $this withSwitchStatus($value) |
|
3111
|
|
|
*/ |
|
3112
|
|
|
class SwitchSyntheticTaskStatus extends Rpc |
|
3113
|
|
|
{ |
|
3114
|
|
|
|
|
3115
|
|
|
/** |
|
3116
|
|
|
* @param array $taskIds |
|
3117
|
|
|
* |
|
3118
|
|
|
* @return $this |
|
3119
|
|
|
*/ |
|
3120
|
|
|
public function withTaskIds(array $taskIds) |
|
3121
|
|
|
{ |
|
3122
|
|
|
$this->data['TaskIds'] = $taskIds; |
|
3123
|
|
|
foreach ($taskIds as $i => $iValue) { |
|
3124
|
|
|
$this->options['query']['TaskIds.' . ($i + 1)] = $iValue; |
|
3125
|
|
|
} |
|
3126
|
|
|
|
|
3127
|
|
|
return $this; |
|
3128
|
|
|
} |
|
3129
|
|
|
} |
|
3130
|
|
|
|
|
3131
|
|
|
/** |
|
3132
|
|
|
* @method string getClusterId() |
|
3133
|
|
|
* @method $this withClusterId($value) |
|
3134
|
|
|
* @method string getTargetClusters() |
|
3135
|
|
|
* @method $this withTargetClusters($value) |
|
3136
|
|
|
*/ |
|
3137
|
|
|
class SyncRecordingRules extends Rpc |
|
3138
|
|
|
{ |
|
3139
|
|
|
} |
|
3140
|
|
|
|
|
3141
|
|
|
/** |
|
3142
|
|
|
* @method string getPid() |
|
3143
|
|
|
* @method $this withPid($value) |
|
3144
|
|
|
* @method string getReleaseStartTime() |
|
3145
|
|
|
* @method $this withReleaseStartTime($value) |
|
3146
|
|
|
* @method string getProxyUserId() |
|
3147
|
|
|
* @method $this withProxyUserId($value) |
|
3148
|
|
|
*/ |
|
3149
|
|
|
class TurnOnSecondSwitch extends Rpc |
|
3150
|
|
|
{ |
|
3151
|
|
|
|
|
3152
|
|
|
/** @var string */ |
|
3153
|
|
|
public $method = 'GET'; |
|
3154
|
|
|
} |
|
3155
|
|
|
|
|
3156
|
|
|
/** |
|
3157
|
|
|
* @method string getClusterType() |
|
3158
|
|
|
* @method $this withClusterType($value) |
|
3159
|
|
|
* @method string getVpcId() |
|
3160
|
|
|
* @method $this withVpcId($value) |
|
3161
|
|
|
* @method string getClusterId() |
|
3162
|
|
|
* @method $this withClusterId($value) |
|
3163
|
|
|
*/ |
|
3164
|
|
|
class UninstallManagedPrometheus extends Rpc |
|
3165
|
|
|
{ |
|
3166
|
|
|
} |
|
3167
|
|
|
|
|
3168
|
|
|
/** |
|
3169
|
|
|
* @method string getClusterId() |
|
3170
|
|
|
* @method $this withClusterId($value) |
|
3171
|
|
|
*/ |
|
3172
|
|
|
class UninstallPromCluster extends Rpc |
|
3173
|
|
|
{ |
|
3174
|
|
|
} |
|
3175
|
|
|
|
|
3176
|
|
|
/** |
|
3177
|
|
|
* @method string getContactId() |
|
3178
|
|
|
* @method $this withContactId($value) |
|
3179
|
|
|
* @method string getPhoneNum() |
|
3180
|
|
|
* @method $this withPhoneNum($value) |
|
3181
|
|
|
* @method string getProxyUserId() |
|
3182
|
|
|
* @method $this withProxyUserId($value) |
|
3183
|
|
|
* @method string getContactName() |
|
3184
|
|
|
* @method $this withContactName($value) |
|
3185
|
|
|
* @method string getDingRobotWebhookUrl() |
|
3186
|
|
|
* @method $this withDingRobotWebhookUrl($value) |
|
3187
|
|
|
* @method string getEmail() |
|
3188
|
|
|
* @method $this withEmail($value) |
|
3189
|
|
|
* @method string getSystemNoc() |
|
3190
|
|
|
* @method $this withSystemNoc($value) |
|
3191
|
|
|
*/ |
|
3192
|
|
|
class UpdateAlertContact extends Rpc |
|
3193
|
|
|
{ |
|
3194
|
|
|
} |
|
3195
|
|
|
|
|
3196
|
|
|
/** |
|
3197
|
|
|
* @method string getContactGroupId() |
|
3198
|
|
|
* @method $this withContactGroupId($value) |
|
3199
|
|
|
* @method string getContactGroupName() |
|
3200
|
|
|
* @method $this withContactGroupName($value) |
|
3201
|
|
|
* @method string getProxyUserId() |
|
3202
|
|
|
* @method $this withProxyUserId($value) |
|
3203
|
|
|
* @method string getContactIds() |
|
3204
|
|
|
* @method $this withContactIds($value) |
|
3205
|
|
|
*/ |
|
3206
|
|
|
class UpdateAlertContactGroup extends Rpc |
|
3207
|
|
|
{ |
|
3208
|
|
|
} |
|
3209
|
|
|
|
|
3210
|
|
|
/** |
|
3211
|
|
|
* @method string getIsAutoStart() |
|
3212
|
|
|
* @method $this withIsAutoStart($value) |
|
3213
|
|
|
* @method string getProxyUserId() |
|
3214
|
|
|
* @method $this withProxyUserId($value) |
|
3215
|
|
|
* @method string getContactGroupIds() |
|
3216
|
|
|
* @method $this withContactGroupIds($value) |
|
3217
|
|
|
* @method string getAlertId() |
|
3218
|
|
|
* @method $this withAlertId($value) |
|
3219
|
|
|
* @method string getTemplageAlertConfig() |
|
3220
|
|
|
* @method $this withTemplageAlertConfig($value) |
|
3221
|
|
|
*/ |
|
3222
|
|
|
class UpdateAlertRule extends Rpc |
|
3223
|
|
|
{ |
|
3224
|
|
|
} |
|
3225
|
|
|
|
|
3226
|
|
|
/** |
|
3227
|
|
|
* @method string getDispatchRule() |
|
3228
|
|
|
* @method $this withDispatchRule($value) |
|
3229
|
|
|
* @method string getProxyUserId() |
|
3230
|
|
|
* @method $this withProxyUserId($value) |
|
3231
|
|
|
*/ |
|
3232
|
|
|
class UpdateDispatchRule extends Rpc |
|
3233
|
|
|
{ |
|
3234
|
|
|
} |
|
3235
|
|
|
|
|
3236
|
|
|
/** |
|
3237
|
|
|
* @method string getShortToken() |
|
3238
|
|
|
* @method string getFieldRedefineRules() |
|
3239
|
|
|
* @method string getStat() |
|
3240
|
|
|
* @method string getInitiativeRecoverValue() |
|
3241
|
|
|
* @method string getLiveness() |
|
3242
|
|
|
* @method string getIntegrationId() |
|
3243
|
|
|
* @method string getDescription() |
|
3244
|
|
|
* @method string getApiEndpoint() |
|
3245
|
|
|
* @method string getAutoRecover() |
|
3246
|
|
|
* @method string getRecoverTime() |
|
3247
|
|
|
* @method string getDuplicateKey() |
|
3248
|
|
|
* @method string getIntegrationName() |
|
3249
|
|
|
* @method string getState() |
|
3250
|
|
|
* @method string getExtendedFieldRedefineRules() |
|
3251
|
|
|
* @method string getInitiativeRecoverField() |
|
3252
|
|
|
* @method string getIntegrationProductType() |
|
3253
|
|
|
*/ |
|
3254
|
|
|
class UpdateIntegration extends Rpc |
|
3255
|
|
|
{ |
|
3256
|
|
|
|
|
3257
|
|
|
/** |
|
3258
|
|
|
* @param string $value |
|
3259
|
|
|
* |
|
3260
|
|
|
* @return $this |
|
3261
|
|
|
*/ |
|
3262
|
|
|
public function withShortToken($value) |
|
3263
|
|
|
{ |
|
3264
|
|
|
$this->data['ShortToken'] = $value; |
|
3265
|
|
|
$this->options['form_params']['ShortToken'] = $value; |
|
3266
|
|
|
|
|
3267
|
|
|
return $this; |
|
3268
|
|
|
} |
|
3269
|
|
|
|
|
3270
|
|
|
/** |
|
3271
|
|
|
* @param string $value |
|
3272
|
|
|
* |
|
3273
|
|
|
* @return $this |
|
3274
|
|
|
*/ |
|
3275
|
|
|
public function withFieldRedefineRules($value) |
|
3276
|
|
|
{ |
|
3277
|
|
|
$this->data['FieldRedefineRules'] = $value; |
|
3278
|
|
|
$this->options['form_params']['FieldRedefineRules'] = $value; |
|
3279
|
|
|
|
|
3280
|
|
|
return $this; |
|
3281
|
|
|
} |
|
3282
|
|
|
|
|
3283
|
|
|
/** |
|
3284
|
|
|
* @param string $value |
|
3285
|
|
|
* |
|
3286
|
|
|
* @return $this |
|
3287
|
|
|
*/ |
|
3288
|
|
|
public function withStat($value) |
|
3289
|
|
|
{ |
|
3290
|
|
|
$this->data['Stat'] = $value; |
|
3291
|
|
|
$this->options['form_params']['Stat'] = $value; |
|
3292
|
|
|
|
|
3293
|
|
|
return $this; |
|
3294
|
|
|
} |
|
3295
|
|
|
|
|
3296
|
|
|
/** |
|
3297
|
|
|
* @param string $value |
|
3298
|
|
|
* |
|
3299
|
|
|
* @return $this |
|
3300
|
|
|
*/ |
|
3301
|
|
|
public function withInitiativeRecoverValue($value) |
|
3302
|
|
|
{ |
|
3303
|
|
|
$this->data['InitiativeRecoverValue'] = $value; |
|
3304
|
|
|
$this->options['form_params']['InitiativeRecoverValue'] = $value; |
|
3305
|
|
|
|
|
3306
|
|
|
return $this; |
|
3307
|
|
|
} |
|
3308
|
|
|
|
|
3309
|
|
|
/** |
|
3310
|
|
|
* @param string $value |
|
3311
|
|
|
* |
|
3312
|
|
|
* @return $this |
|
3313
|
|
|
*/ |
|
3314
|
|
|
public function withLiveness($value) |
|
3315
|
|
|
{ |
|
3316
|
|
|
$this->data['Liveness'] = $value; |
|
3317
|
|
|
$this->options['form_params']['Liveness'] = $value; |
|
3318
|
|
|
|
|
3319
|
|
|
return $this; |
|
3320
|
|
|
} |
|
3321
|
|
|
|
|
3322
|
|
|
/** |
|
3323
|
|
|
* @param string $value |
|
3324
|
|
|
* |
|
3325
|
|
|
* @return $this |
|
3326
|
|
|
*/ |
|
3327
|
|
|
public function withIntegrationId($value) |
|
3328
|
|
|
{ |
|
3329
|
|
|
$this->data['IntegrationId'] = $value; |
|
3330
|
|
|
$this->options['form_params']['IntegrationId'] = $value; |
|
3331
|
|
|
|
|
3332
|
|
|
return $this; |
|
3333
|
|
|
} |
|
3334
|
|
|
|
|
3335
|
|
|
/** |
|
3336
|
|
|
* @param string $value |
|
3337
|
|
|
* |
|
3338
|
|
|
* @return $this |
|
3339
|
|
|
*/ |
|
3340
|
|
|
public function withDescription($value) |
|
3341
|
|
|
{ |
|
3342
|
|
|
$this->data['Description'] = $value; |
|
3343
|
|
|
$this->options['form_params']['Description'] = $value; |
|
3344
|
|
|
|
|
3345
|
|
|
return $this; |
|
3346
|
|
|
} |
|
3347
|
|
|
|
|
3348
|
|
|
/** |
|
3349
|
|
|
* @param string $value |
|
3350
|
|
|
* |
|
3351
|
|
|
* @return $this |
|
3352
|
|
|
*/ |
|
3353
|
|
|
public function withApiEndpoint($value) |
|
3354
|
|
|
{ |
|
3355
|
|
|
$this->data['ApiEndpoint'] = $value; |
|
3356
|
|
|
$this->options['form_params']['ApiEndpoint'] = $value; |
|
3357
|
|
|
|
|
3358
|
|
|
return $this; |
|
3359
|
|
|
} |
|
3360
|
|
|
|
|
3361
|
|
|
/** |
|
3362
|
|
|
* @param string $value |
|
3363
|
|
|
* |
|
3364
|
|
|
* @return $this |
|
3365
|
|
|
*/ |
|
3366
|
|
|
public function withAutoRecover($value) |
|
3367
|
|
|
{ |
|
3368
|
|
|
$this->data['AutoRecover'] = $value; |
|
3369
|
|
|
$this->options['form_params']['AutoRecover'] = $value; |
|
3370
|
|
|
|
|
3371
|
|
|
return $this; |
|
3372
|
|
|
} |
|
3373
|
|
|
|
|
3374
|
|
|
/** |
|
3375
|
|
|
* @param string $value |
|
3376
|
|
|
* |
|
3377
|
|
|
* @return $this |
|
3378
|
|
|
*/ |
|
3379
|
|
|
public function withRecoverTime($value) |
|
3380
|
|
|
{ |
|
3381
|
|
|
$this->data['RecoverTime'] = $value; |
|
3382
|
|
|
$this->options['form_params']['RecoverTime'] = $value; |
|
3383
|
|
|
|
|
3384
|
|
|
return $this; |
|
3385
|
|
|
} |
|
3386
|
|
|
|
|
3387
|
|
|
/** |
|
3388
|
|
|
* @param string $value |
|
3389
|
|
|
* |
|
3390
|
|
|
* @return $this |
|
3391
|
|
|
*/ |
|
3392
|
|
|
public function withDuplicateKey($value) |
|
3393
|
|
|
{ |
|
3394
|
|
|
$this->data['DuplicateKey'] = $value; |
|
3395
|
|
|
$this->options['form_params']['DuplicateKey'] = $value; |
|
3396
|
|
|
|
|
3397
|
|
|
return $this; |
|
3398
|
|
|
} |
|
3399
|
|
|
|
|
3400
|
|
|
/** |
|
3401
|
|
|
* @param string $value |
|
3402
|
|
|
* |
|
3403
|
|
|
* @return $this |
|
3404
|
|
|
*/ |
|
3405
|
|
|
public function withIntegrationName($value) |
|
3406
|
|
|
{ |
|
3407
|
|
|
$this->data['IntegrationName'] = $value; |
|
3408
|
|
|
$this->options['form_params']['IntegrationName'] = $value; |
|
3409
|
|
|
|
|
3410
|
|
|
return $this; |
|
3411
|
|
|
} |
|
3412
|
|
|
|
|
3413
|
|
|
/** |
|
3414
|
|
|
* @param string $value |
|
3415
|
|
|
* |
|
3416
|
|
|
* @return $this |
|
3417
|
|
|
*/ |
|
3418
|
|
|
public function withState($value) |
|
3419
|
|
|
{ |
|
3420
|
|
|
$this->data['State'] = $value; |
|
3421
|
|
|
$this->options['form_params']['State'] = $value; |
|
3422
|
|
|
|
|
3423
|
|
|
return $this; |
|
3424
|
|
|
} |
|
3425
|
|
|
|
|
3426
|
|
|
/** |
|
3427
|
|
|
* @param string $value |
|
3428
|
|
|
* |
|
3429
|
|
|
* @return $this |
|
3430
|
|
|
*/ |
|
3431
|
|
|
public function withExtendedFieldRedefineRules($value) |
|
3432
|
|
|
{ |
|
3433
|
|
|
$this->data['ExtendedFieldRedefineRules'] = $value; |
|
3434
|
|
|
$this->options['form_params']['ExtendedFieldRedefineRules'] = $value; |
|
3435
|
|
|
|
|
3436
|
|
|
return $this; |
|
3437
|
|
|
} |
|
3438
|
|
|
|
|
3439
|
|
|
/** |
|
3440
|
|
|
* @param string $value |
|
3441
|
|
|
* |
|
3442
|
|
|
* @return $this |
|
3443
|
|
|
*/ |
|
3444
|
|
|
public function withInitiativeRecoverField($value) |
|
3445
|
|
|
{ |
|
3446
|
|
|
$this->data['InitiativeRecoverField'] = $value; |
|
3447
|
|
|
$this->options['form_params']['InitiativeRecoverField'] = $value; |
|
3448
|
|
|
|
|
3449
|
|
|
return $this; |
|
3450
|
|
|
} |
|
3451
|
|
|
|
|
3452
|
|
|
/** |
|
3453
|
|
|
* @param string $value |
|
3454
|
|
|
* |
|
3455
|
|
|
* @return $this |
|
3456
|
|
|
*/ |
|
3457
|
|
|
public function withIntegrationProductType($value) |
|
3458
|
|
|
{ |
|
3459
|
|
|
$this->data['IntegrationProductType'] = $value; |
|
3460
|
|
|
$this->options['form_params']['IntegrationProductType'] = $value; |
|
3461
|
|
|
|
|
3462
|
|
|
return $this; |
|
3463
|
|
|
} |
|
3464
|
|
|
} |
|
3465
|
|
|
|
|
3466
|
|
|
/** |
|
3467
|
|
|
* @method string getExpression() |
|
3468
|
|
|
* @method $this withExpression($value) |
|
3469
|
|
|
* @method string getAlertName() |
|
3470
|
|
|
* @method $this withAlertName($value) |
|
3471
|
|
|
* @method string getAnnotations() |
|
3472
|
|
|
* @method $this withAnnotations($value) |
|
3473
|
|
|
* @method string getClusterId() |
|
3474
|
|
|
* @method $this withClusterId($value) |
|
3475
|
|
|
* @method string getDispatchRuleId() |
|
3476
|
|
|
* @method $this withDispatchRuleId($value) |
|
3477
|
|
|
* @method string getProxyUserId() |
|
3478
|
|
|
* @method $this withProxyUserId($value) |
|
3479
|
|
|
* @method string getType() |
|
3480
|
|
|
* @method $this withType($value) |
|
3481
|
|
|
* @method string getMessage() |
|
3482
|
|
|
* @method $this withMessage($value) |
|
3483
|
|
|
* @method string getLabels() |
|
3484
|
|
|
* @method $this withLabels($value) |
|
3485
|
|
|
* @method string getDuration() |
|
3486
|
|
|
* @method $this withDuration($value) |
|
3487
|
|
|
* @method string getAlertId() |
|
3488
|
|
|
* @method $this withAlertId($value) |
|
3489
|
|
|
* @method string getNotifyType() |
|
3490
|
|
|
* @method $this withNotifyType($value) |
|
3491
|
|
|
*/ |
|
3492
|
|
|
class UpdatePrometheusAlertRule extends Rpc |
|
3493
|
|
|
{ |
|
3494
|
|
|
} |
|
3495
|
|
|
|
|
3496
|
|
|
/** |
|
3497
|
|
|
* @method string getHttpHeaders() |
|
3498
|
|
|
* @method $this withHttpHeaders($value) |
|
3499
|
|
|
* @method string getMethod() |
|
3500
|
|
|
* @method $this withMethod($value) |
|
3501
|
|
|
* @method string getContactId() |
|
3502
|
|
|
* @method $this withContactId($value) |
|
3503
|
|
|
* @method string getHttpParams() |
|
3504
|
|
|
* @method $this withHttpParams($value) |
|
3505
|
|
|
* @method string getProxyUserId() |
|
3506
|
|
|
* @method $this withProxyUserId($value) |
|
3507
|
|
|
* @method string getBody() |
|
3508
|
|
|
* @method $this withBody($value) |
|
3509
|
|
|
* @method string getUrl() |
|
3510
|
|
|
* @method $this withUrl($value) |
|
3511
|
|
|
* @method string getContactName() |
|
3512
|
|
|
* @method $this withContactName($value) |
|
3513
|
|
|
* @method string getRecoverBody() |
|
3514
|
|
|
* @method $this withRecoverBody($value) |
|
3515
|
|
|
*/ |
|
3516
|
|
|
class UpdateWebhook extends Rpc |
|
3517
|
|
|
{ |
|
3518
|
|
|
} |
|
3519
|
|
|
|
|
3520
|
|
|
/** |
|
3521
|
|
|
* @method string getFileName() |
|
3522
|
|
|
* @method $this withFileName($value) |
|
3523
|
|
|
* @method string getFile() |
|
3524
|
|
|
* @method string getEdition() |
|
3525
|
|
|
* @method $this withEdition($value) |
|
3526
|
|
|
* @method string getPid() |
|
3527
|
|
|
* @method $this withPid($value) |
|
3528
|
|
|
* @method string getVersion() |
|
3529
|
|
|
* @method $this withVersion($value) |
|
3530
|
|
|
*/ |
|
3531
|
|
|
class Upload extends Rpc |
|
3532
|
|
|
{ |
|
3533
|
|
|
|
|
3534
|
|
|
/** |
|
3535
|
|
|
* @param string $value |
|
3536
|
|
|
* |
|
3537
|
|
|
* @return $this |
|
3538
|
|
|
*/ |
|
3539
|
|
|
public function withFile($value) |
|
3540
|
|
|
{ |
|
3541
|
|
|
$this->data['File'] = $value; |
|
3542
|
|
|
$this->options['form_params']['File'] = $value; |
|
3543
|
|
|
|
|
3544
|
|
|
return $this; |
|
3545
|
|
|
} |
|
3546
|
|
|
} |
|
3547
|
|
|
|