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.

ModifyMetricRuleTemplate   A
last analyzed

Complexity

Total Complexity 21

Size/Duplication

Total Lines 72
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 21
eloc 42
dl 0
loc 72
rs 10
c 0
b 0
f 0

1 Method

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