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 ( fdf501...15c961 )
by
unknown
05:41
created

PutLogMonitor::withGroupbys()   A

Complexity

Conditions 4
Paths 5

Size

Total Lines 13
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

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