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 ( 8c9927...b24e51 )
by
unknown
06:07
created

CreateGroupMonitoringAgentProcess   A

Complexity

Total Complexity 16

Size/Duplication

Total Lines 65
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 16
eloc 31
c 0
b 0
f 0
dl 0
loc 65
rs 10

2 Methods

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