GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( 7c6d5d...880a86 )
by
unknown
06:01
created

ModifyGroupMonitoringAgentProcess   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 12
dl 0
loc 23
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A withAlertConfig() 0 15 2
1
<?php
2
3
namespace AlibabaCloud\Cms\V20190101;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddTags addTags(array $options = [])
9
 * @method ApplyMetricRuleTemplate applyMetricRuleTemplate(array $options = [])
10
 * @method CreateGroupMetricRules createGroupMetricRules(array $options = [])
11
 * @method CreateGroupMonitoringAgentProcess createGroupMonitoringAgentProcess(array $options = [])
12
 * @method CreateHostAvailability createHostAvailability(array $options = [])
13
 * @method CreateMetricRuleResources createMetricRuleResources(array $options = [])
14
 * @method CreateMetricRuleTemplate createMetricRuleTemplate(array $options = [])
15
 * @method CreateMonitorAgentProcess createMonitorAgentProcess(array $options = [])
16
 * @method CreateMonitorGroup createMonitorGroup(array $options = [])
17
 * @method CreateMonitorGroupInstances createMonitorGroupInstances(array $options = [])
18
 * @method CreateMonitorGroupNotifyPolicy createMonitorGroupNotifyPolicy(array $options = [])
19
 * @method CreateMonitoringAgentProcess createMonitoringAgentProcess(array $options = [])
20
 * @method CreateSiteMonitor createSiteMonitor(array $options = [])
21
 * @method DeleteContact deleteContact(array $options = [])
22
 * @method DeleteContactGroup deleteContactGroup(array $options = [])
23
 * @method DeleteCustomMetric deleteCustomMetric(array $options = [])
24
 * @method DeleteEventRules deleteEventRules(array $options = [])
25
 * @method DeleteEventRuleTargets deleteEventRuleTargets(array $options = [])
26
 * @method DeleteGroupMonitoringAgentProcess deleteGroupMonitoringAgentProcess(array $options = [])
27
 * @method DeleteHostAvailability deleteHostAvailability(array $options = [])
28
 * @method DeleteMetricRuleResources deleteMetricRuleResources(array $options = [])
29
 * @method DeleteMetricRules deleteMetricRules(array $options = [])
30
 * @method DeleteMetricRuleTargets deleteMetricRuleTargets(array $options = [])
31
 * @method DeleteMetricRuleTemplate deleteMetricRuleTemplate(array $options = [])
32
 * @method DeleteMonitorGroup deleteMonitorGroup(array $options = [])
33
 * @method DeleteMonitorGroupDynamicRule deleteMonitorGroupDynamicRule(array $options = [])
34
 * @method DeleteMonitorGroupInstances deleteMonitorGroupInstances(array $options = [])
35
 * @method DeleteMonitorGroupNotifyPolicy deleteMonitorGroupNotifyPolicy(array $options = [])
36
 * @method DeleteMonitoringAgentProcess deleteMonitoringAgentProcess(array $options = [])
37
 * @method DeleteSiteMonitors deleteSiteMonitors(array $options = [])
38
 * @method DescribeActiveMetricRuleList describeActiveMetricRuleList(array $options = [])
39
 * @method DescribeAlertHistoryList describeAlertHistoryList(array $options = [])
40
 * @method DescribeAlertingMetricRuleResources describeAlertingMetricRuleResources(array $options = [])
41
 * @method DescribeContactGroupList describeContactGroupList(array $options = [])
42
 * @method DescribeContactList describeContactList(array $options = [])
43
 * @method DescribeContactListByContactGroup describeContactListByContactGroup(array $options = [])
44
 * @method DescribeCustomEventAttribute describeCustomEventAttribute(array $options = [])
45
 * @method DescribeCustomEventCount describeCustomEventCount(array $options = [])
46
 * @method DescribeCustomEventHistogram describeCustomEventHistogram(array $options = [])
47
 * @method DescribeCustomMetricList describeCustomMetricList(array $options = [])
48
 * @method DescribeEventRuleAttribute describeEventRuleAttribute(array $options = [])
49
 * @method DescribeEventRuleList describeEventRuleList(array $options = [])
50
 * @method DescribeEventRuleTargetList describeEventRuleTargetList(array $options = [])
51
 * @method DescribeGroupMonitoringAgentProcess describeGroupMonitoringAgentProcess(array $options = [])
52
 * @method DescribeHostAvailabilityList describeHostAvailabilityList(array $options = [])
53
 * @method DescribeMetricData describeMetricData(array $options = [])
54
 * @method DescribeMetricLast describeMetricLast(array $options = [])
55
 * @method DescribeMetricList describeMetricList(array $options = [])
56
 * @method DescribeMetricMetaList describeMetricMetaList(array $options = [])
57
 * @method DescribeMetricRuleCount describeMetricRuleCount(array $options = [])
58
 * @method DescribeMetricRuleList describeMetricRuleList(array $options = [])
59
 * @method DescribeMetricRuleTargets describeMetricRuleTargets(array $options = [])
60
 * @method DescribeMetricRuleTemplateAttribute describeMetricRuleTemplateAttribute(array $options = [])
61
 * @method DescribeMetricRuleTemplateList describeMetricRuleTemplateList(array $options = [])
62
 * @method DescribeMetricTop describeMetricTop(array $options = [])
63
 * @method DescribeMonitorGroupCategories describeMonitorGroupCategories(array $options = [])
64
 * @method DescribeMonitorGroupDynamicRules describeMonitorGroupDynamicRules(array $options = [])
65
 * @method DescribeMonitorGroupInstanceAttribute describeMonitorGroupInstanceAttribute(array $options = [])
66
 * @method DescribeMonitorGroupInstances describeMonitorGroupInstances(array $options = [])
67
 * @method DescribeMonitorGroupNotifyPolicyList describeMonitorGroupNotifyPolicyList(array $options = [])
68
 * @method DescribeMonitorGroups describeMonitorGroups(array $options = [])
69
 * @method DescribeMonitoringAgentAccessKey describeMonitoringAgentAccessKey(array $options = [])
70
 * @method DescribeMonitoringAgentConfig describeMonitoringAgentConfig(array $options = [])
71
 * @method DescribeMonitoringAgentHosts describeMonitoringAgentHosts(array $options = [])
72
 * @method DescribeMonitoringAgentProcesses describeMonitoringAgentProcesses(array $options = [])
73
 * @method DescribeMonitoringAgentStatuses describeMonitoringAgentStatuses(array $options = [])
74
 * @method DescribeMonitoringConfig describeMonitoringConfig(array $options = [])
75
 * @method DescribeProductsOfActiveMetricRule describeProductsOfActiveMetricRule(array $options = [])
76
 * @method DescribeProjectMeta describeProjectMeta(array $options = [])
77
 * @method DescribeSiteMonitorAttribute describeSiteMonitorAttribute(array $options = [])
78
 * @method DescribeSiteMonitorData describeSiteMonitorData(array $options = [])
79
 * @method DescribeSiteMonitorISPCityList describeSiteMonitorISPCityList(array $options = [])
80
 * @method DescribeSiteMonitorList describeSiteMonitorList(array $options = [])
81
 * @method DescribeSiteMonitorQuota describeSiteMonitorQuota(array $options = [])
82
 * @method DescribeSiteMonitorStatistics describeSiteMonitorStatistics(array $options = [])
83
 * @method DescribeSystemEventAttribute describeSystemEventAttribute(array $options = [])
84
 * @method DescribeSystemEventCount describeSystemEventCount(array $options = [])
85
 * @method DescribeSystemEventHistogram describeSystemEventHistogram(array $options = [])
86
 * @method DescribeSystemEventMetaList describeSystemEventMetaList(array $options = [])
87
 * @method DescribeTagKeyList describeTagKeyList(array $options = [])
88
 * @method DescribeTagValueList describeTagValueList(array $options = [])
89
 * @method DescribeUnhealthyHostAvailability describeUnhealthyHostAvailability(array $options = [])
90
 * @method DisableActiveMetricRule disableActiveMetricRule(array $options = [])
91
 * @method DisableEventRules disableEventRules(array $options = [])
92
 * @method DisableHostAvailability disableHostAvailability(array $options = [])
93
 * @method DisableMetricRules disableMetricRules(array $options = [])
94
 * @method DisableSiteMonitors disableSiteMonitors(array $options = [])
95
 * @method EnableActiveMetricRule enableActiveMetricRule(array $options = [])
96
 * @method EnableEventRules enableEventRules(array $options = [])
97
 * @method EnableHostAvailability enableHostAvailability(array $options = [])
98
 * @method EnableMetricRules enableMetricRules(array $options = [])
99
 * @method EnableSiteMonitors enableSiteMonitors(array $options = [])
100
 * @method InstallMonitoringAgent installMonitoringAgent(array $options = [])
101
 * @method ModifyGroupMonitoringAgentProcess modifyGroupMonitoringAgentProcess(array $options = [])
102
 * @method ModifyHostAvailability modifyHostAvailability(array $options = [])
103
 * @method ModifyMetricRuleTemplate modifyMetricRuleTemplate(array $options = [])
104
 * @method ModifyMonitorGroup modifyMonitorGroup(array $options = [])
105
 * @method ModifyMonitorGroupInstances modifyMonitorGroupInstances(array $options = [])
106
 * @method ModifySiteMonitor modifySiteMonitor(array $options = [])
107
 * @method PutContact putContact(array $options = [])
108
 * @method PutContactGroup putContactGroup(array $options = [])
109
 * @method PutCustomEvent putCustomEvent(array $options = [])
110
 * @method PutCustomMetric putCustomMetric(array $options = [])
111
 * @method PutEventRule putEventRule(array $options = [])
112
 * @method PutEventRuleTargets putEventRuleTargets(array $options = [])
113
 * @method PutGroupMetricRule putGroupMetricRule(array $options = [])
114
 * @method PutMetricRuleTargets putMetricRuleTargets(array $options = [])
115
 * @method PutMonitorGroupDynamicRule putMonitorGroupDynamicRule(array $options = [])
116
 * @method PutMonitoringConfig putMonitoringConfig(array $options = [])
117
 * @method PutResourceMetricRule putResourceMetricRule(array $options = [])
118
 * @method PutResourceMetricRules putResourceMetricRules(array $options = [])
119
 * @method RemoveTags removeTags(array $options = [])
120
 * @method SendDryRunSystemEvent sendDryRunSystemEvent(array $options = [])
121
 * @method UninstallMonitoringAgent uninstallMonitoringAgent(array $options = [])
122
 */
123
class CmsApiResolver extends ApiResolver
124
{
125
}
126
127
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
128
{
129
    /** @var string */
130
    public $product = 'Cms';
131
132
    /** @var string */
133
    public $version = '2019-01-01';
134
135
    /** @var string */
136
    public $method = 'POST';
137
138
    /** @var string */
139
    public $serviceCode = 'cms';
140
}
141
142
/**
143
 * @method array getGroupIds()
144
 * @method array getTag()
145
 */
146
class AddTags extends Rpc
147
{
148
149
    /**
150
     * @param array $groupIds
151
     *
152
     * @return $this
153
     */
154
	public function withGroupIds(array $groupIds)
155
	{
156
	    $this->data['GroupIds'] = $groupIds;
157
		foreach ($groupIds as $i => $iValue) {
158
			$this->options['query']['GroupIds.' . ($i + 1)] = $iValue;
159
		}
160
161
		return $this;
162
    }
163
164
    /**
165
     * @param array $tag
166
     *
167
     * @return $this
168
     */
169
	public function withTag(array $tag)
170
	{
171
	    $this->data['Tag'] = $tag;
172
		foreach ($tag as $depth1 => $depth1Value) {
173
			$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
174
			$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
175
		}
176
177
		return $this;
178
    }
179
}
180
181
/**
182
 * @method string getApplyMode()
183
 * @method $this withApplyMode($value)
184
 * @method string getWebhook()
185
 * @method $this withWebhook($value)
186
 * @method string getTemplateIds()
187
 * @method $this withTemplateIds($value)
188
 * @method string getEnableEndTime()
189
 * @method $this withEnableEndTime($value)
190
 * @method string getGroupId()
191
 * @method $this withGroupId($value)
192
 * @method string getNotifyLevel()
193
 * @method $this withNotifyLevel($value)
194
 * @method string getEnableStartTime()
195
 * @method $this withEnableStartTime($value)
196
 * @method string getSilenceTime()
197
 * @method $this withSilenceTime($value)
198
 */
199
class ApplyMetricRuleTemplate extends Rpc
200
{
201
}
202
203
/**
204
 * @method string getGroupId()
205
 * @method $this withGroupId($value)
206
 * @method array getGroupMetricRules()
207
 */
208
class CreateGroupMetricRules extends Rpc
209
{
210
211
    /**
212
     * @param array $groupMetricRules
213
     *
214
     * @return $this
215
     */
216
	public function withGroupMetricRules(array $groupMetricRules)
217
	{
218
	    $this->data['GroupMetricRules'] = $groupMetricRules;
219
		foreach ($groupMetricRules as $depth1 => $depth1Value) {
220
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Webhook'] = $depth1Value['Webhook'];
221
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Warn.ComparisonOperator'] = $depth1Value['EscalationsWarnComparisonOperator'];
222
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.RuleName'] = $depth1Value['RuleName'];
223
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Info.Statistics'] = $depth1Value['EscalationsInfoStatistics'];
224
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.EffectiveInterval'] = $depth1Value['EffectiveInterval'];
225
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Info.ComparisonOperator'] = $depth1Value['EscalationsInfoComparisonOperator'];
226
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.NoEffectiveInterval'] = $depth1Value['NoEffectiveInterval'];
227
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.EmailSubject'] = $depth1Value['EmailSubject'];
228
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.SilenceTime'] = $depth1Value['SilenceTime'];
229
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
230
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Warn.Times'] = $depth1Value['EscalationsWarnTimes'];
231
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
232
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Warn.Threshold'] = $depth1Value['EscalationsWarnThreshold'];
233
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Critical.Statistics'] = $depth1Value['EscalationsCriticalStatistics'];
234
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Info.Times'] = $depth1Value['EscalationsInfoTimes'];
235
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Critical.Times'] = $depth1Value['EscalationsCriticalTimes'];
236
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Warn.Statistics'] = $depth1Value['EscalationsWarnStatistics'];
237
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Info.Threshold'] = $depth1Value['EscalationsInfoThreshold'];
238
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Namespace'] = $depth1Value['Namespace'];
239
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Interval'] = $depth1Value['Interval'];
240
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
241
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.RuleId'] = $depth1Value['RuleId'];
242
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Critical.ComparisonOperator'] = $depth1Value['EscalationsCriticalComparisonOperator'];
243
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Escalations.Critical.Threshold'] = $depth1Value['EscalationsCriticalThreshold'];
244
			$this->options['query']['GroupMetricRules.' . ($depth1 + 1) . '.Dimensions'] = $depth1Value['Dimensions'];
245
		}
246
247
		return $this;
248
    }
249
}
250
251
/**
252
 * @method array getAlertConfig()
253
 * @method string getGroupId()
254
 * @method $this withGroupId($value)
255
 * @method string getProcessName()
256
 * @method $this withProcessName($value)
257
 * @method string getMatchExpressFilterRelation()
258
 * @method $this withMatchExpressFilterRelation($value)
259
 * @method array getMatchExpress()
260
 */
261
class CreateGroupMonitoringAgentProcess extends Rpc
262
{
263
264
    /**
265
     * @param array $alertConfig
266
     *
267
     * @return $this
268
     */
269
	public function withAlertConfig(array $alertConfig)
270
	{
271
	    $this->data['AlertConfig'] = $alertConfig;
272
		foreach ($alertConfig as $depth1 => $depth1Value) {
273
			$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.Times'] = $depth1Value['Times'];
274
			$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.NoEffectiveInterval'] = $depth1Value['NoEffectiveInterval'];
275
			$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.Webhook'] = $depth1Value['Webhook'];
276
			$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.SilenceTime'] = $depth1Value['SilenceTime'];
277
			$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.Threshold'] = $depth1Value['Threshold'];
278
			$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.EffectiveInterval'] = $depth1Value['EffectiveInterval'];
279
			$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.ComparisonOperator'] = $depth1Value['ComparisonOperator'];
280
			$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.EscalationsLevel'] = $depth1Value['EscalationsLevel'];
281
			$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.Statistics'] = $depth1Value['Statistics'];
282
		}
283
284
		return $this;
285
    }
286
287
    /**
288
     * @param array $matchExpress
289
     *
290
     * @return $this
291
     */
292
	public function withMatchExpress(array $matchExpress)
293
	{
294
	    $this->data['MatchExpress'] = $matchExpress;
295
		foreach ($matchExpress as $depth1 => $depth1Value) {
296
			$this->options['query']['MatchExpress.' . ($depth1 + 1) . '.Function'] = $depth1Value['Function'];
297
			$this->options['query']['MatchExpress.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
298
			$this->options['query']['MatchExpress.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
299
		}
300
301
		return $this;
302
    }
303
}
304
305
/**
306
 * @method string getTaskOptionHttpMethod()
307
 * @method array getAlertConfigEscalationList()
308
 * @method string getTaskName()
309
 * @method $this withTaskName($value)
310
 * @method string getAlertConfigSilenceTime()
311
 * @method string getTaskOptionHttpResponseCharset()
312
 * @method string getTaskOptionHttpNegative()
313
 * @method string getAlertConfigNotifyType()
314
 * @method string getTaskOptionTelnetOrPingHost()
315
 * @method string getTaskOptionHttpResponseMatchContent()
316
 * @method array getInstanceList()
317
 * @method string getTaskType()
318
 * @method $this withTaskType($value)
319
 * @method string getGroupId()
320
 * @method $this withGroupId($value)
321
 * @method string getAlertConfigEndTime()
322
 * @method string getTaskOptionHttpURI()
323
 * @method string getTaskScope()
324
 * @method $this withTaskScope($value)
325
 * @method string getAlertConfigStartTime()
326
 * @method string getAlertConfigWebHook()
327
 */
328
class CreateHostAvailability extends Rpc
329
{
330
331
    /**
332
     * @param string $value
333
     *
334
     * @return $this
335
     */
336
    public function withTaskOptionHttpMethod($value)
337
    {
338
        $this->data['TaskOptionHttpMethod'] = $value;
339
        $this->options['query']['TaskOption.HttpMethod'] = $value;
340
341
        return $this;
342
    }
343
344
    /**
345
     * @param array $alertConfigEscalationList
346
     *
347
     * @return $this
348
     */
349
	public function withAlertConfigEscalationList(array $alertConfigEscalationList)
350
	{
351
	    $this->data['AlertConfigEscalationList'] = $alertConfigEscalationList;
352
		foreach ($alertConfigEscalationList as $depth1 => $depth1Value) {
353
			$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.Times'] = $depth1Value['Times'];
354
			$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
355
			$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
356
			$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.Operator'] = $depth1Value['Operator'];
357
			$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.Aggregate'] = $depth1Value['Aggregate'];
358
		}
359
360
		return $this;
361
    }
362
363
    /**
364
     * @param string $value
365
     *
366
     * @return $this
367
     */
368
    public function withAlertConfigSilenceTime($value)
369
    {
370
        $this->data['AlertConfigSilenceTime'] = $value;
371
        $this->options['query']['AlertConfig.SilenceTime'] = $value;
372
373
        return $this;
374
    }
375
376
    /**
377
     * @param string $value
378
     *
379
     * @return $this
380
     */
381
    public function withTaskOptionHttpResponseCharset($value)
382
    {
383
        $this->data['TaskOptionHttpResponseCharset'] = $value;
384
        $this->options['query']['TaskOption.HttpResponseCharset'] = $value;
385
386
        return $this;
387
    }
388
389
    /**
390
     * @param string $value
391
     *
392
     * @return $this
393
     */
394
    public function withTaskOptionHttpNegative($value)
395
    {
396
        $this->data['TaskOptionHttpNegative'] = $value;
397
        $this->options['query']['TaskOption.HttpNegative'] = $value;
398
399
        return $this;
400
    }
401
402
    /**
403
     * @param string $value
404
     *
405
     * @return $this
406
     */
407
    public function withAlertConfigNotifyType($value)
408
    {
409
        $this->data['AlertConfigNotifyType'] = $value;
410
        $this->options['query']['AlertConfig.NotifyType'] = $value;
411
412
        return $this;
413
    }
414
415
    /**
416
     * @param string $value
417
     *
418
     * @return $this
419
     */
420
    public function withTaskOptionTelnetOrPingHost($value)
421
    {
422
        $this->data['TaskOptionTelnetOrPingHost'] = $value;
423
        $this->options['query']['TaskOption.TelnetOrPingHost'] = $value;
424
425
        return $this;
426
    }
427
428
    /**
429
     * @param string $value
430
     *
431
     * @return $this
432
     */
433
    public function withTaskOptionHttpResponseMatchContent($value)
434
    {
435
        $this->data['TaskOptionHttpResponseMatchContent'] = $value;
436
        $this->options['query']['TaskOption.HttpResponseMatchContent'] = $value;
437
438
        return $this;
439
    }
440
441
    /**
442
     * @param array $instanceList
443
     *
444
     * @return $this
445
     */
446
	public function withInstanceList(array $instanceList)
447
	{
448
	    $this->data['InstanceList'] = $instanceList;
449
		foreach ($instanceList as $i => $iValue) {
450
			$this->options['query']['InstanceList.' . ($i + 1)] = $iValue;
451
		}
452
453
		return $this;
454
    }
455
456
    /**
457
     * @param string $value
458
     *
459
     * @return $this
460
     */
461
    public function withAlertConfigEndTime($value)
462
    {
463
        $this->data['AlertConfigEndTime'] = $value;
464
        $this->options['query']['AlertConfig.EndTime'] = $value;
465
466
        return $this;
467
    }
468
469
    /**
470
     * @param string $value
471
     *
472
     * @return $this
473
     */
474
    public function withTaskOptionHttpURI($value)
475
    {
476
        $this->data['TaskOptionHttpURI'] = $value;
477
        $this->options['query']['TaskOption.HttpURI'] = $value;
478
479
        return $this;
480
    }
481
482
    /**
483
     * @param string $value
484
     *
485
     * @return $this
486
     */
487
    public function withAlertConfigStartTime($value)
488
    {
489
        $this->data['AlertConfigStartTime'] = $value;
490
        $this->options['query']['AlertConfig.StartTime'] = $value;
491
492
        return $this;
493
    }
494
495
    /**
496
     * @param string $value
497
     *
498
     * @return $this
499
     */
500
    public function withAlertConfigWebHook($value)
501
    {
502
        $this->data['AlertConfigWebHook'] = $value;
503
        $this->options['query']['AlertConfig.WebHook'] = $value;
504
505
        return $this;
506
    }
507
}
508
509
/**
510
 * @method string getResources()
511
 * @method $this withResources($value)
512
 * @method string getRuleId()
513
 * @method $this withRuleId($value)
514
 * @method string getOverwrite()
515
 * @method $this withOverwrite($value)
516
 */
517
class CreateMetricRuleResources extends Rpc
518
{
519
}
520
521
/**
522
 * @method string getDescription()
523
 * @method $this withDescription($value)
524
 * @method string getName()
525
 * @method $this withName($value)
526
 * @method array getAlertTemplates()
527
 */
528
class CreateMetricRuleTemplate extends Rpc
529
{
530
531
    /**
532
     * @param array $alertTemplates
533
     *
534
     * @return $this
535
     */
536
	public function withAlertTemplates(array $alertTemplates)
537
	{
538
	    $this->data['AlertTemplates'] = $alertTemplates;
539
		foreach ($alertTemplates as $depth1 => $depth1Value) {
540
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
541
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Warn.Threshold'] = $depth1Value['EscalationsWarnThreshold'];
542
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Webhook'] = $depth1Value['Webhook'];
543
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Warn.ComparisonOperator'] = $depth1Value['EscalationsWarnComparisonOperator'];
544
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Critical.Statistics'] = $depth1Value['EscalationsCriticalStatistics'];
545
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Info.Times'] = $depth1Value['EscalationsInfoTimes'];
546
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.RuleName'] = $depth1Value['RuleName'];
547
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Info.Statistics'] = $depth1Value['EscalationsInfoStatistics'];
548
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Critical.Times'] = $depth1Value['EscalationsCriticalTimes'];
549
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Info.ComparisonOperator'] = $depth1Value['EscalationsInfoComparisonOperator'];
550
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Warn.Statistics'] = $depth1Value['EscalationsWarnStatistics'];
551
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Info.Threshold'] = $depth1Value['EscalationsInfoThreshold'];
552
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Namespace'] = $depth1Value['Namespace'];
553
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Selector'] = $depth1Value['Selector'];
554
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
555
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
556
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Critical.ComparisonOperator'] = $depth1Value['EscalationsCriticalComparisonOperator'];
557
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Warn.Times'] = $depth1Value['EscalationsWarnTimes'];
558
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Critical.Threshold'] = $depth1Value['EscalationsCriticalThreshold'];
559
		}
560
561
		return $this;
562
    }
563
}
564
565
/**
566
 * @method string getProcessName()
567
 * @method $this withProcessName($value)
568
 * @method string getInstanceId()
569
 * @method $this withInstanceId($value)
570
 * @method string getProcessUser()
571
 * @method $this withProcessUser($value)
572
 */
573
class CreateMonitorAgentProcess extends Rpc
574
{
575
}
576
577
/**
578
 * @method string getContactGroups()
579
 * @method $this withContactGroups($value)
580
 * @method string getType()
581
 * @method $this withType($value)
582
 * @method string getGroupName()
583
 * @method $this withGroupName($value)
584
 * @method string getOptions()
585
 * @method $this withOptions($value)
586
 * @method string getServiceId()
587
 * @method $this withServiceId($value)
588
 * @method string getBindUrl()
589
 * @method $this withBindUrl($value)
590
 */
591
class CreateMonitorGroup extends Rpc
592
{
593
}
594
595
/**
596
 * @method array getInstances()
597
 * @method string getGroupId()
598
 * @method $this withGroupId($value)
599
 */
600
class CreateMonitorGroupInstances extends Rpc
601
{
602
603
    /**
604
     * @param array $instances
605
     *
606
     * @return $this
607
     */
608
	public function withInstances(array $instances)
609
	{
610
	    $this->data['Instances'] = $instances;
611
		foreach ($instances as $depth1 => $depth1Value) {
612
			$this->options['query']['Instances.' . ($depth1 + 1) . '.InstanceId'] = $depth1Value['InstanceId'];
613
			$this->options['query']['Instances.' . ($depth1 + 1) . '.InstanceName'] = $depth1Value['InstanceName'];
614
			$this->options['query']['Instances.' . ($depth1 + 1) . '.RegionId'] = $depth1Value['RegionId'];
615
			$this->options['query']['Instances.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
616
		}
617
618
		return $this;
619
    }
620
}
621
622
/**
623
 * @method string getPolicyType()
624
 * @method $this withPolicyType($value)
625
 * @method string getGroupId()
626
 * @method $this withGroupId($value)
627
 * @method string getEndTime()
628
 * @method $this withEndTime($value)
629
 * @method string getStartTime()
630
 * @method $this withStartTime($value)
631
 */
632
class CreateMonitorGroupNotifyPolicy extends Rpc
633
{
634
}
635
636
/**
637
 * @method string getProcessName()
638
 * @method $this withProcessName($value)
639
 * @method string getInstanceId()
640
 * @method $this withInstanceId($value)
641
 * @method string getProcessUser()
642
 * @method $this withProcessUser($value)
643
 */
644
class CreateMonitoringAgentProcess extends Rpc
645
{
646
}
647
648
/**
649
 * @method string getAddress()
650
 * @method $this withAddress($value)
651
 * @method string getTaskType()
652
 * @method $this withTaskType($value)
653
 * @method string getTaskName()
654
 * @method $this withTaskName($value)
655
 * @method string getIspCities()
656
 * @method $this withIspCities($value)
657
 * @method string getOptionsJson()
658
 * @method $this withOptionsJson($value)
659
 * @method string getAlertIds()
660
 * @method $this withAlertIds($value)
661
 * @method string getInterval()
662
 * @method $this withInterval($value)
663
 */
664
class CreateSiteMonitor extends Rpc
665
{
666
}
667
668
/**
669
 * @method string getContactName()
670
 * @method $this withContactName($value)
671
 */
672
class DeleteContact extends Rpc
673
{
674
}
675
676
/**
677
 * @method string getContactGroupName()
678
 * @method $this withContactGroupName($value)
679
 */
680
class DeleteContactGroup extends Rpc
681
{
682
}
683
684
/**
685
 * @method string getGroupId()
686
 * @method $this withGroupId($value)
687
 * @method string getUUID()
688
 * @method $this withUUID($value)
689
 * @method string getMetricName()
690
 * @method $this withMetricName($value)
691
 * @method string getMd5()
692
 * @method $this withMd5($value)
693
 */
694
class DeleteCustomMetric extends Rpc
695
{
696
}
697
698
/**
699
 * @method array getRuleNames()
700
 */
701
class DeleteEventRules extends Rpc
702
{
703
704
    /**
705
     * @param array $ruleNames
706
     *
707
     * @return $this
708
     */
709
	public function withRuleNames(array $ruleNames)
710
	{
711
	    $this->data['RuleNames'] = $ruleNames;
712
		foreach ($ruleNames as $i => $iValue) {
713
			$this->options['query']['RuleNames.' . ($i + 1)] = $iValue;
714
		}
715
716
		return $this;
717
    }
718
}
719
720
/**
721
 * @method string getRuleName()
722
 * @method $this withRuleName($value)
723
 * @method array getIds()
724
 */
725
class DeleteEventRuleTargets extends Rpc
726
{
727
728
    /**
729
     * @param array $ids
730
     *
731
     * @return $this
732
     */
733
	public function withIds(array $ids)
734
	{
735
	    $this->data['Ids'] = $ids;
736
		foreach ($ids as $i => $iValue) {
737
			$this->options['query']['Ids.' . ($i + 1)] = $iValue;
738
		}
739
740
		return $this;
741
    }
742
}
743
744
/**
745
 * @method string getGroupId()
746
 * @method $this withGroupId($value)
747
 * @method string getId()
748
 * @method $this withId($value)
749
 */
750
class DeleteGroupMonitoringAgentProcess extends Rpc
751
{
752
}
753
754
/**
755
 * @method array getId()
756
 */
757
class DeleteHostAvailability extends Rpc
758
{
759
760
    /**
761
     * @param array $id
762
     *
763
     * @return $this
764
     */
765
	public function withId(array $id)
766
	{
767
	    $this->data['Id'] = $id;
768
		foreach ($id as $i => $iValue) {
769
			$this->options['query']['Id.' . ($i + 1)] = $iValue;
770
		}
771
772
		return $this;
773
    }
774
}
775
776
/**
777
 * @method string getResources()
778
 * @method $this withResources($value)
779
 * @method string getRuleId()
780
 * @method $this withRuleId($value)
781
 */
782
class DeleteMetricRuleResources extends Rpc
783
{
784
}
785
786
/**
787
 * @method array getId()
788
 */
789
class DeleteMetricRules extends Rpc
790
{
791
792
    /**
793
     * @param array $id
794
     *
795
     * @return $this
796
     */
797
	public function withId(array $id)
798
	{
799
	    $this->data['Id'] = $id;
800
		foreach ($id as $i => $iValue) {
801
			$this->options['query']['Id.' . ($i + 1)] = $iValue;
802
		}
803
804
		return $this;
805
    }
806
}
807
808
/**
809
 * @method array getTargetIds()
810
 * @method string getRuleId()
811
 * @method $this withRuleId($value)
812
 */
813
class DeleteMetricRuleTargets extends Rpc
814
{
815
816
    /** @var string */
817
    public $method = 'PUT';
818
819
    /**
820
     * @param array $targetIds
821
     *
822
     * @return $this
823
     */
824
	public function withTargetIds(array $targetIds)
825
	{
826
	    $this->data['TargetIds'] = $targetIds;
827
		foreach ($targetIds as $i => $iValue) {
828
			$this->options['query']['TargetIds.' . ($i + 1)] = $iValue;
829
		}
830
831
		return $this;
832
    }
833
}
834
835
/**
836
 * @method string getTemplateId()
837
 * @method $this withTemplateId($value)
838
 */
839
class DeleteMetricRuleTemplate extends Rpc
840
{
841
}
842
843
/**
844
 * @method string getGroupId()
845
 * @method $this withGroupId($value)
846
 */
847
class DeleteMonitorGroup extends Rpc
848
{
849
}
850
851
/**
852
 * @method string getGroupId()
853
 * @method $this withGroupId($value)
854
 * @method string getCategory()
855
 * @method $this withCategory($value)
856
 */
857
class DeleteMonitorGroupDynamicRule extends Rpc
858
{
859
}
860
861
/**
862
 * @method string getGroupId()
863
 * @method $this withGroupId($value)
864
 * @method string getInstanceIdList()
865
 * @method $this withInstanceIdList($value)
866
 * @method string getCategory()
867
 * @method $this withCategory($value)
868
 */
869
class DeleteMonitorGroupInstances extends Rpc
870
{
871
}
872
873
/**
874
 * @method string getPolicyType()
875
 * @method $this withPolicyType($value)
876
 * @method string getGroupId()
877
 * @method $this withGroupId($value)
878
 */
879
class DeleteMonitorGroupNotifyPolicy extends Rpc
880
{
881
}
882
883
/**
884
 * @method string getProcessName()
885
 * @method $this withProcessName($value)
886
 * @method string getInstanceId()
887
 * @method $this withInstanceId($value)
888
 * @method string getProcessId()
889
 * @method $this withProcessId($value)
890
 */
891
class DeleteMonitoringAgentProcess extends Rpc
892
{
893
}
894
895
/**
896
 * @method string getIsDeleteAlarms()
897
 * @method $this withIsDeleteAlarms($value)
898
 * @method string getTaskIds()
899
 * @method $this withTaskIds($value)
900
 */
901
class DeleteSiteMonitors extends Rpc
902
{
903
}
904
905
/**
906
 * @method string getProduct()
907
 * @method $this withProduct($value)
908
 */
909
class DescribeActiveMetricRuleList extends Rpc
910
{
911
}
912
913
/**
914
 * @method string getAlertStatus()
915
 * @method $this withAlertStatus($value)
916
 * @method string getRuleName()
917
 * @method $this withRuleName($value)
918
 * @method string getStartTime()
919
 * @method $this withStartTime($value)
920
 * @method string getPageSize()
921
 * @method $this withPageSize($value)
922
 * @method string getState()
923
 * @method $this withState($value)
924
 * @method string getMetricName()
925
 * @method $this withMetricName($value)
926
 * @method string getGroupId()
927
 * @method $this withGroupId($value)
928
 * @method string getEndTime()
929
 * @method $this withEndTime($value)
930
 * @method string getAscending()
931
 * @method $this withAscending($value)
932
 * @method string getNamespace()
933
 * @method $this withNamespace($value)
934
 * @method string getPage()
935
 * @method $this withPage($value)
936
 * @method string getRuleId()
937
 * @method $this withRuleId($value)
938
 */
939
class DescribeAlertHistoryList extends Rpc
940
{
941
}
942
943
/**
944
 * @method string getGroupId()
945
 * @method $this withGroupId($value)
946
 * @method string getPageSize()
947
 * @method $this withPageSize($value)
948
 * @method string getPage()
949
 * @method $this withPage($value)
950
 * @method string getRuleId()
951
 * @method $this withRuleId($value)
952
 */
953
class DescribeAlertingMetricRuleResources extends Rpc
954
{
955
956
    /** @var string */
957
    public $method = 'GET';
958
}
959
960
/**
961
 * @method string getPageNumber()
962
 * @method $this withPageNumber($value)
963
 * @method string getPageSize()
964
 * @method $this withPageSize($value)
965
 */
966
class DescribeContactGroupList extends Rpc
967
{
968
}
969
970
/**
971
 * @method string getPageNumber()
972
 * @method $this withPageNumber($value)
973
 * @method string getContactName()
974
 * @method $this withContactName($value)
975
 * @method string getPageSize()
976
 * @method $this withPageSize($value)
977
 */
978
class DescribeContactList extends Rpc
979
{
980
}
981
982
/**
983
 * @method string getContactGroupName()
984
 * @method $this withContactGroupName($value)
985
 */
986
class DescribeContactListByContactGroup extends Rpc
987
{
988
}
989
990
/**
991
 * @method string getEventId()
992
 * @method $this withEventId($value)
993
 * @method string getStartTime()
994
 * @method $this withStartTime($value)
995
 * @method string getSearchKeywords()
996
 * @method $this withSearchKeywords($value)
997
 * @method string getPageNumber()
998
 * @method $this withPageNumber($value)
999
 * @method string getPageSize()
1000
 * @method $this withPageSize($value)
1001
 * @method string getLevel()
1002
 * @method $this withLevel($value)
1003
 * @method string getGroupId()
1004
 * @method $this withGroupId($value)
1005
 * @method string getEndTime()
1006
 * @method $this withEndTime($value)
1007
 * @method string getName()
1008
 * @method $this withName($value)
1009
 */
1010
class DescribeCustomEventAttribute extends Rpc
1011
{
1012
}
1013
1014
/**
1015
 * @method string getEventId()
1016
 * @method $this withEventId($value)
1017
 * @method string getLevel()
1018
 * @method $this withLevel($value)
1019
 * @method string getGroupId()
1020
 * @method $this withGroupId($value)
1021
 * @method string getEndTime()
1022
 * @method $this withEndTime($value)
1023
 * @method string getStartTime()
1024
 * @method $this withStartTime($value)
1025
 * @method string getSearchKeywords()
1026
 * @method $this withSearchKeywords($value)
1027
 * @method string getName()
1028
 * @method $this withName($value)
1029
 */
1030
class DescribeCustomEventCount extends Rpc
1031
{
1032
}
1033
1034
/**
1035
 * @method string getEventId()
1036
 * @method $this withEventId($value)
1037
 * @method string getLevel()
1038
 * @method $this withLevel($value)
1039
 * @method string getGroupId()
1040
 * @method $this withGroupId($value)
1041
 * @method string getEndTime()
1042
 * @method $this withEndTime($value)
1043
 * @method string getStartTime()
1044
 * @method $this withStartTime($value)
1045
 * @method string getSearchKeywords()
1046
 * @method $this withSearchKeywords($value)
1047
 * @method string getName()
1048
 * @method $this withName($value)
1049
 */
1050
class DescribeCustomEventHistogram extends Rpc
1051
{
1052
}
1053
1054
/**
1055
 * @method string getGroupId()
1056
 * @method $this withGroupId($value)
1057
 * @method string getPageNumber()
1058
 * @method $this withPageNumber($value)
1059
 * @method string getPageSize()
1060
 * @method $this withPageSize($value)
1061
 * @method string getMetricName()
1062
 * @method $this withMetricName($value)
1063
 * @method string getDimension()
1064
 * @method $this withDimension($value)
1065
 * @method string getMd5()
1066
 * @method $this withMd5($value)
1067
 */
1068
class DescribeCustomMetricList extends Rpc
1069
{
1070
}
1071
1072
/**
1073
 * @method string getRuleName()
1074
 * @method $this withRuleName($value)
1075
 */
1076
class DescribeEventRuleAttribute extends Rpc
1077
{
1078
}
1079
1080
/**
1081
 * @method string getGroupId()
1082
 * @method $this withGroupId($value)
1083
 * @method string getPageNumber()
1084
 * @method $this withPageNumber($value)
1085
 * @method string getPageSize()
1086
 * @method $this withPageSize($value)
1087
 * @method string getNamePrefix()
1088
 * @method $this withNamePrefix($value)
1089
 */
1090
class DescribeEventRuleList extends Rpc
1091
{
1092
}
1093
1094
/**
1095
 * @method string getRuleName()
1096
 * @method $this withRuleName($value)
1097
 */
1098
class DescribeEventRuleTargetList extends Rpc
1099
{
1100
1101
    /** @var string */
1102
    public $method = 'PUT';
1103
}
1104
1105
/**
1106
 * @method string getGroupId()
1107
 * @method $this withGroupId($value)
1108
 * @method string getProcessName()
1109
 * @method $this withProcessName($value)
1110
 * @method string getPageNumber()
1111
 * @method $this withPageNumber($value)
1112
 * @method string getPageSize()
1113
 * @method $this withPageSize($value)
1114
 */
1115
class DescribeGroupMonitoringAgentProcess extends Rpc
1116
{
1117
}
1118
1119
/**
1120
 * @method string getGroupId()
1121
 * @method $this withGroupId($value)
1122
 * @method string getTaskName()
1123
 * @method $this withTaskName($value)
1124
 * @method string getPageNumber()
1125
 * @method $this withPageNumber($value)
1126
 * @method string getPageSize()
1127
 * @method $this withPageSize($value)
1128
 * @method string getId()
1129
 * @method $this withId($value)
1130
 */
1131
class DescribeHostAvailabilityList extends Rpc
1132
{
1133
}
1134
1135
/**
1136
 * @method string getPeriod()
1137
 * @method $this withPeriod($value)
1138
 * @method string getLength()
1139
 * @method $this withLength($value)
1140
 * @method string getEndTime()
1141
 * @method $this withEndTime($value)
1142
 * @method string getExpress()
1143
 * @method $this withExpress($value)
1144
 * @method string getStartTime()
1145
 * @method $this withStartTime($value)
1146
 * @method string getNamespace()
1147
 * @method $this withNamespace($value)
1148
 * @method string getMetricName()
1149
 * @method $this withMetricName($value)
1150
 * @method string getDimensions()
1151
 * @method $this withDimensions($value)
1152
 */
1153
class DescribeMetricData extends Rpc
1154
{
1155
}
1156
1157
/**
1158
 * @method string getExpress()
1159
 * @method $this withExpress($value)
1160
 * @method string getStartTime()
1161
 * @method $this withStartTime($value)
1162
 * @method string getNextToken()
1163
 * @method $this withNextToken($value)
1164
 * @method string getMetricName()
1165
 * @method $this withMetricName($value)
1166
 * @method string getPeriod()
1167
 * @method $this withPeriod($value)
1168
 * @method string getLength()
1169
 * @method $this withLength($value)
1170
 * @method string getEndTime()
1171
 * @method $this withEndTime($value)
1172
 * @method string getNamespace()
1173
 * @method $this withNamespace($value)
1174
 * @method string getDimensions()
1175
 * @method $this withDimensions($value)
1176
 */
1177
class DescribeMetricLast extends Rpc
1178
{
1179
}
1180
1181
/**
1182
 * @method string getExpress()
1183
 * @method $this withExpress($value)
1184
 * @method string getStartTime()
1185
 * @method $this withStartTime($value)
1186
 * @method string getNextToken()
1187
 * @method $this withNextToken($value)
1188
 * @method string getMetricName()
1189
 * @method $this withMetricName($value)
1190
 * @method string getPeriod()
1191
 * @method $this withPeriod($value)
1192
 * @method string getLength()
1193
 * @method $this withLength($value)
1194
 * @method string getEndTime()
1195
 * @method $this withEndTime($value)
1196
 * @method string getNamespace()
1197
 * @method $this withNamespace($value)
1198
 * @method string getDimensions()
1199
 * @method $this withDimensions($value)
1200
 */
1201
class DescribeMetricList extends Rpc
1202
{
1203
}
1204
1205
/**
1206
 * @method string getPageNumber()
1207
 * @method $this withPageNumber($value)
1208
 * @method string getLabels()
1209
 * @method $this withLabels($value)
1210
 * @method string getNamespace()
1211
 * @method $this withNamespace($value)
1212
 * @method string getPageSize()
1213
 * @method $this withPageSize($value)
1214
 * @method string getMetricName()
1215
 * @method $this withMetricName($value)
1216
 */
1217
class DescribeMetricMetaList extends Rpc
1218
{
1219
}
1220
1221
/**
1222
 * @method string getNamespace()
1223
 * @method $this withNamespace($value)
1224
 * @method string getMetricName()
1225
 * @method $this withMetricName($value)
1226
 */
1227
class DescribeMetricRuleCount extends Rpc
1228
{
1229
1230
    /** @var string */
1231
    public $method = 'GET';
1232
}
1233
1234
/**
1235
 * @method string getEnableState()
1236
 * @method $this withEnableState($value)
1237
 * @method string getRuleName()
1238
 * @method $this withRuleName($value)
1239
 * @method string getPageSize()
1240
 * @method $this withPageSize($value)
1241
 * @method string getMetricName()
1242
 * @method $this withMetricName($value)
1243
 * @method string getGroupId()
1244
 * @method $this withGroupId($value)
1245
 * @method string getRuleIds()
1246
 * @method $this withRuleIds($value)
1247
 * @method string getNamespace()
1248
 * @method $this withNamespace($value)
1249
 * @method string getAlertState()
1250
 * @method $this withAlertState($value)
1251
 * @method string getPage()
1252
 * @method $this withPage($value)
1253
 * @method string getDimensions()
1254
 * @method $this withDimensions($value)
1255
 */
1256
class DescribeMetricRuleList extends Rpc
1257
{
1258
}
1259
1260
/**
1261
 * @method string getRuleId()
1262
 * @method $this withRuleId($value)
1263
 */
1264
class DescribeMetricRuleTargets extends Rpc
1265
{
1266
1267
    /** @var string */
1268
    public $method = 'PUT';
1269
}
1270
1271
/**
1272
 * @method string getName()
1273
 * @method $this withName($value)
1274
 * @method string getTemplateId()
1275
 * @method $this withTemplateId($value)
1276
 */
1277
class DescribeMetricRuleTemplateAttribute extends Rpc
1278
{
1279
}
1280
1281
/**
1282
 * @method string getHistory()
1283
 * @method $this withHistory($value)
1284
 * @method string getTemplateId()
1285
 * @method $this withTemplateId($value)
1286
 * @method string getPageNumber()
1287
 * @method $this withPageNumber($value)
1288
 * @method string getName()
1289
 * @method $this withName($value)
1290
 * @method string getPageSize()
1291
 * @method $this withPageSize($value)
1292
 * @method string getKeyword()
1293
 * @method $this withKeyword($value)
1294
 */
1295
class DescribeMetricRuleTemplateList extends Rpc
1296
{
1297
}
1298
1299
/**
1300
 * @method string getExpress()
1301
 * @method $this withExpress($value)
1302
 * @method string getStartTime()
1303
 * @method $this withStartTime($value)
1304
 * @method string getMetricName()
1305
 * @method $this withMetricName($value)
1306
 * @method string getPeriod()
1307
 * @method $this withPeriod($value)
1308
 * @method string getLength()
1309
 * @method $this withLength($value)
1310
 * @method string getEndTime()
1311
 * @method $this withEndTime($value)
1312
 * @method string getOrderby()
1313
 * @method $this withOrderby($value)
1314
 * @method string getOrderDesc()
1315
 * @method $this withOrderDesc($value)
1316
 * @method string getNamespace()
1317
 * @method $this withNamespace($value)
1318
 * @method string getDimensions()
1319
 * @method $this withDimensions($value)
1320
 */
1321
class DescribeMetricTop extends Rpc
1322
{
1323
}
1324
1325
/**
1326
 * @method string getGroupId()
1327
 * @method $this withGroupId($value)
1328
 */
1329
class DescribeMonitorGroupCategories extends Rpc
1330
{
1331
}
1332
1333
/**
1334
 * @method string getGroupId()
1335
 * @method $this withGroupId($value)
1336
 */
1337
class DescribeMonitorGroupDynamicRules extends Rpc
1338
{
1339
}
1340
1341
/**
1342
 * @method string getGroupId()
1343
 * @method $this withGroupId($value)
1344
 * @method string getPageNumber()
1345
 * @method $this withPageNumber($value)
1346
 * @method string getTotal()
1347
 * @method $this withTotal($value)
1348
 * @method string getInstanceIds()
1349
 * @method $this withInstanceIds($value)
1350
 * @method string getPageSize()
1351
 * @method $this withPageSize($value)
1352
 * @method string getCategory()
1353
 * @method $this withCategory($value)
1354
 * @method string getKeyword()
1355
 * @method $this withKeyword($value)
1356
 */
1357
class DescribeMonitorGroupInstanceAttribute extends Rpc
1358
{
1359
}
1360
1361
/**
1362
 * @method string getGroupId()
1363
 * @method $this withGroupId($value)
1364
 * @method string getPageNumber()
1365
 * @method $this withPageNumber($value)
1366
 * @method string getInstanceIds()
1367
 * @method $this withInstanceIds($value)
1368
 * @method string getPageSize()
1369
 * @method $this withPageSize($value)
1370
 * @method string getCategory()
1371
 * @method $this withCategory($value)
1372
 * @method string getKeyword()
1373
 * @method $this withKeyword($value)
1374
 */
1375
class DescribeMonitorGroupInstances extends Rpc
1376
{
1377
}
1378
1379
/**
1380
 * @method string getPolicyType()
1381
 * @method $this withPolicyType($value)
1382
 * @method string getGroupId()
1383
 * @method $this withGroupId($value)
1384
 * @method string getPageNumber()
1385
 * @method $this withPageNumber($value)
1386
 * @method string getPageSize()
1387
 * @method $this withPageSize($value)
1388
 */
1389
class DescribeMonitorGroupNotifyPolicyList extends Rpc
1390
{
1391
}
1392
1393
/**
1394
 * @method string getSelectContactGroups()
1395
 * @method $this withSelectContactGroups($value)
1396
 * @method string getIncludeTemplateHistory()
1397
 * @method $this withIncludeTemplateHistory($value)
1398
 * @method string getType()
1399
 * @method $this withType($value)
1400
 * @method string getGroupName()
1401
 * @method $this withGroupName($value)
1402
 * @method string getPageNumber()
1403
 * @method $this withPageNumber($value)
1404
 * @method string getInstanceId()
1405
 * @method $this withInstanceId($value)
1406
 * @method string getPageSize()
1407
 * @method $this withPageSize($value)
1408
 * @method array getTag()
1409
 * @method string getKeyword()
1410
 * @method $this withKeyword($value)
1411
 */
1412
class DescribeMonitorGroups extends Rpc
1413
{
1414
1415
    /**
1416
     * @param array $tag
1417
     *
1418
     * @return $this
1419
     */
1420
	public function withTag(array $tag)
1421
	{
1422
	    $this->data['Tag'] = $tag;
1423
		foreach ($tag as $depth1 => $depth1Value) {
1424
			$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
1425
			$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
1426
		}
1427
1428
		return $this;
1429
    }
1430
}
1431
1432
class DescribeMonitoringAgentAccessKey extends Rpc
1433
{
1434
}
1435
1436
class DescribeMonitoringAgentConfig extends Rpc
1437
{
1438
}
1439
1440
/**
1441
 * @method string getSerialNumbers()
1442
 * @method $this withSerialNumbers($value)
1443
 * @method string getPageNumber()
1444
 * @method $this withPageNumber($value)
1445
 * @method string getHostName()
1446
 * @method $this withHostName($value)
1447
 * @method string getInstanceIds()
1448
 * @method $this withInstanceIds($value)
1449
 * @method string getInstanceRegionId()
1450
 * @method $this withInstanceRegionId($value)
1451
 * @method string getPageSize()
1452
 * @method $this withPageSize($value)
1453
 * @method string getKeyWord()
1454
 * @method $this withKeyWord($value)
1455
 */
1456
class DescribeMonitoringAgentHosts extends Rpc
1457
{
1458
}
1459
1460
/**
1461
 * @method string getInstanceId()
1462
 * @method $this withInstanceId($value)
1463
 */
1464
class DescribeMonitoringAgentProcesses extends Rpc
1465
{
1466
}
1467
1468
/**
1469
 * @method string getInstanceIds()
1470
 * @method $this withInstanceIds($value)
1471
 */
1472
class DescribeMonitoringAgentStatuses extends Rpc
1473
{
1474
}
1475
1476
class DescribeMonitoringConfig extends Rpc
1477
{
1478
}
1479
1480
class DescribeProductsOfActiveMetricRule extends Rpc
1481
{
1482
}
1483
1484
/**
1485
 * @method string getPageSize()
1486
 * @method $this withPageSize($value)
1487
 * @method string getPageNumber()
1488
 * @method $this withPageNumber($value)
1489
 * @method string getLabels()
1490
 * @method $this withLabels($value)
1491
 */
1492
class DescribeProjectMeta extends Rpc
1493
{
1494
}
1495
1496
/**
1497
 * @method string getIncludeAlert()
1498
 * @method $this withIncludeAlert($value)
1499
 * @method string getTaskId()
1500
 * @method $this withTaskId($value)
1501
 */
1502
class DescribeSiteMonitorAttribute extends Rpc
1503
{
1504
}
1505
1506
/**
1507
 * @method string getPeriod()
1508
 * @method $this withPeriod($value)
1509
 * @method string getLength()
1510
 * @method $this withLength($value)
1511
 * @method string getEndTime()
1512
 * @method $this withEndTime($value)
1513
 * @method string getStartTime()
1514
 * @method $this withStartTime($value)
1515
 * @method string getType()
1516
 * @method $this withType($value)
1517
 * @method string getNextToken()
1518
 * @method $this withNextToken($value)
1519
 * @method string getMetricName()
1520
 * @method $this withMetricName($value)
1521
 * @method string getTaskId()
1522
 * @method $this withTaskId($value)
1523
 */
1524
class DescribeSiteMonitorData extends Rpc
1525
{
1526
}
1527
1528
/**
1529
 * @method string getCity()
1530
 * @method $this withCity($value)
1531
 * @method string getIsp()
1532
 * @method $this withIsp($value)
1533
 */
1534
class DescribeSiteMonitorISPCityList extends Rpc
1535
{
1536
}
1537
1538
/**
1539
 * @method string getTaskType()
1540
 * @method $this withTaskType($value)
1541
 * @method string getPageSize()
1542
 * @method $this withPageSize($value)
1543
 * @method string getPage()
1544
 * @method $this withPage($value)
1545
 * @method string getKeyword()
1546
 * @method $this withKeyword($value)
1547
 * @method string getTaskId()
1548
 * @method $this withTaskId($value)
1549
 */
1550
class DescribeSiteMonitorList extends Rpc
1551
{
1552
}
1553
1554
class DescribeSiteMonitorQuota extends Rpc
1555
{
1556
}
1557
1558
/**
1559
 * @method string getTimeRange()
1560
 * @method $this withTimeRange($value)
1561
 * @method string getStartTime()
1562
 * @method $this withStartTime($value)
1563
 * @method string getMetricName()
1564
 * @method $this withMetricName($value)
1565
 * @method string getTaskId()
1566
 * @method $this withTaskId($value)
1567
 */
1568
class DescribeSiteMonitorStatistics extends Rpc
1569
{
1570
}
1571
1572
/**
1573
 * @method string getStartTime()
1574
 * @method $this withStartTime($value)
1575
 * @method string getSearchKeywords()
1576
 * @method $this withSearchKeywords($value)
1577
 * @method string getPageNumber()
1578
 * @method $this withPageNumber($value)
1579
 * @method string getPageSize()
1580
 * @method $this withPageSize($value)
1581
 * @method string getProduct()
1582
 * @method $this withProduct($value)
1583
 * @method string getLevel()
1584
 * @method $this withLevel($value)
1585
 * @method string getGroupId()
1586
 * @method $this withGroupId($value)
1587
 * @method string getEndTime()
1588
 * @method $this withEndTime($value)
1589
 * @method string getName()
1590
 * @method $this withName($value)
1591
 * @method string getEventType()
1592
 * @method $this withEventType($value)
1593
 * @method string getStatus()
1594
 * @method $this withStatus($value)
1595
 */
1596
class DescribeSystemEventAttribute extends Rpc
1597
{
1598
}
1599
1600
/**
1601
 * @method string getStartTime()
1602
 * @method $this withStartTime($value)
1603
 * @method string getSearchKeywords()
1604
 * @method $this withSearchKeywords($value)
1605
 * @method string getProduct()
1606
 * @method $this withProduct($value)
1607
 * @method string getLevel()
1608
 * @method $this withLevel($value)
1609
 * @method string getGroupId()
1610
 * @method $this withGroupId($value)
1611
 * @method string getEndTime()
1612
 * @method $this withEndTime($value)
1613
 * @method string getName()
1614
 * @method $this withName($value)
1615
 * @method string getEventType()
1616
 * @method $this withEventType($value)
1617
 * @method string getStatus()
1618
 * @method $this withStatus($value)
1619
 */
1620
class DescribeSystemEventCount extends Rpc
1621
{
1622
}
1623
1624
/**
1625
 * @method string getStartTime()
1626
 * @method $this withStartTime($value)
1627
 * @method string getSearchKeywords()
1628
 * @method $this withSearchKeywords($value)
1629
 * @method string getPageNumber()
1630
 * @method $this withPageNumber($value)
1631
 * @method string getPageSize()
1632
 * @method $this withPageSize($value)
1633
 * @method string getProduct()
1634
 * @method $this withProduct($value)
1635
 * @method string getLevel()
1636
 * @method $this withLevel($value)
1637
 * @method string getGroupId()
1638
 * @method $this withGroupId($value)
1639
 * @method string getEndTime()
1640
 * @method $this withEndTime($value)
1641
 * @method string getName()
1642
 * @method $this withName($value)
1643
 * @method string getEventType()
1644
 * @method $this withEventType($value)
1645
 * @method string getStatus()
1646
 * @method $this withStatus($value)
1647
 */
1648
class DescribeSystemEventHistogram extends Rpc
1649
{
1650
}
1651
1652
class DescribeSystemEventMetaList extends Rpc
1653
{
1654
}
1655
1656
/**
1657
 * @method string getPageNumber()
1658
 * @method $this withPageNumber($value)
1659
 * @method string getPageSize()
1660
 * @method $this withPageSize($value)
1661
 */
1662
class DescribeTagKeyList extends Rpc
1663
{
1664
}
1665
1666
/**
1667
 * @method string getPageNumber()
1668
 * @method $this withPageNumber($value)
1669
 * @method string getPageSize()
1670
 * @method $this withPageSize($value)
1671
 * @method string getTagKey()
1672
 * @method $this withTagKey($value)
1673
 */
1674
class DescribeTagValueList extends Rpc
1675
{
1676
}
1677
1678
/**
1679
 * @method array getId()
1680
 */
1681
class DescribeUnhealthyHostAvailability extends Rpc
1682
{
1683
1684
    /**
1685
     * @param array $id
1686
     *
1687
     * @return $this
1688
     */
1689
	public function withId(array $id)
1690
	{
1691
	    $this->data['Id'] = $id;
1692
		foreach ($id as $i => $iValue) {
1693
			$this->options['query']['Id.' . ($i + 1)] = $iValue;
1694
		}
1695
1696
		return $this;
1697
    }
1698
}
1699
1700
/**
1701
 * @method string getProduct()
1702
 * @method $this withProduct($value)
1703
 */
1704
class DisableActiveMetricRule extends Rpc
1705
{
1706
}
1707
1708
/**
1709
 * @method array getRuleNames()
1710
 */
1711
class DisableEventRules extends Rpc
1712
{
1713
1714
    /** @var string */
1715
    public $method = 'PUT';
1716
1717
    /**
1718
     * @param array $ruleNames
1719
     *
1720
     * @return $this
1721
     */
1722
	public function withRuleNames(array $ruleNames)
1723
	{
1724
	    $this->data['RuleNames'] = $ruleNames;
1725
		foreach ($ruleNames as $i => $iValue) {
1726
			$this->options['query']['RuleNames.' . ($i + 1)] = $iValue;
1727
		}
1728
1729
		return $this;
1730
    }
1731
}
1732
1733
/**
1734
 * @method array getId()
1735
 */
1736
class DisableHostAvailability extends Rpc
1737
{
1738
1739
    /**
1740
     * @param array $id
1741
     *
1742
     * @return $this
1743
     */
1744
	public function withId(array $id)
1745
	{
1746
	    $this->data['Id'] = $id;
1747
		foreach ($id as $i => $iValue) {
1748
			$this->options['query']['Id.' . ($i + 1)] = $iValue;
1749
		}
1750
1751
		return $this;
1752
    }
1753
}
1754
1755
/**
1756
 * @method array getRuleId()
1757
 */
1758
class DisableMetricRules extends Rpc
1759
{
1760
1761
    /**
1762
     * @param array $ruleId
1763
     *
1764
     * @return $this
1765
     */
1766
	public function withRuleId(array $ruleId)
1767
	{
1768
	    $this->data['RuleId'] = $ruleId;
1769
		foreach ($ruleId as $i => $iValue) {
1770
			$this->options['query']['RuleId.' . ($i + 1)] = $iValue;
1771
		}
1772
1773
		return $this;
1774
    }
1775
}
1776
1777
/**
1778
 * @method string getTaskIds()
1779
 * @method $this withTaskIds($value)
1780
 */
1781
class DisableSiteMonitors extends Rpc
1782
{
1783
}
1784
1785
/**
1786
 * @method string getProduct()
1787
 * @method $this withProduct($value)
1788
 */
1789
class EnableActiveMetricRule extends Rpc
1790
{
1791
}
1792
1793
/**
1794
 * @method array getRuleNames()
1795
 */
1796
class EnableEventRules extends Rpc
1797
{
1798
1799
    /** @var string */
1800
    public $method = 'PUT';
1801
1802
    /**
1803
     * @param array $ruleNames
1804
     *
1805
     * @return $this
1806
     */
1807
	public function withRuleNames(array $ruleNames)
1808
	{
1809
	    $this->data['RuleNames'] = $ruleNames;
1810
		foreach ($ruleNames as $i => $iValue) {
1811
			$this->options['query']['RuleNames.' . ($i + 1)] = $iValue;
1812
		}
1813
1814
		return $this;
1815
    }
1816
}
1817
1818
/**
1819
 * @method array getId()
1820
 */
1821
class EnableHostAvailability extends Rpc
1822
{
1823
1824
    /**
1825
     * @param array $id
1826
     *
1827
     * @return $this
1828
     */
1829
	public function withId(array $id)
1830
	{
1831
	    $this->data['Id'] = $id;
1832
		foreach ($id as $i => $iValue) {
1833
			$this->options['query']['Id.' . ($i + 1)] = $iValue;
1834
		}
1835
1836
		return $this;
1837
    }
1838
}
1839
1840
/**
1841
 * @method array getRuleId()
1842
 */
1843
class EnableMetricRules extends Rpc
1844
{
1845
1846
    /**
1847
     * @param array $ruleId
1848
     *
1849
     * @return $this
1850
     */
1851
	public function withRuleId(array $ruleId)
1852
	{
1853
	    $this->data['RuleId'] = $ruleId;
1854
		foreach ($ruleId as $i => $iValue) {
1855
			$this->options['query']['RuleId.' . ($i + 1)] = $iValue;
1856
		}
1857
1858
		return $this;
1859
    }
1860
}
1861
1862
/**
1863
 * @method string getTaskIds()
1864
 * @method $this withTaskIds($value)
1865
 */
1866
class EnableSiteMonitors extends Rpc
1867
{
1868
}
1869
1870
/**
1871
 * @method array getInstanceIds()
1872
 * @method string getForce()
1873
 * @method $this withForce($value)
1874
 */
1875
class InstallMonitoringAgent extends Rpc
1876
{
1877
1878
    /**
1879
     * @param array $instanceIds
1880
     *
1881
     * @return $this
1882
     */
1883
	public function withInstanceIds(array $instanceIds)
1884
	{
1885
	    $this->data['InstanceIds'] = $instanceIds;
1886
		foreach ($instanceIds as $i => $iValue) {
1887
			$this->options['query']['InstanceIds.' . ($i + 1)] = $iValue;
1888
		}
1889
1890
		return $this;
1891
    }
1892
}
1893
1894
/**
1895
 * @method array getAlertConfig()
1896
 * @method string getGroupId()
1897
 * @method $this withGroupId($value)
1898
 * @method string getMatchExpressFilterRelation()
1899
 * @method $this withMatchExpressFilterRelation($value)
1900
 * @method string getId()
1901
 * @method $this withId($value)
1902
 */
1903
class ModifyGroupMonitoringAgentProcess extends Rpc
1904
{
1905
1906
    /**
1907
     * @param array $alertConfig
1908
     *
1909
     * @return $this
1910
     */
1911
	public function withAlertConfig(array $alertConfig)
1912
	{
1913
	    $this->data['AlertConfig'] = $alertConfig;
1914
		foreach ($alertConfig as $depth1 => $depth1Value) {
1915
			$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.Times'] = $depth1Value['Times'];
1916
			$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.NoEffectiveInterval'] = $depth1Value['NoEffectiveInterval'];
1917
			$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.SilenceTime'] = $depth1Value['SilenceTime'];
1918
			$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.Threshold'] = $depth1Value['Threshold'];
1919
			$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.EffectiveInterval'] = $depth1Value['EffectiveInterval'];
1920
			$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.ComparisonOperator'] = $depth1Value['ComparisonOperator'];
1921
			$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.EscalationsLevel'] = $depth1Value['EscalationsLevel'];
1922
			$this->options['query']['AlertConfig.' . ($depth1 + 1) . '.Statistics'] = $depth1Value['Statistics'];
1923
		}
1924
1925
		return $this;
1926
    }
1927
}
1928
1929
/**
1930
 * @method string getTaskOptionHttpMethod()
1931
 * @method array getAlertConfigEscalationList()
1932
 * @method string getTaskName()
1933
 * @method $this withTaskName($value)
1934
 * @method string getAlertConfigSilenceTime()
1935
 * @method string getTaskOptionHttpResponseCharset()
1936
 * @method string getTaskOptionHttpNegative()
1937
 * @method string getAlertConfigNotifyType()
1938
 * @method string getTaskOptionTelnetOrPingHost()
1939
 * @method string getTaskOptionHttpResponseMatchContent()
1940
 * @method string getId()
1941
 * @method $this withId($value)
1942
 * @method array getInstanceList()
1943
 * @method string getGroupId()
1944
 * @method $this withGroupId($value)
1945
 * @method string getAlertConfigEndTime()
1946
 * @method string getTaskOptionHttpURI()
1947
 * @method string getTaskScope()
1948
 * @method $this withTaskScope($value)
1949
 * @method string getAlertConfigStartTime()
1950
 * @method string getAlertConfigWebHook()
1951
 */
1952
class ModifyHostAvailability extends Rpc
1953
{
1954
1955
    /**
1956
     * @param string $value
1957
     *
1958
     * @return $this
1959
     */
1960
    public function withTaskOptionHttpMethod($value)
1961
    {
1962
        $this->data['TaskOptionHttpMethod'] = $value;
1963
        $this->options['query']['TaskOption.HttpMethod'] = $value;
1964
1965
        return $this;
1966
    }
1967
1968
    /**
1969
     * @param array $alertConfigEscalationList
1970
     *
1971
     * @return $this
1972
     */
1973
	public function withAlertConfigEscalationList(array $alertConfigEscalationList)
1974
	{
1975
	    $this->data['AlertConfigEscalationList'] = $alertConfigEscalationList;
1976
		foreach ($alertConfigEscalationList as $depth1 => $depth1Value) {
1977
			$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.Times'] = $depth1Value['Times'];
1978
			$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
1979
			$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
1980
			$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.Operator'] = $depth1Value['Operator'];
1981
			$this->options['query']['AlertConfigEscalationList.' . ($depth1 + 1) . '.Aggregate'] = $depth1Value['Aggregate'];
1982
		}
1983
1984
		return $this;
1985
    }
1986
1987
    /**
1988
     * @param string $value
1989
     *
1990
     * @return $this
1991
     */
1992
    public function withAlertConfigSilenceTime($value)
1993
    {
1994
        $this->data['AlertConfigSilenceTime'] = $value;
1995
        $this->options['query']['AlertConfig.SilenceTime'] = $value;
1996
1997
        return $this;
1998
    }
1999
2000
    /**
2001
     * @param string $value
2002
     *
2003
     * @return $this
2004
     */
2005
    public function withTaskOptionHttpResponseCharset($value)
2006
    {
2007
        $this->data['TaskOptionHttpResponseCharset'] = $value;
2008
        $this->options['query']['TaskOption.HttpResponseCharset'] = $value;
2009
2010
        return $this;
2011
    }
2012
2013
    /**
2014
     * @param string $value
2015
     *
2016
     * @return $this
2017
     */
2018
    public function withTaskOptionHttpNegative($value)
2019
    {
2020
        $this->data['TaskOptionHttpNegative'] = $value;
2021
        $this->options['query']['TaskOption.HttpNegative'] = $value;
2022
2023
        return $this;
2024
    }
2025
2026
    /**
2027
     * @param string $value
2028
     *
2029
     * @return $this
2030
     */
2031
    public function withAlertConfigNotifyType($value)
2032
    {
2033
        $this->data['AlertConfigNotifyType'] = $value;
2034
        $this->options['query']['AlertConfig.NotifyType'] = $value;
2035
2036
        return $this;
2037
    }
2038
2039
    /**
2040
     * @param string $value
2041
     *
2042
     * @return $this
2043
     */
2044
    public function withTaskOptionTelnetOrPingHost($value)
2045
    {
2046
        $this->data['TaskOptionTelnetOrPingHost'] = $value;
2047
        $this->options['query']['TaskOption.TelnetOrPingHost'] = $value;
2048
2049
        return $this;
2050
    }
2051
2052
    /**
2053
     * @param string $value
2054
     *
2055
     * @return $this
2056
     */
2057
    public function withTaskOptionHttpResponseMatchContent($value)
2058
    {
2059
        $this->data['TaskOptionHttpResponseMatchContent'] = $value;
2060
        $this->options['query']['TaskOption.HttpResponseMatchContent'] = $value;
2061
2062
        return $this;
2063
    }
2064
2065
    /**
2066
     * @param array $instanceList
2067
     *
2068
     * @return $this
2069
     */
2070
	public function withInstanceList(array $instanceList)
2071
	{
2072
	    $this->data['InstanceList'] = $instanceList;
2073
		foreach ($instanceList as $i => $iValue) {
2074
			$this->options['query']['InstanceList.' . ($i + 1)] = $iValue;
2075
		}
2076
2077
		return $this;
2078
    }
2079
2080
    /**
2081
     * @param string $value
2082
     *
2083
     * @return $this
2084
     */
2085
    public function withAlertConfigEndTime($value)
2086
    {
2087
        $this->data['AlertConfigEndTime'] = $value;
2088
        $this->options['query']['AlertConfig.EndTime'] = $value;
2089
2090
        return $this;
2091
    }
2092
2093
    /**
2094
     * @param string $value
2095
     *
2096
     * @return $this
2097
     */
2098
    public function withTaskOptionHttpURI($value)
2099
    {
2100
        $this->data['TaskOptionHttpURI'] = $value;
2101
        $this->options['query']['TaskOption.HttpURI'] = $value;
2102
2103
        return $this;
2104
    }
2105
2106
    /**
2107
     * @param string $value
2108
     *
2109
     * @return $this
2110
     */
2111
    public function withAlertConfigStartTime($value)
2112
    {
2113
        $this->data['AlertConfigStartTime'] = $value;
2114
        $this->options['query']['AlertConfig.StartTime'] = $value;
2115
2116
        return $this;
2117
    }
2118
2119
    /**
2120
     * @param string $value
2121
     *
2122
     * @return $this
2123
     */
2124
    public function withAlertConfigWebHook($value)
2125
    {
2126
        $this->data['AlertConfigWebHook'] = $value;
2127
        $this->options['query']['AlertConfig.WebHook'] = $value;
2128
2129
        return $this;
2130
    }
2131
}
2132
2133
/**
2134
 * @method string getRestVersion()
2135
 * @method $this withRestVersion($value)
2136
 * @method string getDescription()
2137
 * @method $this withDescription($value)
2138
 * @method string getTemplateId()
2139
 * @method $this withTemplateId($value)
2140
 * @method string getName()
2141
 * @method $this withName($value)
2142
 * @method array getAlertTemplates()
2143
 */
2144
class ModifyMetricRuleTemplate extends Rpc
2145
{
2146
2147
    /**
2148
     * @param array $alertTemplates
2149
     *
2150
     * @return $this
2151
     */
2152
	public function withAlertTemplates(array $alertTemplates)
2153
	{
2154
	    $this->data['AlertTemplates'] = $alertTemplates;
2155
		foreach ($alertTemplates as $depth1 => $depth1Value) {
2156
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
2157
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Warn.Threshold'] = $depth1Value['EscalationsWarnThreshold'];
2158
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Webhook'] = $depth1Value['Webhook'];
2159
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Warn.ComparisonOperator'] = $depth1Value['EscalationsWarnComparisonOperator'];
2160
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Critical.Statistics'] = $depth1Value['EscalationsCriticalStatistics'];
2161
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Info.Times'] = $depth1Value['EscalationsInfoTimes'];
2162
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.RuleName'] = $depth1Value['RuleName'];
2163
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Info.Statistics'] = $depth1Value['EscalationsInfoStatistics'];
2164
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Critical.Times'] = $depth1Value['EscalationsCriticalTimes'];
2165
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Info.ComparisonOperator'] = $depth1Value['EscalationsInfoComparisonOperator'];
2166
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Warn.Statistics'] = $depth1Value['EscalationsWarnStatistics'];
2167
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Info.Threshold'] = $depth1Value['EscalationsInfoThreshold'];
2168
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Namespace'] = $depth1Value['Namespace'];
2169
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Selector'] = $depth1Value['Selector'];
2170
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
2171
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
2172
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Critical.ComparisonOperator'] = $depth1Value['EscalationsCriticalComparisonOperator'];
2173
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Warn.Times'] = $depth1Value['EscalationsWarnTimes'];
2174
			$this->options['query']['AlertTemplates.' . ($depth1 + 1) . '.Escalations.Critical.Threshold'] = $depth1Value['EscalationsCriticalThreshold'];
2175
		}
2176
2177
		return $this;
2178
    }
2179
}
2180
2181
/**
2182
 * @method string getContactGroups()
2183
 * @method $this withContactGroups($value)
2184
 * @method string getGroupId()
2185
 * @method $this withGroupId($value)
2186
 * @method string getGroupName()
2187
 * @method $this withGroupName($value)
2188
 * @method string getBindUrls()
2189
 * @method $this withBindUrls($value)
2190
 * @method string getServiceId()
2191
 * @method $this withServiceId($value)
2192
 */
2193
class ModifyMonitorGroup extends Rpc
2194
{
2195
}
2196
2197
/**
2198
 * @method array getInstances()
2199
 * @method string getGroupId()
2200
 * @method $this withGroupId($value)
2201
 */
2202
class ModifyMonitorGroupInstances extends Rpc
2203
{
2204
2205
    /**
2206
     * @param array $instances
2207
     *
2208
     * @return $this
2209
     */
2210
	public function withInstances(array $instances)
2211
	{
2212
	    $this->data['Instances'] = $instances;
2213
		foreach ($instances as $depth1 => $depth1Value) {
2214
			$this->options['query']['Instances.' . ($depth1 + 1) . '.InstanceId'] = $depth1Value['InstanceId'];
2215
			$this->options['query']['Instances.' . ($depth1 + 1) . '.InstanceName'] = $depth1Value['InstanceName'];
2216
			$this->options['query']['Instances.' . ($depth1 + 1) . '.RegionId'] = $depth1Value['RegionId'];
2217
			$this->options['query']['Instances.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
2218
		}
2219
2220
		return $this;
2221
    }
2222
}
2223
2224
/**
2225
 * @method string getAddress()
2226
 * @method $this withAddress($value)
2227
 * @method string getTaskName()
2228
 * @method $this withTaskName($value)
2229
 * @method string getIspCities()
2230
 * @method $this withIspCities($value)
2231
 * @method string getOptionsJson()
2232
 * @method $this withOptionsJson($value)
2233
 * @method string getAlertIds()
2234
 * @method $this withAlertIds($value)
2235
 * @method string getInterval()
2236
 * @method $this withInterval($value)
2237
 * @method string getTaskId()
2238
 * @method $this withTaskId($value)
2239
 */
2240
class ModifySiteMonitor extends Rpc
2241
{
2242
}
2243
2244
/**
2245
 * @method string getChannelsDingWebHook()
2246
 * @method string getContactName()
2247
 * @method $this withContactName($value)
2248
 * @method string getChannelsMail()
2249
 * @method string getChannelsAliIM()
2250
 * @method string getDescribe()
2251
 * @method $this withDescribe($value)
2252
 * @method string getChannelsSMS()
2253
 */
2254
class PutContact extends Rpc
2255
{
2256
2257
    /**
2258
     * @param string $value
2259
     *
2260
     * @return $this
2261
     */
2262
    public function withChannelsDingWebHook($value)
2263
    {
2264
        $this->data['ChannelsDingWebHook'] = $value;
2265
        $this->options['query']['Channels.DingWebHook'] = $value;
2266
2267
        return $this;
2268
    }
2269
2270
    /**
2271
     * @param string $value
2272
     *
2273
     * @return $this
2274
     */
2275
    public function withChannelsMail($value)
2276
    {
2277
        $this->data['ChannelsMail'] = $value;
2278
        $this->options['query']['Channels.Mail'] = $value;
2279
2280
        return $this;
2281
    }
2282
2283
    /**
2284
     * @param string $value
2285
     *
2286
     * @return $this
2287
     */
2288
    public function withChannelsAliIM($value)
2289
    {
2290
        $this->data['ChannelsAliIM'] = $value;
2291
        $this->options['query']['Channels.AliIM'] = $value;
2292
2293
        return $this;
2294
    }
2295
2296
    /**
2297
     * @param string $value
2298
     *
2299
     * @return $this
2300
     */
2301
    public function withChannelsSMS($value)
2302
    {
2303
        $this->data['ChannelsSMS'] = $value;
2304
        $this->options['query']['Channels.SMS'] = $value;
2305
2306
        return $this;
2307
    }
2308
}
2309
2310
/**
2311
 * @method string getContactGroupName()
2312
 * @method $this withContactGroupName($value)
2313
 * @method string getDescribe()
2314
 * @method $this withDescribe($value)
2315
 * @method array getContactNames()
2316
 */
2317
class PutContactGroup extends Rpc
2318
{
2319
2320
    /**
2321
     * @param array $contactNames
2322
     *
2323
     * @return $this
2324
     */
2325
	public function withContactNames(array $contactNames)
2326
	{
2327
	    $this->data['ContactNames'] = $contactNames;
2328
		foreach ($contactNames as $i => $iValue) {
2329
			$this->options['query']['ContactNames.' . ($i + 1)] = $iValue;
2330
		}
2331
2332
		return $this;
2333
    }
2334
}
2335
2336
/**
2337
 * @method array getEventInfo()
2338
 */
2339
class PutCustomEvent extends Rpc
2340
{
2341
2342
    /**
2343
     * @param array $eventInfo
2344
     *
2345
     * @return $this
2346
     */
2347
	public function withEventInfo(array $eventInfo)
2348
	{
2349
	    $this->data['EventInfo'] = $eventInfo;
2350
		foreach ($eventInfo as $depth1 => $depth1Value) {
2351
			$this->options['query']['EventInfo.' . ($depth1 + 1) . '.GroupId'] = $depth1Value['GroupId'];
2352
			$this->options['query']['EventInfo.' . ($depth1 + 1) . '.Time'] = $depth1Value['Time'];
2353
			$this->options['query']['EventInfo.' . ($depth1 + 1) . '.EventName'] = $depth1Value['EventName'];
2354
			$this->options['query']['EventInfo.' . ($depth1 + 1) . '.Content'] = $depth1Value['Content'];
2355
		}
2356
2357
		return $this;
2358
    }
2359
}
2360
2361
/**
2362
 * @method array getMetricList()
2363
 */
2364
class PutCustomMetric extends Rpc
2365
{
2366
2367
    /**
2368
     * @param array $metricList
2369
     *
2370
     * @return $this
2371
     */
2372
	public function withMetricList(array $metricList)
2373
	{
2374
	    $this->data['MetricList'] = $metricList;
2375
		foreach ($metricList as $depth1 => $depth1Value) {
2376
			$this->options['query']['MetricList.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
2377
			$this->options['query']['MetricList.' . ($depth1 + 1) . '.GroupId'] = $depth1Value['GroupId'];
2378
			$this->options['query']['MetricList.' . ($depth1 + 1) . '.Values'] = $depth1Value['Values'];
2379
			$this->options['query']['MetricList.' . ($depth1 + 1) . '.Time'] = $depth1Value['Time'];
2380
			$this->options['query']['MetricList.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
2381
			$this->options['query']['MetricList.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
2382
			$this->options['query']['MetricList.' . ($depth1 + 1) . '.Dimensions'] = $depth1Value['Dimensions'];
2383
		}
2384
2385
		return $this;
2386
    }
2387
}
2388
2389
/**
2390
 * @method string getGroupId()
2391
 * @method $this withGroupId($value)
2392
 * @method string getDescription()
2393
 * @method $this withDescription($value)
2394
 * @method string getRuleName()
2395
 * @method $this withRuleName($value)
2396
 * @method array getEventPattern()
2397
 * @method string getEventType()
2398
 * @method $this withEventType($value)
2399
 * @method string getState()
2400
 * @method $this withState($value)
2401
 */
2402
class PutEventRule extends Rpc
2403
{
2404
2405
    /**
2406
     * @param array $eventPattern
2407
     *
2408
     * @return $this
2409
     */
2410
	public function withEventPattern(array $eventPattern)
2411
	{
2412
	    $this->data['EventPattern'] = $eventPattern;
2413
		foreach ($eventPattern as $depth1 => $depth1Value) {
2414
			foreach ($depth1Value['LevelList'] as $i => $iValue) {
2415
				$this->options['query']['EventPattern.' . ($depth1 + 1) . '.LevelList.' . ($i + 1)] = $iValue;
2416
			}
2417
			$this->options['query']['EventPattern.' . ($depth1 + 1) . '.Product'] = $depth1Value['Product'];
2418
			foreach ($depth1Value['StatusList'] as $i => $iValue) {
2419
				$this->options['query']['EventPattern.' . ($depth1 + 1) . '.StatusList.' . ($i + 1)] = $iValue;
2420
			}
2421
			foreach ($depth1Value['NameList'] as $i => $iValue) {
2422
				$this->options['query']['EventPattern.' . ($depth1 + 1) . '.NameList.' . ($i + 1)] = $iValue;
2423
			}
2424
			foreach ($depth1Value['EventTypeList'] as $i => $iValue) {
2425
				$this->options['query']['EventPattern.' . ($depth1 + 1) . '.EventTypeList.' . ($i + 1)] = $iValue;
2426
			}
2427
		}
2428
2429
		return $this;
2430
    }
2431
}
2432
2433
/**
2434
 * @method array getWebhookParameters()
2435
 * @method array getContactParameters()
2436
 * @method array getSlsParameters()
2437
 * @method string getRuleName()
2438
 * @method $this withRuleName($value)
2439
 * @method array getMnsParameters()
2440
 * @method array getFcParameters()
2441
 */
2442
class PutEventRuleTargets extends Rpc
2443
{
2444
2445
    /** @var string */
2446
    public $method = 'PUT';
2447
2448
    /**
2449
     * @param array $webhookParameters
2450
     *
2451
     * @return $this
2452
     */
2453
	public function withWebhookParameters(array $webhookParameters)
2454
	{
2455
	    $this->data['WebhookParameters'] = $webhookParameters;
2456
		foreach ($webhookParameters as $depth1 => $depth1Value) {
2457
			$this->options['query']['WebhookParameters.' . ($depth1 + 1) . '.Protocol'] = $depth1Value['Protocol'];
2458
			$this->options['query']['WebhookParameters.' . ($depth1 + 1) . '.Method'] = $depth1Value['Method'];
2459
			$this->options['query']['WebhookParameters.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
2460
			$this->options['query']['WebhookParameters.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
2461
		}
2462
2463
		return $this;
2464
    }
2465
2466
    /**
2467
     * @param array $contactParameters
2468
     *
2469
     * @return $this
2470
     */
2471
	public function withContactParameters(array $contactParameters)
2472
	{
2473
	    $this->data['ContactParameters'] = $contactParameters;
2474
		foreach ($contactParameters as $depth1 => $depth1Value) {
2475
			$this->options['query']['ContactParameters.' . ($depth1 + 1) . '.Level'] = $depth1Value['Level'];
2476
			$this->options['query']['ContactParameters.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
2477
			$this->options['query']['ContactParameters.' . ($depth1 + 1) . '.ContactGroupName'] = $depth1Value['ContactGroupName'];
2478
		}
2479
2480
		return $this;
2481
    }
2482
2483
    /**
2484
     * @param array $slsParameters
2485
     *
2486
     * @return $this
2487
     */
2488
	public function withSlsParameters(array $slsParameters)
2489
	{
2490
	    $this->data['SlsParameters'] = $slsParameters;
2491
		foreach ($slsParameters as $depth1 => $depth1Value) {
2492
			$this->options['query']['SlsParameters.' . ($depth1 + 1) . '.Project'] = $depth1Value['Project'];
2493
			$this->options['query']['SlsParameters.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
2494
			$this->options['query']['SlsParameters.' . ($depth1 + 1) . '.Region'] = $depth1Value['Region'];
2495
			$this->options['query']['SlsParameters.' . ($depth1 + 1) . '.LogStore'] = $depth1Value['LogStore'];
2496
		}
2497
2498
		return $this;
2499
    }
2500
2501
    /**
2502
     * @param array $mnsParameters
2503
     *
2504
     * @return $this
2505
     */
2506
	public function withMnsParameters(array $mnsParameters)
2507
	{
2508
	    $this->data['MnsParameters'] = $mnsParameters;
2509
		foreach ($mnsParameters as $depth1 => $depth1Value) {
2510
			$this->options['query']['MnsParameters.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
2511
			$this->options['query']['MnsParameters.' . ($depth1 + 1) . '.Region'] = $depth1Value['Region'];
2512
			$this->options['query']['MnsParameters.' . ($depth1 + 1) . '.Queue'] = $depth1Value['Queue'];
2513
		}
2514
2515
		return $this;
2516
    }
2517
2518
    /**
2519
     * @param array $fcParameters
2520
     *
2521
     * @return $this
2522
     */
2523
	public function withFcParameters(array $fcParameters)
2524
	{
2525
	    $this->data['FcParameters'] = $fcParameters;
2526
		foreach ($fcParameters as $depth1 => $depth1Value) {
2527
			$this->options['query']['FcParameters.' . ($depth1 + 1) . '.FunctionName'] = $depth1Value['FunctionName'];
2528
			$this->options['query']['FcParameters.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
2529
			$this->options['query']['FcParameters.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
2530
			$this->options['query']['FcParameters.' . ($depth1 + 1) . '.Region'] = $depth1Value['Region'];
2531
		}
2532
2533
		return $this;
2534
    }
2535
}
2536
2537
/**
2538
 * @method string getWebhook()
2539
 * @method $this withWebhook($value)
2540
 * @method string getEscalationsWarnComparisonOperator()
2541
 * @method string getRuleName()
2542
 * @method $this withRuleName($value)
2543
 * @method string getEscalationsInfoStatistics()
2544
 * @method string getEffectiveInterval()
2545
 * @method $this withEffectiveInterval($value)
2546
 * @method string getEscalationsInfoComparisonOperator()
2547
 * @method string getNoEffectiveInterval()
2548
 * @method $this withNoEffectiveInterval($value)
2549
 * @method string getEmailSubject()
2550
 * @method $this withEmailSubject($value)
2551
 * @method string getSilenceTime()
2552
 * @method $this withSilenceTime($value)
2553
 * @method string getMetricName()
2554
 * @method $this withMetricName($value)
2555
 * @method string getEscalationsWarnTimes()
2556
 * @method string getPeriod()
2557
 * @method $this withPeriod($value)
2558
 * @method string getEscalationsWarnThreshold()
2559
 * @method string getEscalationsCriticalStatistics()
2560
 * @method string getGroupId()
2561
 * @method $this withGroupId($value)
2562
 * @method string getEscalationsInfoTimes()
2563
 * @method string getEscalationsCriticalTimes()
2564
 * @method string getEscalationsWarnStatistics()
2565
 * @method string getEscalationsInfoThreshold()
2566
 * @method string getNamespace()
2567
 * @method $this withNamespace($value)
2568
 * @method string getInterval()
2569
 * @method $this withInterval($value)
2570
 * @method string getRuleId()
2571
 * @method $this withRuleId($value)
2572
 * @method string getCategory()
2573
 * @method $this withCategory($value)
2574
 * @method string getEscalationsCriticalComparisonOperator()
2575
 * @method string getEscalationsCriticalThreshold()
2576
 * @method string getDimensions()
2577
 * @method $this withDimensions($value)
2578
 */
2579
class PutGroupMetricRule extends Rpc
2580
{
2581
2582
    /** @var string */
2583
    public $method = 'PUT';
2584
2585
    /**
2586
     * @param string $value
2587
     *
2588
     * @return $this
2589
     */
2590
    public function withEscalationsWarnComparisonOperator($value)
2591
    {
2592
        $this->data['EscalationsWarnComparisonOperator'] = $value;
2593
        $this->options['query']['Escalations.Warn.ComparisonOperator'] = $value;
2594
2595
        return $this;
2596
    }
2597
2598
    /**
2599
     * @param string $value
2600
     *
2601
     * @return $this
2602
     */
2603
    public function withEscalationsInfoStatistics($value)
2604
    {
2605
        $this->data['EscalationsInfoStatistics'] = $value;
2606
        $this->options['query']['Escalations.Info.Statistics'] = $value;
2607
2608
        return $this;
2609
    }
2610
2611
    /**
2612
     * @param string $value
2613
     *
2614
     * @return $this
2615
     */
2616
    public function withEscalationsInfoComparisonOperator($value)
2617
    {
2618
        $this->data['EscalationsInfoComparisonOperator'] = $value;
2619
        $this->options['query']['Escalations.Info.ComparisonOperator'] = $value;
2620
2621
        return $this;
2622
    }
2623
2624
    /**
2625
     * @param string $value
2626
     *
2627
     * @return $this
2628
     */
2629
    public function withEscalationsWarnTimes($value)
2630
    {
2631
        $this->data['EscalationsWarnTimes'] = $value;
2632
        $this->options['query']['Escalations.Warn.Times'] = $value;
2633
2634
        return $this;
2635
    }
2636
2637
    /**
2638
     * @param string $value
2639
     *
2640
     * @return $this
2641
     */
2642
    public function withEscalationsWarnThreshold($value)
2643
    {
2644
        $this->data['EscalationsWarnThreshold'] = $value;
2645
        $this->options['query']['Escalations.Warn.Threshold'] = $value;
2646
2647
        return $this;
2648
    }
2649
2650
    /**
2651
     * @param string $value
2652
     *
2653
     * @return $this
2654
     */
2655
    public function withEscalationsCriticalStatistics($value)
2656
    {
2657
        $this->data['EscalationsCriticalStatistics'] = $value;
2658
        $this->options['query']['Escalations.Critical.Statistics'] = $value;
2659
2660
        return $this;
2661
    }
2662
2663
    /**
2664
     * @param string $value
2665
     *
2666
     * @return $this
2667
     */
2668
    public function withEscalationsInfoTimes($value)
2669
    {
2670
        $this->data['EscalationsInfoTimes'] = $value;
2671
        $this->options['query']['Escalations.Info.Times'] = $value;
2672
2673
        return $this;
2674
    }
2675
2676
    /**
2677
     * @param string $value
2678
     *
2679
     * @return $this
2680
     */
2681
    public function withEscalationsCriticalTimes($value)
2682
    {
2683
        $this->data['EscalationsCriticalTimes'] = $value;
2684
        $this->options['query']['Escalations.Critical.Times'] = $value;
2685
2686
        return $this;
2687
    }
2688
2689
    /**
2690
     * @param string $value
2691
     *
2692
     * @return $this
2693
     */
2694
    public function withEscalationsWarnStatistics($value)
2695
    {
2696
        $this->data['EscalationsWarnStatistics'] = $value;
2697
        $this->options['query']['Escalations.Warn.Statistics'] = $value;
2698
2699
        return $this;
2700
    }
2701
2702
    /**
2703
     * @param string $value
2704
     *
2705
     * @return $this
2706
     */
2707
    public function withEscalationsInfoThreshold($value)
2708
    {
2709
        $this->data['EscalationsInfoThreshold'] = $value;
2710
        $this->options['query']['Escalations.Info.Threshold'] = $value;
2711
2712
        return $this;
2713
    }
2714
2715
    /**
2716
     * @param string $value
2717
     *
2718
     * @return $this
2719
     */
2720
    public function withEscalationsCriticalComparisonOperator($value)
2721
    {
2722
        $this->data['EscalationsCriticalComparisonOperator'] = $value;
2723
        $this->options['query']['Escalations.Critical.ComparisonOperator'] = $value;
2724
2725
        return $this;
2726
    }
2727
2728
    /**
2729
     * @param string $value
2730
     *
2731
     * @return $this
2732
     */
2733
    public function withEscalationsCriticalThreshold($value)
2734
    {
2735
        $this->data['EscalationsCriticalThreshold'] = $value;
2736
        $this->options['query']['Escalations.Critical.Threshold'] = $value;
2737
2738
        return $this;
2739
    }
2740
}
2741
2742
/**
2743
 * @method array getTargets()
2744
 * @method string getRuleId()
2745
 * @method $this withRuleId($value)
2746
 */
2747
class PutMetricRuleTargets extends Rpc
2748
{
2749
2750
    /**
2751
     * @param array $targets
2752
     *
2753
     * @return $this
2754
     */
2755
	public function withTargets(array $targets)
2756
	{
2757
	    $this->data['Targets'] = $targets;
2758
		foreach ($targets as $depth1 => $depth1Value) {
2759
			$this->options['query']['Targets.' . ($depth1 + 1) . '.Level'] = $depth1Value['Level'];
2760
			$this->options['query']['Targets.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
2761
			$this->options['query']['Targets.' . ($depth1 + 1) . '.Arn'] = $depth1Value['Arn'];
2762
		}
2763
2764
		return $this;
2765
    }
2766
}
2767
2768
/**
2769
 * @method array getGroupRules()
2770
 * @method string getGroupId()
2771
 * @method $this withGroupId($value)
2772
 */
2773
class PutMonitorGroupDynamicRule extends Rpc
2774
{
2775
2776
    /**
2777
     * @param array $groupRules
2778
     *
2779
     * @return $this
2780
     */
2781
	public function withGroupRules(array $groupRules)
2782
	{
2783
	    $this->data['GroupRules'] = $groupRules;
2784
		foreach ($groupRules as $depth1 => $depth1Value) {
2785
			$this->options['query']['GroupRules.' . ($depth1 + 1) . '.FilterRelation'] = $depth1Value['FilterRelation'];
2786
			foreach ($depth1Value['Filters'] as $depth2 => $depth2Value) {
2787
				$this->options['query']['GroupRules.' . ($depth1 + 1) . '.Filters.' . ($depth2 + 1) . '.Function'] = $depth2Value['Function'];
2788
				$this->options['query']['GroupRules.' . ($depth1 + 1) . '.Filters.' . ($depth2 + 1) . '.Name'] = $depth2Value['Name'];
2789
				$this->options['query']['GroupRules.' . ($depth1 + 1) . '.Filters.' . ($depth2 + 1) . '.Value'] = $depth2Value['Value'];
2790
			}
2791
			$this->options['query']['GroupRules.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
2792
		}
2793
2794
		return $this;
2795
    }
2796
}
2797
2798
/**
2799
 * @method string getAutoInstall()
2800
 * @method $this withAutoInstall($value)
2801
 * @method string getEnableInstallAgentNewECS()
2802
 * @method $this withEnableInstallAgentNewECS($value)
2803
 */
2804
class PutMonitoringConfig extends Rpc
2805
{
2806
}
2807
2808
/**
2809
 * @method string getWebhook()
2810
 * @method $this withWebhook($value)
2811
 * @method string getEscalationsWarnComparisonOperator()
2812
 * @method string getRuleName()
2813
 * @method $this withRuleName($value)
2814
 * @method string getEscalationsInfoStatistics()
2815
 * @method string getEffectiveInterval()
2816
 * @method $this withEffectiveInterval($value)
2817
 * @method string getEscalationsInfoComparisonOperator()
2818
 * @method string getNoEffectiveInterval()
2819
 * @method $this withNoEffectiveInterval($value)
2820
 * @method string getEmailSubject()
2821
 * @method $this withEmailSubject($value)
2822
 * @method string getSilenceTime()
2823
 * @method $this withSilenceTime($value)
2824
 * @method string getMetricName()
2825
 * @method $this withMetricName($value)
2826
 * @method string getEscalationsWarnTimes()
2827
 * @method string getPeriod()
2828
 * @method $this withPeriod($value)
2829
 * @method string getEscalationsWarnThreshold()
2830
 * @method string getContactGroups()
2831
 * @method $this withContactGroups($value)
2832
 * @method string getEscalationsCriticalStatistics()
2833
 * @method string getResources()
2834
 * @method $this withResources($value)
2835
 * @method string getEscalationsInfoTimes()
2836
 * @method string getEscalationsCriticalTimes()
2837
 * @method string getEscalationsWarnStatistics()
2838
 * @method string getEscalationsInfoThreshold()
2839
 * @method string getNamespace()
2840
 * @method $this withNamespace($value)
2841
 * @method string getInterval()
2842
 * @method $this withInterval($value)
2843
 * @method string getRuleId()
2844
 * @method $this withRuleId($value)
2845
 * @method string getEscalationsCriticalComparisonOperator()
2846
 * @method string getEscalationsCriticalThreshold()
2847
 */
2848
class PutResourceMetricRule extends Rpc
2849
{
2850
2851
    /** @var string */
2852
    public $method = 'PUT';
2853
2854
    /**
2855
     * @param string $value
2856
     *
2857
     * @return $this
2858
     */
2859
    public function withEscalationsWarnComparisonOperator($value)
2860
    {
2861
        $this->data['EscalationsWarnComparisonOperator'] = $value;
2862
        $this->options['query']['Escalations.Warn.ComparisonOperator'] = $value;
2863
2864
        return $this;
2865
    }
2866
2867
    /**
2868
     * @param string $value
2869
     *
2870
     * @return $this
2871
     */
2872
    public function withEscalationsInfoStatistics($value)
2873
    {
2874
        $this->data['EscalationsInfoStatistics'] = $value;
2875
        $this->options['query']['Escalations.Info.Statistics'] = $value;
2876
2877
        return $this;
2878
    }
2879
2880
    /**
2881
     * @param string $value
2882
     *
2883
     * @return $this
2884
     */
2885
    public function withEscalationsInfoComparisonOperator($value)
2886
    {
2887
        $this->data['EscalationsInfoComparisonOperator'] = $value;
2888
        $this->options['query']['Escalations.Info.ComparisonOperator'] = $value;
2889
2890
        return $this;
2891
    }
2892
2893
    /**
2894
     * @param string $value
2895
     *
2896
     * @return $this
2897
     */
2898
    public function withEscalationsWarnTimes($value)
2899
    {
2900
        $this->data['EscalationsWarnTimes'] = $value;
2901
        $this->options['query']['Escalations.Warn.Times'] = $value;
2902
2903
        return $this;
2904
    }
2905
2906
    /**
2907
     * @param string $value
2908
     *
2909
     * @return $this
2910
     */
2911
    public function withEscalationsWarnThreshold($value)
2912
    {
2913
        $this->data['EscalationsWarnThreshold'] = $value;
2914
        $this->options['query']['Escalations.Warn.Threshold'] = $value;
2915
2916
        return $this;
2917
    }
2918
2919
    /**
2920
     * @param string $value
2921
     *
2922
     * @return $this
2923
     */
2924
    public function withEscalationsCriticalStatistics($value)
2925
    {
2926
        $this->data['EscalationsCriticalStatistics'] = $value;
2927
        $this->options['query']['Escalations.Critical.Statistics'] = $value;
2928
2929
        return $this;
2930
    }
2931
2932
    /**
2933
     * @param string $value
2934
     *
2935
     * @return $this
2936
     */
2937
    public function withEscalationsInfoTimes($value)
2938
    {
2939
        $this->data['EscalationsInfoTimes'] = $value;
2940
        $this->options['query']['Escalations.Info.Times'] = $value;
2941
2942
        return $this;
2943
    }
2944
2945
    /**
2946
     * @param string $value
2947
     *
2948
     * @return $this
2949
     */
2950
    public function withEscalationsCriticalTimes($value)
2951
    {
2952
        $this->data['EscalationsCriticalTimes'] = $value;
2953
        $this->options['query']['Escalations.Critical.Times'] = $value;
2954
2955
        return $this;
2956
    }
2957
2958
    /**
2959
     * @param string $value
2960
     *
2961
     * @return $this
2962
     */
2963
    public function withEscalationsWarnStatistics($value)
2964
    {
2965
        $this->data['EscalationsWarnStatistics'] = $value;
2966
        $this->options['query']['Escalations.Warn.Statistics'] = $value;
2967
2968
        return $this;
2969
    }
2970
2971
    /**
2972
     * @param string $value
2973
     *
2974
     * @return $this
2975
     */
2976
    public function withEscalationsInfoThreshold($value)
2977
    {
2978
        $this->data['EscalationsInfoThreshold'] = $value;
2979
        $this->options['query']['Escalations.Info.Threshold'] = $value;
2980
2981
        return $this;
2982
    }
2983
2984
    /**
2985
     * @param string $value
2986
     *
2987
     * @return $this
2988
     */
2989
    public function withEscalationsCriticalComparisonOperator($value)
2990
    {
2991
        $this->data['EscalationsCriticalComparisonOperator'] = $value;
2992
        $this->options['query']['Escalations.Critical.ComparisonOperator'] = $value;
2993
2994
        return $this;
2995
    }
2996
2997
    /**
2998
     * @param string $value
2999
     *
3000
     * @return $this
3001
     */
3002
    public function withEscalationsCriticalThreshold($value)
3003
    {
3004
        $this->data['EscalationsCriticalThreshold'] = $value;
3005
        $this->options['query']['Escalations.Critical.Threshold'] = $value;
3006
3007
        return $this;
3008
    }
3009
}
3010
3011
/**
3012
 * @method array getRules()
3013
 */
3014
class PutResourceMetricRules extends Rpc
3015
{
3016
3017
    /** @var string */
3018
    public $method = 'PUT';
3019
3020
    /**
3021
     * @param array $rules
3022
     *
3023
     * @return $this
3024
     */
3025
	public function withRules(array $rules)
3026
	{
3027
	    $this->data['Rules'] = $rules;
3028
		foreach ($rules as $depth1 => $depth1Value) {
3029
			$this->options['query']['Rules.' . ($depth1 + 1) . '.Webhook'] = $depth1Value['Webhook'];
3030
			$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Warn.ComparisonOperator'] = $depth1Value['EscalationsWarnComparisonOperator'];
3031
			$this->options['query']['Rules.' . ($depth1 + 1) . '.RuleName'] = $depth1Value['RuleName'];
3032
			$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Info.Statistics'] = $depth1Value['EscalationsInfoStatistics'];
3033
			$this->options['query']['Rules.' . ($depth1 + 1) . '.EffectiveInterval'] = $depth1Value['EffectiveInterval'];
3034
			$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Info.ComparisonOperator'] = $depth1Value['EscalationsInfoComparisonOperator'];
3035
			$this->options['query']['Rules.' . ($depth1 + 1) . '.NoEffectiveInterval'] = $depth1Value['NoEffectiveInterval'];
3036
			$this->options['query']['Rules.' . ($depth1 + 1) . '.EmailSubject'] = $depth1Value['EmailSubject'];
3037
			$this->options['query']['Rules.' . ($depth1 + 1) . '.SilenceTime'] = $depth1Value['SilenceTime'];
3038
			$this->options['query']['Rules.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
3039
			$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Warn.Times'] = $depth1Value['EscalationsWarnTimes'];
3040
			$this->options['query']['Rules.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
3041
			$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Warn.Threshold'] = $depth1Value['EscalationsWarnThreshold'];
3042
			$this->options['query']['Rules.' . ($depth1 + 1) . '.ContactGroups'] = $depth1Value['ContactGroups'];
3043
			$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Critical.Statistics'] = $depth1Value['EscalationsCriticalStatistics'];
3044
			$this->options['query']['Rules.' . ($depth1 + 1) . '.Resources'] = $depth1Value['Resources'];
3045
			$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Info.Times'] = $depth1Value['EscalationsInfoTimes'];
3046
			$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Critical.Times'] = $depth1Value['EscalationsCriticalTimes'];
3047
			$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Warn.Statistics'] = $depth1Value['EscalationsWarnStatistics'];
3048
			$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Info.Threshold'] = $depth1Value['EscalationsInfoThreshold'];
3049
			$this->options['query']['Rules.' . ($depth1 + 1) . '.Namespace'] = $depth1Value['Namespace'];
3050
			$this->options['query']['Rules.' . ($depth1 + 1) . '.Interval'] = $depth1Value['Interval'];
3051
			$this->options['query']['Rules.' . ($depth1 + 1) . '.RuleId'] = $depth1Value['RuleId'];
3052
			$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Critical.ComparisonOperator'] = $depth1Value['EscalationsCriticalComparisonOperator'];
3053
			$this->options['query']['Rules.' . ($depth1 + 1) . '.Escalations.Critical.Threshold'] = $depth1Value['EscalationsCriticalThreshold'];
3054
		}
3055
3056
		return $this;
3057
    }
3058
}
3059
3060
/**
3061
 * @method array getGroupIds()
3062
 * @method array getTag()
3063
 */
3064
class RemoveTags extends Rpc
3065
{
3066
3067
    /**
3068
     * @param array $groupIds
3069
     *
3070
     * @return $this
3071
     */
3072
	public function withGroupIds(array $groupIds)
3073
	{
3074
	    $this->data['GroupIds'] = $groupIds;
3075
		foreach ($groupIds as $i => $iValue) {
3076
			$this->options['query']['GroupIds.' . ($i + 1)] = $iValue;
3077
		}
3078
3079
		return $this;
3080
    }
3081
3082
    /**
3083
     * @param array $tag
3084
     *
3085
     * @return $this
3086
     */
3087
	public function withTag(array $tag)
3088
	{
3089
	    $this->data['Tag'] = $tag;
3090
		foreach ($tag as $depth1 => $depth1Value) {
3091
			$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
3092
			$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
3093
		}
3094
3095
		return $this;
3096
    }
3097
}
3098
3099
/**
3100
 * @method string getProduct()
3101
 * @method $this withProduct($value)
3102
 * @method string getGroupId()
3103
 * @method $this withGroupId($value)
3104
 * @method string getEventName()
3105
 * @method $this withEventName($value)
3106
 * @method string getEventContent()
3107
 * @method $this withEventContent($value)
3108
 */
3109
class SendDryRunSystemEvent extends Rpc
3110
{
3111
}
3112
3113
/**
3114
 * @method string getInstanceId()
3115
 * @method $this withInstanceId($value)
3116
 */
3117
class UninstallMonitoringAgent extends Rpc
3118
{
3119
}
3120