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 ( eac75a...52c2b6 )
by
unknown
06:32
created

PutEventRuleTargets::withOpenApiParameters()   B

Complexity

Conditions 9
Paths 129

Size

Total Lines 28
Code Lines 17

Duplication

Lines 0
Ratio 0 %

Importance

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