summaryrefslogtreecommitdiff
path: root/data/en_us/cms/2018-03-08
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
committerZhineng Li <[email protected]>2026-02-13 10:54:11 +0800
commit7347bac4ab7e136157fc94777e6cf87ef9e08599 (patch)
tree0dec367dac6e152161a6f7cc0dba6ebbef1f34a2 /data/en_us/cms/2018-03-08
downloadacs-metadata-full-main.tar.gz
acs-metadata-full-main.zip
Diffstat (limited to 'data/en_us/cms/2018-03-08')
-rw-r--r--data/en_us/cms/2018-03-08/api-docs.php12334
1 files changed, 12334 insertions, 0 deletions
diff --git a/data/en_us/cms/2018-03-08/api-docs.php b/data/en_us/cms/2018-03-08/api-docs.php
new file mode 100644
index 0000000..2ca2f26
--- /dev/null
+++ b/data/en_us/cms/2018-03-08/api-docs.php
@@ -0,0 +1,12334 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'Cms',
+ 'version' => '2018-03-08',
+ ],
+ 'directories' => [
+ [
+ 'id' => 59537,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'QueryMetricLast',
+ 'QueryMetricMeta',
+ 'QueryMetricList',
+ ],
+ ],
+ [
+ 'id' => 0,
+ 'title' => '其它',
+ 'type' => 'directory',
+ 'children' => [
+ 'AccessKeyGet',
+ 'AddMyGroupInstances',
+ 'CreateAlarm',
+ 'CreateMonitoringTemplate',
+ 'CreateMyGroups',
+ 'CreateTask',
+ 'DeleteAlarm',
+ 'DeleteCustomMetric',
+ 'DeleteMetricRuleTargets',
+ 'DeleteMetricRules',
+ 'DeleteMyGroupInstances',
+ 'DeleteMyGroups',
+ 'DeleteTasks',
+ 'DescribeAlarmHistory',
+ 'DescribeAlarms',
+ 'DescribeAlarmsForResources',
+ 'DescribeAlertHistoryList',
+ 'DescribeContact',
+ 'DescribeISPAreaCity',
+ 'DescribeMetricRuleList',
+ 'DescribeTaskDetail',
+ 'DescribeTasks',
+ 'DisableAlarm',
+ 'EnableAlarm',
+ 'GetContacts',
+ 'GetMonitoringTemplate',
+ 'GetMyGroups',
+ 'ListAlarm',
+ 'ListAlarmHistory',
+ 'ListContactGroup',
+ 'ListEventRules',
+ 'ListMyGroupInstances',
+ 'ListMyGroups',
+ 'ModifyTask',
+ 'NodeList',
+ 'NodeProcessCreate',
+ 'NodeProcesses',
+ 'NodeStatusList',
+ 'NodeUninstall',
+ 'PutCustomMetric',
+ 'PutEvent',
+ 'PutEventRule',
+ 'PutEventTargets',
+ 'PutMetricRuleTargets',
+ 'PutResourceMetricRule',
+ 'QueryCustomMetricList',
+ 'QueryMetricData',
+ 'QueryMetricTop',
+ 'QueryProjectMeta',
+ 'QueryStaticsAvailability',
+ 'QueryStaticsResponseTime',
+ 'QuerySystemEventCount',
+ 'QuerySystemEventDemo',
+ 'QueryTaskConfig',
+ 'QueryTaskMonitorData',
+ 'TaskConfigList',
+ 'UpdateAlarm',
+ 'UpdateMonitoringTemplate',
+ 'GetLogColumnTranslateResult',
+ 'GetLineSplitResult',
+ 'DeleteHybridDoubleWrite',
+ 'CreateHybridDoubleWrite',
+ 'DescribeHybridDoubleWrite',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'QueryMetricLast' => [
+ 'summary' => 'Query the latest monitoring data for a specified monitoring item',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Project',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Namespace, indicating the product to which the monitoring data belongs, such as `acs_ecs_dashboard`, `acs_rds_dashboard`, etc.',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'acs_ecs_dashboard',
+ ],
+ ],
+ [
+ 'name' => 'Metric',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Monitoring item name.',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'CPUUtilization',
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Time interval. Unit: seconds.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '60',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Start time, which can be the number of milliseconds since 00:00:00 on January 1, 1970, or a formatted date and time string, such as 2015-10-20 00:00:00.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2019-01-31 10:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'End time. Can be the number of milliseconds since 00:00:00 on January 1, 1970, or a formatted date and time string, such as 2015-10-20 00:00:00.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2019-01-31 10:10:00',
+ ],
+ ],
+ [
+ 'name' => 'Dimensions',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Monitoring dimensions for the specified resource.'."\n"
+ ."\n"
+ .'Format: A collection of `key:value` pairs, for example: `{"userId":"120886317861****"}` and `{"instanceId":"i-2ze2d6j5uhg20x47****"}`.'."\n"
+ ."\n"
+ .'> A single request supports querying up to 50 instances in batch.'."\n"
+ ."\n\n"
+ ."\n\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"instanceId":"XXX"}]',
+ ],
+ ],
+ [
+ 'name' => 'Cursor',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Next page of data; if empty, it indicates there is no next page.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0',
+ ],
+ ],
+ [
+ 'name' => 'Page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Pagination parameter.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Length',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The size of each query, used for pagination.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1000',
+ ],
+ ],
+ [
+ 'name' => 'Express',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'An expression for real-time calculation on the existing results, for example: `{"groupby":["instanceId"]}`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"groupby\\":[\\"userId\\",\\"instanceId\\"]}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Cursor' => [
+ 'description' => 'Next page of data; if empty, it indicates there is no next page.',
+ 'type' => 'string',
+ 'example' => 'v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0***********',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request, used for locating logs and troubleshooting issues.',
+ 'type' => 'string',
+ 'example' => '021472A6-25E3-4094-8D00-BA4B6A5486C3',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether this call was successful.',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'Datapoints' => [
+ 'description' => 'List of monitoring data.',
+ 'type' => 'string',
+ 'example' => '[{\\"timestamp\\":1618368900000,\\"Average\\":95.8291666666667,\\"Minimum\\":65.48,\\"Maximum\\":100.0},{\\"timestamp\\":1618368960000,\\"Average\\":95.8683333333333,\\"Minimum\\":67.84,\\"Maximum\\":100.0}]',
+ ],
+ 'Code' => [
+ 'description' => 'Status code, where 200 indicates success.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Return message.',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'Period' => [
+ 'description' => 'Time interval. Unit: seconds.',
+ 'type' => 'string',
+ 'example' => '60',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Cursor\\": \\"v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0***********\\",\\n \\"RequestId\\": \\"021472A6-25E3-4094-8D00-BA4B6A5486C3\\",\\n \\"Success\\": \\"true\\",\\n \\"Datapoints\\": \\"[{\\\\\\\\\\\\\\"timestamp\\\\\\\\\\\\\\":1618368900000,\\\\\\\\\\\\\\"Average\\\\\\\\\\\\\\":95.8291666666667,\\\\\\\\\\\\\\"Minimum\\\\\\\\\\\\\\":65.48,\\\\\\\\\\\\\\"Maximum\\\\\\\\\\\\\\":100.0},{\\\\\\\\\\\\\\"timestamp\\\\\\\\\\\\\\":1618368960000,\\\\\\\\\\\\\\"Average\\\\\\\\\\\\\\":95.8683333333333,\\\\\\\\\\\\\\"Minimum\\\\\\\\\\\\\\":67.84,\\\\\\\\\\\\\\"Maximum\\\\\\\\\\\\\\":100.0}]\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success\\",\\n \\"Period\\": \\"60\\"\\n}","type":"json"}]',
+ 'title' => 'Query the Latest Monitoring Data for a Specified Monitoring Object',
+ 'translator' => 'machine',
+ ],
+ 'QueryMetricMeta' => [
+ 'summary' => 'Queries the descriptions of time-series monitoring items that are open to cloud monitoring.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Project',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The Project to which the metric belongs, matched by equality.',
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => 'acs_ecs_dashboard',
+ ],
+ ],
+ [
+ 'name' => 'Labels',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Filter by labels, format `[{"name":"label name","value":"label value"},{"name":"label name","value":"label value"}]`.'."\n"
+ .'Existing label name explanations: '."\n"
+ ."\n"
+ .'- MetricCategory: Description of the metric category '."\n"
+ .'- alertEnable: Whether an alert is needed '."\n"
+ .'- alertUnit: Suggested alert unit '."\n"
+ .'- unitFactor: Unit conversion factor '."\n"
+ .'- minAlertPeriod: Minimum alert period '."\n"
+ .'- productCategory: Product type category ',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{\\"name\\":\\"alertUnit\\",\\"value\\":\\"%\\"}]',
+ ],
+ ],
+ [
+ 'name' => 'Metric',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The metric name, matched by equality.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CPUUtilization',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Pagination parameter, default is 1.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Maximum number of items per page, default is 30.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '30',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ErrorMessage' => [
+ 'description' => 'Error message code.',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => 'Used for tracking.',
+ 'type' => 'string',
+ 'example' => '0CCE0AF0-053C-4B13-A583-DC9A85785D49',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether this call was successful.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'Status code, 200 indicates success, non-200 indicates failure.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Resources' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Resource' => [
+ 'description' => 'List of returned metric metadata.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => [
+ 'description' => 'Description of the monitoring item.',
+ 'type' => 'string',
+ 'example' => 'ECS.CPUUtilization',
+ ],
+ 'Labels' => [
+ 'description' => 'Labels of the monitoring item, a JSON string `[{"name":"label name","value":"label value"}]`, can be multiple, names can repeat.'."\n"
+ .'Existing label name explanations: '."\n"
+ ."\n"
+ .'- metricCategory: Metric category '."\n"
+ .'- alertEnable: Whether it can alert '."\n"
+ .'- alertUnit: Alert unit '."\n"
+ .'- unitFactor: Unit conversion factor '."\n"
+ .'- minAlertPeriod: Minimum alert period '."\n"
+ .'- productCategory: Product ',
+ 'type' => 'string',
+ 'example' => '[{\\"name\\":\\"alertUnit\\",\\"value\\":\\"%\\"},{\\"name\\":\\"alertDefault\\",\\"value\\":\\"80\\"},{\\"name\\":\\"minAlertPeriod\\",\\"value\\":\\"60\\"},{\\"name\\":\\"metricCategory\\",\\"value\\":\\"instanceId\\"},{\\"name\\":\\"is_alarm\\",\\"value\\":\\"true\\"}]"',
+ ],
+ 'Unit' => [
+ 'description' => 'Unit of the monitoring item.',
+ 'type' => 'string',
+ 'example' => '%',
+ ],
+ 'Dimensions' => [
+ 'description' => 'Dimensions of the monitoring item, separated by commas for multiple levels, e.g., userId,instanceId',
+ 'type' => 'string',
+ 'example' => 'instanceId',
+ ],
+ 'Metric' => [
+ 'description' => 'Name of the monitoring item.',
+ 'type' => 'string',
+ 'example' => 'CPUUtilization',
+ ],
+ 'Project' => [
+ 'description' => 'Project name of the monitoring item, used for querying monitoring data.',
+ 'type' => 'string',
+ 'example' => 'acs_ecs_dashboard',
+ ],
+ 'Periods' => [
+ 'description' => 'All statistical periods of the monitoring item, separated by commas, e.g., 15,60,900',
+ 'type' => 'string',
+ 'example' => '60,300',
+ ],
+ 'Statistics' => [
+ 'description' => 'Statistical methods, separated by commas, e.g., Maximum,Minimum,Average',
+ 'type' => 'string',
+ 'example' => 'Average,Minimum,Maximum',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ErrorMessage\\": \\"Success\\",\\n \\"RequestId\\": \\"0CCE0AF0-053C-4B13-A583-DC9A85785D49\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"200\\",\\n \\"Resources\\": {\\n \\"Resource\\": [\\n {\\n \\"Description\\": \\"ECS.CPUUtilization\\",\\n \\"Labels\\": \\"[{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"alertUnit\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"%\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"alertDefault\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"80\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"minAlertPeriod\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"60\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"metricCategory\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"is_alarm\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"true\\\\\\\\\\\\\\"}]\\\\\\"\\",\\n \\"Unit\\": \\"%\\",\\n \\"Dimensions\\": \\"instanceId\\",\\n \\"Metric\\": \\"CPUUtilization\\",\\n \\"Project\\": \\"acs_ecs_dashboard\\",\\n \\"Periods\\": \\"60,300\\",\\n \\"Statistics\\": \\"Average,Minimum,Maximum\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\r\\n<QueryMetricMetaResponse>\\r\\n\\t<RequestId>60498C25-B5AE-48CD-B03D-207011F21E8A</RequestId>\\r\\n\\t<ErrorCode>200</ErrorCode>\\r\\n\\t<Success>true</Success>\\r\\n\\t<Resources>\\r\\n\\t\\t<Resource>\\r\\n\\t\\t\\t<Description></Description>\\r\\n\\t\\t\\t<Statistics>Average</Statistics>\\r\\n\\t\\t\\t<Labels>[{&quot;name&quot;:&quot;minAlertPeriod&quot;,&quot;value&quot;:&quot;60&quot;},{&quot;name&quot;:&quot;metricCategory&quot;,&quot;value&quot;:&quot;role&quot;},{&quot;name&quot;:&quot;is_alarm&quot;,&quot;value&quot;:&quot;true&quot;}]</Labels>\\r\\n\\t\\t\\t<Metric>ActiveApplications</Metric>\\r\\n\\t\\t\\t<Dimensions>clusterId,role</Dimensions>\\r\\n\\t\\t\\t<Project>acs_hbase</Project>\\r\\n\\t\\t\\t<Periods>30,300</Periods>\\r\\n\\t\\t</Resource>\\r\\n\\t\\t<Resource>\\r\\n\\t\\t\\t<Description></Description>\\r\\n\\t\\t\\t<Statistics>Average</Statistics>\\r\\n\\t\\t\\t<Labels>[{&quot;name&quot;:&quot;minAlertPeriod&quot;,&quot;value&quot;:&quot;60&quot;},{&quot;name&quot;:&quot;metricCategory&quot;,&quot;value&quot;:&quot;role&quot;},{&quot;name&quot;:&quot;is_alarm&quot;,&quot;value&quot;:&quot;true&quot;}]</Labels>\\r\\n\\t\\t\\t<Metric>ActiveApplications</Metric>\\r\\n\\t\\t\\t<Dimensions>clusterId,role</Dimensions>\\r\\n\\t\\t\\t<Project>acs_emr</Project>\\r\\n\\t\\t\\t<Periods>30,300,3600</Periods>\\r\\n\\t\\t</Resource>\\r\\n\\t\\t<Resource>\\r\\n\\t\\t\\t<Description>端口当前活跃连接数</Description>\\r\\n\\t\\t\\t<Statistics>Average,Minimum,Maximum</Statistics>\\r\\n\\t\\t\\t<Labels>[{&quot;name&quot;:&quot;alertUnit&quot;,&quot;value&quot;:&quot;Count&quot;},{&quot;name&quot;:&quot;minAlertPeriod&quot;,&quot;value&quot;:&quot;60&quot;},{&quot;name&quot;:&quot;metricCategory&quot;,&quot;value&quot;:&quot;port&quot;},{&quot;name&quot;:&quot;is_alarm&quot;,&quot;value&quot;:&quot;true&quot;}]</Labels>\\r\\n\\t\\t\\t<Metric>ActiveConnection</Metric>\\r\\n\\t\\t\\t<Dimensions>instanceId,port,protocol</Dimensions>\\r\\n\\t\\t\\t<Project>acs_slb_dashboard</Project>\\r\\n\\t\\t\\t<Periods>60,300</Periods>\\r\\n\\t\\t\\t<Unit>Count</Unit>\\r\\n\\t\\t</Resource>\\r\\n\\t\\t<Resource>\\r\\n\\t\\t\\t<Description>高防IP活跃并发连接</Description>\\r\\n\\t\\t\\t<Statistics>Maximum</Statistics>\\r\\n\\t\\t\\t<Labels>[{&quot;name&quot;:&quot;alertUnit&quot;,&quot;value&quot;:&quot;count&quot;},{&quot;name&quot;:&quot;minAlertPeriod&quot;,&quot;value&quot;:&quot;60&quot;}]</Labels>\\r\\n\\t\\t\\t<Metric>ActiveConnection</Metric>\\r\\n\\t\\t\\t<Dimensions>instanceId,ip</Dimensions>\\r\\n\\t\\t\\t<Project>acs_ddos</Project>\\r\\n\\t\\t\\t<Periods>30,60,300</Periods>\\r\\n\\t\\t\\t<Unit>count</Unit>\\r\\n\\t\\t</Resource>\\r\\n\\t\\t<Resource>\\r\\n\\t\\t\\t<Description>活跃消息数</Description>\\r\\n\\t\\t\\t<Statistics>Average,Minimum,Maximum</Statistics>\\r\\n\\t\\t\\t<Labels>[{&quot;name&quot;:&quot;alertUnit&quot;,&quot;value&quot;:&quot;Count&quot;},{&quot;name&quot;:&quot;minAlertPeriod&quot;,&quot;value&quot;:&quot;300&quot;},{&quot;name&quot;:&quot;metricCategory&quot;,&quot;value&quot;:&quot;queue&quot;},{&quot;name&quot;:&quot;is_alarm&quot;,&quot;value&quot;:&quot;true&quot;}]</Labels>\\r\\n\\t\\t\\t<Metric>ActiveMessages</Metric>\\r\\n\\t\\t\\t<Dimensions>region,queue</Dimensions>\\r\\n\\t\\t\\t<Project>acs_mns_new</Project>\\r\\n\\t\\t\\t<Periods>300</Periods>\\r\\n\\t\\t\\t<Unit>Count</Unit>\\r\\n\\t\\t</Resource>\\r\\n\\t</Resources>\\r\\n\\t</QueryMetricMetaResponse>\\r\\n","errorExample":"\\n\\n{\\n\\"RequestId\\": \\"60498C25-B5AE-48CD-B03D-207011F21E8A\\",\\n\\"ErrorCode\\": 200,\\n\\"Success\\": true,\\n\\"Resources\\": {\\n\\"Resource\\": [\\n{\\n\\"Description\\": \\"\\",\\n\\"Statistics\\": \\"Average\\",\\n\\"Labels\\": \\"[{\\\\\\"name\\\\\\":\\\\\\"minAlertPeriod\\\\\\",\\\\\\"value\\\\\\":\\\\\\"60\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"metricCategory\\\\\\",\\\\\\"value\\\\\\":\\\\\\"role\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"is_alarm\\\\\\",\\\\\\"value\\\\\\":\\\\\\"true\\\\\\"}]\\",\\n\\"Metric\\": \\"ActiveApplications\\",\\n\\"Dimensions\\": \\"clusterId,role\\",\\n\\"Project\\": \\"acs_hbase\\",\\n\\"Periods\\": \\"30,300\\"\\n},\\n{\\n\\"Description\\": \\"\\",\\n\\"Statistics\\": \\"Average\\",\\n\\"Labels\\": \\"[{\\\\\\"name\\\\\\":\\\\\\"minAlertPeriod\\\\\\",\\\\\\"value\\\\\\":\\\\\\"60\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"metricCategory\\\\\\",\\\\\\"value\\\\\\":\\\\\\"role\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"is_alarm\\\\\\",\\\\\\"value\\\\\\":\\\\\\"true\\\\\\"}]\\",\\n\\"Metric\\": \\"ActiveApplications\\",\\n\\"Dimensions\\": \\"clusterId,role\\",\\n\\"Project\\": \\"acs_emr\\",\\n\\"Periods\\": \\"30,300,3600\\"\\n},\\n{\\n\\"Description\\": \\"端口当前活跃连接数\\",\\n\\"Statistics\\": \\"Average,Minimum,Maximum\\",\\n\\"Labels\\": \\"[{\\\\\\"name\\\\\\":\\\\\\"alertUnit\\\\\\",\\\\\\"value\\\\\\":\\\\\\"Count\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"minAlertPeriod\\\\\\",\\\\\\"value\\\\\\":\\\\\\"60\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"metricCategory\\\\\\",\\\\\\"value\\\\\\":\\\\\\"port\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"is_alarm\\\\\\",\\\\\\"value\\\\\\":\\\\\\"true\\\\\\"}]\\",\\n\\"Metric\\": \\"ActiveConnection\\",\\n\\"Dimensions\\": \\"instanceId,port,protocol\\",\\n\\"Project\\": \\"acs_slb_dashboard\\",\\n\\"Periods\\": \\"60,300\\",\\n\\"Unit\\": \\"Count\\"\\n},\\n{\\n\\"Description\\": \\"高防IP活跃并发连接\\",\\n\\"Statistics\\": \\"Maximum\\",\\n\\"Labels\\": \\"[{\\\\\\"name\\\\\\":\\\\\\"alertUnit\\\\\\",\\\\\\"value\\\\\\":\\\\\\"count\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"minAlertPeriod\\\\\\",\\\\\\"value\\\\\\":\\\\\\"60\\\\\\"}]\\",\\n\\"Metric\\": \\"ActiveConnection\\",\\n\\"Dimensions\\": \\"instanceId,ip\\",\\n\\"Project\\": \\"acs_ddos\\",\\n\\"Periods\\": \\"30,60,300\\",\\n\\"Unit\\": \\"count\\"\\n},\\n{\\n\\"Description\\": \\"活跃消息数\\",\\n\\"Statistics\\": \\"Average,Minimum,Maximum\\",\\n\\"Labels\\": \\"[{\\\\\\"name\\\\\\":\\\\\\"alertUnit\\\\\\",\\\\\\"value\\\\\\":\\\\\\"Count\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"minAlertPeriod\\\\\\",\\\\\\"value\\\\\\":\\\\\\"300\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"metricCategory\\\\\\",\\\\\\"value\\\\\\":\\\\\\"queue\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"is_alarm\\\\\\",\\\\\\"value\\\\\\":\\\\\\"true\\\\\\"}]\\",\\n\\"Metric\\": \\"ActiveMessages\\",\\n\\"Dimensions\\": \\"region,queue\\",\\n\\"Project\\": \\"acs_mns_new\\",\\n\\"Periods\\": \\"300\\",\\n\\"Unit\\": \\"Count\\"\\n}\\n]\\n}\\n}"}]',
+ 'title' => 'QueryMetricMeta',
+ 'description' => 'Usually used in conjunction with the QueryMetricMeta interface for querying monitoring items and the QueryProjectMeta/QueryMetricLast interfaces for querying monitoring data. '."\n"
+ .'## Request Type '."\n"
+ .'POST|GET '."\n"
+ .' ',
+ 'translator' => 'machine',
+ ],
+ 'QueryMetricList' => [
+ 'summary' => 'Query the monitoring data of a specified product instance over a period of time.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Project',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The project of the monitoring item, used for querying monitoring data.',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'acs_ecs_dashboard',
+ ],
+ ],
+ [
+ 'name' => 'Metric',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the monitoring item.',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'cpu_idle',
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Time interval. Unit: seconds.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '60',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Start time, which can be the number of milliseconds since 00:00:00 on January 1, 1970, or a formatted date and time string, such as 2015-10-20 00:00:00.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2019-01-30 00:00:00',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'End time. Supported formats: Unix timestamp (the number of milliseconds since 00:00:00 on January 1, 1970) and Format (YYYY-MM-DDThh:mm:ssZ). Note: The interval between StartTime and EndTime should be less than or equal to 31 days.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2019-01-30 00:10:00',
+ ],
+ ],
+ [
+ 'name' => 'Dimensions',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Monitoring dimensions of the specified resource.'."\n"
+ ."\n"
+ .'Format: A collection of `key:value` pairs, for example: `{"userId":"120886317861****"}` and `{"instanceId":"i-2ze2d6j5uhg20x47****"}`.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"instanceId": "i-abcdefgh123456"}]',
+ ],
+ ],
+ [
+ 'name' => 'Cursor',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Next page of data, an empty value indicates no more pages.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0',
+ ],
+ ],
+ [
+ 'name' => 'Length',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The size of each query, used for pagination.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1000',
+ ],
+ ],
+ [
+ 'name' => 'Express',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'An expression for real-time calculation on the existing query results. Currently, only groupby is supported, similar to the groupby statement in a database.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"groupby\\":[\\"instanceId\\"]}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Cursor' => [
+ 'description' => 'Next page of data, an empty value indicates no more pages.',
+ 'type' => 'string',
+ 'example' => 'v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request, used for locating logs and troubleshooting.',
+ 'type' => 'string',
+ 'example' => '3121AE7D-4AFF-4C25-8F1D-C8226EBB1F42',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether this call was successful.',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'Datapoints' => [
+ 'description' => 'List of monitoring data.',
+ 'type' => 'string',
+ 'example' => '[{"timestamp":1548777660000,"userId":"123","instanceId":"i-abc","Minimum":9.92,"Average":9.92,"Maximum":9.92}]',
+ ],
+ 'Code' => [
+ 'description' => 'Status code, normally "200".',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Return message.',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'Period' => [
+ 'description' => 'Time interval. Unit: seconds.',
+ 'type' => 'string',
+ 'example' => '60',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Cursor\\": \\"v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0\\",\\n \\"RequestId\\": \\"3121AE7D-4AFF-4C25-8F1D-C8226EBB1F42\\",\\n \\"Success\\": \\"true\\",\\n \\"Datapoints\\": \\"[{\\\\\\"timestamp\\\\\\":1548777660000,\\\\\\"userId\\\\\\":\\\\\\"123\\\\\\",\\\\\\"instanceId\\\\\\":\\\\\\"i-abc\\\\\\",\\\\\\"Minimum\\\\\\":9.92,\\\\\\"Average\\\\\\":9.92,\\\\\\"Maximum\\\\\\":9.92}]\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success\\",\\n \\"Period\\": \\"60\\"\\n}","type":"json"}]',
+ 'title' => 'Query Product Instance Monitoring Data',
+ 'translator' => 'machine',
+ ],
+ 'AccessKeyGet' => [
+ 'summary' => 'AccessKeyGet',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SecretKey' => [
+ 'type' => 'string',
+ ],
+ 'AccessKey' => [
+ 'type' => 'string',
+ ],
+ 'ErrorMessage' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'ErrorCode' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Success' => [
+ 'type' => 'boolean',
+ ],
+ 'UserId' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'AddMyGroupInstances' => [
+ 'summary' => 'Add Resource Instances in Personal Group',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'ID of the personal application group.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '93958859',
+ ],
+ ],
+ [
+ 'name' => 'Instances',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Instance information of the application group.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{\\"instanceId\\":\\"f1c10843-a18f-11eb-b20e-f23797f49c09\\",\\"instanceName\\":\\"lvaccess-dahua-l2en6bwv1h9kx4r9-64fcd8cb6b-l975v\\",\\"category\\":\\"K8S_POD\\",\\"regionId\\":\\"cn-hangzhou\\"}]',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ErrorMessage' => [
+ 'description' => 'Error message.',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => '8C397B67-530C-5074-8E5D-0076C6E3AA78',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values: true: success; false: failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'Error code for failed requests, 200 indicates success, and any other value indicates failure.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'ResourceConflict',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'ResourceExist',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 412 => [
+ [
+ 'errorCode' => 'ResourcesOverLimit',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ErrorMessage\\": \\"Success\\",\\n \\"RequestId\\": \\"8C397B67-530C-5074-8E5D-0076C6E3AA78\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","type":"json"}]',
+ 'title' => 'Add Resource Instances in Personal Group',
+ 'translator' => 'machine',
+ ],
+ 'CreateAlarm' => [
+ 'summary' => 'CreateAlarm',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'abc',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'acs_ecs_dashboard',
+ ],
+ ],
+ [
+ 'name' => 'MetricName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'CPUUtilization',
+ ],
+ ],
+ [
+ 'name' => 'Dimensions',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '[{"instanceId":"i-2zecrzcri3d6fhd2ff7j "}]',
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '60',
+ 'default' => '300',
+ ],
+ ],
+ [
+ 'name' => 'Statistics',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'Average',
+ ],
+ ],
+ [
+ 'name' => 'ComparisonOperator',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '>',
+ ],
+ ],
+ [
+ 'name' => 'Threshold',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '90',
+ ],
+ ],
+ [
+ 'name' => 'EvaluationCount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '3',
+ 'default' => '3',
+ ],
+ ],
+ [
+ 'name' => 'ContactGroups',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ 'default' => '0',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '24',
+ 'default' => '24',
+ ],
+ ],
+ [
+ 'name' => 'SilenceTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '86400',
+ 'default' => '86400',
+ ],
+ ],
+ [
+ 'name' => 'NotifyType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Webhook',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'http://www.net.cn/example_callback.htm',
+ ],
+ ],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0c4af0f1-a864-468b-bed3-15c7deff75ee',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '910ABE4E-DC9D-4231-9DC0-C96835553327',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success\\",\\n \\"Data\\": \\"0c4af0f1-a864-468b-bed3-15c7deff75ee\\",\\n \\"RequestId\\": \\"910ABE4E-DC9D-4231-9DC0-C96835553327\\",\\n \\"Success\\": true\\n}","errorExample":"{\\n \\"Data\\": \\"0c4af0f1-a864-468b-bed3-15c7deff75ee\\", \\n \\"RequestId\\": \\"910ABE4E-DC9D-4231-9DC0-C96835553327\\", \\n \\"Success\\": true, \\n \\"Code\\": \\"200\\"\\n}"},{"type":"xml","example":"<CreateAlarmResponse>\\n <Data>576fbae7-2fd1-411a-ae13-6f09f4fafdde</Data>\\n <RequestId>58C699ED-84BE-44D5-B55F-84AFE73932AB</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</CreateAlarmResponse>","errorExample":"<CreateAlarmResponse>\\n <Data>576fbae7-2fd1-411a-ae13-6f09f4fafdde</Data>\\n <RequestId>58C699ED-84BE-44D5-B55F-84AFE73932AB</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</CreateAlarmResponse>"}]',
+ 'title' => 'CreateAlarm',
+ ],
+ 'CreateMonitoringTemplate' => [
+ 'summary' => 'Create a monitoring template',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Monitoring template name.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'Monitor_Template',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Template namespace, with the same semantics as the namespace exposed by metric master.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'acs_ecs_dashboard'."\n",
+ ],
+ ],
+ [
+ 'name' => 'AlertTemplatesJson',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Alert template.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '{"rds":[{"displayName":"rds_rule_1111","category":"rds","namespace":"acs_rds_dashboard","metricName":"CpuUsage","selector":{},"escalations":{"critical":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"99","times":3},"warn":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"98","times":3}}}],"ecs":[{"displayName":"ecs_rule1111","category":"ecs","namespace":"acs_ecs_dashboard","metricName":"cpu_total","selector":{},"escalations":{"critical":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"99","times":5}}},{"displayName":"ecs_rule2222","category":"ecs","namespace":"acs_ecs_dashboard","metricName":"cpu_idle","selector":{},"escalations":{"critical":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"9999","times":3},"warn":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"89","times":4}}}],"mongodb":[{"displayName":"mongodb11","category":"mongodb","namespace":"acs_mongodb","metricName":"CPUUtilization","selector":{},"escalations":{"critical":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"11111","times":3}}}],"mongodb_cluster":[{"displayName":"mongodb_cluster_t1","category":"mongodb_cluster","namespace":"acs_mongodb","metricName":"ShardingQPS","selector":{},"escalations":{"critical":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"9999999","times":3}}}]}',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Description of the monitoring template.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'description',
+ ],
+ ],
+ [
+ 'name' => 'SystemEventTemplates',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'System event template.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"alertName":"WAF_Event","description":"WAF_Event","eventPattern":{"eventType":["*"],"levelList":["*"],"nameList":["*"],"product":"waf"},"fcParameterList":[],"mnsParameterList":[],"notifyLevel":3,"slsParameterList":[],"webhookParameterList":[]}]',
+ ],
+ ],
+ [
+ 'name' => 'ProcessMonitorTemplates',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Process monitoring template.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"alert":{"comparisonOperator":"LessThanThreshold","escalationsLevel":"critical","silenceTime":0,"statistics":"Average","templateAlert":false,"threshold":"2","times":1},"matchExpress":{"filterRelation":"and","filters":[{"function":"all","name":"name","value":"*"}]},"processName":"FineBI"}]',
+ ],
+ ],
+ [
+ 'name' => 'HostAvailabilityTemplate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Availability monitoring template.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"alert":{"escalationList":[{"aggregate":"Value","metric":"TelnetStatus","operator":">","times":3,"value":"400"},{"aggregate":"Average","metric":"TelnetLatency","operator":">","times":3,"value":"500"}],"notifyType":1,"silenceTime":86400},"taskName":"telnet","taskOption":{"method":"HEAD","negative":true,"resposeCharset":"utf-8","uri":"telnet://xxx.com"},"taskType":"TELNET"},{"alert":{"escalationList":[{"aggregate":"Value","metric":"TelnetStatus","operator":">","times":3,"value":"400"},{"aggregate":"Average","metric":"TelnetLatency","operator":">","times":3,"value":"500"}],"notifyType":1,"silenceTime":86400},"taskName":"bbbbbbbbbb","taskOption":{"method":"HEAD","negative":true,"resposeCharset":"utf-8","uri":"telnet://xxx.com"},"taskType":"TELNET"}]',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ErrorMessage' => [
+ 'description' => 'Error message.',
+ 'type' => 'string',
+ 'example' => 'InstanceIds is mandatory for this action.',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => '78B915FD-01CA-5E38-8C4F-D3DC82598CE0',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'Error code, 200 indicates success, others indicate failure.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => 'Whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ ."\n"
+ .'- false: Failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Id' => [
+ 'description' => 'Monitoring template ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2224623',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'ResourceConflict',
+ 'errorMessage' => 'Concurrent modification of resources.',
+ ],
+ [
+ 'errorCode' => 'ResourceExist',
+ 'errorMessage' => 'Resources already exist.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ErrorMessage\\": \\"InstanceIds is mandatory for this action.\\",\\n \\"RequestId\\": \\"78B915FD-01CA-5E38-8C4F-D3DC82598CE0\\",\\n \\"ErrorCode\\": 200,\\n \\"Success\\": true,\\n \\"Id\\": 2224623\\n}","type":"json"}]',
+ 'title' => 'Create Monitoring Template',
+ 'translator' => 'machine',
+ ],
+ 'CreateMyGroups' => [
+ 'summary' => 'Create Personal Application Group',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Application group type. Values:'."\n"
+ .'- custom: Self-built application group.'."\n"
+ .'- ehpc_cluster: Application group synchronized from EHPC cluster.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom',
+ ],
+ ],
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Application group name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'monitor_group_2018_metric_ruleioaw',
+ ],
+ ],
+ [
+ 'name' => 'ServiceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'ServiceId',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '49****',
+ ],
+ ],
+ [
+ 'name' => 'BindUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Callback URL.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https://aliyun.com',
+ ],
+ ],
+ [
+ 'name' => 'ContactGroups',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Alarm contact group.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[]',
+ ],
+ ],
+ [
+ 'name' => 'Options',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Advanced settings.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[]',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ErrorMessage' => [
+ 'description' => 'Error message.',
+ 'type' => 'string',
+ 'example' => 'The specified resource is not found.',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => '3A57FF18-32F1-5A95-97E0-8CD905DF417A',
+ ],
+ 'GroupId' => [
+ 'description' => 'Application group ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '239811740',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'Error code, 200 for success, others for failure.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ ."\n"
+ .'- false: Failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'ResourceConflict',
+ 'errorMessage' => 'Concurrent modification of resources.',
+ ],
+ [
+ 'errorCode' => 'ResourceExist',
+ 'errorMessage' => 'Resources already exist.',
+ ],
+ ],
+ 412 => [
+ [
+ 'errorCode' => 'ResourcesOverLimit',
+ 'errorMessage' => 'Resources over limit.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ErrorMessage\\": \\"The specified resource is not found.\\",\\n \\"RequestId\\": \\"3A57FF18-32F1-5A95-97E0-8CD905DF417A\\",\\n \\"GroupId\\": 239811740,\\n \\"ErrorCode\\": 200,\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'title' => 'Create Personal Application Group',
+ 'translator' => 'machine',
+ ],
+ 'CreateTask' => [
+ 'summary' => 'CreateTask',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Address',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'http://www.aliyun.com',
+ ],
+ ],
+ [
+ 'name' => 'TaskType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '1.http'."\n"
+ .'2.ping'."\n"
+ .'3.tcp'."\n"
+ .'4.udp'."\n"
+ .'5.dns'."\n"
+ .'6.smtp'."\n"
+ .'7.pop3'."\n"
+ .'8.ftp',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'TaskName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'aliyunTest',
+ ],
+ ],
+ [
+ 'name' => 'Interval',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'IspCity',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '[{"city":"546","isp":"465"},{"city":"572","isp":"465"},{"city":"738","isp":"465"}]',
+ ],
+ ],
+ [
+ 'name' => 'Options',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"http_method":"get","header":"xx=bb","cookie":"test=aa","time_out":30000,"match_rule":0,"response_content":"aa"}',
+ ],
+ ],
+ [
+ 'name' => 'AlertRule',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'AlertIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'caller',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'IntervalUnit',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'a4e6f550-7eac-4a13-b11f-6742aa2d42d1',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successfull',
+ ],
+ 'AlertRule' => [
+ 'type' => 'string',
+ ],
+ 'CreateResultList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Contact' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskId' => [
+ 'type' => 'string',
+ ],
+ 'TaskName' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameterValue',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'You are not authorized to operate the specified resource.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'ExceedingQuota',
+ 'errorMessage' => 'Exceeding quota limits.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ 600 => [
+ [
+ 'errorCode' => 'IllegalAddress',
+ 'errorMessage' => 'Illegal HTTP address',
+ ],
+ ],
+ 605 => [
+ [
+ 'errorCode' => 'OperationError',
+ 'errorMessage' => 'Operation failed',
+ ],
+ ],
+ 615 => [
+ [
+ 'errorCode' => 'TaskNotExists',
+ 'errorMessage' => 'Task does not exist',
+ ],
+ ],
+ 650 => [
+ [
+ 'errorCode' => 'OperatorInvalid',
+ 'errorMessage' => 'Operator invalid',
+ ],
+ [
+ 'errorCode' => 'OperatorCityInvalid',
+ 'errorMessage' => 'Operator City invalid',
+ ],
+ ],
+ 655 => [
+ [
+ 'errorCode' => 'OperatorCityInvalid',
+ 'errorMessage' => 'Operator City invalid',
+ ],
+ ],
+ 660 => [
+ [
+ 'errorCode' => 'NameRepeat',
+ 'errorMessage' => 'Task name repeat',
+ ],
+ ],
+ 680 => [
+ [
+ 'errorCode' => 'CreateAlarmError',
+ 'errorMessage' => 'Create alarm error',
+ ],
+ ],
+ 695 => [
+ [
+ 'errorCode' => 'NameNotExists',
+ 'errorMessage' => 'Task name not exists',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successfull\\",\\n \\"RequestId\\": \\"a4e6f550-7eac-4a13-b11f-6742aa2d42d1\\",\\n \\"Success\\": \\"true\\"\\n}","errorExample":"{\\n \\"Message\\": \\"请求失败\\",\\n \\"Success\\": false,\\n \\"Code\\": \\"500\\"\\n}"},{"type":"xml","example":"","errorExample":""}]',
+ ],
+ 'DeleteAlarm' => [
+ 'summary' => 'DeleteAlarm',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '576fbae7-2fd1-411a-ae13-6f09f4fafdde',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'A9371CD8-369D-49FA-BED9-35050A0DC6A2',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"A9371CD8-369D-49FA-BED9-35050A0DC6A2\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteAlarmResponse>\\n <RequestId>A9371CD8-369D-49FA-BED9-35050A0DC6A2</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</DeleteAlarmResponse>","errorExample":"{\\n \\"RequestId\\": \\" A9371CD8-369D-49FA-BED9-35050A0DC6A2\\", \\n \\"Success\\": true, \\n \\"Code\\": \\"200\\"\\n}"}]',
+ 'title' => 'DeleteAlarm',
+ ],
+ 'DeleteCustomMetric' => [
+ 'summary' => 'DeleteCustomMetric',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'MetricName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Md5',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'UUID',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Result' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DeleteMetricRuleTargets' => [
+ 'summary' => 'DeleteMetricRuleTargets',
+ 'methods' => [
+ 'post',
+ 'get',
+ 'delete',
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'TargetIds',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ 'required' => false,
+ 'maxItems' => 5,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Success' => [
+ 'type' => 'boolean',
+ ],
+ 'FailIds' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'TargetIds' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'TargetId' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed because of an unknown error, exception or failure.',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DeleteMetricRules' => [
+ 'summary' => 'DeleteMetricRules',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ 'required' => true,
+ 'maxItems' => 100,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Success' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'AccessDeniedException',
+ 'errorMessage' => 'You donot have sufficient access to perform this action.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'LimitExceeded',
+ 'errorMessage' => 'The quota for this customer had been reached.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 429 => [
+ [
+ 'errorCode' => 'Throttli∂ngException',
+ 'errorMessage' => 'The request was denied due to request throttling.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DeleteMyGroupInstances' => [
+ 'summary' => 'deleteMyGroupInstances',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Personal group ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '239847992',
+ ],
+ ],
+ [
+ 'name' => 'InstanceIdList',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'List of instance IDs to be deleted.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[]',
+ ],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Instance ID to be deleted.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'i-m5e0k0bexac8tykr****',
+ ],
+ ],
+ [
+ 'name' => 'Category',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Category.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ecs',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ErrorMessage' => [
+ 'description' => 'Error message.',
+ 'type' => 'string',
+ 'example' => 'InvalidAuthorization',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => '0857B44C-315F-5E40-AA6A-48096D1EB508',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ ."\n"
+ .'- false: Failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'Error code. 200 indicates success, other values indicate failure.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ErrorMessage\\": \\"InvalidAuthorization\\",\\n \\"RequestId\\": \\"0857B44C-315F-5E40-AA6A-48096D1EB508\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","type":"json"}]',
+ 'title' => 'Delete Resource Instances within a Personal Group',
+ 'translator' => 'machine',
+ ],
+ 'DeleteMyGroups' => [
+ 'summary' => 'Delete Personal Application Group',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'high',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Application group ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '174549092',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ErrorMessage' => [
+ 'description' => 'Error message.',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => '107F0464-38F4-57F2-B1E0-237382F0FD72',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ ."\n"
+ .'- false: Failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'Status code, 200 indicates success, non-200 indicates failure.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Group' => [
+ 'description' => 'Group information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'Application group type. Values:'."\n"
+ .'- custom: Custom-built application group.'."\n"
+ .'- ehpc_cluster: Application group synchronized from an EHPC cluster.',
+ 'type' => 'string',
+ 'example' => 'custom',
+ ],
+ 'GroupName' => [
+ 'description' => 'Application group name.',
+ 'type' => 'string',
+ 'example' => 'ECS_test',
+ ],
+ 'GroupId' => [
+ 'description' => 'Application group ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '15055766',
+ ],
+ 'BindUrls' => [
+ 'description' => 'Bind URLs',
+ 'type' => 'string',
+ 'example' => 'ehpc://i-dadfasdf/Login',
+ ],
+ 'ServiceId' => [
+ 'description' => 'Service ID',
+ 'type' => 'string',
+ 'example' => '1349',
+ ],
+ 'ContactGroups' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ContactGroup' => [
+ 'description' => 'Alarm contact groups.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => '报警联系人的姓名。',
+ 'type' => 'string',
+ 'example' => 'xiaoming',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'ResourceConflict',
+ 'errorMessage' => 'Concurrent modification of resources.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ErrorMessage\\": \\"Success\\",\\n \\"RequestId\\": \\"107F0464-38F4-57F2-B1E0-237382F0FD72\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Group\\": {\\n \\"Type\\": \\"custom\\",\\n \\"GroupName\\": \\"ECS_test\\",\\n \\"GroupId\\": 15055766,\\n \\"BindUrls\\": \\"ehpc://i-dadfasdf/Login\\",\\n \\"ServiceId\\": \\"1349\\",\\n \\"ContactGroups\\": {\\n \\"ContactGroup\\": [\\n {\\n \\"Name\\": \\"xiaoming\\"\\n }\\n ]\\n }\\n }\\n}","type":"json"}]',
+ 'title' => 'Delete Personal Application Group',
+ 'translator' => 'machine',
+ ],
+ 'DeleteTasks' => [
+ 'summary' => 'Delete a site monitoring task',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'high',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the site monitoring task, which is the unique identifier for the task',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '["2b5e6f7d-108f-4117-85fb-b202ba033468"]',
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'IsDeleteAlarms',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Whether to delete the alarm rules associated with the task. The default value is 1.'."\n"
+ ."\n"
+ .'1: Delete the alarm rules as well'."\n"
+ .'0: Do not delete the alarm rules, only delete the task'."\n",
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'Status code',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Error message',
+ 'type' => 'string',
+ 'example' => '请求成功',
+ ],
+ 'Data' => [
+ 'description' => 'Return information'."\n",
+ 'type' => 'string',
+ 'example' => '{"count":1}',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID, used for troubleshooting',
+ 'type' => 'string',
+ 'example' => 'a4e6f550-7eac-4a13-b11f-6742aa2d42d1',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether this call was successful',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameterValue',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'You are not authorized to operate the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'TaskNotExists',
+ 'errorMessage' => 'Task not exist',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"请求成功\\",\\n \\"Data\\": \\"{\\\\\\"count\\\\\\":1}\\",\\n \\"RequestId\\": \\"a4e6f550-7eac-4a13-b11f-6742aa2d42d1\\",\\n \\"Success\\": \\"true\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'Delete Task',
+ 'description' => 'Delete a specified site monitoring task',
+ 'translator' => 'machine',
+ ],
+ 'DescribeAlarmHistory' => [
+ 'summary' => 'DescribeAlarmHistory',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AlertName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'RuleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'MetricName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'State',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Ascending',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'OnlyCount',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Page',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Total' => [
+ 'type' => 'string',
+ ],
+ 'Success' => [
+ 'type' => 'boolean',
+ ],
+ 'AlarmHistoryList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AlarmHistory' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'MetricName' => [
+ 'type' => 'string',
+ ],
+ 'EvaluationCount' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'State' => [
+ 'type' => 'string',
+ ],
+ 'UserId' => [
+ 'type' => 'string',
+ ],
+ 'PreLevel' => [
+ 'type' => 'string',
+ ],
+ 'Namespace' => [
+ 'type' => 'string',
+ ],
+ 'AlertName' => [
+ 'type' => 'string',
+ ],
+ 'Webhooks' => [
+ 'type' => 'string',
+ ],
+ 'RuleName' => [
+ 'type' => 'string',
+ ],
+ 'LastTime' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ ],
+ 'Expression' => [
+ 'type' => 'string',
+ ],
+ 'GroupId' => [
+ 'type' => 'string',
+ ],
+ 'AlertTime' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'InstanceName' => [
+ 'type' => 'string',
+ ],
+ 'Dimensions' => [
+ 'type' => 'string',
+ ],
+ 'Level' => [
+ 'type' => 'string',
+ ],
+ 'Id' => [
+ 'type' => 'string',
+ ],
+ 'Contacts' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Contact' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'ContactALIIMs' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ContactALIIM' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'ContactMails' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ContactMail' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'ContactSmses' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ContactSms' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'ContactGroups' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ContactGroup' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 204 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 206 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'InternalError ',
+ 'errorMessage' => 'The request processing has failed due to some unknown error. ',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DescribeAlarms' => [
+ 'summary' => 'DescribeAlarms',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupBy',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'MetricName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'EnableState',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Page',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'AlertState',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'DisplayName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Names',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'NameKeyword',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Success' => [
+ 'type' => 'boolean',
+ ],
+ 'Code' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'TraceId' => [
+ 'type' => 'string',
+ ],
+ 'Total' => [
+ 'type' => 'string',
+ ],
+ 'Datapoints' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Alarm' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'DisplayName' => [
+ 'type' => 'string',
+ ],
+ 'MetricName' => [
+ 'type' => 'string',
+ ],
+ 'EffectiveInterval' => [
+ 'type' => 'string',
+ ],
+ 'NoEffectiveInterval' => [
+ 'type' => 'string',
+ ],
+ 'ComparisonOperator' => [
+ 'type' => 'string',
+ ],
+ 'Subject' => [
+ 'type' => 'string',
+ ],
+ 'Dimensions' => [
+ 'type' => 'string',
+ ],
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'Resources' => [
+ 'type' => 'string',
+ ],
+ 'Threshold' => [
+ 'type' => 'string',
+ ],
+ 'SilenceTime' => [
+ 'type' => 'string',
+ ],
+ 'RuleType' => [
+ 'type' => 'string',
+ ],
+ 'EvaluationCount' => [
+ 'type' => 'string',
+ ],
+ 'Webhook' => [
+ 'type' => 'string',
+ ],
+ 'State' => [
+ 'type' => 'string',
+ ],
+ 'ContactGroups' => [
+ 'type' => 'string',
+ ],
+ 'Namespace' => [
+ 'type' => 'string',
+ ],
+ 'Period' => [
+ 'type' => 'string',
+ ],
+ 'RuleName' => [
+ 'type' => 'string',
+ ],
+ 'Uuid' => [
+ 'type' => 'string',
+ ],
+ 'GroupId' => [
+ 'type' => 'string',
+ ],
+ 'GroupName' => [
+ 'type' => 'string',
+ ],
+ 'Level' => [
+ 'type' => 'string',
+ ],
+ 'Enable' => [
+ 'type' => 'boolean',
+ ],
+ 'Statistics' => [
+ 'type' => 'string',
+ ],
+ 'Escalations' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Info' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ComparisonOperator' => [
+ 'type' => 'string',
+ ],
+ 'PreCondition' => [
+ 'type' => 'string',
+ ],
+ 'Times' => [
+ 'type' => 'string',
+ ],
+ 'Threshold' => [
+ 'type' => 'string',
+ ],
+ 'HistoryDataRange' => [
+ 'type' => 'string',
+ ],
+ 'Statistics' => [
+ 'type' => 'string',
+ ],
+ 'AlertSensitivity' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'Warn' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ComparisonOperator' => [
+ 'type' => 'string',
+ ],
+ 'PreCondition' => [
+ 'type' => 'string',
+ ],
+ 'Times' => [
+ 'type' => 'string',
+ ],
+ 'Threshold' => [
+ 'type' => 'string',
+ ],
+ 'HistoryDataRange' => [
+ 'type' => 'string',
+ ],
+ 'Statistics' => [
+ 'type' => 'string',
+ ],
+ 'AlertSensitivity' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'Critical' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ComparisonOperator' => [
+ 'type' => 'string',
+ ],
+ 'PreCondition' => [
+ 'type' => 'string',
+ ],
+ 'Times' => [
+ 'type' => 'string',
+ ],
+ 'Threshold' => [
+ 'type' => 'string',
+ ],
+ 'HistoryDataRange' => [
+ 'type' => 'string',
+ ],
+ 'Statistics' => [
+ 'type' => 'string',
+ ],
+ 'AlertSensitivity' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 206 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'AccessDeniedException',
+ 'errorMessage' => 'You donot have sufficient access to perform this action.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'LimitExceeded',
+ 'errorMessage' => 'The quota for this customer had been reached.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'The X.509 certificate or cms access key ID provided does not exist in our records.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 429 => [
+ [
+ 'errorCode' => 'Throttli∂ngException',
+ 'errorMessage' => 'The request was denied due to request throttling.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'DescribeAlarmsForResources' => [
+ 'summary' => 'describealarmsforresources',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MetricName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the monitoring item for the cloud product.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CPUUtilization',
+ ],
+ ],
+ [
+ 'name' => 'EnableState',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The enabled state of the alarm rule. Values: -true: Enabled. -false: Disabled.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The data namespace of the monitoring item.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'acs_ecs_dashboard',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Group ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '123456',
+ ],
+ ],
+ [
+ 'name' => 'Page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Page number. '."\n"
+ ."\n"
+ .'Default value: 1.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Number of records per page.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'AlertState',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The status of the alarm rule. Values: '."\n"
+ .'- OK: Normal. '."\n"
+ .'- ALARM: Alarm. '."\n"
+ .'- INSUFFICIENT_DATA: Insufficient data.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'OK',
+ ],
+ ],
+ [
+ 'name' => 'Dimensions',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Dimension map used to query monitoring data for specific resources.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '[{"instanceId":"i-2ze2d6j5uhg20x47****"}]',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'The ID of this request, which is a unique identifier generated by Alibaba Cloud for the request and can be used for troubleshooting and problem localization.',
+ 'type' => 'string',
+ 'example' => '50D4CFE1-01E5-4543-939C-18BC01E3EC1C',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values: '."\n"
+ .'- true: Success. '."\n"
+ .'- false: Failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Dimensions' => [
+ 'description' => 'Dimension map used to query monitoring data for specific resources.',
+ 'type' => 'string',
+ 'example' => '{\\"instanceId\\":\\"i-bp1cqhiw1za2****\\"}',
+ ],
+ 'Code' => [
+ 'description' => 'Status code. '."\n"
+ ."\n"
+ .'> 200 indicates success.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Return message.',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'TraceId' => [
+ 'description' => 'Call chain ID.',
+ 'type' => 'string',
+ 'example' => 'f1b83c3b-b6ea-4a4e-9087-b5752e7da052',
+ ],
+ 'Total' => [
+ 'description' => 'Total number of records.',
+ 'type' => 'string',
+ 'example' => '22',
+ ],
+ 'Datapoints' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Alarm' => [
+ 'description' => 'Array of alarm rule objects.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Alarm rule object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'DisplayName' => [
+ 'description' => 'Display name of the alarm rule.',
+ 'type' => 'string',
+ 'example' => '磁盘使用率',
+ ],
+ 'SilenceTime' => [
+ 'description' => 'Channel silence time. Unit: seconds.',
+ 'type' => 'string',
+ 'example' => '3600',
+ ],
+ 'MetricName' => [
+ 'description' => 'Monitoring item name.',
+ 'type' => 'string',
+ 'example' => 'CPUUtilization',
+ ],
+ 'EvaluationCount' => [
+ 'description' => 'Number of consecutive detections that must meet the threshold condition before an alarm is triggered.',
+ 'type' => 'string',
+ 'example' => '3',
+ ],
+ 'Webhook' => [
+ 'description' => 'URL address to be called back when an alarm occurs.',
+ 'type' => 'string',
+ 'example' => 'https://oapi.dingtalk.com/robot/send?access_token=54df4b27524b232ac4f745d14a099a63555826c71fe108b2233b1c1cca51e5cb',
+ ],
+ 'State' => [
+ 'description' => 'Alarm state.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'ContactGroups' => [
+ 'description' => 'Alarm contact groups.',
+ 'type' => 'string',
+ 'example' => 'Server',
+ ],
+ 'Namespace' => [
+ 'description' => 'Namespace of the cloud product.',
+ 'type' => 'string',
+ 'example' => 'platform-acs-fc-metrics',
+ ],
+ 'NoEffectiveInterval' => [
+ 'description' => 'The time period during which the alarm rule is not effective.',
+ 'type' => 'string',
+ 'example' => '00:00-05:30',
+ ],
+ 'EffectiveInterval' => [
+ 'description' => 'The time period during which the alarm rule is effective.',
+ 'type' => 'string',
+ 'example' => '0:00-23:59',
+ ],
+ 'Period' => [
+ 'description' => 'The statistical period for monitoring data.',
+ 'type' => 'string',
+ 'example' => '60',
+ ],
+ 'ComparisonOperator' => [
+ 'description' => 'Info level threshold comparison operator. Values:'."\n"
+ ."\n"
+ .'- GreaterThanOrEqualToThreshold: Greater than or equal to.'."\n"
+ .'- GreaterThanThreshold: Greater than.'."\n"
+ .'- LessThanOrEqualToThreshold: Less than or equal to.'."\n"
+ .'- LessThanThreshold: Less than.'."\n"
+ .'- NotEqualToThreshold: Not equal to.'."\n"
+ .'- GreaterThanYesterday: Increased compared to the same time yesterday.'."\n"
+ .'- LessThanYesterday: Decreased compared to the same time yesterday.'."\n"
+ .'- GreaterThanLastWeek: Increased compared to the same time last week.'."\n"
+ .'- LessThanLastWeek: Decreased compared to the same time last week.'."\n"
+ .'- GreaterThanLastPeriod: Increased compared to the previous period.'."\n"
+ .'- LessThanLastPeriod: Decreased compared to the previous period.',
+ 'type' => 'string',
+ 'example' => 'GreaterThanThreshold',
+ ],
+ 'Uuid' => [
+ 'description' => 'Alarm UUID.',
+ 'type' => 'string',
+ 'example' => 'abb18b9fc4ca45468a94763f24ddf898',
+ ],
+ 'GroupName' => [
+ 'description' => 'Application group name.',
+ 'type' => 'string',
+ 'example' => 'edgeah-3ce900a3617747dcbd49cd7ff752b32a-iot-1wdrsc-ReplicaSet-lvmonitor-gf9bs0jt0dwdjlad-d6f999676',
+ ],
+ 'GroupId' => [
+ 'description' => 'Application group ID.',
+ 'type' => 'string',
+ 'example' => '239757988',
+ ],
+ 'Subject' => [
+ 'description' => 'Alarm title',
+ 'type' => 'string',
+ 'example' => 'Alibaba Cloud',
+ ],
+ 'Name' => [
+ 'description' => 'Alarm name.',
+ 'type' => 'string',
+ 'example' => 'Ecs_Mem_Utilization',
+ ],
+ 'Threshold' => [
+ 'description' => 'Alarm threshold.',
+ 'type' => 'string',
+ 'example' => '85',
+ ],
+ 'Level' => [
+ 'description' => 'Alarm level. Values:'."\n"
+ .'- CRITICAL: Critical.'."\n"
+ .'- WARN: Warning.'."\n"
+ .'- INFO: Information.',
+ 'type' => 'string',
+ 'example' => 'CRITICAL',
+ ],
+ 'Resources' => [
+ 'description' => 'Resources.',
+ 'type' => 'string',
+ 'example' => '[{\\"instanceId\\":\\"rmq-cn-o493nio5v0i\\",\\"userId\\":\\"1493622401794734\\"}]',
+ ],
+ 'Statistics' => [
+ 'description' => 'Critical level alarm statistical method.'."\n"
+ ."\n"
+ .'The value of this parameter is determined by the `Statistics` column corresponding to the specified cloud product\'s `MetricName`, such as Maximum, Minimum, and Average. For more information on how to obtain the value of this parameter, see [Cloud Product Monitoring Items](~~163515~~).'."\n"
+ ."\n"
+ .'> At least one of the alarm levels (Critical, Warn, or Info) must be set, and the parameters Statistics, ComparisonOperator, Threshold, and Times in that alarm level must all be set simultaneously.',
+ 'type' => 'string',
+ 'example' => 'Average',
+ ],
+ 'Enable' => [
+ 'description' => 'The enablement status of the alarm. Values:'."\n"
+ ."\n"
+ .'- true: Enabled.'."\n"
+ ."\n"
+ .'- false: Disabled.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Escalations' => [
+ 'description' => 'Alarm escalation configuration.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Info' => [
+ 'description' => 'Info level alarm.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ComparisonOperator' => [
+ 'description' => 'Comparison operator for the Info level threshold. Values:'."\n"
+ ."\n"
+ .'- GreaterThanOrEqualToThreshold: greater than or equal to.'."\n"
+ .'- GreaterThanThreshold: greater than.'."\n"
+ .'- LessThanOrEqualToThreshold: less than or equal to.'."\n"
+ .'- LessThanThreshold: less than.'."\n"
+ .'- NotEqualToThreshold: not equal to.'."\n"
+ .'- EqualToThreshold: equal to.'."\n"
+ .'- GreaterThanYesterday: increased compared to the same time yesterday.'."\n"
+ .'- LessThanYesterday: decreased compared to the same time yesterday.'."\n"
+ .'- GreaterThanLastWeek: increased compared to the same time last week.'."\n"
+ .'- LessThanLastWeek: decreased compared to the same time last week.'."\n"
+ .'- GreaterThanLastPeriod: increased compared to the previous period.'."\n"
+ .'- LessThanLastPeriod: decreased compared to the previous period.'."\n"
+ ."\n"
+ .'> At least one of the alarm levels (Critical, Warn, or Info) must be set, and the parameters Statistics, ComparisonOperator, Threshold, and Times must be set simultaneously for that alarm level.',
+ 'type' => 'string',
+ 'example' => 'GreaterThanThreshold',
+ ],
+ 'Times' => [
+ 'description' => 'The number of times the alarm condition must be met before an alarm notification is sent.',
+ 'type' => 'string',
+ 'example' => '3',
+ ],
+ 'Threshold' => [
+ 'description' => 'Threshold for the Info level.',
+ 'type' => 'string',
+ 'example' => '99',
+ ],
+ 'Statistics' => [
+ 'description' => 'Alarm statistical method.',
+ 'type' => 'string',
+ 'example' => 'Average',
+ ],
+ ],
+ ],
+ 'Warn' => [
+ 'description' => 'Warn level alarm.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ComparisonOperator' => [
+ 'description' => 'Comparison operator for the Warn level threshold. Values:'."\n"
+ ."\n"
+ .'- GreaterThanOrEqualToThreshold: greater than or equal to.'."\n"
+ .'- GreaterThanThreshold: greater than.'."\n"
+ .'- LessThanOrEqualToThreshold: less than or equal to.'."\n"
+ .'- LessThanThreshold: less than.'."\n"
+ .'- NotEqualToThreshold: not equal to.'."\n"
+ .'- GreaterThanYesterday: increased compared to the same time yesterday.'."\n"
+ .'- LessThanYesterday: decreased compared to the same time yesterday.'."\n"
+ .'- GreaterThanLastWeek: increased compared to the same time last week.'."\n"
+ .'- LessThanLastWeek: decreased compared to the same time last week.'."\n"
+ .'- GreaterThanLastPeriod: increased compared to the previous period.'."\n"
+ .'- LessThanLastPeriod: decreased compared to the previous period.',
+ 'type' => 'string',
+ 'example' => 'LessThanOrEqualToThreshold',
+ ],
+ 'Times' => [
+ 'description' => 'The number of times the alarm condition must be met before an alarm notification is sent.',
+ 'type' => 'string',
+ 'example' => '3',
+ ],
+ 'Threshold' => [
+ 'description' => 'Threshold for the Warn level.',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'Statistics' => [
+ 'description' => 'Alarm statistical method.',
+ 'type' => 'string',
+ 'example' => 'Average',
+ ],
+ ],
+ ],
+ 'Critical' => [
+ 'description' => 'Critical level alarm.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ComparisonOperator' => [
+ 'description' => 'Threshold comparison operator. Values:'."\n"
+ ."\n"
+ .'- GreaterThanOrEqualToThreshold: Greater than or equal to.'."\n"
+ .'- GreaterThanThreshold: Greater than.'."\n"
+ .'- LessThanOrEqualToThreshold: Less than or equal to.'."\n"
+ .'- LessThanThreshold: Less than.'."\n"
+ .'- NotEqualToThreshold: Not equal to.'."\n"
+ .'- GreaterThanYesterday: Increased compared to the same time yesterday.'."\n"
+ .'- LessThanYesterday: Decreased compared to the same time yesterday.'."\n"
+ .'- GreaterThanLastWeek: Increased compared to the same time last week.'."\n"
+ .'- LessThanLastWeek: Decreased compared to the same time last week.'."\n"
+ .'- GreaterThanLastPeriod: Increased compared to the previous period.'."\n"
+ .'- LessThanLastPeriod: Decreased compared to the previous period.',
+ 'type' => 'string',
+ 'example' => 'LessThanThreshold',
+ ],
+ 'Times' => [
+ 'description' => 'The number of times the alarm condition must be met before an alarm notification is sent.',
+ 'type' => 'string',
+ 'example' => '3',
+ ],
+ 'Threshold' => [
+ 'description' => 'Critical level threshold.',
+ 'type' => 'string',
+ 'example' => '90',
+ ],
+ 'Statistics' => [
+ 'description' => 'Alarm statistical method.',
+ 'type' => 'string',
+ 'example' => 'Average',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameter',
+ 'errorMessage' => 'The specified parameter is not valid.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'InvalidAuthorization',
+ 'errorMessage' => 'The Request is not authorization.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"50D4CFE1-01E5-4543-939C-18BC01E3EC1C\\",\\n \\"Success\\": true,\\n \\"Dimensions\\": \\"{\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"i-bp1cqhiw1za2****\\\\\\\\\\\\\\"}\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"TraceId\\": \\"f1b83c3b-b6ea-4a4e-9087-b5752e7da052\\",\\n \\"Total\\": \\"22\\",\\n \\"Datapoints\\": {\\n \\"Alarm\\": [\\n {\\n \\"DisplayName\\": \\"磁盘使用率\\",\\n \\"SilenceTime\\": \\"3600\\",\\n \\"MetricName\\": \\"CPUUtilization\\",\\n \\"EvaluationCount\\": \\"3\\",\\n \\"Webhook\\": \\"https://oapi.dingtalk.com/robot/send?access_token=54df4b27524b232ac4f745d14a099a63555826c71fe108b2233b1c1cca51e5cb\\",\\n \\"State\\": \\"OK\\",\\n \\"ContactGroups\\": \\"Server\\",\\n \\"Namespace\\": \\"platform-acs-fc-metrics\\",\\n \\"NoEffectiveInterval\\": \\"00:00-05:30\\",\\n \\"EffectiveInterval\\": \\"0:00-23:59\\",\\n \\"Period\\": \\"60\\",\\n \\"ComparisonOperator\\": \\"GreaterThanThreshold\\",\\n \\"Uuid\\": \\"abb18b9fc4ca45468a94763f24ddf898\\",\\n \\"GroupName\\": \\"edgeah-3ce900a3617747dcbd49cd7ff752b32a-iot-1wdrsc-ReplicaSet-lvmonitor-gf9bs0jt0dwdjlad-d6f999676\\",\\n \\"GroupId\\": \\"239757988\\",\\n \\"Subject\\": \\"Alibaba Cloud\\",\\n \\"Name\\": \\"Ecs_Mem_Utilization\\",\\n \\"Threshold\\": \\"85\\",\\n \\"Level\\": \\"CRITICAL\\",\\n \\"Resources\\": \\"[{\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"rmq-cn-o493nio5v0i\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"userId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"1493622401794734\\\\\\\\\\\\\\"}]\\",\\n \\"Statistics\\": \\"Average\\",\\n \\"Enable\\": true,\\n \\"Escalations\\": {\\n \\"Info\\": {\\n \\"ComparisonOperator\\": \\"GreaterThanThreshold\\",\\n \\"Times\\": \\"3\\",\\n \\"Threshold\\": \\"99\\",\\n \\"Statistics\\": \\"Average\\"\\n },\\n \\"Warn\\": {\\n \\"ComparisonOperator\\": \\"LessThanOrEqualToThreshold\\",\\n \\"Times\\": \\"3\\",\\n \\"Threshold\\": \\"100\\",\\n \\"Statistics\\": \\"Average\\"\\n },\\n \\"Critical\\": {\\n \\"ComparisonOperator\\": \\"LessThanThreshold\\",\\n \\"Times\\": \\"3\\",\\n \\"Threshold\\": \\"90\\",\\n \\"Statistics\\": \\"Average\\"\\n }\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'Get Resource Alarms',
+ 'translator' => 'machine',
+ ],
+ 'DescribeAlertHistoryList' => [
+ 'summary' => 'Query alarm history details',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'AlertName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Alarm name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'HighErrorRate',
+ ],
+ ],
+ [
+ 'name' => 'RuleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Alarm rule name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ECS_Rule',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Namespace.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acs_ecs_dashboard',
+ ],
+ ],
+ [
+ 'name' => 'MetricName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Metric name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cpu_total',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Group ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '35235226',
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Channel silence status. Values:'."\n"
+ .'- 2 (default): Channel is silent.'."\n"
+ .'- 0: Alarm or recovery.'."\n"
+ .'- 1: Invalid period.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2',
+ ],
+ ],
+ [
+ 'name' => 'State',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Alarm status. Values:'."\n"
+ .'- ALARM (default): Alarm state.'."\n"
+ .'- OK: Normal state.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ok',
+ ],
+ ],
+ [
+ 'name' => 'Ascending',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Time sorting. Values: true (default): indicates reverse chronological order. false: indicates chronological order.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'OnlyCount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Whether the alarm threshold is met. Values: -true: condition is met. -false: condition is not met.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Start time for querying alarms.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1552209685596',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'End time for querying alarms.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1640608200000',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Number of records per page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'Page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Page number.'."\n"
+ ."\n"
+ .'Default value: 1.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'Status code. 200 indicates success.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Return message.',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID, used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'C3C69FBE-2262-541F-A409-C52F380BAE63',
+ ],
+ 'Total' => [
+ 'description' => 'Total number of records.',
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ 'Success' => [
+ 'description' => 'Whether the operation was successful. true indicates success, false indicates failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'AlarmHistoryList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AlarmHistory' => [
+ 'description' => 'Alarm history list',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => 'Alarm status.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => 'stopped',
+ ],
+ 'MetricName' => [
+ 'description' => 'Metric name',
+ 'type' => 'string',
+ 'example' => 'cpu_total',
+ ],
+ 'EvaluationCount' => [
+ 'description' => 'Number of consecutive detections that meet the threshold condition before an alarm is triggered.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '3',
+ ],
+ 'State' => [
+ 'description' => 'Alarm status.',
+ 'type' => 'string',
+ 'example' => 'Finished',
+ ],
+ 'UserId' => [
+ 'description' => 'User ID',
+ 'type' => 'string',
+ 'example' => 'xxxxxx',
+ ],
+ 'PreLevel' => [
+ 'description' => 'Previous alarm level',
+ 'type' => 'string',
+ 'example' => 'NORMAL',
+ ],
+ 'Namespace' => [
+ 'description' => 'Namespace.',
+ 'type' => 'string',
+ 'example' => 'acs_vpc_eip',
+ ],
+ 'AlertName' => [
+ 'description' => 'Alarm name.',
+ 'type' => 'string',
+ 'example' => '测评内测-数据库慢调用-低',
+ ],
+ 'Webhooks' => [
+ 'description' => '报警发生时,回调的URL地址',
+ 'type' => 'string',
+ 'example' => '[\\"https://oapi.dingtalk.com/robot/send?access_token=cca17c14bbc6b81b35fdc7caa19fdda531b659eee2969cc35a6362e3b2d10c13\\"]',
+ ],
+ 'RuleName' => [
+ 'description' => 'Alarm rule name.',
+ 'type' => 'string',
+ 'example' => 'ecs 5分钟tcp连接数超过80%',
+ ],
+ 'LastTime' => [
+ 'description' => 'Duration of the alarm.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1744597658',
+ ],
+ 'Value' => [
+ 'description' => 'Tag value of the alarm template.',
+ 'type' => 'string',
+ 'example' => 'Server=tes-rds.infra.uat.altium365.com.cn%3BDatabase=tenant_directory%3BUid=ciiva%3BPwd=ZJJ6xvd!WeUjaVjvHWLU%3BAutoEnlist=False%3BSSLMode=None%3B',
+ ],
+ 'Expression' => [
+ 'description' => 'Expression.',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'GroupId' => [
+ 'description' => 'Group ID.',
+ 'type' => 'string',
+ 'example' => '239765677',
+ ],
+ 'AlertTime' => [
+ 'description' => 'Time when the alarm occurred.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1552209685596',
+ ],
+ 'InstanceName' => [
+ 'description' => 'Instance name.',
+ 'type' => 'string',
+ 'example' => 'prd-sflocalizationapi-5855fd9d6d-8hhx9',
+ ],
+ 'Dimensions' => [
+ 'description' => 'Dimensions.',
+ 'type' => 'string',
+ 'example' => '{\\"instanceId\\":\\"i-wz9fovee1h4jv7igaz8i\\"}',
+ ],
+ 'Level' => [
+ 'description' => 'Alarm level.',
+ 'type' => 'string',
+ 'example' => 'NORMAL',
+ ],
+ 'Id' => [
+ 'description' => 'Alarm ID.',
+ 'type' => 'string',
+ 'example' => '3393FD4A10BD5723CD0DCFB4B25AC79928735672',
+ ],
+ 'Contacts' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Contact' => [
+ 'description' => 'List of contacts',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Contact',
+ 'type' => 'string',
+ 'example' => '185xxxx0307',
+ ],
+ ],
+ ],
+ ],
+ 'ContactALIIMs' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ContactALIIM' => [
+ 'description' => 'List of Aliwangwang contacts',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Aliwangwang contact',
+ 'type' => 'string',
+ 'example' => 'seller001',
+ ],
+ ],
+ ],
+ ],
+ 'ContactMails' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ContactMail' => [
+ 'description' => 'List of email contacts',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Email contact',
+ 'type' => 'string',
+ 'example' => '[email protected]',
+ ],
+ ],
+ ],
+ ],
+ 'ContactSmses' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ContactSms' => [
+ 'description' => 'List of SMS contacts',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Phone number of the contact',
+ 'type' => 'string',
+ 'example' => '185xxxx0307',
+ ],
+ ],
+ ],
+ ],
+ 'ContactGroups' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ContactGroup' => [
+ 'description' => 'List of alarm contact groups.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Alarm contact group.',
+ 'type' => 'string',
+ 'example' => '开发运维报警组',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 204 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 206 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'InternalError ',
+ 'errorMessage' => 'The request processing has failed due to some unknown error. ',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"C3C69FBE-2262-541F-A409-C52F380BAE63\\",\\n \\"Total\\": \\"2\\",\\n \\"Success\\": true,\\n \\"AlarmHistoryList\\": {\\n \\"AlarmHistory\\": [\\n {\\n \\"Status\\": 0,\\n \\"MetricName\\": \\"cpu_total\\",\\n \\"EvaluationCount\\": 3,\\n \\"State\\": \\"Finished\\",\\n \\"UserId\\": \\"xxxxxx\\",\\n \\"PreLevel\\": \\"NORMAL\\",\\n \\"Namespace\\": \\"acs_vpc_eip\\",\\n \\"AlertName\\": \\"测评内测-数据库慢调用-低\\",\\n \\"Webhooks\\": \\"[\\\\\\\\\\\\\\"https://oapi.dingtalk.com/robot/send?access_token=cca17c14bbc6b81b35fdc7caa19fdda531b659eee2969cc35a6362e3b2d10c13\\\\\\\\\\\\\\"]\\",\\n \\"RuleName\\": \\"ecs 5分钟tcp连接数超过80%\\",\\n \\"LastTime\\": 1744597658,\\n \\"Value\\": \\"Server=tes-rds.infra.uat.altium365.com.cn%3BDatabase=tenant_directory%3BUid=ciiva%3BPwd=ZJJ6xvd!WeUjaVjvHWLU%3BAutoEnlist=False%3BSSLMode=None%3B\\",\\n \\"Expression\\": \\"1\\",\\n \\"GroupId\\": \\"239765677\\",\\n \\"AlertTime\\": 1552209685596,\\n \\"InstanceName\\": \\"prd-sflocalizationapi-5855fd9d6d-8hhx9\\",\\n \\"Dimensions\\": \\"{\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"i-wz9fovee1h4jv7igaz8i\\\\\\\\\\\\\\"}\\",\\n \\"Level\\": \\"NORMAL\\",\\n \\"Id\\": \\"3393FD4A10BD5723CD0DCFB4B25AC79928735672\\",\\n \\"Contacts\\": {\\n \\"Contact\\": [\\n \\"185xxxx0307\\"\\n ]\\n },\\n \\"ContactALIIMs\\": {\\n \\"ContactALIIM\\": [\\n \\"seller001\\"\\n ]\\n },\\n \\"ContactMails\\": {\\n \\"ContactMail\\": [\\n \\"[email protected]\\"\\n ]\\n },\\n \\"ContactSmses\\": {\\n \\"ContactSms\\": [\\n \\"185xxxx0307\\"\\n ]\\n },\\n \\"ContactGroups\\": {\\n \\"ContactGroup\\": [\\n \\"开发运维报警组\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'Query Alarm History Details',
+ 'translator' => 'machine',
+ ],
+ 'DescribeContact' => [
+ 'summary' => 'Describe Contact',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ContactName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Alarm contact name.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'SCRM报警群',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'Status code. Note 200 indicates success.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Return message.',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID, used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => '325232CF-6F24-513B-A55C-49B2071F72A3',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values: true: success; false: failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Datapoints' => [
+ 'description' => 'Monitoring data list.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => 'Alarm contact name.',
+ 'type' => 'string',
+ 'example' => 'hostName',
+ ],
+ 'Channels' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Channel' => [
+ 'description' => 'Alarm push channels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Subscription channels.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'Subscription type',
+ 'type' => 'string',
+ 'example' => 'SMS',
+ ],
+ 'Value' => [
+ 'description' => 'Value.',
+ 'type' => 'string',
+ 'example' => 'SMS',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameter',
+ 'errorMessage' => 'The specified parameter is not valid.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'InvalidAuthorization',
+ 'errorMessage' => 'The Request is not authorization.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'InvalidAction',
+ 'errorMessage' => 'The specified GroupName does not exist.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"325232CF-6F24-513B-A55C-49B2071F72A3\\",\\n \\"Success\\": true,\\n \\"Datapoints\\": {\\n \\"Name\\": \\"hostName\\",\\n \\"Channels\\": {\\n \\"Channel\\": [\\n {\\n \\"Type\\": \\"SMS\\",\\n \\"Value\\": \\"SMS\\"\\n }\\n ]\\n }\\n }\\n}","type":"json"}]',
+ 'title' => 'Get Contact Information',
+ 'translator' => 'machine',
+ ],
+ 'DescribeISPAreaCity' => [
+ 'summary' => '获取探针列表',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Isp',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'City',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '84C8BA48-7FD3-46F8-AEE3-E24657C22289',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 403 => [
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'You are not authorized to operate the specified resource.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": \\"[{\\\\\\\\\\\\\\"area\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"华北\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"areaCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"159\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"city\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"呼和浩特市\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"cityCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"676\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"cityIspCode\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"city\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"676\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"isp\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"465\\\\\\\\\\\\\\"},\\\\\\\\\\\\\\"country\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"中国\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"countryCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"629\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"discard_count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"healthy\\\\\\\\\\\\\\":100,\\\\\\\\\\\\\\"idc_probe_count\\\\\\\\\\\\\\":2,\\\\\\\\\\\\\\"isp\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"阿里巴巴\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ispCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"465\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"luyoubao_probe_count\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"push_count\\\\\\\\\\\\\\":91093,\\\\\\\\\\\\\\"region\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"内蒙古自治区\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"regionCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"87\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"reportHealthy\\\\\\\\\\\\\\":100,\\\\\\\\\\\\\\"report_count\\\\\\\\\\\\\\":91136,\\\\\\\\\\\\\\"timestamp\\\\\\\\\\\\\\":1544609400716,\\\\\\\\\\\\\\"total_probe_count\\\\\\\\\\\\\\":2,\\\\\\\\\\\\\\"win_probe_count\\\\\\\\\\\\\\":0}]\\",\\n \\"RequestId\\": \\"84C8BA48-7FD3-46F8-AEE3-E24657C22289\\",\\n \\"Success\\": \\"true\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ ],
+ 'DescribeMetricRuleList' => [
+ 'summary' => 'Query the list of alarm rules',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MetricName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Name of the monitoring item.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CPUUtilization',
+ ],
+ ],
+ [
+ 'name' => 'EnableState',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The enabled state of the alarm rule. Values:'."\n"
+ .'- true: Enabled.'."\n"
+ .'- false: Disabled.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Namespace of the cloud product.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acs_ecs_dashboard',
+ ],
+ ],
+ [
+ 'name' => 'Page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Page number.'."\n"
+ ."\n"
+ .'Starting value: 1. Default value: 1.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Number of records per page.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'AlertState',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'State of the alarm rule. Values:'."\n"
+ .'- OK: Normal.'."\n"
+ .'- ALARM: Alarm.'."\n"
+ .'- INSUFFICIENT_DATA: Insufficient data.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'OK',
+ ],
+ ],
+ [
+ 'name' => 'Dimensions',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Dimensions of the alarm rule.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"instanceId":"i-2ze2d6j5uhg20x47****"}]',
+ ],
+ ],
+ [
+ 'name' => 'RuleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Name of the alarm rule.'."\n"
+ ."\n"
+ .'This parameter supports fuzzy search.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ECS_CPU_Alarm',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Group ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'group-1234567890',
+ ],
+ ],
+ [
+ 'name' => 'RuleIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'List of alarm rule IDs.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'rule-1234567890,rule-2345678901',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'Status code. 200 indicates success.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Return message.',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID, used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => '386C6712-335F-5054-930A-CC92B851ECBA',
+ ],
+ 'Total' => [
+ 'description' => 'Total number of records.',
+ 'type' => 'string',
+ 'example' => '96',
+ ],
+ 'Success' => [
+ 'description' => 'Whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ ."\n"
+ .'- false: Failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Alarms' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Alarm' => [
+ 'description' => 'Array of alarm rule objects.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Alarm rule object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'SilenceTime' => [
+ 'description' => 'Notification silence time',
+ 'type' => 'string',
+ 'example' => '3600',
+ ],
+ 'MetricName' => [
+ 'description' => 'Name of the monitoring item.',
+ 'type' => 'string',
+ 'example' => 'Availability',
+ ],
+ 'Webhook' => [
+ 'description' => 'URL address specified for callback when an alarm occurs.',
+ 'type' => 'string',
+ 'example' => 'https://oapi.dingtalk.com/robot/send?access_token=54df4b27524b232ac4f745d14a099a63555826c71fe108b2233b1c1cca51e5cb',
+ ],
+ 'ContactGroups' => [
+ 'description' => 'Alarm contact groups.',
+ 'type' => 'string',
+ 'example' => 'test_monitor',
+ ],
+ 'SourceType' => [
+ 'description' => 'Alert source type.',
+ 'type' => 'string',
+ 'example' => 'ecs',
+ ],
+ 'Namespace' => [
+ 'description' => 'Namespace of the cloud product.',
+ 'type' => 'string',
+ 'example' => 'acs_ecs_dashboard',
+ ],
+ 'MailSubject' => [
+ 'description' => 'Email subject.',
+ 'type' => 'string',
+ 'example' => 'ECS CPU excessive usage rate',
+ ],
+ 'NoEffectiveInterval' => [
+ 'description' => 'Time period during which the alarm is not effective.',
+ 'type' => 'string',
+ 'example' => '00:00-05:30',
+ ],
+ 'EffectiveInterval' => [
+ 'description' => 'Effective time period of the alarm rule.',
+ 'type' => 'string',
+ 'example' => '10:00-18:59',
+ ],
+ 'RuleName' => [
+ 'description' => '报警规则名称。',
+ 'type' => 'string',
+ 'example' => 'DefaultEventRule',
+ ],
+ 'AlertState' => [
+ 'description' => 'Alarm rule status. Values:'."\n"
+ ."\n"
+ .'- OK: Normal.'."\n"
+ .'- ALARM: Alarm.'."\n"
+ .'- INSUFFICIENT_DATA: Insufficient data.',
+ 'type' => 'string',
+ 'example' => 'OK',
+ ],
+ 'Period' => [
+ 'description' => 'The statistical period of the monitoring data.'."\n"
+ .'Unit: seconds.',
+ 'type' => 'string',
+ 'example' => '60',
+ ],
+ 'RuleId' => [
+ 'description' => 'Alarm rule ID.',
+ 'type' => 'string',
+ 'example' => 'rule-1234567890',
+ ],
+ 'GroupName' => [
+ 'description' => 'Alarm group name.',
+ 'type' => 'string',
+ 'example' => 'ops_group',
+ ],
+ 'GroupId' => [
+ 'description' => 'Alarm group ID.',
+ 'type' => 'string',
+ 'example' => 'group-1234567890',
+ ],
+ 'Dimensions' => [
+ 'description' => 'Resource dimension information.',
+ 'type' => 'string',
+ 'example' => '{\'instanceId\': \'ts-2ze34h60m9pv0ck3v\'}',
+ ],
+ 'EnableState' => [
+ 'description' => 'The enablement status of the alarm rule. Values:'."\n"
+ ."\n"
+ .'- true: Enabled.'."\n"
+ .'- false: Disabled.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Resources' => [
+ 'description' => 'Resource name',
+ 'type' => 'string',
+ 'example' => '[{\\"instanceId\\": \\"i-bp17raa25u0rbg9xreti\\"}]',
+ ],
+ 'Escalations' => [
+ 'description' => 'Alarm escalation policy object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Info' => [
+ 'description' => 'Info level object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ComparisonOperator' => [
+ 'description' => 'Info level threshold comparison operator. Values:'."\n"
+ ."\n"
+ .'- GreaterThanOrEqualToThreshold: Greater than or equal to.'."\n"
+ .'- GreaterThanThreshold: Greater than.'."\n"
+ .'- LessThanOrEqualToThreshold: Less than or equal to.'."\n"
+ .'- LessThanThreshold: Less than.'."\n"
+ .'- NotEqualToThreshold: Not equal to.'."\n"
+ .'- EqualToThreshold: Equal to.'."\n"
+ .'- GreaterThanYesterday: Increased compared to the same time yesterday.'."\n"
+ .'- LessThanYesterday: Decreased compared to the same time yesterday.'."\n"
+ .'- GreaterThanLastWeek: Increased compared to the same time last week.'."\n"
+ .'- LessThanLastWeek: Decreased compared to the same time last week.'."\n"
+ .'- GreaterThanLastPeriod: Increased compared to the previous period.'."\n"
+ .'- LessThanLastPeriod: Decreased compared to the previous period.'."\n"
+ ."\n"
+ .'N value range: 1~50.'."\n"
+ ."\n"
+ .'> At least one of the alarm levels (Critical, Warn, or Info) must be set, and the parameters Statistics, ComparisonOperator, Threshold, and Times for that alarm level must all be set.',
+ 'type' => 'string',
+ 'example' => 'GreaterThanThreshold',
+ ],
+ 'Times' => [
+ 'description' => 'The number of times the alarm condition must be met to trigger an alarm notification.',
+ 'type' => 'string',
+ 'example' => '3',
+ ],
+ 'Threshold' => [
+ 'description' => 'Alarm threshold.'."\n",
+ 'type' => 'string',
+ 'example' => '80',
+ ],
+ 'Statistics' => [
+ 'description' => 'Info级别报警统计方法。'."\n"
+ ."\n"
+ .'该参数的取值由指定云产品的`MetricName`对应的`Statistics`列决定,例如:Maximum、Minimum和Average。关于如何获取该参数的取值,请参见[云产品监控项](~~163515~~)。'."\n"
+ ."\n"
+ .'> 报警级别Critical(严重)、Warn(警告)或Info(信息)至少设置一个,且该报警级别中的参数Statistics、ComparisonOperator、Threshold和Times必须同时设置。',
+ 'type' => 'string',
+ 'example' => 'Average',
+ ],
+ ],
+ ],
+ 'Warn' => [
+ 'description' => 'Warn level object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ComparisonOperator' => [
+ 'description' => 'Warn level threshold comparison operator. Values:'."\n"
+ ."\n"
+ .'- GreaterThanOrEqualToThreshold: Greater than or equal to.'."\n"
+ .'- GreaterThanThreshold: Greater than.'."\n"
+ .'- LessThanOrEqualToThreshold: Less than or equal to.'."\n"
+ .'- LessThanThreshold: Less than.'."\n"
+ .'- NotEqualToThreshold: Not equal to.'."\n"
+ .'- GreaterThanYesterday: Increased compared to the same time yesterday.'."\n"
+ .'- LessThanYesterday: Decreased compared to the same time yesterday.'."\n"
+ .'- GreaterThanLastWeek: Increased compared to the same time last week.'."\n"
+ .'- LessThanLastWeek: Decreased compared to the same time last week.'."\n"
+ .'- GreaterThanLastPeriod: Increased compared to the previous period.'."\n"
+ .'- LessThanLastPeriod: Decreased compared to the previous period.',
+ 'type' => 'string',
+ 'example' => 'NotEqualToThreshold',
+ ],
+ 'Times' => [
+ 'description' => 'The number of times the alarm condition must be met before an alarm notification is sent.',
+ 'type' => 'string',
+ 'example' => '3',
+ ],
+ 'Threshold' => [
+ 'description' => 'Alarm threshold.',
+ 'type' => 'string',
+ 'example' => '70',
+ ],
+ 'Statistics' => [
+ 'description' => 'Warn level alarm statistical method. Multiple statistical methods are separated by a comma (,).'."\n"
+ ."\n"
+ .'The value of this parameter is determined by the `Statistics` column corresponding to the `MetricName` of the specified cloud product, such as Maximum, Minimum, and Average. For more information on how to obtain the value of this parameter, see [Cloud Product Monitoring Items](~~163515~~).',
+ 'type' => 'string',
+ 'example' => 'Average',
+ ],
+ ],
+ ],
+ 'Critical' => [
+ 'description' => 'Critical level object.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ComparisonOperator' => [
+ 'description' => 'Critical level threshold comparison operator. Values:'."\n"
+ ."\n"
+ .'- GreaterThanOrEqualToThreshold: Greater than or equal to.'."\n"
+ .'- GreaterThanThreshold: Greater than.'."\n"
+ .'- LessThanOrEqualToThreshold: Less than or equal to.'."\n"
+ .'- LessThanThreshold: Less than.'."\n"
+ .'- NotEqualToThreshold: Not equal to.'."\n"
+ .'- GreaterThanYesterday: Increased compared to the same time yesterday.'."\n"
+ .'- LessThanYesterday: Decreased compared to the same time yesterday.'."\n"
+ .'- GreaterThanLastWeek: Increased compared to the same time last week.'."\n"
+ .'- LessThanLastWeek: Decreased compared to the same time last week.'."\n"
+ .'- GreaterThanLastPeriod: Increased compared to the previous period.'."\n"
+ .'- LessThanLastPeriod: Decreased compared to the previous period.',
+ 'type' => 'string',
+ 'example' => 'GreaterThanOrEqualToThreshold',
+ ],
+ 'Times' => [
+ 'description' => 'The number of times the alarm condition must be met before an alarm notification is sent.',
+ 'type' => 'string',
+ 'example' => '3',
+ ],
+ 'Threshold' => [
+ 'description' => 'Alarm threshold.',
+ 'type' => 'string',
+ 'example' => '85',
+ ],
+ 'Statistics' => [
+ 'description' => 'Critical level alarm statistical method.'."\n"
+ ."\n"
+ .'The value range for N is 1~50.'."\n"
+ ."\n"
+ .'The value of this parameter is determined by the `Statistics` column corresponding to the `MetricName` of the specified cloud product, such as Maximum, Minimum, and Average. For more information on how to obtain the value of this parameter, see [Cloud Product Monitoring Items](~~163515~~).'."\n"
+ ."\n"
+ .'> At least one of the alarm levels Critical (severe), Warn (warning), or Info (information) must be set, and the parameters Statistics, ComparisonOperator, Threshold, and Times in that alarm level must all be set simultaneously.',
+ 'type' => 'string',
+ 'example' => 'Average',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameter',
+ 'errorMessage' => 'The specified parameter is not valid.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'InvalidAuthorization',
+ 'errorMessage' => 'The Request is not authorization.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"386C6712-335F-5054-930A-CC92B851ECBA\\",\\n \\"Total\\": \\"96\\",\\n \\"Success\\": true,\\n \\"Alarms\\": {\\n \\"Alarm\\": [\\n {\\n \\"SilenceTime\\": \\"3600\\",\\n \\"MetricName\\": \\"Availability\\",\\n \\"Webhook\\": \\"https://oapi.dingtalk.com/robot/send?access_token=54df4b27524b232ac4f745d14a099a63555826c71fe108b2233b1c1cca51e5cb\\",\\n \\"ContactGroups\\": \\"test_monitor\\",\\n \\"SourceType\\": \\"ecs\\",\\n \\"Namespace\\": \\"acs_ecs_dashboard\\",\\n \\"MailSubject\\": \\"ECS CPU excessive usage rate\\",\\n \\"NoEffectiveInterval\\": \\"00:00-05:30\\",\\n \\"EffectiveInterval\\": \\"10:00-18:59\\",\\n \\"RuleName\\": \\"DefaultEventRule\\",\\n \\"AlertState\\": \\"OK\\",\\n \\"Period\\": \\"60\\",\\n \\"RuleId\\": \\"rule-1234567890\\",\\n \\"GroupName\\": \\"ops_group\\",\\n \\"GroupId\\": \\"group-1234567890\\",\\n \\"Dimensions\\": \\"{\'instanceId\': \'ts-2ze34h60m9pv0ck3v\'}\\",\\n \\"EnableState\\": true,\\n \\"Resources\\": \\"[{\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\": \\\\\\\\\\\\\\"i-bp17raa25u0rbg9xreti\\\\\\\\\\\\\\"}]\\",\\n \\"Escalations\\": {\\n \\"Info\\": {\\n \\"ComparisonOperator\\": \\"GreaterThanThreshold\\",\\n \\"Times\\": \\"3\\",\\n \\"Threshold\\": \\"80\\",\\n \\"Statistics\\": \\"Average\\"\\n },\\n \\"Warn\\": {\\n \\"ComparisonOperator\\": \\"NotEqualToThreshold\\",\\n \\"Times\\": \\"3\\",\\n \\"Threshold\\": \\"70\\",\\n \\"Statistics\\": \\"Average\\"\\n },\\n \\"Critical\\": {\\n \\"ComparisonOperator\\": \\"GreaterThanOrEqualToThreshold\\",\\n \\"Times\\": \\"3\\",\\n \\"Threshold\\": \\"85\\",\\n \\"Statistics\\": \\"Average\\"\\n }\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'List of Alarm Rules Query',
+ 'translator' => 'machine',
+ ],
+ 'DescribeTaskDetail' => [
+ 'summary' => 'Query the configuration details of a specified task',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The task ID for site monitoring, which is the unique identifier of the task',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '339e0d96-2505-425f-a5c6-22e2c12f8fee',
+ 'docRequired' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'Status code',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Error message',
+ 'type' => 'string',
+ 'example' => '请求成功',
+ ],
+ 'Data' => [
+ 'description' => 'Response information',
+ 'type' => 'string',
+ 'example' => '{\\"taskType\\":1,\\"address\\":\\"http://www.aliyun.com\\",\\"taskState\\":1,\\"ispCity\\":[{\\"city\\":\\"杭州市\\",\\"ispCode\\":\\"465\\",\\"cityCode\\":\\"546\\",\\"isp\\":\\"阿里巴巴\\",\\"citySpell\\":\\"hang2zhou1shi4\\",\\"ispSpell\\":\\"a1li3ba1ba1\\"},{\\"city\\":\\"青岛市\\",\\"ispCode\\":\\"465\\",\\"cityCode\\":\\"572\\",\\"isp\\":\\"阿里巴巴\\",\\"citySpell\\":\\"qing1dao3shi4\\",\\"ispSpell\\":\\"a1li3ba1ba1\\"},{\\"city\\":\\"北京市\\",\\"ispCode\\":\\"465\\",\\"cityCode\\":\\"738\\",\\"isp\\":\\"阿里巴巴\\",\\"citySpell\\":\\"bei3jing1shi4\\",\\"ispSpell\\":\\"a1li3ba1ba1\\"}],\\"alarms\\":[],\\"options\\":{\\"http_method\\":\\"get\\",\\"time_out\\":30000},\\"taskName\\":\\"江米测试2\\",\\"interval\\":1,\\"taskTypeName\\":\\"Http\\",\\"taskId\\":\\"339e0d96-2505-425f-a5c6-22e2c12f8fee\\"}"',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID, used for troubleshooting',
+ 'type' => 'string',
+ 'example' => 'a4e6f550-7eac-4a13-b11f-6742aa2d42d1',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether this call was successful',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameterValue',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'You are not authorized to operate the specified resource.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ 615 => [
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'Task Id does not exist',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"请求成功\\",\\n \\"Data\\": \\"{\\\\\\\\\\\\\\"taskType\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"address\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"http://www.aliyun.com\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"taskState\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"ispCity\\\\\\\\\\\\\\":[{\\\\\\\\\\\\\\"city\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"杭州市\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ispCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"465\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"cityCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"546\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"isp\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"阿里巴巴\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"citySpell\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"hang2zhou1shi4\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ispSpell\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"a1li3ba1ba1\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"city\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"青岛市\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ispCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"465\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"cityCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"572\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"isp\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"阿里巴巴\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"citySpell\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"qing1dao3shi4\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ispSpell\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"a1li3ba1ba1\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"city\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"北京市\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ispCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"465\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"cityCode\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"738\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"isp\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"阿里巴巴\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"citySpell\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"bei3jing1shi4\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ispSpell\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"a1li3ba1ba1\\\\\\\\\\\\\\"}],\\\\\\\\\\\\\\"alarms\\\\\\\\\\\\\\":[],\\\\\\\\\\\\\\"options\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"http_method\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"get\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"time_out\\\\\\\\\\\\\\":30000},\\\\\\\\\\\\\\"taskName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"江米测试2\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"interval\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"taskTypeName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Http\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"taskId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"339e0d96-2505-425f-a5c6-22e2c12f8fee\\\\\\\\\\\\\\"}\\\\\\"\\",\\n \\"RequestId\\": \\"a4e6f550-7eac-4a13-b11f-6742aa2d42d1\\",\\n \\"Success\\": \\"true\\"\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ 'title' => 'Query Task Details',
+ 'description' => 'Query the configuration details of a specified task',
+ 'translator' => 'machine',
+ ],
+ 'DescribeTasks' => [
+ 'summary' => 'DescribeTasks',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '18b0c27f-bab3-441d-a747-9cdcaa8bbac8',
+ ],
+ ],
+ [
+ 'name' => 'TaskType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Keyword',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'Page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Data' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '6A46B8E4-D39E-4DB5-B422-231410654E8E',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'PageSize' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageNumber' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'TotalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '14',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameterValue',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'You are not authorized to operate the specified resource.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Data\\": \\"[{\\\\\\\\\\\\\\"shared\\\\\\\\\\\\\\":false,\\\\\\\\\\\\\\"taskType\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"address\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"http://www.aliyunq.com\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"taskState\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"createTime\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2018-04-01 16:46:53\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"options\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"http_method\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"get\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"match_rule\\\\\\\\\\\\\\":0,\\\\\\\\\\\\\\"time_out\\\\\\\\\\\\\\":30000},\\\\\\\\\\\\\\"taskName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"站点监控demo\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"interval\\\\\\\\\\\\\\":1,\\\\\\\\\\\\\\"taskTypeName\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"Http\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"taskId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"18b0c27f-bab3-441d-a747-9cdcaa8bbac8\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"ts\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"2018-12-12 15:55:12\\\\\\\\\\\\\\"}]\\",\\n \\"RequestId\\": \\"6A46B8E4-D39E-4DB5-B422-231410654E8E\\",\\n \\"Success\\": \\"true\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"请求成功\\",\\n \\"PageSize\\": 1,\\n \\"PageNumber\\": 1,\\n \\"TotalCount\\": 14\\n}","errorExample":""},{"type":"xml","example":"","errorExample":""}]',
+ ],
+ 'DisableAlarm' => [
+ 'summary' => 'DisableAlarm',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '576fbae7-2fd1-411a-ae13-6f09f4fafdde',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'DEF01F10-E747-42FE-9152-85CB43B1B552',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"DEF01F10-E747-42FE-9152-85CB43B1B552\\",\\n \\"Success\\": true\\n}","errorExample":"{\\n \\"RequestId\\": \\"DEF01F10-E747-42FE-9152-85CB43B1B552\\", \\n \\"Success\\": true, \\n \\"Code\\": \\"200\\"\\n}"},{"type":"xml","example":"<DisableAlarmResponse>\\n <RequestId>CF9F20A2-D4CF-4FA0-B8A3-1F4C151B3C91</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</DisableAlarmResponse>","errorExample":"<DisableAlarmResponse>\\n <RequestId>CF9F20A2-D4CF-4FA0-B8A3-1F4C151B3C91</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</DisableAlarmResponse>"}]',
+ 'title' => 'DisableAlarm',
+ ],
+ 'EnableAlarm' => [
+ 'summary' => 'EnableAlarm',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '576fbae7-2fd1-411a-ae13-6f09f4fafdde',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1C5E0E5D-76D5-469C-9FA8-D74799B24860',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"1C5E0E5D-76D5-469C-9FA8-D74799B24860\\",\\n \\"Success\\": true\\n}","errorExample":"{\\n \\"RequestId\\": \\"1C5E0E5D-76D5-469C-9FA8-D74799B24860\\", \\n \\"Success\\": true, \\n \\"Code\\": \\"200\\"\\n}"},{"type":"xml","example":"<EnableAlarmResponse>\\n <RequestId>1B77FA9C-4E5A-4DF9-82CB-0E898C9FDA2F</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</EnableAlarmResponse>","errorExample":"<EnableAlarmResponse>\\n <RequestId>1B77FA9C-4E5A-4DF9-82CB-0E898C9FDA2F</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</EnableAlarmResponse>"}]',
+ 'title' => 'EnableAlarm',
+ ],
+ 'GetContacts' => [
+ 'summary' => 'Get Contacts',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Alarm contact group name.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'rabb',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'HttpStatusCode' => [
+ 'description' => 'HTTP status code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Code' => [
+ 'description' => 'Status code. Note: 200 indicates success.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Return message.',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID, used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'FF66C10B-AA35-58FD-BD30-8CE1B275BA44',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values:'."\n"
+ .'* true: Success.'."\n"
+ .'* false: Failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Datapoints' => [
+ 'description' => 'Data points.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => 'Name.',
+ 'type' => 'string',
+ 'example' => 'rabb',
+ ],
+ 'Contacts' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Contact' => [
+ 'description' => 'Contact list',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Contact.',
+ 'type' => 'string',
+ 'example' => '188xxxx7155',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameter',
+ 'errorMessage' => 'The specified parameter is not valid.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'InvalidAuthorization',
+ 'errorMessage' => 'The Request is not authorization.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"Code\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"RequestId\\": \\"FF66C10B-AA35-58FD-BD30-8CE1B275BA44\\",\\n \\"Success\\": true,\\n \\"Datapoints\\": {\\n \\"Name\\": \\"rabb\\",\\n \\"Contacts\\": {\\n \\"Contact\\": [\\n \\"188xxxx7155\\"\\n ]\\n }\\n }\\n}","type":"json"}]',
+ 'title' => 'Get Contacts',
+ 'translator' => 'machine',
+ ],
+ 'GetMonitoringTemplate' => [
+ 'summary' => 'Get Monitoring Template',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Monitoring template name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ft20180308_templateNameFail',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Monitoring template ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2203505',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ErrorMessage' => [
+ 'description' => 'Error message.',
+ 'type' => 'string',
+ 'example' => 'InstanceIds is mandatory for this action.',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => '578B4400-4EF1-5A73-90A1-2EDE29B781AD',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ ."\n"
+ .'- false: Failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'Status code, 200 indicates success, any other value indicates failure.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Resource' => [
+ 'description' => 'Template resource information',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => [
+ 'description' => 'Template description.',
+ 'type' => 'string',
+ 'example' => 'ECS模板',
+ ],
+ 'SystemEventTemplates' => [
+ 'description' => 'System event templates.',
+ 'type' => 'string',
+ 'example' => '[{"alertName":"WAF_Event","description":"WAF_Event","eventPattern":{"eventType":["*"],"levelList":["*"],"nameList":["*"],"product":"waf"},"fcParameterList":[],"mnsParameterList":[],"notifyLevel":3,"slsParameterList":[],"webhookParameterList":[]}]',
+ ],
+ 'AlertTemplatesJson' => [
+ 'description' => 'Alert templates.',
+ 'type' => 'string',
+ 'example' => '{"rds":[{"displayName":"rds_rule_1111","category":"rds","namespace":"acs_rds_dashboard","metricName":"CpuUsage","selector":{},"escalations":{"critical":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"99","times":3},"warn":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"98","times":3}}}],"ecs":[{"displayName":"ecs_rule1111","category":"ecs","namespace":"acs_ecs_dashboard","metricName":"cpu_total","selector":{},"escalations":{"critical":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"99","times":5}}},{"displayName":"ecs_rule2222","category":"ecs","namespace":"acs_ecs_dashboard","metricName":"cpu_idle","selector":{},"escalations":{"critical":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"9999","times":3},"warn":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"89","times":4}}}],"mongodb":[{"displayName":"mongodb11","category":"mongodb","namespace":"acs_mongodb","metricName":"CPUUtilization","selector":{},"escalations":{"critical":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"11111","times":3}}}],"mongodb_cluster":[{"displayName":"mongodb_cluster_t1","category":"mongodb_cluster","namespace":"acs_mongodb","metricName":"ShardingQPS","selector":{},"escalations":{"critical":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"9999999","times":3}}}]}',
+ ],
+ 'Namespace' => [
+ 'description' => 'Template namespace, with the same semantics as the namespace exposed by the metric master.',
+ 'type' => 'string',
+ 'example' => 'acs_ecs_dashboard',
+ ],
+ 'ProcessMonitorTemplates' => [
+ 'description' => 'Process monitoring templates',
+ 'type' => 'string',
+ 'example' => '[{"alert":{"comparisonOperator":"LessThanThreshold","escalationsLevel":"critical","silenceTime":0,"statistics":"Average","templateAlert":false,"threshold":"2","times":1},"matchExpress":{"filterRelation":"and","filters":[{"function":"all","name":"name","value":"*"}]},"processName":"FineBI"}]',
+ ],
+ 'HostAvailabilityTemplate' => [
+ 'description' => 'Host availability templates',
+ 'type' => 'string',
+ 'example' => '[{"alert":{"escalationList":[{"aggregate":"Value","metric":"TelnetStatus","operator":">","times":3,"value":"400"},{"aggregate":"Average","metric":"TelnetLatency","operator":">","times":3,"value":"500"}],"notifyType":1,"silenceTime":86400},"taskName":"telnet","taskOption":{"method":"HEAD","negative":true,"resposeCharset":"utf-8","uri":"telnet://xxx.com"},"taskType":"TELNET"},{"alert":{"escalationList":[{"aggregate":"Value","metric":"TelnetStatus","operator":">","times":3,"value":"400"},{"aggregate":"Average","metric":"TelnetLatency","operator":">","times":3,"value":"500"}],"notifyType":1,"silenceTime":86400},"taskName":"bbbbbbbbbb","taskOption":{"method":"HEAD","negative":true,"resposeCharset":"utf-8","uri":"telnet://xxx.com"},"taskType":"TELNET"}]',
+ ],
+ 'RestVersion' => [
+ 'description' => 'Data version number',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'Name' => [
+ 'description' => 'Template name',
+ 'type' => 'string',
+ 'example' => 'ECS_Template1',
+ ],
+ 'Id' => [
+ 'description' => 'Template ID',
+ 'type' => 'string',
+ 'example' => '123',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ErrorMessage\\": \\"InstanceIds is mandatory for this action.\\",\\n \\"RequestId\\": \\"578B4400-4EF1-5A73-90A1-2EDE29B781AD\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Resource\\": {\\n \\"Description\\": \\"ECS模板\\",\\n \\"SystemEventTemplates\\": \\"[{\\\\\\"alertName\\\\\\":\\\\\\"WAF_Event\\\\\\",\\\\\\"description\\\\\\":\\\\\\"WAF_Event\\\\\\",\\\\\\"eventPattern\\\\\\":{\\\\\\"eventType\\\\\\":[\\\\\\"*\\\\\\"],\\\\\\"levelList\\\\\\":[\\\\\\"*\\\\\\"],\\\\\\"nameList\\\\\\":[\\\\\\"*\\\\\\"],\\\\\\"product\\\\\\":\\\\\\"waf\\\\\\"},\\\\\\"fcParameterList\\\\\\":[],\\\\\\"mnsParameterList\\\\\\":[],\\\\\\"notifyLevel\\\\\\":3,\\\\\\"slsParameterList\\\\\\":[],\\\\\\"webhookParameterList\\\\\\":[]}]\\",\\n \\"AlertTemplatesJson\\": \\"{\\\\\\"rds\\\\\\":[{\\\\\\"displayName\\\\\\":\\\\\\"rds_rule_1111\\\\\\",\\\\\\"category\\\\\\":\\\\\\"rds\\\\\\",\\\\\\"namespace\\\\\\":\\\\\\"acs_rds_dashboard\\\\\\",\\\\\\"metricName\\\\\\":\\\\\\"CpuUsage\\\\\\",\\\\\\"selector\\\\\\":{},\\\\\\"escalations\\\\\\":{\\\\\\"critical\\\\\\":{\\\\\\"statistics\\\\\\":\\\\\\"Average\\\\\\",\\\\\\"comparisonOperator\\\\\\":\\\\\\"GreaterThanOrEqualToThreshold\\\\\\",\\\\\\"threshold\\\\\\":\\\\\\"99\\\\\\",\\\\\\"times\\\\\\":3},\\\\\\"warn\\\\\\":{\\\\\\"statistics\\\\\\":\\\\\\"Average\\\\\\",\\\\\\"comparisonOperator\\\\\\":\\\\\\"GreaterThanOrEqualToThreshold\\\\\\",\\\\\\"threshold\\\\\\":\\\\\\"98\\\\\\",\\\\\\"times\\\\\\":3}}}],\\\\\\"ecs\\\\\\":[{\\\\\\"displayName\\\\\\":\\\\\\"ecs_rule1111\\\\\\",\\\\\\"category\\\\\\":\\\\\\"ecs\\\\\\",\\\\\\"namespace\\\\\\":\\\\\\"acs_ecs_dashboard\\\\\\",\\\\\\"metricName\\\\\\":\\\\\\"cpu_total\\\\\\",\\\\\\"selector\\\\\\":{},\\\\\\"escalations\\\\\\":{\\\\\\"critical\\\\\\":{\\\\\\"statistics\\\\\\":\\\\\\"Average\\\\\\",\\\\\\"comparisonOperator\\\\\\":\\\\\\"GreaterThanOrEqualToThreshold\\\\\\",\\\\\\"threshold\\\\\\":\\\\\\"99\\\\\\",\\\\\\"times\\\\\\":5}}},{\\\\\\"displayName\\\\\\":\\\\\\"ecs_rule2222\\\\\\",\\\\\\"category\\\\\\":\\\\\\"ecs\\\\\\",\\\\\\"namespace\\\\\\":\\\\\\"acs_ecs_dashboard\\\\\\",\\\\\\"metricName\\\\\\":\\\\\\"cpu_idle\\\\\\",\\\\\\"selector\\\\\\":{},\\\\\\"escalations\\\\\\":{\\\\\\"critical\\\\\\":{\\\\\\"statistics\\\\\\":\\\\\\"Average\\\\\\",\\\\\\"comparisonOperator\\\\\\":\\\\\\"GreaterThanOrEqualToThreshold\\\\\\",\\\\\\"threshold\\\\\\":\\\\\\"9999\\\\\\",\\\\\\"times\\\\\\":3},\\\\\\"warn\\\\\\":{\\\\\\"statistics\\\\\\":\\\\\\"Average\\\\\\",\\\\\\"comparisonOperator\\\\\\":\\\\\\"GreaterThanOrEqualToThreshold\\\\\\",\\\\\\"threshold\\\\\\":\\\\\\"89\\\\\\",\\\\\\"times\\\\\\":4}}}],\\\\\\"mongodb\\\\\\":[{\\\\\\"displayName\\\\\\":\\\\\\"mongodb11\\\\\\",\\\\\\"category\\\\\\":\\\\\\"mongodb\\\\\\",\\\\\\"namespace\\\\\\":\\\\\\"acs_mongodb\\\\\\",\\\\\\"metricName\\\\\\":\\\\\\"CPUUtilization\\\\\\",\\\\\\"selector\\\\\\":{},\\\\\\"escalations\\\\\\":{\\\\\\"critical\\\\\\":{\\\\\\"statistics\\\\\\":\\\\\\"Average\\\\\\",\\\\\\"comparisonOperator\\\\\\":\\\\\\"GreaterThanOrEqualToThreshold\\\\\\",\\\\\\"threshold\\\\\\":\\\\\\"11111\\\\\\",\\\\\\"times\\\\\\":3}}}],\\\\\\"mongodb_cluster\\\\\\":[{\\\\\\"displayName\\\\\\":\\\\\\"mongodb_cluster_t1\\\\\\",\\\\\\"category\\\\\\":\\\\\\"mongodb_cluster\\\\\\",\\\\\\"namespace\\\\\\":\\\\\\"acs_mongodb\\\\\\",\\\\\\"metricName\\\\\\":\\\\\\"ShardingQPS\\\\\\",\\\\\\"selector\\\\\\":{},\\\\\\"escalations\\\\\\":{\\\\\\"critical\\\\\\":{\\\\\\"statistics\\\\\\":\\\\\\"Average\\\\\\",\\\\\\"comparisonOperator\\\\\\":\\\\\\"GreaterThanOrEqualToThreshold\\\\\\",\\\\\\"threshold\\\\\\":\\\\\\"9999999\\\\\\",\\\\\\"times\\\\\\":3}}}]}\\",\\n \\"Namespace\\": \\"acs_ecs_dashboard\\",\\n \\"ProcessMonitorTemplates\\": \\"[{\\\\\\"alert\\\\\\":{\\\\\\"comparisonOperator\\\\\\":\\\\\\"LessThanThreshold\\\\\\",\\\\\\"escalationsLevel\\\\\\":\\\\\\"critical\\\\\\",\\\\\\"silenceTime\\\\\\":0,\\\\\\"statistics\\\\\\":\\\\\\"Average\\\\\\",\\\\\\"templateAlert\\\\\\":false,\\\\\\"threshold\\\\\\":\\\\\\"2\\\\\\",\\\\\\"times\\\\\\":1},\\\\\\"matchExpress\\\\\\":{\\\\\\"filterRelation\\\\\\":\\\\\\"and\\\\\\",\\\\\\"filters\\\\\\":[{\\\\\\"function\\\\\\":\\\\\\"all\\\\\\",\\\\\\"name\\\\\\":\\\\\\"name\\\\\\",\\\\\\"value\\\\\\":\\\\\\"*\\\\\\"}]},\\\\\\"processName\\\\\\":\\\\\\"FineBI\\\\\\"}]\\",\\n \\"HostAvailabilityTemplate\\": \\"[{\\\\\\"alert\\\\\\":{\\\\\\"escalationList\\\\\\":[{\\\\\\"aggregate\\\\\\":\\\\\\"Value\\\\\\",\\\\\\"metric\\\\\\":\\\\\\"TelnetStatus\\\\\\",\\\\\\"operator\\\\\\":\\\\\\">\\\\\\",\\\\\\"times\\\\\\":3,\\\\\\"value\\\\\\":\\\\\\"400\\\\\\"},{\\\\\\"aggregate\\\\\\":\\\\\\"Average\\\\\\",\\\\\\"metric\\\\\\":\\\\\\"TelnetLatency\\\\\\",\\\\\\"operator\\\\\\":\\\\\\">\\\\\\",\\\\\\"times\\\\\\":3,\\\\\\"value\\\\\\":\\\\\\"500\\\\\\"}],\\\\\\"notifyType\\\\\\":1,\\\\\\"silenceTime\\\\\\":86400},\\\\\\"taskName\\\\\\":\\\\\\"telnet\\\\\\",\\\\\\"taskOption\\\\\\":{\\\\\\"method\\\\\\":\\\\\\"HEAD\\\\\\",\\\\\\"negative\\\\\\":true,\\\\\\"resposeCharset\\\\\\":\\\\\\"utf-8\\\\\\",\\\\\\"uri\\\\\\":\\\\\\"telnet://xxx.com\\\\\\"},\\\\\\"taskType\\\\\\":\\\\\\"TELNET\\\\\\"},{\\\\\\"alert\\\\\\":{\\\\\\"escalationList\\\\\\":[{\\\\\\"aggregate\\\\\\":\\\\\\"Value\\\\\\",\\\\\\"metric\\\\\\":\\\\\\"TelnetStatus\\\\\\",\\\\\\"operator\\\\\\":\\\\\\">\\\\\\",\\\\\\"times\\\\\\":3,\\\\\\"value\\\\\\":\\\\\\"400\\\\\\"},{\\\\\\"aggregate\\\\\\":\\\\\\"Average\\\\\\",\\\\\\"metric\\\\\\":\\\\\\"TelnetLatency\\\\\\",\\\\\\"operator\\\\\\":\\\\\\">\\\\\\",\\\\\\"times\\\\\\":3,\\\\\\"value\\\\\\":\\\\\\"500\\\\\\"}],\\\\\\"notifyType\\\\\\":1,\\\\\\"silenceTime\\\\\\":86400},\\\\\\"taskName\\\\\\":\\\\\\"bbbbbbbbbb\\\\\\",\\\\\\"taskOption\\\\\\":{\\\\\\"method\\\\\\":\\\\\\"HEAD\\\\\\",\\\\\\"negative\\\\\\":true,\\\\\\"resposeCharset\\\\\\":\\\\\\"utf-8\\\\\\",\\\\\\"uri\\\\\\":\\\\\\"telnet://xxx.com\\\\\\"},\\\\\\"taskType\\\\\\":\\\\\\"TELNET\\\\\\"}]\\",\\n \\"RestVersion\\": \\"1\\",\\n \\"Name\\": \\"ECS_Template1\\",\\n \\"Id\\": \\"123\\"\\n }\\n}","type":"json"}]',
+ 'title' => 'Get Monitoring Template',
+ 'translator' => 'machine',
+ ],
+ 'GetMyGroups' => [
+ 'summary' => 'Get Personal Application Groups',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Application group ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '239765766',
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Application group type. Values:'."\n"
+ .'- custom: Custom-built application group.'."\n"
+ .'- ehpc_cluster: Application group synchronized from an EHPC cluster.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom',
+ ],
+ ],
+ [
+ 'name' => 'SelectContactGroups',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Whether to return the alarm contact groups. Values: -true: Yes. -false (default): No.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Instance ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'i-hp3hl3cx1pbahzy8****',
+ ],
+ ],
+ [
+ 'name' => 'BindUrl',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Binding URL',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ehpc://i-dadfasdf/Login',
+ ],
+ ],
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Application group name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'abc',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ErrorMessage' => [
+ 'description' => 'Error message.',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => 'ECA294F7-7408-5069-B260-4896967D5131',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ ."\n"
+ .'- false: Failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'Error code. 200 indicates success, other values indicate failure.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Group' => [
+ 'description' => 'Application group information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'Application group type. Values:'."\n"
+ .'- custom: Custom-built application group.'."\n"
+ .'- ehpc_cluster: Application group synchronized from an EHPC cluster.',
+ 'type' => 'string',
+ 'example' => 'custom',
+ ],
+ 'BindUrl' => [
+ 'description' => 'Binding URL',
+ 'type' => 'string',
+ 'example' => 'ehpc://i-dadfasdf/Login',
+ ],
+ 'GroupName' => [
+ 'description' => 'Application group name.',
+ 'type' => 'string',
+ 'example' => 'ECS_test',
+ ],
+ 'GroupId' => [
+ 'description' => 'Application group ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '58789173',
+ ],
+ 'ServiceId' => [
+ 'description' => 'Service ID',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => 'eds',
+ ],
+ 'ContactGroups' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ContactGroup' => [
+ 'description' => 'Alarm contact groups.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Alarm contact groups.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => 'Name of the alarm contact person.',
+ 'type' => 'string',
+ 'example' => 'name',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ [
+ 'errorCode' => 'UniqueResult',
+ 'errorMessage' => 'The query condition does not return the only result.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ErrorMessage\\": \\"Success\\",\\n \\"RequestId\\": \\"ECA294F7-7408-5069-B260-4896967D5131\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"Group\\": {\\n \\"Type\\": \\"custom\\",\\n \\"BindUrl\\": \\"ehpc://i-dadfasdf/Login\\",\\n \\"GroupName\\": \\"ECS_test\\",\\n \\"GroupId\\": 58789173,\\n \\"ServiceId\\": 0,\\n \\"ContactGroups\\": {\\n \\"ContactGroup\\": [\\n {\\n \\"Name\\": \\"name\\"\\n }\\n ]\\n }\\n }\\n}","type":"json"}]',
+ 'title' => 'Get Personal Application Groups',
+ 'translator' => 'machine',
+ ],
+ 'ListAlarm' => [
+ 'summary' => 'ListAlarm',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'i-2ze3w55tr2rcpejpcfap_72071739-396b-497d-849c-59a73de44bcf',
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'acs_ecs_dashboard',
+ ],
+ ],
+ [
+ 'name' => 'Dimension',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{"instanceId":"XXX"}',
+ ],
+ ],
+ [
+ 'name' => 'State',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ok',
+ ],
+ ],
+ [
+ 'name' => 'IsEnable',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ 'default' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '2',
+ 'default' => '100',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'NextToken' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'EFD27F56-5799-4CE8-B625-56DF3332331C',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'Total' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '27',
+ ],
+ 'AlarmList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Alarm' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SilenceTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '86400',
+ ],
+ 'MetricName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CPUUtilization',
+ ],
+ 'EvaluationCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '3',
+ ],
+ 'Webhook' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'null',
+ ],
+ 'State' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ok',
+ ],
+ 'ContactGroups' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '["test4nudou"]',
+ ],
+ 'Namespace' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'acs_ecs_dashboard',
+ ],
+ 'Period' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '300',
+ ],
+ 'EndTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '24',
+ ],
+ 'ComparisonOperator' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '>',
+ ],
+ 'StartTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'NotifyType' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '0',
+ ],
+ 'Dimensions' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '["{\\"instanceId\\":\\" i-abcdefgh123456\\"}"]',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Threshold' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '90',
+ ],
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'i-2ze3w55tr2rcpejpcfap_72071739-396b-497d-849c-59a73de44bcf',
+ ],
+ 'Enable' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Statistics' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Average',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"NextToken\\": 2,\\n \\"RequestId\\": \\"EFD27F56-5799-4CE8-B625-56DF3332331C\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success\\",\\n \\"Total\\": 27,\\n \\"AlarmList\\": {\\n \\"Alarm\\": [\\n {\\n \\"SilenceTime\\": 86400,\\n \\"MetricName\\": \\"CPUUtilization\\",\\n \\"EvaluationCount\\": 3,\\n \\"Webhook\\": \\"null\\",\\n \\"State\\": \\"ok\\",\\n \\"ContactGroups\\": \\"[\\\\\\"test4nudou\\\\\\"]\\",\\n \\"Namespace\\": \\"acs_ecs_dashboard\\",\\n \\"Period\\": 300,\\n \\"EndTime\\": 24,\\n \\"ComparisonOperator\\": \\">\\",\\n \\"StartTime\\": 0,\\n \\"NotifyType\\": 0,\\n \\"Dimensions\\": \\"[\\\\\\"{\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\" i-abcdefgh123456\\\\\\\\\\\\\\"}\\\\\\"]\\",\\n \\"Name\\": \\"报警测试\\",\\n \\"Threshold\\": \\"90\\",\\n \\"Id\\": \\"i-2ze3w55tr2rcpejpcfap_72071739-396b-497d-849c-59a73de44bcf\\",\\n \\"Enable\\": true,\\n \\"Statistics\\": \\"Average\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"NextToken\\": 2, \\n \\"RequestId\\": \\"EFD27F56-5799-4CE8-B625-56DF3332331C\\", \\n \\"AlarmList\\": {\\n \\"Alarm\\": [\\n {\\n \\"Period\\": 300, \\n \\"Statistics\\": \\"Average\\", \\n \\"Name\\": \\"ecs_cpu_total\\", \\n \\"MetricName\\": \\"cpu_total\\", \\n \\"State\\": \\"OK\\", \\n \\"Threshold\\": \\"90\\", \\n \\"Enable\\": true, \\n \\"SilenceTime\\": 86400, \\n \\"NotifyType\\": 1, \\n \\"Dimensions\\": \\"[\\\\\\"{\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\" i-abcdefgh123456\\\\\\\\\\\\\\"}\\\\\\"]\\", \\n \\"Namespace\\": \\"acs_ecs_dashboard\\", \\n \\"ContactGroups\\": \\"[\\\\\\"test4nudou\\\\\\"]\\", \\n \\"Id\\": \\"putNewAlarm_group_e8da18b9-bc95-4edf-a8bf-159eb6c8286b\\", \\n \\"EndTime\\": 24, \\n \\"StartTime\\": 0, \\n \\"ComparisonOperator\\": \\">=\\"\\n }, \\n {\\n \\"Period\\": 300, \\n \\"Statistics\\": \\"Average\\", \\n \\"Name\\": \\"ecs_diskusage_utilization\\", \\n \\"MetricName\\": \\"diskusage_utilization\\", \\n \\"State\\": \\"OK\\", \\n \\"Threshold\\": \\"90\\", \\n \\"Enable\\": true, \\n \\"SilenceTime\\": 86400, \\n \\"NotifyType\\": 1, \\n \\"Dimensions\\": \\"[\\\\\\"{\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\" i-abcdefgh123456\\\\\\\\\\\\\\"}\\\\\\"]\\", \\n \\"Namespace\\": \\"acs_ecs_dashboard\\", \\n \\"ContactGroups\\": \\"[\\\\\\"test4nudou\\\\\\"]\\", \\n \\"Id\\": \\"putNewAlarm_group_3233eba5-0dd4-4e80-a5d5-7399dec3d7cc\\", \\n \\"EndTime\\": 24, \\n \\"StartTime\\": 0, \\n \\"ComparisonOperator\\": \\">=\\"\\n }\\n ]\\n }, \\n \\"Success\\": true, \\n \\"Code\\": \\"200\\", \\n \\"Total\\": 27\\n}"},{"type":"xml","example":"<ListAlarmResponse>\\n <NextToken>2</NextToken>\\n <RequestId>CC2CDD2B-4EA5-43CD-BEE3-758E93C36B7F</RequestId>\\n <AlarmList>\\n <Alarm>\\n <Period>300</Period>\\n <Statistics>Average</Statistics>\\n <Name>ecs_cpu_total</Name>\\n <MetricName>cpu_total</MetricName>\\n <State>OK</State>\\n <Threshold>90</Threshold>\\n <Enable>true</Enable>\\n <SilenceTime>86400</SilenceTime>\\n <NotifyType>1</NotifyType>\\n <Dimensions>[\\"{\\\\\\"instanceId\\\\\\":\\\\\\" i-abcdefgh123456\\\\\\"}\\"]</Dimensions>\\n <Namespace>acs_ecs_dashboard</Namespace>\\n <ContactGroups>[\\"test4nudou\\"]</ContactGroups>\\n <Id>putNewAlarm_group_e8da18b9-bc95-4edf-a8bf-159eb6c8286b</Id>\\n <EndTime>24</EndTime>\\n <StartTime>0</StartTime>\\n <ComparisonOperator>&gt;=</ComparisonOperator>\\n </Alarm>\\n <Alarm>\\n <Period>300</Period>\\n <Statistics>Average</Statistics>\\n <Name>ecs_diskusage_utilization</Name>\\n <MetricName>diskusage_utilization</MetricName>\\n <State>OK</State>\\n <Threshold>90</Threshold>\\n <Enable>true</Enable>\\n <SilenceTime>86400</SilenceTime>\\n <NotifyType>1</NotifyType>\\n <Dimensions>[\\"{\\\\\\"instanceId\\\\\\":\\\\\\" i-abcdefgh123456\\\\\\"}\\"]</Dimensions>\\n <Namespace>acs_ecs_dashboard</Namespace>\\n <ContactGroups>[\\"test4nudou\\"]</ContactGroups>\\n <Id>putNewAlarm_group_3233eba5-0dd4-4e80-a5d5-7399dec3d7cc</Id>\\n <EndTime>24</EndTime>\\n <StartTime>0</StartTime>\\n <ComparisonOperator>&gt;=</ComparisonOperator>\\n </Alarm>\\n </AlarmList>\\n <Success>true</Success>\\n <Code>200</Code>\\n <Total>27</Total>","errorExample":"<ListAlarmResponse>\\n <NextToken>2</NextToken>\\n <RequestId>CC2CDD2B-4EA5-43CD-BEE3-758E93C36B7F</RequestId>\\n <AlarmList>\\n <Alarm>\\n <Period>300</Period>\\n <Statistics>Average</Statistics>\\n <Name>ecs_cpu_total</Name>\\n <MetricName>cpu_total</MetricName>\\n <State>OK</State>\\n <Threshold>90</Threshold>\\n <Enable>true</Enable>\\n <SilenceTime>86400</SilenceTime>\\n <NotifyType>1</NotifyType>\\n <Dimensions>[\\"{\\\\\\"instanceId\\\\\\":\\\\\\" i-abcdefgh123456\\\\\\"}\\"]</Dimensions>\\n <Namespace>acs_ecs_dashboard</Namespace>\\n <ContactGroups>[\\"test4nudou\\"]</ContactGroups>\\n <Id>putNewAlarm_group_e8da18b9-bc95-4edf-a8bf-159eb6c8286b</Id>\\n <EndTime>24</EndTime>\\n <StartTime>0</StartTime>\\n <ComparisonOperator>&gt;=</ComparisonOperator>\\n </Alarm>\\n <Alarm>\\n <Period>300</Period>\\n <Statistics>Average</Statistics>\\n <Name>ecs_diskusage_utilization</Name>\\n <MetricName>diskusage_utilization</MetricName>\\n <State>OK</State>\\n <Threshold>90</Threshold>\\n <Enable>true</Enable>\\n <SilenceTime>86400</SilenceTime>\\n <NotifyType>1</NotifyType>\\n <Dimensions>[\\"{\\\\\\"instanceId\\\\\\":\\\\\\" i-abcdefgh123456\\\\\\"}\\"]</Dimensions>\\n <Namespace>acs_ecs_dashboard</Namespace>\\n <ContactGroups>[\\"test4nudou\\"]</ContactGroups>\\n <Id>putNewAlarm_group_3233eba5-0dd4-4e80-a5d5-7399dec3d7cc</Id>\\n <EndTime>24</EndTime>\\n <StartTime>0</StartTime>\\n <ComparisonOperator>&gt;=</ComparisonOperator>\\n </Alarm>\\n </AlarmList>\\n <Success>true</Success>\\n <Code>200</Code>\\n <Total>27</Total>"}]',
+ 'title' => 'ListAlarm',
+ ],
+ 'ListAlarmHistory' => [
+ 'summary' => 'ListAlarmHistory',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1a775e37-dfba-430c-ab9f-7036475c8bfb_2dbe619b-0483-402e-9437-7c7a38fba7ed',
+ ],
+ ],
+ [
+ 'name' => 'Size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '3',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1548913091223',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1548927491223',
+ ],
+ ],
+ [
+ 'name' => 'Cursor',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'Cursor' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1DBBCE29-0F69-435C-B65C-53D1011D1D72',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'AlarmHistoryList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'AlarmHistory' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'MetricName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'CPUUtilization',
+ ],
+ 'EvaluationCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '3',
+ ],
+ 'State' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ALARM',
+ ],
+ 'ContactGroups' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Namespace' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'acs_ecs_dashboard',
+ ],
+ 'Dimension' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '{"instanceId":"XXX"}',
+ ],
+ 'LastTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2851651669',
+ ],
+ 'Value' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '84401454',
+ ],
+ 'AlarmTime' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1548926982000',
+ ],
+ 'InstanceName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test-demo',
+ ],
+ 'Name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'Id' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1a775e37-dfba-430c-ab9f-7036475c8bfb_2dbe619b-0483-402e-9437-7c7a38fba7ed',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success\\",\\n \\"Cursor\\": \\"1\\",\\n \\"RequestId\\": \\"1DBBCE29-0F69-435C-B65C-53D1011D1D72\\",\\n \\"Success\\": true,\\n \\"AlarmHistoryList\\": {\\n \\"AlarmHistory\\": [\\n {\\n \\"Status\\": 2,\\n \\"MetricName\\": \\"CPUUtilization\\",\\n \\"EvaluationCount\\": 3,\\n \\"State\\": \\"ALARM\\",\\n \\"ContactGroups\\": \\"[\\\\\\"DB组\\\\\\"]\\",\\n \\"Namespace\\": \\"acs_ecs_dashboard\\",\\n \\"Dimension\\": \\"{\\\\\\"instanceId\\\\\\":\\\\\\"XXX\\\\\\"}\\",\\n \\"LastTime\\": 2851651669,\\n \\"Value\\": \\"84401454\\",\\n \\"AlarmTime\\": 1548926982000,\\n \\"InstanceName\\": \\"test-demo\\",\\n \\"Name\\": \\"报警测试\\",\\n \\"Id\\": \\"1a775e37-dfba-430c-ab9f-7036475c8bfb_2dbe619b-0483-402e-9437-7c7a38fba7ed\\"\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"AlarmHistoryList\\": {\\n \\"AlarmHistory\\": [\\n {\\n \\"Status\\": 2, \\n \\"Value\\": \\"{\\\\\\"Maximum\\\\\\":301,\\\\\\"Minimum\\\\\\":301}\\", \\n \\"MetricName\\": \\"http.status_groupbyinstanceid#60\\", \\n \\"State\\": \\"ALARM\\", \\n \\"LastTime\\": 122088, \\n \\"AlarmTime\\": 1489568222088, \\n \\"Namespace\\": \\"acs_sitemonitor\\", \\n \\"ContactGroups\\": \\"null\\", \\n \\"Id\\": \\"1a775e37-dfba-430c-ab9f-7036475c8bfb_2dbe619b-0483-402e-9437-7c7a38fba7ed\\", \\n \\"EvaluationCount\\": 3\\n }, \\n {\\n \\"Status\\": 0, \\n \\"Value\\": \\"{\\\\\\"Maximum\\\\\\":301,\\\\\\"Minimum\\\\\\":301}\\", \\n \\"MetricName\\": \\"http.status_groupbyinstanceid#60\\", \\n \\"State\\": \\"ALARM\\", \\n \\"LastTime\\": 62078, \\n \\"AlarmTime\\": 1489568162078, \\n \\"Namespace\\": \\"acs_sitemonitor\\", \\n \\"ContactGroups\\": \\"[\\\\\\"云账号报警联系人\\\\\\"]\\", \\n \\"Id\\": \\"1a775e37-dfba-430c-ab9f-7036475c8bfb_2dbe619b-0483-402e-9437-7c7a38fba7ed\\", \\n \\"EvaluationCount\\": 3\\n }\\n ]\\n }, \\n \\"RequestId\\": \\"1DBBCE29-0F69-435C-B65C-53D1011D1D72\\", \\n \\"Success\\": true, \\n \\"Code\\": \\"200\\"\\n}"},{"type":"xml","example":"<ListAlarmHistoryResponse>\\n <AlarmHistoryList>\\n <AlarmHistory>\\n <Status>2</Status>\\n <Value>{\\"Maximum\\":301,\\"Minimum\\":301}</Value>\\n <MetricName>http.status_groupbyinstanceid#60</MetricName>\\n <State>ALARM</State>\\n <LastTime>122088</LastTime>\\n <AlarmTime>1489568222088</AlarmTime>\\n <Namespace>acs_sitemonitor</Namespace>\\n <ContactGroups>null</ContactGroups>\\n <Id>1a775e37-dfba-430c-ab9f-7036475c8bfb_2dbe619b-0483-402e-9437-7c7a38fba7ed</Id>\\n <EvaluationCount>3</EvaluationCount>\\n </AlarmHistory>\\n <AlarmHistory>\\n <Status>0</Status>\\n <Value>{\\"Maximum\\":301,\\"Minimum\\":301}</Value>\\n <MetricName>http.status_groupbyinstanceid#60</MetricName>\\n <State>ALARM</State>\\n <LastTime>62078</LastTime>\\n <AlarmTime>1489568162078</AlarmTime>\\n <Namespace>acs_sitemonitor</Namespace>\\n <ContactGroups>[\\"云账号报警联系人\\"]</ContactGroups>\\n <Id>1a775e37-dfba-430c-ab9f-7036475c8bfb_2dbe619b-0483-402e-9437-7c7a38fba7ed</Id>\\n <EvaluationCount>3</EvaluationCount>\\n </AlarmHistory>\\n </AlarmHistoryList>\\n <RequestId>7E7A6173-EC07-43A1-ABBF-1F05EBB4C2BB</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</ListAlarmHistoryResponse>","errorExample":"<ListAlarmHistoryResponse>\\n <AlarmHistoryList>\\n <AlarmHistory>\\n <Status>2</Status>\\n <Value>{\\"Maximum\\":301,\\"Minimum\\":301}</Value>\\n <MetricName>http.status_groupbyinstanceid#60</MetricName>\\n <State>ALARM</State>\\n <LastTime>122088</LastTime>\\n <AlarmTime>1489568222088</AlarmTime>\\n <Namespace>acs_sitemonitor</Namespace>\\n <ContactGroups>null</ContactGroups>\\n <Id>1a775e37-dfba-430c-ab9f-7036475c8bfb_2dbe619b-0483-402e-9437-7c7a38fba7ed</Id>\\n <EvaluationCount>3</EvaluationCount>\\n </AlarmHistory>\\n <AlarmHistory>\\n <Status>0</Status>\\n <Value>{\\"Maximum\\":301,\\"Minimum\\":301}</Value>\\n <MetricName>http.status_groupbyinstanceid#60</MetricName>\\n <State>ALARM</State>\\n <LastTime>62078</LastTime>\\n <AlarmTime>1489568162078</AlarmTime>\\n <Namespace>acs_sitemonitor</Namespace>\\n <ContactGroups>[\\"云账号报警联系人\\"]</ContactGroups>\\n <Id>1a775e37-dfba-430c-ab9f-7036475c8bfb_2dbe619b-0483-402e-9437-7c7a38fba7ed</Id>\\n <EvaluationCount>3</EvaluationCount>\\n </AlarmHistory>\\n </AlarmHistoryList>\\n <RequestId>7E7A6173-EC07-43A1-ABBF-1F05EBB4C2BB</RequestId>\\n <Success>true</Success>\\n <Code>200</Code>\\n</ListAlarmHistoryResponse>"}]',
+ 'title' => 'ListAlarmHistory',
+ ],
+ 'ListContactGroup' => [
+ 'summary' => 'List Contact Groups',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Page number. Default value: 1.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ 'default' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Number of records per page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ 'default' => '100',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'NextToken' => [
+ 'description' => 'Next page, an empty value indicates no more data.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID, used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'D3D03B0A-CF1A-4DAB-BF0D-D4B6ACD5677A',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ ."\n"
+ .'- false: Failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Code' => [
+ 'description' => 'Status code. Note that 200 indicates success.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Return message.',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Total' => [
+ 'description' => 'Total number of entries that meet the criteria.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '2',
+ ],
+ 'ContactGroups' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ContactGroup' => [
+ 'description' => 'List of alarm contact groups.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Alarm contact group.',
+ 'type' => 'string',
+ 'example' => '云账号报警联系人',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => 'Internal Server Error',
+ ],
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => 'Service Unavailable',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": 2,\\n \\"RequestId\\": \\"D3D03B0A-CF1A-4DAB-BF0D-D4B6ACD5677A\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Total\\": 2,\\n \\"ContactGroups\\": {\\n \\"ContactGroup\\": [\\n \\"云账号报警联系人\\"\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'Query Alarm Rule Contact Groups under the Cloud Account',
+ 'translator' => 'machine',
+ ],
+ 'ListEventRules' => [
+ 'summary' => 'Get Event Rule List',
+ 'methods' => [
+ 'post',
+ 'get',
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'NamePrefix',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Prefix of the event alarm rule.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'Page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Page number.'."\n"
+ ."\n"
+ .'Starting value: 1. Default value: 1.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Number of records per page.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Group ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '239933048',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'NextToken' => [
+ 'description' => 'Next page, an empty value indicates no next page.',
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ 'CurrentPage' => [
+ 'description' => 'Current page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID, used for troubleshooting.',
+ 'type' => 'string',
+ 'example' => 'fd54aeca-cfb1-4900-a417-3d30de11cbb9',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ ."\n"
+ .'- false: Failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'Code' => [
+ 'description' => 'Status code. Note: 200 indicates success.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Return message.',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Total' => [
+ 'description' => 'Total number of data entries that meet the criteria.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '101',
+ ],
+ 'Datapoints' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'EventRule' => [
+ 'description' => 'List of event rules.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'EventType' => [
+ 'description' => 'Event type.',
+ 'type' => 'string',
+ 'example' => 'Exception',
+ ],
+ 'Description' => [
+ 'description' => 'Description information.',
+ 'type' => 'string',
+ 'example' => 'helloworld',
+ ],
+ 'GroupId' => [
+ 'description' => 'Group ID.',
+ 'type' => 'string',
+ 'example' => '239677374',
+ ],
+ 'Name' => [
+ 'description' => 'Name of the event alarm rule.',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'State' => [
+ 'description' => 'State of the event alarm rule. Values:'."\n"
+ ."\n"
+ .'- ENABLED: Enabled.'."\n"
+ ."\n"
+ .'- DISABLED: Disabled.',
+ 'type' => 'string',
+ 'example' => 'disabled',
+ ],
+ 'EventPattern' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'EventPattern' => [
+ 'description' => 'List of event alarm rule patterns.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Event alarm rule pattern.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Product' => [
+ 'description' => 'Product name.',
+ 'type' => 'string',
+ 'example' => 'RDS',
+ ],
+ 'EventTypeList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'EventTypeList' => [
+ 'description' => 'List of event alarm types.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Event alarm type.',
+ 'type' => 'string',
+ 'example' => 'Alert',
+ ],
+ ],
+ ],
+ ],
+ 'LevelList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'LevelList' => [
+ 'description' => 'List of event alarm rule levels.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The level of the event. Possible values:'."\n"
+ ."\n"
+ .'- CRITICAL: Critical.'."\n"
+ ."\n"
+ .'- WARN: Warning.'."\n"
+ ."\n"
+ .'- INFO: Information.',
+ 'type' => 'string',
+ 'example' => 'CRITICAL',
+ ],
+ ],
+ ],
+ ],
+ 'StatusList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'StatusList' => [
+ 'description' => 'A list of event statuses.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The status of the event.',
+ 'type' => 'string',
+ 'example' => '[]',
+ ],
+ ],
+ ],
+ ],
+ 'NameList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'NameList' => [
+ 'description' => 'A list of event names.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The name of the event.',
+ 'type' => 'string',
+ 'example' => 'Instance:LiveMigrationAcrossDDH',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameterValue',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'InvalidParameterValue',
+ 'errorMessage' => 'ResourceNotFound',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NextToken\\": \\"2\\",\\n \\"CurrentPage\\": 1,\\n \\"RequestId\\": \\"fd54aeca-cfb1-4900-a417-3d30de11cbb9\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Total\\": 101,\\n \\"Datapoints\\": {\\n \\"EventRule\\": [\\n {\\n \\"EventType\\": \\"Exception\\",\\n \\"Description\\": \\"helloworld\\",\\n \\"GroupId\\": \\"239677374\\",\\n \\"Name\\": \\"test\\",\\n \\"State\\": \\"disabled\\",\\n \\"EventPattern\\": {\\n \\"EventPattern\\": [\\n {\\n \\"Product\\": \\"RDS\\",\\n \\"EventTypeList\\": {\\n \\"EventTypeList\\": [\\n \\"Alert\\"\\n ]\\n },\\n \\"LevelList\\": {\\n \\"LevelList\\": [\\n \\"CRITICAL\\"\\n ]\\n },\\n \\"StatusList\\": {\\n \\"StatusList\\": [\\n \\"[]\\"\\n ]\\n },\\n \\"NameList\\": {\\n \\"NameList\\": [\\n \\"Instance:LiveMigrationAcrossDDH\\"\\n ]\\n }\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'Get Event Rule List',
+ 'translator' => 'machine',
+ ],
+ 'ListMyGroupInstances' => [
+ 'summary' => 'List My Group Instances',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Number of records per page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Total',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Total number of records.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => '100',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Application group ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '4728420',
+ ],
+ ],
+ [
+ 'name' => 'Category',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Category',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ecs',
+ ],
+ ],
+ [
+ 'name' => 'Keyword',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Search keyword.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'aliyun',
+ ],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Instance ID list',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'i-hp3dunahluwajv6f****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => '1B43E02C-8794-5E8A-9F8C-3874DF7AF03F',
+ ],
+ 'ErrorMessage' => [
+ 'description' => 'Error message.',
+ 'type' => 'string',
+ 'example' => 'InstanceIds is mandatory for this action.',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. `true` for success, `false` for failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'Error code for failed requests. 200 indicates success, non-200 indicates failure.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'PageNumber' => [
+ 'description' => 'Page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => 'Number of records per page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'Total' => [
+ 'description' => 'Total number of records.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'Resources' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Resource' => [
+ 'description' => 'Resource list',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Resource object',
+ 'type' => 'object',
+ 'properties' => [
+ 'InstanceName' => [
+ 'description' => 'Instance name.',
+ 'type' => 'string',
+ 'example' => 'teacher-redis-online',
+ ],
+ 'AliUid' => [
+ 'description' => 'Aliyun account ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'Category' => [
+ 'description' => 'Category',
+ 'type' => 'string',
+ 'example' => 'ecs',
+ ],
+ 'InstanceId' => [
+ 'description' => 'Instance ID.',
+ 'type' => 'string',
+ 'example' => 'rm-bp1e012cy94o85355',
+ ],
+ 'Id' => [
+ 'description' => 'Resource ID',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123',
+ ],
+ 'RegionId' => [
+ 'description' => 'Region ID of the instance.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1B43E02C-8794-5E8A-9F8C-3874DF7AF03F\\",\\n \\"ErrorMessage\\": \\"InstanceIds is mandatory for this action.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 100,\\n \\"Resources\\": {\\n \\"Resource\\": [\\n {\\n \\"InstanceName\\": \\"teacher-redis-online\\",\\n \\"AliUid\\": 123,\\n \\"Category\\": \\"ecs\\",\\n \\"InstanceId\\": \\"rm-bp1e012cy94o85355\\",\\n \\"Id\\": 123,\\n \\"RegionId\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'List My Group Instances',
+ 'translator' => 'machine',
+ ],
+ 'ListMyGroups' => [
+ 'summary' => 'List Personal Application Groups',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Application group type. Values:'."\n"
+ .'- custom: Self-built application group.'."\n"
+ .'- ehpc_cluster: Application group synchronized from EHPC cluster.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'custom',
+ ],
+ ],
+ [
+ 'name' => 'SelectContactGroups',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Whether to return the alarm contact group. Values: -true: Yes. -false (default): No.',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Current page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Number of records per page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'Keyword',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Search keyword.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'abc',
+ ],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Instance ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'i-m5e0k0bexac8tykr****',
+ ],
+ ],
+ [
+ 'name' => 'BindUrls',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Bind URL',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ehpc://i-dadfasdf/Login',
+ ],
+ ],
+ [
+ 'name' => 'GroupName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Application group name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'fc_monitor_group_2018_ctNameFail',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => '996A6748-2F6F-561F-971A-BB5928B24F3C',
+ ],
+ 'ErrorMessage' => [
+ 'description' => 'Error message.',
+ 'type' => 'string',
+ 'example' => 'InstanceIds is mandatory for this action.',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ ."\n"
+ .'- false: Failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'Error code. 200 indicates success, other values indicate failure.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'PageNumber' => [
+ 'description' => 'Current page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => 'Number of records per page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'Total' => [
+ 'description' => 'Total number of records.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'Resources' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Resource' => [
+ 'description' => 'List of personal application groups',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'List of personal application groups',
+ 'type' => 'object',
+ 'properties' => [
+ 'Type' => [
+ 'description' => 'Application group type. Values:'."\n"
+ .'- custom: Self-built application group.'."\n"
+ .'- ehpc_cluster: Application group synchronized from EHPC cluster.',
+ 'type' => 'string',
+ 'example' => 'custom',
+ ],
+ 'BindUrl' => [
+ 'description' => 'Bind URL',
+ 'type' => 'string',
+ 'example' => 'ehpc://i-dadfasdf/Login',
+ ],
+ 'GroupId' => [
+ 'description' => 'Application group ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '236889260',
+ ],
+ 'GroupName' => [
+ 'description' => 'Application group name.',
+ 'type' => 'string',
+ 'example' => 'monitor_group_2018_metric_rulebemd',
+ ],
+ 'BindUrls' => [
+ 'description' => 'Bind URL',
+ 'type' => 'string',
+ 'example' => '["ehpc://i-dadfasdf/Login"]',
+ ],
+ 'ServiceId' => [
+ 'description' => 'Service ID',
+ 'type' => 'string',
+ 'example' => 'service-9b7395c020ae4e16825d',
+ ],
+ 'GmtCreate' => [
+ 'description' => 'Time when the application group was created.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2017-08-09 16:09:41',
+ ],
+ 'GmtModified' => [
+ 'description' => 'Modification time',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '2017-08-09 16:09:41',
+ ],
+ 'ContactGroups' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ContactGroup' => [
+ 'description' => 'Alarm contact groups.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => [
+ 'description' => 'The name of the alarm contact group.',
+ 'type' => 'string',
+ 'example' => 'contact_group_01',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"996A6748-2F6F-561F-971A-BB5928B24F3C\\",\\n \\"ErrorMessage\\": \\"InstanceIds is mandatory for this action.\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 100,\\n \\"Resources\\": {\\n \\"Resource\\": [\\n {\\n \\"Type\\": \\"custom\\",\\n \\"BindUrl\\": \\"ehpc://i-dadfasdf/Login\\",\\n \\"GroupId\\": 236889260,\\n \\"GroupName\\": \\"monitor_group_2018_metric_rulebemd\\",\\n \\"BindUrls\\": \\"[\\\\\\"ehpc://i-dadfasdf/Login\\\\\\"]\\",\\n \\"ServiceId\\": \\"service-9b7395c020ae4e16825d\\",\\n \\"GmtCreate\\": 0,\\n \\"GmtModified\\": 0,\\n \\"ContactGroups\\": {\\n \\"ContactGroup\\": [\\n {\\n \\"Name\\": \\"contact_group_01\\"\\n }\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'List Personal Application Groups',
+ 'translator' => 'machine',
+ ],
+ 'ModifyTask' => [
+ 'summary' => 'Modify task.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'high',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Address',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Address.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'http://www.aliyun.com',
+ ],
+ ],
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The task ID.'."\n",
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '8f880e3d-d924-47ab-84d2-fa1a72e24211',
+ ],
+ ],
+ [
+ 'name' => 'TaskName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The task name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'aliyunTest',
+ ],
+ ],
+ [
+ 'name' => 'Interval',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The interval at which detection requests are sent.'."\n"
+ ."\n"
+ .'Valid values: 1, 5, 15, 30, and 60. Unit: minutes.'."\n"
+ ."\n"
+ .'Default value: 1.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'IspCity',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'isp city.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"city":"546","isp":"465"},{"city":"572","isp":"465"},{"city":"738","isp":"465"}]',
+ ],
+ ],
+ [
+ 'name' => 'Options',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The options.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"dns_type\\":\\"A\\",\\"expect_value\\":\\"171.222.205.250\\",\\"match_rule\\":\\"DNS_IN\\"}',
+ ],
+ ],
+ [
+ 'name' => 'AlertRule',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The details of the alert rule.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => ' [{"alarmActions":"xxx","metricName":"Availability","expression":"$Availability<96"}]',
+ ],
+ ],
+ [
+ 'name' => 'AlertIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The ID of the alert rule.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '5e9b-4c12-b39e-7f277ac44b11',
+ ],
+ ],
+ [
+ 'name' => 'caller',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'caller.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cms',
+ ],
+ ],
+ [
+ 'name' => 'IntervalUnit',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The unit of the metric.'."\n"
+ ."\n"
+ .'Unit: milliseconds.'."\n",
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ms',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'The response code.'."\n"
+ ."\n"
+ .'> The status code 200 indicates that the request was successful.'."\n",
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'The returned message.'."\n",
+ 'type' => 'string',
+ 'example' => 'successfull',
+ ],
+ 'Data' => [
+ 'description' => 'The returned data.',
+ 'type' => 'string',
+ 'example' => '{"count":1}',
+ ],
+ 'RequestId' => [
+ 'description' => 'The request ID.'."\n",
+ 'type' => 'string',
+ 'example' => 'a4e6f550-7eac-4a13-b11f-6742aa2d42d1',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the request was successful. Valid values:'."\n"
+ ."\n"
+ .'* true'."\n"
+ .'* false'."\n",
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameterValue',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'You are not authorized to operate the specified resource.',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => 'ExceedingQuota',
+ 'errorMessage' => 'Exceeding quota limits.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ 600 => [
+ [
+ 'errorCode' => 'IllegalAddress',
+ 'errorMessage' => 'Illegal HTTP address',
+ ],
+ ],
+ 605 => [
+ [
+ 'errorCode' => 'OperationError',
+ 'errorMessage' => 'Operation failed',
+ ],
+ ],
+ 615 => [
+ [
+ 'errorCode' => 'TaskNotExists',
+ 'errorMessage' => 'Task does not exist',
+ ],
+ ],
+ 650 => [
+ [
+ 'errorCode' => 'OperatorInvalid',
+ 'errorMessage' => 'Operator invalid',
+ ],
+ [
+ 'errorCode' => 'OperatorCityInvalid',
+ 'errorMessage' => 'Operator City invalid',
+ ],
+ ],
+ 655 => [
+ [
+ 'errorCode' => 'OperatorCityInvalid',
+ 'errorMessage' => 'Operator City invalid',
+ ],
+ ],
+ 660 => [
+ [
+ 'errorCode' => 'NameRepeat',
+ 'errorMessage' => 'Task name repeat',
+ ],
+ ],
+ 680 => [
+ [
+ 'errorCode' => 'CreateAlarmError',
+ 'errorMessage' => 'Create alarm error',
+ ],
+ ],
+ 695 => [
+ [
+ 'errorCode' => 'NameNotExists',
+ 'errorMessage' => 'Task name not exists',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"The request has failed due to a temporary failure of the server.\\",\\n \\"Data\\": \\"[]\\",\\n \\"RequestId\\": \\"F3F87581-3656-5805-975B-3003699091AE\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
+ 'title' => 'modify task.',
+ ],
+ 'NodeList' => [
+ 'summary' => 'NodeList',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'KeyWord',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'UserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'HostName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'SerialNumbers',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'InstanceRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ErrorMessage' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'ErrorCode' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Success' => [
+ 'type' => 'boolean',
+ ],
+ 'PageTotal' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'PageNumber' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'PageSize' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Total' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Nodes' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Node' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SerialNumber' => [
+ 'type' => 'string',
+ ],
+ 'NatIp' => [
+ 'type' => 'string',
+ ],
+ 'HostName' => [
+ 'type' => 'string',
+ ],
+ 'AliUid' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'NetworkType' => [
+ 'type' => 'string',
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ ],
+ 'AliyunHost' => [
+ 'type' => 'boolean',
+ ],
+ 'EipAddress' => [
+ 'type' => 'string',
+ ],
+ 'IpGroup' => [
+ 'type' => 'string',
+ ],
+ 'EipId' => [
+ 'type' => 'string',
+ ],
+ 'TianjimonVersion' => [
+ 'type' => 'string',
+ ],
+ 'Region' => [
+ 'type' => 'string',
+ ],
+ 'InstanceTypeFamily' => [
+ 'type' => 'string',
+ ],
+ 'OperatingSystem' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'NodeProcessCreate' => [
+ 'summary' => 'NodeProcessCreate',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ProcessName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'ProcessUser',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Command',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'ErrorMessage' => [
+ 'type' => 'string',
+ ],
+ 'Success' => [
+ 'type' => 'boolean',
+ ],
+ 'ErrorCode' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Id' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'NodeProcesses' => [
+ 'summary' => 'NodeProcesses',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'ErrorMessage' => [
+ 'type' => 'string',
+ ],
+ 'ErrorCode' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Success' => [
+ 'type' => 'boolean',
+ ],
+ 'NodeProcesses' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'NodeProcess' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ProcessName' => [
+ 'type' => 'string',
+ ],
+ 'Command' => [
+ 'type' => 'string',
+ ],
+ 'ProcessUser' => [
+ 'type' => 'string',
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ ],
+ 'Name' => [
+ 'type' => 'string',
+ ],
+ 'Id' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'NodeStatusList' => [
+ 'summary' => 'NodeStatusList',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceIds',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'i-abcdefgh123456,i-abcdefgh123457',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1BB8FE8E-9BBE-490F-82EC-BF70FB849D55',
+ ],
+ 'ErrorMessage' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'InstanceIds is mandatory for this action.',
+ ],
+ 'ErrorCode' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'NodeStatusList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'NodeStatus' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'running',
+ ],
+ 'InstanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'i-abcdefgh123456',
+ ],
+ 'AutoInstall' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"1BB8FE8E-9BBE-490F-82EC-BF70FB849D55\\",\\n \\"ErrorMessage\\": \\"InstanceIds is mandatory for this action.\\",\\n \\"ErrorCode\\": 200,\\n \\"Success\\": true,\\n \\"NodeStatusList\\": {\\n \\"NodeStatus\\": [\\n {\\n \\"Status\\": \\"running\\",\\n \\"InstanceId\\": \\"i-abcdefgh123456\\",\\n \\"AutoInstall\\": true\\n }\\n ]\\n }\\n}","errorExample":"{\\n \\"NodeStatusList\\": {\\n \\"NodeStatus\\": [\\n {\\n \\"Status\\": \\"running\\", \\n \\"InstanceId\\": \\" i-abcdefgh123456\\", \\n \\"AutoInstall\\": true\\n }, \\n {\\n \\"Status\\": \\"uninstalled\\", \\n \\"InstanceId\\": \\" i-abcdefgh123457\\", \\n \\"AutoInstall\\": true\\n }\\n ]\\n }, \\n \\"ErrorCode\\": 200, \\n \\"Success\\": true\\n}"},{"type":"xml","example":"<NodeStatusListResponse>\\n <NodeStatusList>\\n <NodeStatus>\\n <Status>running</Status>\\n <InstanceId> i-abcdefgh123456</InstanceId>\\n <AutoInstall>true</AutoInstall>\\n </NodeStatus>\\n <NodeStatus>\\n <Status>uninstalled</Status>\\n <InstanceId> i-abcdefgh123457</InstanceId>\\n <AutoInstall>true</AutoInstall>\\n </NodeStatus>\\n </NodeStatusList>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n</NodeStatusListResponse>","errorExample":"<NodeStatusListResponse>\\n <NodeStatusList>\\n <NodeStatus>\\n <Status>running</Status>\\n <InstanceId> i-abcdefgh123456</InstanceId>\\n <AutoInstall>true</AutoInstall>\\n </NodeStatus>\\n <NodeStatus>\\n <Status>uninstalled</Status>\\n <InstanceId> i-abcdefgh123457</InstanceId>\\n <AutoInstall>true</AutoInstall>\\n </NodeStatus>\\n </NodeStatusList>\\n <Success>true</Success>\\n <ErrorCode>200</ErrorCode>\\n</NodeStatusListResponse>"}]',
+ 'title' => 'NodeStatusList',
+ ],
+ 'NodeUninstall' => [
+ 'summary' => 'NodeUninstall',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'ErrorMessage' => [
+ 'type' => 'string',
+ ],
+ 'ErrorCode' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'Success' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 412 => [
+ [
+ 'errorCode' => 'AgentStateError',
+ 'errorMessage' => 'Expected agent running state is stopped.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'PutCustomMetric' => [
+ 'summary' => 'PutCustomMetric',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'MetricList',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'Data' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'PutEvent' => [
+ 'summary' => 'PutEvent',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'EventInfo',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'Data' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'PutEventRule' => [
+ 'summary' => 'Create or Modify Time-based Alarm Rules',
+ 'methods' => [
+ 'post',
+ 'get',
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Name of the event alarm rule.',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'DBS_EVENT_RULE',
+ ],
+ ],
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Group ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '240992827',
+ ],
+ ],
+ [
+ 'name' => 'EventType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Type of the event alarm rule. Values:'."\n"
+ ."\n"
+ .'- SYSTEM: System event.'."\n"
+ .'- CUSTOM: Custom event.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [
+ 'SYSTEM' => 'SYSTEM',
+ 'CUSTOM' => 'CUSTOM',
+ ],
+ 'example' => 'SYSTEM',
+ 'default' => 'SYSTEM',
+ 'enum' => [
+ 'SYSTEM',
+ 'BUSSINESS',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Description of the event alarm rule.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '事件报警测试',
+ ],
+ ],
+ [
+ 'name' => 'State',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Status of the event alarm rule.',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => [],
+ 'example' => 'Enable',
+ 'default' => 'ENABLED',
+ 'enum' => [
+ 'ENABLED',
+ 'DISABLED',
+ ],
+ ],
+ ],
+ [
+ 'name' => 'EventPattern',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'List of event alarm rule patterns.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Pattern of the event alarm rule.',
+ 'type' => 'object',
+ 'properties' => [
+ 'EventTypeList' => [
+ 'description' => 'List of event types for the alarm rule.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Type of the event alarm rule.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Alert',
+ ],
+ 'required' => false,
+ 'maxItems' => 5,
+ ],
+ 'StatusList' => [
+ 'description' => 'List of statuses for the event alarm rule.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Status of the event alarm rule.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[]',
+ ],
+ 'required' => false,
+ 'maxItems' => 5,
+ ],
+ 'Product' => [
+ 'description' => 'Product.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ECS',
+ ],
+ 'LevelList' => [
+ 'description' => 'List of levels for the event alarm rule.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Level of the event alarm rule.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'CRITICAL',
+ ],
+ 'required' => false,
+ 'maxItems' => 5,
+ ],
+ 'NameList' => [
+ 'description' => 'List of names for the event alarm rule.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Name of the event alarm rule.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Agent_Status_Stopped',
+ ],
+ 'required' => false,
+ 'maxItems' => 50,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ 'maxItems' => 1,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'Status code. 200 indicates success.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Response message.',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'string',
+ 'example' => '100',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => '0B47C47B-E68A-4429-BB23-370E91889C7D',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ .'- false: Failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": \\"100\\",\\n \\"RequestId\\": \\"0B47C47B-E68A-4429-BB23-370E91889C7D\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'title' => 'Create or Modify Event Alarm Rules',
+ 'translator' => 'machine',
+ ],
+ 'PutEventTargets' => [
+ 'summary' => 'Set Event Targets',
+ 'methods' => [
+ 'post',
+ 'get',
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RuleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the alarm rule.',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'DBS_EVENT_RULE',
+ ],
+ ],
+ [
+ 'name' => 'FcParameters',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'List of function parameters.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Parameters of the function.',
+ 'type' => 'object',
+ 'properties' => [
+ 'FunctionName' => [
+ 'description' => 'Function name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'fcTest1',
+ ],
+ 'Region' => [
+ 'description' => 'Region corresponding to the function.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ 'ServiceName' => [
+ 'description' => 'Service name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'service1',
+ ],
+ 'Id' => [
+ 'description' => 'Entity ID',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1911729',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 5,
+ ],
+ ],
+ [
+ 'name' => 'ContactParameters',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'List of alarm contact group parameters.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Parameters of the alarm contact group.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ContactGroupName' => [
+ 'description' => 'Alarm contact group name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '云账号报警联系人',
+ ],
+ 'Id' => [
+ 'description' => 'ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '933247bf-bded-4ad8-8653-403efad16cfd',
+ ],
+ 'Level' => [
+ 'description' => 'Alarm level.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'NORMAL',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 5,
+ ],
+ ],
+ [
+ 'name' => 'MnsParameters',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'MNS parameter list',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Lightweight message queue (formerly MNS) notification.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Region' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ 'Queue' => [
+ 'description' => 'Message queue.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'testQueue',
+ ],
+ 'Id' => [
+ 'description' => 'id',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '933247bf-bded-4ad8-8653-403efad16cfd',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 5,
+ ],
+ ],
+ [
+ 'name' => 'WebhookParameters',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'List of URL callback parameters.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'URL callback parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Protocol' => [
+ 'description' => 'Protocol type.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'https',
+ ],
+ 'Url' => [
+ 'description' => 'Callback URL.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'http://alert.xxxxxxx.com:8080/callback',
+ ],
+ 'Method' => [
+ 'description' => 'HTTP callback request method.'."\n"
+ ."\n"
+ .'Supports GET and POST.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'POST',
+ ],
+ 'Id' => [
+ 'description' => 'ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '933247bf-bded-4ad8-8653-403efad16cfd',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 5,
+ ],
+ ],
+ [
+ 'name' => 'SlsParameters',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'description' => 'List of SLS (Log Service) parameters.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'SLS (Log Service) parameters.',
+ 'type' => 'object',
+ 'properties' => [
+ 'LogStore' => [
+ 'description' => 'Log store corresponding to the log service.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'logstore_test',
+ ],
+ 'Region' => [
+ 'description' => 'Region corresponding to the log service.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou',
+ ],
+ 'Project' => [
+ 'description' => 'Project corresponding to the log service.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'sls-rdscustom-event',
+ ],
+ 'Id' => [
+ 'description' => 'ID.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '933247bf-bded-4ad8-8653-403efad16cfd',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 5,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'description' => 'Unique identifier for the request, used for subsequent error troubleshooting.',
+ 'type' => 'string',
+ 'example' => '84AC6F0B-7945-466A-AA44-99BB5A561F86',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ ."\n"
+ .'- false: Failure.'."\n",
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ParameterCount' => [
+ 'description' => 'Number of parameters.',
+ 'type' => 'string',
+ 'example' => '132',
+ ],
+ 'FailedParameterCount' => [
+ 'description' => 'Count of failed parameters.',
+ 'type' => 'string',
+ 'example' => '2',
+ ],
+ 'Code' => [
+ 'description' => 'Status code. Note: 200 indicates success.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Return message.',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'ContactParameters' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ContactParameter' => [
+ 'description' => 'List of alarm contact group parameters.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Alarm contact group parameter.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ContactGroupName' => [
+ 'description' => 'Name of the alarm contact group.',
+ 'type' => 'string',
+ 'example' => '云账号报警联系人',
+ ],
+ 'Id' => [
+ 'description' => 'ID number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => 'ca66c5ae-8e46-445c-8ca9-7ccf10a0e183',
+ ],
+ 'Level' => [
+ 'description' => 'Alarm level.',
+ 'type' => 'string',
+ 'example' => 'CRITICAL',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'MnsParameters' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'MnsParameter' => [
+ 'description' => 'List of MNS parameters.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'MNS parameter.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Queue' => [
+ 'description' => 'Name of the lightweight message queue (formerly MNS).',
+ 'type' => 'string',
+ 'example' => 'spotmax-spot-interruption-notice',
+ ],
+ 'Id' => [
+ 'description' => 'ID number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '91ace627-ed2c-4a35-8cd8-3a52b149c47e',
+ ],
+ 'Region' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'FcParameters' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'FcParameter' => [
+ 'description' => 'List of function service parameters.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Function service parameter.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ServiceName' => [
+ 'description' => 'Service name of the function service.',
+ 'type' => 'string',
+ 'example' => 'esign-production-dba',
+ ],
+ 'FunctionName' => [
+ 'description' => 'Function name.',
+ 'type' => 'string',
+ 'example' => 'cdn_waf',
+ ],
+ 'Id' => [
+ 'description' => 'ID number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '933247bf-bded-4ad8-8653-403efad16cfd',
+ ],
+ 'Region' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'FailedContactParameters' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'ContactParameter' => [
+ 'description' => 'List of failed alarm contact group parameters.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Failed alarm contact group parameter.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ContactGroupName' => [
+ 'description' => 'Name of the alarm contact group.',
+ 'type' => 'string',
+ 'example' => '云账号报警联系人',
+ ],
+ 'Id' => [
+ 'description' => 'id',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '933247bf-bded-4ad8-8653-403efad16cfd',
+ ],
+ 'Level' => [
+ 'description' => 'Alarm level.',
+ 'type' => 'string',
+ 'example' => 'CRITICAL',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'FailedMnsParameters' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'MnsParameter' => [
+ 'description' => 'List of failed MNS parameters.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Failed MNS parameter.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Queue' => [
+ 'description' => 'Name of the lightweight message queue (formerly MNS).',
+ 'type' => 'string',
+ 'example' => 'spotmax-spot-interruption-notice',
+ ],
+ 'Id' => [
+ 'description' => 'Code.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => 'bc2cbb0f-c96b-45b7-81a1-b2356c232b79',
+ ],
+ 'Region' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'FailedFcParameters' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'FcParameter' => [
+ 'description' => 'List of failed function service parameters.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Failed function service parameter.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ServiceName' => [
+ 'description' => 'Service name of the function service.',
+ 'type' => 'string',
+ 'example' => 'esign-production-dba',
+ ],
+ 'FunctionName' => [
+ 'description' => 'Function name.',
+ 'type' => 'string',
+ 'example' => 'dba-alert-severity',
+ ],
+ 'Id' => [
+ 'description' => 'Code ID.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '98c049b7-f8f5-4001-ac4c-be21fd6d38e6',
+ ],
+ 'Region' => [
+ 'description' => 'Region ID.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'FailedSlsParameters' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'FailedSlsParameter' => [
+ 'description' => 'List of failed SLS parameters.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Failed SLS parameter.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Project' => [
+ 'description' => 'Project corresponding to the log service.',
+ 'type' => 'string',
+ 'example' => 'acs_disk',
+ ],
+ 'LogStore' => [
+ 'description' => 'Logstore corresponding to the log service.',
+ 'type' => 'string',
+ 'example' => 'alb_access_log',
+ ],
+ 'Id' => [
+ 'description' => 'Code.',
+ 'type' => 'string',
+ 'example' => 'be96c43d-b680-4ac5-aa21-1465e477e98f',
+ ],
+ 'Region' => [
+ 'description' => 'Region Id.',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"84AC6F0B-7945-466A-AA44-99BB5A561F86\\",\\n \\"Success\\": true,\\n \\"ParameterCount\\": \\"132\\",\\n \\"FailedParameterCount\\": \\"2\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"ContactParameters\\": {\\n \\"ContactParameter\\": [\\n {\\n \\"ContactGroupName\\": \\"云账号报警联系人\\",\\n \\"Id\\": 0,\\n \\"Level\\": \\"CRITICAL\\"\\n }\\n ]\\n },\\n \\"MnsParameters\\": {\\n \\"MnsParameter\\": [\\n {\\n \\"Queue\\": \\"spotmax-spot-interruption-notice\\",\\n \\"Id\\": 0,\\n \\"Region\\": \\"cn-hangzhou\\"\\n }\\n ]\\n },\\n \\"FcParameters\\": {\\n \\"FcParameter\\": [\\n {\\n \\"ServiceName\\": \\"esign-production-dba\\",\\n \\"FunctionName\\": \\"cdn_waf\\",\\n \\"Id\\": 0,\\n \\"Region\\": \\"cn-hangzhou\\"\\n }\\n ]\\n },\\n \\"FailedContactParameters\\": {\\n \\"ContactParameter\\": [\\n {\\n \\"ContactGroupName\\": \\"云账号报警联系人\\",\\n \\"Id\\": 0,\\n \\"Level\\": \\"CRITICAL\\"\\n }\\n ]\\n },\\n \\"FailedMnsParameters\\": {\\n \\"MnsParameter\\": [\\n {\\n \\"Queue\\": \\"spotmax-spot-interruption-notice\\",\\n \\"Id\\": 0,\\n \\"Region\\": \\"cn-hangzhou\\"\\n }\\n ]\\n },\\n \\"FailedFcParameters\\": {\\n \\"FcParameter\\": [\\n {\\n \\"ServiceName\\": \\"esign-production-dba\\",\\n \\"FunctionName\\": \\"dba-alert-severity\\",\\n \\"Id\\": 0,\\n \\"Region\\": \\"cn-hangzhou\\"\\n }\\n ]\\n },\\n \\"FailedSlsParameters\\": {\\n \\"FailedSlsParameter\\": [\\n {\\n \\"Project\\": \\"acs_disk\\",\\n \\"LogStore\\": \\"alb_access_log\\",\\n \\"Id\\": \\"be96c43d-b680-4ac5-aa21-1465e477e98f\\",\\n \\"Region\\": \\"cn-hangzhou\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'Set Event Targets',
+ 'translator' => 'machine',
+ ],
+ 'PutMetricRuleTargets' => [
+ 'summary' => 'PutMetricRuleTargets',
+ 'methods' => [
+ 'post',
+ 'get',
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RuleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Actions',
+ 'in' => 'formData',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Targets',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'Arn' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'Level' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'required' => true,
+ 'maxItems' => 5,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Success' => [
+ 'type' => 'boolean',
+ ],
+ 'FailData' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Targets' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Target' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => [
+ 'type' => 'string',
+ ],
+ 'Arn' => [
+ 'type' => 'string',
+ ],
+ 'Level' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 200 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'PutResourceMetricRule' => [
+ 'summary' => 'PutResourceMetricRule',
+ 'methods' => [
+ 'post',
+ 'get',
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RuleId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'RuleName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'MetricName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Resources',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'ContactGroups',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Webhook',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'EffectiveInterval',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'NoEffectiveInterval',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'SilenceTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'default' => '86400',
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'default' => '300',
+ ],
+ ],
+ [
+ 'name' => 'Interval',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'EmailSubject',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Escalations.Critical.Statistics',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Escalations.Critical.ComparisonOperator',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Escalations.Critical.Threshold',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Escalations.Critical.Times',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Escalations.Warn.Statistics',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Escalations.Warn.ComparisonOperator',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Escalations.Warn.Threshold',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Escalations.Warn.Times',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Escalations.Info.Statistics',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Escalations.Info.ComparisonOperator',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Escalations.Info.Threshold',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Escalations.Info.Times',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Success' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 204 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 206 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 406 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 499 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ 503 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'QueryCustomMetricList' => [
+ 'summary' => 'Query Custom Metric List',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Application group ID.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '24232',
+ ],
+ ],
+ [
+ 'name' => 'MetricName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Name of the monitoring item.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'GPUUtilization',
+ ],
+ ],
+ [
+ 'name' => 'Dimension',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Dimension filter condition, for example, k1=v1&k2=v2.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'sampleName1=value1&sampleName2=value2',
+ ],
+ ],
+ [
+ 'name' => 'Md5',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Unique value of project + groupId + metricName + dimension.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '97c25982d9745a231276bff27469****',
+ ],
+ ],
+ [
+ 'name' => 'Page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Page number. Default value: 1.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Page size.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'Status code. Note: 200 indicates success.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Return message.',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => 'The unique identifier generated by Alibaba Cloud for this request.',
+ 'type' => 'string',
+ 'example' => '109C8095-6FAD-4DBB-B013-6ED18CE4C0B1',
+ ],
+ 'Result' => [
+ 'description' => 'List of custom monitoring data.',
+ 'type' => 'string',
+ 'example' => '{\\"data\\":[],\\"param\\":{\\"metric\\":\\"{\\\\\\"groupId\\\\\\":242135xxx,\\\\\\"project\\\\\\":\\\\\\"acs_customMetric_1672753017899xxx\\\\\\",\\\\\\"status\\\\\\":1}\\",\\"service\\":\\"metric-center.aliyun-inc.com\\"}}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"109C8095-6FAD-4DBB-B013-6ED18CE4C0B1\\",\\n \\"Result\\": \\"{\\\\\\\\\\\\\\"data\\\\\\\\\\\\\\":[],\\\\\\\\\\\\\\"param\\\\\\\\\\\\\\":{\\\\\\\\\\\\\\"metric\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"{\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"groupId\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":242135xxx,\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"project\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"acs_customMetric_1672753017899xxx\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\",\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\"status\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\":1}\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"service\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"metric-center.aliyun-inc.com\\\\\\\\\\\\\\"}}\\"\\n}","type":"json"}]',
+ 'title' => 'Query Custom Metric List',
+ 'translator' => 'machine',
+ ],
+ 'QueryMetricData' => [
+ 'summary' => 'QueryMetricData',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Project',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'Metric',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Dimensions',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Express',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Length',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Datapoints' => [
+ 'type' => 'string',
+ ],
+ 'Period' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'QueryMetricTop' => [
+ 'summary' => 'QueryMetricTop',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Project',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'Metric',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Dimensions',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Orderby',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'OrderDesc',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Length',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Express',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Datapoints' => [
+ 'type' => 'string',
+ ],
+ 'Period' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'QueryProjectMeta' => [
+ 'summary' => 'Queries the list of time-series monitoring item products supported by cloud monitoring.',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Labels',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Filter by labels, the format is `[{"name":"label name","value":"label value"},{"name":"label name","value":"label value"}]`​.'."\n"
+ .'Supported label names include product and groupFlag.'."\n"
+ .'The value of the product label is the English name of the product. '."\n"
+ .'The groupFlag indicates whether the product supports application grouping, with a value of true or false​ .',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{\\"name\\":\\"product\\",\\"value\\":\\"MongoDB\\"]',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Pagination parameter, default is 1.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Maximum number of items per page, default is 30.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '30',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ErrorMessage' => [
+ 'description' => 'Error message.',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => 'Used for tracking.',
+ 'type' => 'string',
+ 'example' => 'D3DBF9F5-7C4D-4A67-B869-097C069C481D',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether this call was successful.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'Error code 200 indicates success.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Resources' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'Resource' => [
+ 'description' => 'List of ProjectMeta.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Project' => [
+ 'description' => 'The Project of the monitoring item, used for querying monitoring data.',
+ 'type' => 'string',
+ 'example' => 'acs_mongodb',
+ ],
+ 'Description' => [
+ 'description' => 'Description of the monitoring item.',
+ 'type' => 'string',
+ 'example' => 'ApsaraDB for MongoDB',
+ ],
+ 'Labels' => [
+ 'description' => '`[{"name":"label name","value":"label value"},{"name":"label name","value":"label value"}]`'."\n"
+ ."\n"
+ .'Supported label names include product and groupFlag.'."\n"
+ ."\n"
+ .'The value of the product label is the English name of the product.'."\n"
+ ."\n"
+ .'groupFlag indicates whether the product supports application grouping, with a value of true or false.',
+ 'type' => 'string',
+ 'example' => '[{\\"name\\":\\"product\\",\\"value\\":\\"MongoDB\\"]',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"ErrorMessage\\": \\"Success\\",\\n \\"RequestId\\": \\"D3DBF9F5-7C4D-4A67-B869-097C069C481D\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": \\"200\\",\\n \\"Resources\\": {\\n \\"Resource\\": [\\n {\\n \\"Project\\": \\"acs_mongodb\\",\\n \\"Description\\": \\"ApsaraDB for MongoDB\\",\\n \\"Labels\\": \\"[{\\\\\\\\\\\\\\"name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"product\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"value\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"MongoDB\\\\\\\\\\\\\\"]\\"\\n }\\n ]\\n }\\n}","errorExample":""},{"type":"xml","example":"<?xml version=\\"1.0\\" encoding=\\"UTF-8\\" ?>\\n\\t<RequestId>D3DBF9F5-7C4D-4A67-B869-097C069C481D</RequestId>\\n\\t<ErrorCode>200</ErrorCode>\\n\\t<Success>true</Success>\\n\\t<Resources>\\n\\t\\t<Resource>\\n\\t\\t\\t<Description>AnalyticDB</Description>\\n\\t\\t\\t<Labels>[{&quot;name&quot;:&quot;product&quot;,&quot;value&quot;:&quot;ADS&quot;},{&quot;name&quot;:&quot;groupFlag&quot;,&quot;value&quot;:&quot;true&quot;}]</Labels>\\n\\t\\t\\t<Project>acs_ads</Project>\\n\\t\\t</Resource>\\n\\t\\t<Resource>\\n\\t\\t\\t<Description>API Gateway</Description>\\n\\t\\t\\t<Labels>[{&quot;name&quot;:&quot;product&quot;,&quot;value&quot;:&quot;APIGateway&quot;},{&quot;name&quot;:&quot;groupFlag&quot;,&quot;value&quot;:&quot;true&quot;}]</Labels>\\n\\t\\t\\t<Project>acs_apigateway_dashboard</Project>\\n\\t\\t</Resource>\\n\\t\\t<Resource>\\n\\t\\t\\t<Description>Internet Shared Bandwidth</Description>\\n\\t\\t\\t<Labels>[{&quot;name&quot;:&quot;product&quot;,&quot;value&quot;:&quot;InternetSharedBandwidth&quot;},{&quot;name&quot;:&quot;groupFlag&quot;,&quot;value&quot;:&quot;true&quot;}]</Labels>\\n\\t\\t\\t<Project>acs_bandwidth_package</Project>\\n\\t\\t</Resource>\\n\\t\\t<Resource>\\n\\t\\t\\t<Description>CDN</Description>\\n\\t\\t\\t<Labels>[{&quot;name&quot;:&quot;product&quot;,&quot;value&quot;:&quot;CDN&quot;},{&quot;name&quot;:&quot;groupFlag&quot;,&quot;value&quot;:&quot;true&quot;}]</Labels>\\n\\t\\t\\t<Project>acs_cdn</Project>\\n\\t\\t</Resource>\\n\\t\\t<Resource>\\n\\t\\t\\t<Description>Cloud Enterprise Network</Description>\\n\\t\\t\\t<Labels>[{&quot;name&quot;:&quot;product&quot;,&quot;value&quot;:&quot;CEN&quot;},{&quot;name&quot;:&quot;groupFlag&quot;,&quot;value&quot;:&quot;false&quot;}]</Labels>\\n\\t\\t\\t<Project>acs_cen</Project>\\n\\t\\t</Resource>\\n\\t</Resources>\\n\\t\\n","errorExample":"\\n{\\n\\"RequestId\\": \\"D3DBF9F5-7C4D-4A67-B869-097C069C481D\\",\\n\\"ErrorCode\\": 200,\\n\\"Success\\": true,\\n\\"Resources\\": {\\n\\"Resource\\": [\\n{\\n\\"Description\\": \\"AnalyticDB\\",\\n\\"Labels\\": \\"[{\\\\\\"name\\\\\\":\\\\\\"product\\\\\\",\\\\\\"value\\\\\\":\\\\\\"ADS\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"groupFlag\\\\\\",\\\\\\"value\\\\\\":\\\\\\"true\\\\\\"}]\\",\\n\\"Project\\": \\"acs_ads\\"\\n},\\n{\\n\\"Description\\": \\"API Gateway\\",\\n\\"Labels\\": \\"[{\\\\\\"name\\\\\\":\\\\\\"product\\\\\\",\\\\\\"value\\\\\\":\\\\\\"APIGateway\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"groupFlag\\\\\\",\\\\\\"value\\\\\\":\\\\\\"true\\\\\\"}]\\",\\n\\"Project\\": \\"acs_apigateway_dashboard\\"\\n},\\n{\\n\\"Description\\": \\"Internet Shared Bandwidth\\",\\n\\"Labels\\": \\"[{\\\\\\"name\\\\\\":\\\\\\"product\\\\\\",\\\\\\"value\\\\\\":\\\\\\"InternetSharedBandwidth\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"groupFlag\\\\\\",\\\\\\"value\\\\\\":\\\\\\"true\\\\\\"}]\\",\\n\\"Project\\": \\"acs_bandwidth_package\\"\\n},\\n{\\n\\"Description\\": \\"CDN\\",\\n\\"Labels\\": \\"[{\\\\\\"name\\\\\\":\\\\\\"product\\\\\\",\\\\\\"value\\\\\\":\\\\\\"CDN\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"groupFlag\\\\\\",\\\\\\"value\\\\\\":\\\\\\"true\\\\\\"}]\\",\\n\\"Project\\": \\"acs_cdn\\"\\n},\\n{\\n\\"Description\\": \\"Cloud Enterprise Network\\",\\n\\"Labels\\": \\"[{\\\\\\"name\\\\\\":\\\\\\"product\\\\\\",\\\\\\"value\\\\\\":\\\\\\"CEN\\\\\\"},{\\\\\\"name\\\\\\":\\\\\\"groupFlag\\\\\\",\\\\\\"value\\\\\\":\\\\\\"false\\\\\\"}]\\",\\n\\"Project\\": \\"acs_cen\\"\\n}\\n]\\n}\\n}"}]',
+ 'title' => 'QueryProjectMeta',
+ 'description' => 'Usually used in conjunction with the QueryMetricMeta interface for querying monitoring items and the QueryMetricList/QueryMetricLast interfaces for querying monitoring data.'."\n"
+ .'## Request Type '."\n"
+ .'POST|GET '."\n"
+ .' ',
+ 'translator' => 'machine',
+ ],
+ 'QueryStaticsAvailability' => [
+ 'summary' => 'Query Static Availability',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Availability monitoring task ID.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ ],
+ [
+ 'name' => 'TimeRange',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Statistical period.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1440',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'Status code.'."\n"
+ .'>200 indicates success.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Return message.',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'Data' => [
+ 'description' => 'Returned availability metric data.',
+ 'type' => 'string',
+ 'example' => '[]',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => 'A80DB41C-AF6C-50E1-ADB5-66DCBA3D266B',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ ."\n"
+ .'- false: Failure.',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameterValue',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'You are not authorized to operate the specified resource.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success\\",\\n \\"Data\\": \\"[]\\",\\n \\"RequestId\\": \\"A80DB41C-AF6C-50E1-ADB5-66DCBA3D266B\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
+ 'title' => 'Query Static Availability',
+ 'translator' => 'machine',
+ ],
+ 'QueryStaticsResponseTime' => [
+ 'summary' => 'Query Static Response Time',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Task ID.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '123',
+ ],
+ ],
+ [
+ 'name' => 'TimeRange',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Response time range.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '1440',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'Status code.'."\n"
+ .'>200 indicates success.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Return message.',
+ 'type' => 'string',
+ 'example' => 'User not authorized to operate on the specified resource.',
+ ],
+ 'Data' => [
+ 'description' => 'Return data.',
+ 'type' => 'string',
+ 'example' => '[]',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => '06D5ECC2-B9BE-42A4-8FA3-1A610FB08B83',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ ."\n"
+ .'- false: Failure.',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameterValue',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'You are not authorized to operate the specified resource.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"User not authorized to operate on the specified resource.\\",\\n \\"Data\\": \\"[]\\",\\n \\"RequestId\\": \\"06D5ECC2-B9BE-42A4-8FA3-1A610FB08B83\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
+ 'title' => 'Query Static Response Time',
+ 'translator' => 'machine',
+ ],
+ 'QuerySystemEventCount' => [
+ 'summary' => 'QuerySystemEventCount',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'QueryJson',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Query conditions',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '{\\"timeEnd\\":1745461671353,\\"timeStart\\":1745375271353,\\"level\\":\\"WARN\\"}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'Status code.'."\n"
+ ."\n"
+ .'> 200 indicates success.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Return message.',
+ 'type' => 'string',
+ 'example' => '( (userId:5024495213896020) ) and ( (level:WARN) )',
+ ],
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'string',
+ 'example' => '[{"Maximum":247,"Mimimum":61,"Average":154,"userId":"127067667954****","taskId":"49f7b317-7645-4cc9-94fd-ea42e522****","timestamp":1551581760000}]',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of this call request, which is a unique identifier generated by Alibaba Cloud for the request and can be used to troubleshoot and locate issues.',
+ 'type' => 'string',
+ 'example' => '282127F4-2F58-5DE6-88CE-B71BDD085E8B',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ ."\n"
+ .'- false: Failure.',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Parameter invalid.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"( (userId:5024495213896020) ) and ( (level:WARN) )\\",\\n \\"Data\\": \\"[{\\\\\\"Maximum\\\\\\":247,\\\\\\"Mimimum\\\\\\":61,\\\\\\"Average\\\\\\":154,\\\\\\"userId\\\\\\":\\\\\\"127067667954****\\\\\\",\\\\\\"taskId\\\\\\":\\\\\\"49f7b317-7645-4cc9-94fd-ea42e522****\\\\\\",\\\\\\"timestamp\\\\\\":1551581760000}]\\",\\n \\"RequestId\\": \\"282127F4-2F58-5DE6-88CE-B71BDD085E8B\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
+ 'title' => 'Query System Event Count',
+ 'translator' => 'machine',
+ ],
+ 'QuerySystemEventDemo' => [
+ 'summary' => 'System Event Query Demo',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Product',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the cloud service for the event.',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'ECS',
+ ],
+ ],
+ [
+ 'name' => 'EventName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'The name of the event.',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => 'Agent_Status_Stopped',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'Status code. Note that 200 indicates success.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Return message.',
+ 'type' => 'string',
+ 'example' => 'successful',
+ ],
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'string',
+ 'example' => '{"count":1}',
+ ],
+ 'RequestId' => [
+ 'description' => 'The ID of the request, used for locating logs and troubleshooting issues.',
+ 'type' => 'string',
+ 'example' => '90117AC0-01F8-562C-B8F3-17E4D81743AC',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful, with values: '."\n"
+ .'- `true`: Success'."\n"
+ .'- `false`: Failure',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\",\\n \\"Data\\": \\"{\\\\\\"count\\\\\\":1}\\",\\n \\"RequestId\\": \\"90117AC0-01F8-562C-B8F3-17E4D81743AC\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
+ 'title' => 'System Event Query Demo',
+ 'translator' => 'machine',
+ ],
+ 'QueryTaskConfig' => [
+ 'summary' => 'Query Task Configuration',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => 'Request failure status code, 200 indicates success, non-200 indicates failure.',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => 'Return message.',
+ 'type' => 'string',
+ 'example' => 'The request has failed due to a temporary failure of the server.',
+ ],
+ 'Data' => [
+ 'description' => 'Returned data.',
+ 'type' => 'string',
+ 'example' => '[]',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => '68192f5d-0d45-4b98-9724-892813f86c71',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ ."\n"
+ .'- false: Failure.'."\n",
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameterValue',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'You are not authorized to operate the specified resource.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"The request has failed due to a temporary failure of the server.\\",\\n \\"Data\\": \\"[]\\",\\n \\"RequestId\\": \\"68192f5d-0d45-4b98-9724-892813f86c71\\",\\n \\"Success\\": \\"true\\"\\n}","type":"json"}]',
+ 'title' => 'Query Task Configuration',
+ 'translator' => 'machine',
+ ],
+ 'QueryTaskMonitorData' => [
+ 'summary' => 'QueryTaskMonitorData',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'Type',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'metricName',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Cursor',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Length',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Cursor' => [
+ 'type' => 'string',
+ ],
+ 'Data' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ 'Success' => [
+ 'type' => 'string',
+ ],
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'TraceId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameterValue',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'Forbidden',
+ 'errorMessage' => 'You are not authorized to operate the specified resource.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => null,
+ ],
+ 'TaskConfigList' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'GroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Application group ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '92****',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Monitoring task ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'example' => '123****',
+ ],
+ ],
+ [
+ 'name' => 'TaskName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Task name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'task2',
+ ],
+ ],
+ [
+ 'name' => 'PageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Number of records per page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ErrorMessage' => [
+ 'description' => 'Error message.',
+ 'type' => 'string',
+ 'example' => 'MissingInstanceId',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => 'BF120AD5-7D14-5EF6-8118-E3C2BCF849E1',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'Request failure status code, 200 for success, non-200 for failure.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ ."\n"
+ .'- false: Failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'PageTotal' => [
+ 'description' => 'Total number of pages.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '50',
+ ],
+ 'PageNumber' => [
+ 'description' => 'Page number.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'PageSize' => [
+ 'description' => 'Number of records per page.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ 'Total' => [
+ 'description' => 'Total number of records.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '100',
+ ],
+ 'TaskList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'NodeTaskConfig' => [
+ 'description' => 'Task configuration information.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskType' => [
+ 'description' => 'Monitoring task type.',
+ 'type' => 'string',
+ 'example' => 'PING',
+ ],
+ 'JsonData' => [
+ 'description' => 'Configuration information.',
+ 'type' => 'string',
+ 'example' => '[]',
+ ],
+ 'GroupName' => [
+ 'description' => 'Application group name.',
+ 'type' => 'string',
+ 'example' => 'test-monitor-group-1758247893736-modified',
+ ],
+ 'GroupId' => [
+ 'description' => 'Application group ID.'."\n"
+ ."\n"
+ .'For more information on how to obtain the application group ID, see [DescribeMonitorGroups](~~115032~~).',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123******',
+ ],
+ 'TaskName' => [
+ 'description' => 'Monitoring task name.'."\n"
+ ."\n"
+ .'For more information on how to obtain the monitoring task ID, see [DescribeHybridMonitorTaskList](~~428624~~).',
+ 'type' => 'string',
+ 'example' => 'ft-task-20190101N***',
+ ],
+ 'Disabled' => [
+ 'description' => 'Indicates whether the monitoring task is disabled. Values:'."\n"
+ .'- true: Disabled.'."\n"
+ ."\n"
+ .'- false: Enabled.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'AlertConfig' => [
+ 'description' => 'Alert configuration.',
+ 'type' => 'string',
+ 'example' => '[]',
+ ],
+ 'TaskScope' => [
+ 'description' => 'Task detection scope.',
+ 'type' => 'string',
+ 'example' => '*',
+ ],
+ 'Id' => [
+ 'description' => 'Task ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '123***',
+ ],
+ 'InstanceList' => [
+ 'type' => 'object',
+ 'itemNode' => true,
+ 'properties' => [
+ 'String' => [
+ 'description' => 'Instance list.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Instance list.',
+ 'type' => 'string',
+ 'example' => 'i-x12er****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ErrorMessage\\": \\"MissingInstanceId\\",\\n \\"RequestId\\": \\"BF120AD5-7D14-5EF6-8118-E3C2BCF849E1\\",\\n \\"ErrorCode\\": 200,\\n \\"Success\\": true,\\n \\"PageTotal\\": 50,\\n \\"PageNumber\\": 1,\\n \\"PageSize\\": 10,\\n \\"Total\\": 100,\\n \\"TaskList\\": {\\n \\"NodeTaskConfig\\": [\\n {\\n \\"TaskType\\": \\"PING\\",\\n \\"JsonData\\": \\"[]\\",\\n \\"GroupName\\": \\"test-monitor-group-1758247893736-modified\\",\\n \\"GroupId\\": 0,\\n \\"TaskName\\": \\"ft-task-20190101N***\\",\\n \\"Disabled\\": true,\\n \\"AlertConfig\\": \\"[]\\",\\n \\"TaskScope\\": \\"*\\",\\n \\"Id\\": 0,\\n \\"InstanceList\\": {\\n \\"String\\": [\\n \\"i-x12er****\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ 'title' => 'List Monitoring Task Configurations',
+ 'summary' => 'Query the list of site monitoring configurations',
+ 'translator' => 'machine',
+ ],
+ 'UpdateAlarm' => [
+ 'summary' => 'UpdateAlarm',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test_modify',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '576fbae7-2fd1-411a-ae13-6f09f4fafdde',
+ ],
+ ],
+ [
+ 'name' => 'Period',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '60',
+ ],
+ ],
+ [
+ 'name' => 'Statistics',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Average',
+ ],
+ ],
+ [
+ 'name' => 'ComparisonOperator',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => true,
+ 'example' => '>',
+ ],
+ ],
+ [
+ 'name' => 'Threshold',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'docRequired' => true,
+ 'example' => '40',
+ ],
+ ],
+ [
+ 'name' => 'ContactGroups',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '0',
+ ],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '24',
+ ],
+ ],
+ [
+ 'name' => 'SilenceTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '86400',
+ ],
+ ],
+ [
+ 'name' => 'EvaluationCount',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '3',
+ ],
+ ],
+ [
+ 'name' => 'NotifyType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'Webhook',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'http://www.net.cn/example_callback.htm',
+ ],
+ ],
+ [
+ 'name' => 'DryRun',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '945B9183-95C0-44FF-B30C-9ED37D44F6DC',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => '%s',
+ 'errorMessage' => '%s',
+ ],
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"945B9183-95C0-44FF-B30C-9ED37D44F6DC\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<UpdateAlarmResponse>\\r\\n <RequestId>C08FADC4-CFDB-42F7-B9B8-0ED5391CD084</RequestId>\\r\\n <Success>true</Success>\\r\\n <Code>200</Code>\\r\\n</UpdateAlarmResponse>","errorExample":""}]',
+ 'title' => 'UpdateAlarm',
+ ],
+ 'UpdateMonitoringTemplate' => [
+ 'summary' => 'Update Monitoring Template',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'high',
+ 'chargeType' => 'free',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Template name.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '常用基础模板',
+ ],
+ ],
+ [
+ 'name' => 'AlertTemplatesJson',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Alert template.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '{"rds":[{"displayName":"rds_rule_1111","category":"rds","namespace":"acs_rds_dashboard","metricName":"CpuUsage","selector":{},"escalations":{"critical":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"99","times":3},"warn":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"98","times":3}}}],"ecs":[{"displayName":"ecs_rule1111","category":"ecs","namespace":"acs_ecs_dashboard","metricName":"cpu_total","selector":{},"escalations":{"critical":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"99","times":5}}},{"displayName":"ecs_rule2222","category":"ecs","namespace":"acs_ecs_dashboard","metricName":"cpu_idle","selector":{},"escalations":{"critical":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"9999","times":3},"warn":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"89","times":4}}}],"mongodb":[{"displayName":"mongodb11","category":"mongodb","namespace":"acs_mongodb","metricName":"CPUUtilization","selector":{},"escalations":{"critical":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"11111","times":3}}}],"mongodb_cluster":[{"displayName":"mongodb_cluster_t1","category":"mongodb_cluster","namespace":"acs_mongodb","metricName":"ShardingQPS","selector":{},"escalations":{"critical":{"statistics":"Average","comparisonOperator":"GreaterThanOrEqualToThreshold","threshold":"9999999","times":3}}}]}',
+ ],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Template description.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Description',
+ ],
+ ],
+ [
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Template ID.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '1097583',
+ ],
+ ],
+ [
+ 'name' => 'RestVersion',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Data version number.',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '9',
+ ],
+ ],
+ [
+ 'name' => 'SystemEventTemplates',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'System event template.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"alertName":"WAF_Event","description":"WAF_Event","eventPattern":{"eventType":["*"],"levelList":["*"],"nameList":["*"],"product":"waf"},"fcParameterList":[],"mnsParameterList":[],"notifyLevel":3,"slsParameterList":[],"webhookParameterList":[]}]',
+ ],
+ ],
+ [
+ 'name' => 'ProcessMonitorTemplates',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Process monitoring template.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"alert":{"comparisonOperator":"LessThanThreshold","escalationsLevel":"critical","silenceTime":0,"statistics":"Average","templateAlert":false,"threshold":"2","times":1},"matchExpress":{"filterRelation":"and","filters":[{"function":"all","name":"name","value":"*"}]},"processName":"FineBI"}]',
+ ],
+ ],
+ [
+ 'name' => 'HostAvailabilityTemplate',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => 'Availability monitoring template.',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '[{"alert":{"escalationList":[{"aggregate":"Value","metric":"TelnetStatus","operator":">","times":3,"value":"400"},{"aggregate":"Average","metric":"TelnetLatency","operator":">","times":3,"value":"500"}],"notifyType":1,"silenceTime":86400},"taskName":"telnet","taskOption":{"method":"HEAD","negative":true,"resposeCharset":"utf-8","uri":"telnet://xxx.com"},"taskType":"TELNET"},{"alert":{"escalationList":[{"aggregate":"Value","metric":"TelnetStatus","operator":">","times":3,"value":"400"},{"aggregate":"Average","metric":"TelnetLatency","operator":">","times":3,"value":"500"}],"notifyType":1,"silenceTime":86400},"taskName":"bbbbbbbbbb","taskOption":{"method":"HEAD","negative":true,"resposeCharset":"utf-8","uri":"telnet://xxx.com"},"taskType":"TELNET"}]',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ErrorMessage' => [
+ 'description' => 'Error message.',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'RequestId' => [
+ 'description' => 'Request ID.',
+ 'type' => 'string',
+ 'example' => '987CC16C-D1E4-5EB1-A1CD-27906161EFFA',
+ ],
+ 'Success' => [
+ 'description' => 'Indicates whether the operation was successful. Values:'."\n"
+ ."\n"
+ .'- true: Success.'."\n"
+ ."\n"
+ .'- false: Failure.',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'ErrorCode' => [
+ 'description' => 'Error code, 200 indicates success, other values indicate failure.',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '200',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'AccessForbidden',
+ 'errorMessage' => 'User not authorized to operate on the specified resource.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 409 => [
+ [
+ 'errorCode' => 'ResourceConflict',
+ 'errorMessage' => 'Concurrent modification of resources.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ErrorMessage\\": \\"Success\\",\\n \\"RequestId\\": \\"987CC16C-D1E4-5EB1-A1CD-27906161EFFA\\",\\n \\"Success\\": true,\\n \\"ErrorCode\\": 200\\n}","type":"json"}]',
+ 'title' => 'Update Monitoring Template',
+ 'translator' => 'machine',
+ ],
+ 'GetLogColumnTranslateResult' => [
+ 'summary' => '获取日期提取结果的翻译',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ColumnValue',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'TranslateConfig',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'type' => 'string',
+ ],
+ 'Resource' => [
+ 'type' => 'string',
+ ],
+ 'Success' => [
+ 'type' => 'boolean',
+ ],
+ 'ErrorCode' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'Code' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'ErrorMessage' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameterValue',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'The parameter is missing or invalid. %s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'InvalidAuthorization',
+ 'errorMessage' => 'Permission denied',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 429 => [
+ [
+ 'errorCode' => 'ResourceOverLimit',
+ 'errorMessage' => 'The resource has exceeded the limit. %s',
+ ],
+ ],
+ ],
+ ],
+ 'GetLineSplitResult' => [
+ 'summary' => '获取行切分结果',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'SplitType',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '切分类型',
+ 'type' => 'string',
+ 'example' => 'simple|regex',
+ ],
+ ],
+ [
+ 'name' => 'Line',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '需要提取的行',
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'Prefix',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '已经完成提取的部分',
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'SelectContent',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '提取的内容',
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'Regex',
+ 'in' => 'query',
+ 'schema' => [
+ 'title' => '提取完成的正则表达式',
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'type' => 'string',
+ ],
+ 'Success' => [
+ 'type' => 'boolean',
+ ],
+ 'ErrorCode' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'Code' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'ErrorMessage' => [
+ 'type' => 'string',
+ ],
+ 'Resource' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'StartSplitSymbol' => [
+ 'type' => 'string',
+ ],
+ 'EndSplitSymbol' => [
+ 'type' => 'string',
+ ],
+ 'StartSplitSymbolIndex' => [
+ 'type' => 'integer',
+ 'format' => 'int64',
+ ],
+ 'Regex' => [
+ 'type' => 'string',
+ ],
+ 'AdditionalRegex' => [
+ 'type' => 'string',
+ ],
+ 'RegexSplitResult' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameterValue',
+ 'errorMessage' => 'Illegal parameters.',
+ ],
+ [
+ 'errorCode' => 'ParameterInvalid',
+ 'errorMessage' => 'The parameter is missing or invalid. %s',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'InvalidAuthorization',
+ 'errorMessage' => 'Permission denied',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'ResourceNotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 429 => [
+ [
+ 'errorCode' => 'ResourceOverLimit',
+ 'errorMessage' => 'The resource has exceeded the limit. %s',
+ ],
+ ],
+ ],
+ ],
+ 'DeleteHybridDoubleWrite' => [
+ 'summary' => '删除双写配置',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'SourceUserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12706766********',
+ ],
+ ],
+ [
+ 'name' => 'SourceNamespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test-source',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '6F815BDC-9063-5417-BA88-E1BBD84BAA1E',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameter',
+ 'errorMessage' => '%s is missing or invalid.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'InvalidAuthorization',
+ 'errorMessage' => 'InvalidAuthorization.',
+ ],
+ [
+ 'errorCode' => 'NotAuthSLR',
+ 'errorMessage' => 'You are not authorized role AliyunServiceRoleForCloudMonitor.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'NotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalUnknownError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6F815BDC-9063-5417-BA88-E1BBD84BAA1E\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'CreateHybridDoubleWrite' => [
+ 'summary' => '创建双写配置',
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test-target',
+ ],
+ ],
+ [
+ 'name' => 'SourceUserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12706766********',
+ ],
+ ],
+ [
+ 'name' => 'SourceNamespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test-source',
+ ],
+ ],
+ [
+ 'name' => 'UserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => true,
+ 'example' => '12706766********',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'FAAC3C5D-00BF-543A-9E08-FAAC3C5D',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'success',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameter',
+ 'errorMessage' => '%s is missing or invalid.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'InvalidAuthorization',
+ 'errorMessage' => 'InvalidAuthorization.',
+ ],
+ [
+ 'errorCode' => 'NotAuthSLR',
+ 'errorMessage' => 'You are not authorized role AliyunServiceRoleForCloudMonitor.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'NotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalUnknownError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FAAC3C5D-00BF-543A-9E08-FAAC3C5D\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'DescribeHybridDoubleWrite' => [
+ 'summary' => '查询本数据源被双写到哪里',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'systemTags' => [],
+ 'parameters' => [
+ [
+ 'name' => 'SourceNamespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test-source',
+ ],
+ ],
+ [
+ 'name' => 'SourceUserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '12706766**********',
+ ],
+ ],
+ [
+ 'name' => 'TargetUserId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ [
+ 'name' => 'TargetNamespace',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7985D471-3FA8-4EE9-8F4B-45C19DF3D36F',
+ ],
+ 'Code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '200',
+ ],
+ 'Message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Success',
+ ],
+ 'Success' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'Result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '11234766**********',
+ ],
+ 'Namespace' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test-target',
+ ],
+ 'SourceUserId' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '12706766**********',
+ ],
+ 'SourceNamespace' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test-source',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ [
+ 'errorCode' => 'InvalidParameter',
+ 'errorMessage' => '%s is missing or invalid.',
+ ],
+ ],
+ 403 => [
+ [
+ 'errorCode' => 'InvalidAuthorization',
+ 'errorMessage' => 'InvalidAuthorization.',
+ ],
+ [
+ 'errorCode' => 'NotAuthSLR',
+ 'errorMessage' => 'You are not authorized role AliyunServiceRoleForCloudMonitor.',
+ ],
+ ],
+ [
+ [
+ 'errorCode' => 'NotFound',
+ 'errorMessage' => 'The specified resource is not found.',
+ ],
+ ],
+ 500 => [
+ [
+ 'errorCode' => 'InternalUnknownError',
+ 'errorMessage' => 'The request processing has failed due to some unknown error.',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7985D471-3FA8-4EE9-8F4B-45C19DF3D36F\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"Success\\",\\n \\"Success\\": \\"true\\",\\n \\"Result\\": [\\n {\\n \\"UserId\\": 0,\\n \\"Namespace\\": \\"test-target\\",\\n \\"SourceUserId\\": 0,\\n \\"SourceNamespace\\": \\"test-source\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-qingdao',
+ 'endpoint' => 'cms.cn-qingdao.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'cms.cn-beijing.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhangjiakou',
+ 'endpoint' => 'cms.cn-zhangjiakou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhengzhou-jva',
+ 'endpoint' => 'metrics.cn-zhengzhou-jva.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-huhehaote',
+ 'endpoint' => 'metrics.cn-huhehaote.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-wulanchabu',
+ 'endpoint' => 'metrics.cn-wulanchabu.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'metrics.cn-hangzhou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'metrics.cn-shanghai.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-nanjing',
+ 'endpoint' => 'metrics.cn-nanjing.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-fuzhou',
+ 'endpoint' => 'metrics.cn-fuzhou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen',
+ 'endpoint' => 'metrics.cn-shenzhen.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-heyuan',
+ 'endpoint' => 'metrics.cn-heyuan.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-guangzhou',
+ 'endpoint' => 'metrics.cn-guangzhou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-chengdu',
+ 'endpoint' => 'metrics.cn-chengdu.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-wuhan-lr',
+ 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hongkong',
+ 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-northeast-1',
+ 'endpoint' => 'metrics.ap-northeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-northeast-2',
+ 'endpoint' => 'metrics.ap-northeast-2.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-1',
+ 'endpoint' => 'metrics.ap-southeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-2',
+ 'endpoint' => 'metrics.ap-southeast-2.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-3',
+ 'endpoint' => 'metrics.ap-southeast-3.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-5',
+ 'endpoint' => 'cms.ap-southeast-5.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-6',
+ 'endpoint' => 'metrics.ap-southeast-6.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-southeast-7',
+ 'endpoint' => 'metrics.ap-southeast-7.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-zhongwei',
+ 'endpoint' => 'metrics.cn-zhongwei.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-east-1',
+ 'endpoint' => 'metrics.us-east-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-west-1',
+ 'endpoint' => 'metrics.us-west-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-west-1',
+ 'endpoint' => 'metrics.eu-west-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'eu-central-1',
+ 'endpoint' => 'metrics.eu-central-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'na-south-1',
+ 'endpoint' => 'metrics.na-south-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'us-southeast-1',
+ 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'ap-south-1',
+ 'endpoint' => 'metrics.ap-south-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'me-east-1',
+ 'endpoint' => 'metrics.me-east-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'me-central-1',
+ 'endpoint' => 'metrics.me-central-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-hangzhou-finance',
+ 'endpoint' => 'cms.cn-hangzhou-finance.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai-finance-1',
+ 'endpoint' => 'metrics.cn-shanghai-finance-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen-finance-1',
+ 'endpoint' => 'metrics.cn-shenzhen-finance-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing-finance-1',
+ 'endpoint' => 'metrics.cn-beijing-finance-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-heyuan-acdr-1',
+ 'endpoint' => 'metrics.cn-heyuan-acdr-1.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-north-2-gov-1',
+ 'endpoint' => 'metrics.cn-north-2-gov-1.aliyuncs.com',
+ ],
+ ],
+];