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 ( 6a300e...767a3e )
by
unknown
05:17
created

CreateDynamicTagGroup::withMatchExpress()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 10
Code Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

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