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 ( ed1f70...c2f927 )
by
unknown
06:17
created

ModifyHostAvailability::withTaskOptionHttpMethod()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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