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.
Passed
Pull Request — master (#123)
by Yong
07:24
created

PutMonitorGroupDynamicRule::withGroupRules()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 14
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Importance

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