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 ( 002ab8...de2a2b )
by
unknown
07:10
created

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