diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 17:11:17 +0800 |
| commit | 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch) | |
| tree | 5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/cms/2018-03-08/api-docs.php | |
| parent | 7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff) | |
| download | afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip | |
update APIs 20260712
Diffstat (limited to 'data/en_us/cms/2018-03-08/api-docs.php')
| -rw-r--r-- | data/en_us/cms/2018-03-08/api-docs.php | 9720 |
1 files changed, 1920 insertions, 7800 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 index 2ca2f26..7993a2f 100644 --- a/data/en_us/cms/2018-03-08/api-docs.php +++ b/data/en_us/cms/2018-03-08/api-docs.php @@ -1,89 +1,22 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Cms', - 'version' => '2018-03-08', - ], + 'info' => ['style' => 'RPC', 'product' => 'Cms', 'version' => '2018-03-08'], 'directories' => [ [ 'id' => 59537, 'title' => null, 'type' => 'directory', - 'children' => [ - 'QueryMetricLast', - 'QueryMetricMeta', - 'QueryMetricList', - ], + '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', + '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', ], ], ], @@ -93,133 +26,71 @@ 'apis' => [ 'QueryMetricLast' => [ 'summary' => 'Query the latest monitoring data for a specified monitoring item', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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"}]', - ], + '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', - ], + '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', - ], + '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', - ], + '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\\"]}', - ], + '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' => [ @@ -227,69 +98,29 @@ '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', - ], + '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.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -298,85 +129,48 @@ ], 'QueryMetricMeta' => [ 'summary' => 'Queries the descriptions of time-series monitoring items that are open to cloud monitoring.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'tenantRelevance' => 'publicInformation', - ], + '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', - ], + '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\\":\\"%\\"}]', - ], + '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', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => 'Maximum number of items per page, default is 30.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30'], ], ], 'responses' => [ @@ -384,26 +178,10 @@ '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', - ], + '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, @@ -414,54 +192,22 @@ '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', - ], + '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'], ], ], ], @@ -473,28 +219,16 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterInvalid', - 'errorMessage' => 'Illegal parameters.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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>[{"name":"minAlertPeriod","value":"60"},{"name":"metricCategory","value":"role"},{"name":"is_alarm","value":"true"}]</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>[{"name":"minAlertPeriod","value":"60"},{"name":"metricCategory","value":"role"},{"name":"is_alarm","value":"true"}]</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>[{"name":"alertUnit","value":"Count"},{"name":"minAlertPeriod","value":"60"},{"name":"metricCategory","value":"port"},{"name":"is_alarm","value":"true"}]</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>[{"name":"alertUnit","value":"count"},{"name":"minAlertPeriod","value":"60"}]</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>[{"name":"alertUnit","value":"Count"},{"name":"minAlertPeriod","value":"300"},{"name":"metricCategory","value":"queue"},{"name":"is_alarm","value":"true"}]</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}"}]', @@ -507,119 +241,62 @@ ], 'QueryMetricList' => [ 'summary' => 'Query the monitoring data of a specified product instance over a period of time.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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"}]', - ], + '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', - ], + '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', - ], + '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\\"]}', - ], + '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' => [ @@ -627,69 +304,29 @@ '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', - ], + '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.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -698,34 +335,20 @@ ], 'AccessKeyGet' => [ 'summary' => 'AccessKeyGet', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], ], 'responses' => [ @@ -733,104 +356,54 @@ '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', - ], + '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.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + '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', - ], + '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\\"}]', - ], + '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' => [ @@ -838,71 +411,33 @@ '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', - ], + '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', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => '%s', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => '%s'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => '%s', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => '%s'], ], 409 => [ - [ - 'errorCode' => 'ResourceConflict', - 'errorMessage' => '%s', - ], - [ - 'errorCode' => 'ResourceExist', - 'errorMessage' => '%s', - ], + ['errorCode' => 'ResourceConflict', 'errorMessage' => '%s'], + ['errorCode' => 'ResourceExist', 'errorMessage' => '%s'], ], 412 => [ - [ - 'errorCode' => 'ResourcesOverLimit', - 'errorMessage' => '%s', - ], + ['errorCode' => 'ResourcesOverLimit', 'errorMessage' => '%s'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => '%s', - ], + ['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"}]', @@ -911,204 +446,95 @@ ], 'CreateAlarm' => [ 'summary' => 'CreateAlarm', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'abc', - ], + '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', - ], + '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', - ], + '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 "}]', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Average'], ], [ 'name' => 'ComparisonOperator', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '>', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '>'], ], [ 'name' => 'Threshold', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '90', - ], + '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', - ], + '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' => '', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], ], 'responses' => [ @@ -1116,63 +542,28 @@ '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', - ], + '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', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - '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.', - ], + ['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>"}]', @@ -1180,95 +571,50 @@ ], 'CreateMonitoringTemplate' => [ 'summary' => 'Create a monitoring template', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'Monitoring template name.', - 'type' => 'string', - 'required' => true, - 'example' => 'Monitor_Template', - ], + '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", - ], + '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}}}]}', - ], + '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', - ], + '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":[]}]', - ], + '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"}]', - ], + '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"}]', - ], + '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' => [ @@ -1276,75 +622,35 @@ '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', - ], + '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.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 409 => [ - [ - 'errorCode' => 'ResourceConflict', - 'errorMessage' => 'Concurrent modification of resources.', - ], - [ - 'errorCode' => 'ResourceExist', - 'errorMessage' => 'Resources already exist.', - ], + ['errorCode' => 'ResourceConflict', 'errorMessage' => 'Concurrent modification of resources.'], + ['errorCode' => 'ResourceExist', 'errorMessage' => 'Resources already exist.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => '%s', - ], + ['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"}]', @@ -1353,88 +659,47 @@ ], 'CreateMyGroups' => [ 'summary' => 'Create Personal Application Group', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + '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', - ], + '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', - ], + '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****', - ], + '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', - ], + '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' => '[]', - ], + 'schema' => ['description' => 'Alarm contact group.', 'type' => 'string', 'required' => false, 'example' => '[]'], ], [ 'name' => 'Options', 'in' => 'query', - 'schema' => [ - 'description' => 'Advanced settings.', - 'type' => 'string', - 'required' => false, - 'example' => '[]', - ], + 'schema' => ['description' => 'Advanced settings.', 'type' => 'string', 'required' => false, 'example' => '[]'], ], ], 'responses' => [ @@ -1442,81 +707,38 @@ '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', - ], + '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.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 409 => [ - [ - 'errorCode' => 'ResourceConflict', - 'errorMessage' => 'Concurrent modification of resources.', - ], - [ - 'errorCode' => 'ResourceExist', - 'errorMessage' => 'Resources already exist.', - ], + ['errorCode' => 'ResourceConflict', 'errorMessage' => 'Concurrent modification of resources.'], + ['errorCode' => 'ResourceExist', 'errorMessage' => 'Resources already exist.'], ], 412 => [ - [ - 'errorCode' => 'ResourcesOverLimit', - 'errorMessage' => 'Resources over limit.', - ], + ['errorCode' => 'ResourcesOverLimit', 'errorMessage' => 'Resources over limit.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -1525,125 +747,72 @@ ], 'CreateTask' => [ 'summary' => 'CreateTask', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + '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', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'aliyunTest'], ], [ 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + '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"}]', - ], + '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"}', - ], + '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, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'AlertIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'caller', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'IntervalUnit', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -1651,32 +820,12 @@ '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', - ], + '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, @@ -1686,12 +835,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'TaskId' => [ - 'type' => 'string', - ], - 'TaskName' => [ - 'type' => 'string', - ], + 'TaskId' => ['type' => 'string'], + 'TaskName' => ['type' => 'string'], ], ], ], @@ -1703,117 +848,61 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'Illegal parameters.', - ], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'You are not authorized to operate the specified resource.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'You are not authorized to operate the specified resource.'], ], 406 => [ - [ - 'errorCode' => 'ExceedingQuota', - 'errorMessage' => 'Exceeding quota limits.', - ], + ['errorCode' => 'ExceedingQuota', 'errorMessage' => 'Exceeding quota limits.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'], ], 600 => [ - [ - 'errorCode' => 'IllegalAddress', - 'errorMessage' => 'Illegal HTTP address', - ], + ['errorCode' => 'IllegalAddress', 'errorMessage' => 'Illegal HTTP address'], ], 605 => [ - [ - 'errorCode' => 'OperationError', - 'errorMessage' => 'Operation failed', - ], + ['errorCode' => 'OperationError', 'errorMessage' => 'Operation failed'], ], 615 => [ - [ - 'errorCode' => 'TaskNotExists', - 'errorMessage' => 'Task does not exist', - ], + ['errorCode' => 'TaskNotExists', 'errorMessage' => 'Task does not exist'], ], 650 => [ - [ - 'errorCode' => 'OperatorInvalid', - 'errorMessage' => 'Operator invalid', - ], - [ - 'errorCode' => 'OperatorCityInvalid', - 'errorMessage' => 'Operator City invalid', - ], + ['errorCode' => 'OperatorInvalid', 'errorMessage' => 'Operator invalid'], + ['errorCode' => 'OperatorCityInvalid', 'errorMessage' => 'Operator City invalid'], ], 655 => [ - [ - 'errorCode' => 'OperatorCityInvalid', - 'errorMessage' => 'Operator City invalid', - ], + ['errorCode' => 'OperatorCityInvalid', 'errorMessage' => 'Operator City invalid'], ], 660 => [ - [ - 'errorCode' => 'NameRepeat', - 'errorMessage' => 'Task name repeat', - ], + ['errorCode' => 'NameRepeat', 'errorMessage' => 'Task name repeat'], ], 680 => [ - [ - 'errorCode' => 'CreateAlarmError', - 'errorMessage' => 'Create alarm error', - ], + ['errorCode' => 'CreateAlarmError', 'errorMessage' => 'Create alarm error'], ], 695 => [ - [ - 'errorCode' => 'NameNotExists', - 'errorMessage' => 'Task name not exists', - ], + ['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', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + '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', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '576fbae7-2fd1-411a-ae13-6f09f4fafdde'], ], ], 'responses' => [ @@ -1821,58 +910,27 @@ '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', - ], + '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', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - '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.', - ], + ['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}"}]', @@ -1880,58 +938,35 @@ ], 'DeleteCustomMetric' => [ 'summary' => 'DeleteCustomMetric', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Md5', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'UUID', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -1939,87 +974,47 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Result' => [ - 'type' => 'string', - ], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Result' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - '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.', - ], + ['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', - ], + 'methods' => ['post', 'get', 'delete', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'TargetIds', @@ -2027,9 +1022,7 @@ 'style' => 'repeatList', 'schema' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => false, 'maxItems' => 5, ], @@ -2040,18 +1033,10 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], 'FailIds' => [ 'type' => 'object', 'properties' => [ @@ -2061,9 +1046,7 @@ 'properties' => [ 'TargetId' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -2075,42 +1058,25 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed because of an unknown error, exception or failure.', - ], + ['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', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'Id', @@ -2118,9 +1084,7 @@ 'style' => 'repeatList', 'schema' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => true, 'maxItems' => 100, ], @@ -2131,135 +1095,71 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - 'errorCode' => 'AccessDeniedException', - 'errorMessage' => 'You donot have sufficient access to perform this action.', - ], + ['errorCode' => 'AccessDeniedException', 'errorMessage' => 'You donot have sufficient access to perform this action.'], ], [ - [ - 'errorCode' => 'LimitExceeded', - 'errorMessage' => 'The quota for this customer had been reached.', - ], + ['errorCode' => 'LimitExceeded', 'errorMessage' => 'The quota for this customer had been reached.'], ], [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 429 => [ - [ - 'errorCode' => 'Throttli∂ngException', - 'errorMessage' => 'The request was denied due to request throttling.', - ], + ['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.', - ], + ['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', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + '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', - ], + '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' => '[]', - ], + '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****', - ], + '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', - ], + 'schema' => ['description' => 'Category.', 'type' => 'string', 'required' => true, 'example' => 'ecs'], ], ], 'responses' => [ @@ -2267,59 +1167,30 @@ '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', - ], + '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.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -2328,36 +1199,20 @@ ], 'DeleteMyGroups' => [ 'summary' => 'Delete Personal Application Group', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'high', - 'chargeType' => 'free', - ], + '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', - ], + 'schema' => ['description' => 'Application group ID.', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '174549092'], ], ], 'responses' => [ @@ -2365,63 +1220,25 @@ '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', - ], + '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', - ], + '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, @@ -2432,11 +1249,7 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => '报警联系人的姓名。', - 'type' => 'string', - 'example' => 'xiaoming', - ], + 'Name' => ['description' => '报警联系人的姓名。', 'type' => 'string', 'example' => 'xiaoming'], ], ], ], @@ -2450,34 +1263,19 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterInvalid', - 'errorMessage' => 'Illegal parameters.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 409 => [ - [ - 'errorCode' => 'ResourceConflict', - 'errorMessage' => 'Concurrent modification of resources.', - ], + ['errorCode' => 'ResourceConflict', 'errorMessage' => 'Concurrent modification of resources.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -2486,50 +1284,28 @@ ], 'DeleteTasks' => [ 'summary' => 'Delete a site monitoring task', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'high', - 'chargeType' => 'free', - ], + '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, - ], + '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', - ], + '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' => [ @@ -2537,59 +1313,27 @@ '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', - ], + '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', - ], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'You are not authorized to operate the specified resource.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'You are not authorized to operate the specified resource.'], ], [ - [ - 'errorCode' => 'TaskNotExists', - 'errorMessage' => 'Task not exist', - ], + ['errorCode' => 'TaskNotExists', 'errorMessage' => 'Task not exist'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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":""}]', @@ -2599,131 +1343,80 @@ ], 'DescribeAlarmHistory' => [ 'summary' => 'DescribeAlarmHistory', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'AlertName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'State', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Ascending', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'OnlyCount', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Page', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], 'responses' => [ @@ -2731,21 +1424,11 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Total' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Total' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], 'AlarmHistoryList' => [ 'type' => 'object', 'itemNode' => true, @@ -2755,76 +1438,32 @@ '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', - ], + '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', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -2834,9 +1473,7 @@ 'properties' => [ 'ContactALIIM' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -2846,9 +1483,7 @@ 'properties' => [ 'ContactMail' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -2858,9 +1493,7 @@ 'properties' => [ 'ContactSms' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -2870,9 +1503,7 @@ 'properties' => [ 'ContactGroup' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -2887,176 +1518,102 @@ ], 'errorCodes' => [ 204 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 206 => [ - [ - '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'], ], [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 406 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 409 => [ - [ - '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. ', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], + ['errorCode' => 'InternalError ', 'errorMessage' => 'The request processing has failed due to some unknown error. '], ], 503 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], ], 'responseDemo' => null, ], 'DescribeAlarms' => [ 'summary' => 'DescribeAlarms', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'GroupBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EnableState', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Page', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'AlertState', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'DisplayName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Names', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'NameKeyword', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -3064,25 +1621,12 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'Code' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Message' => [ - 'type' => 'string', - ], - 'TraceId' => [ - 'type' => 'string', - ], - 'Total' => [ - 'type' => 'string', - ], + '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, @@ -3092,160 +1636,68 @@ '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', - ], + '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', - ], + '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', - ], + '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', - ], + 'ComparisonOperator' => ['type' => 'string'], + 'PreCondition' => ['type' => 'string'], + 'Times' => ['type' => 'string'], + 'Threshold' => ['type' => 'string'], + 'HistoryDataRange' => ['type' => 'string'], + 'Statistics' => ['type' => 'string'], + 'AlertSensitivity' => ['type' => 'string'], ], ], ], @@ -3261,181 +1713,97 @@ ], 'errorCodes' => [ 206 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 400 => [ - [ - 'errorCode' => 'ParameterInvalid', - 'errorMessage' => '%s', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => '%s'], ], [ - [ - 'errorCode' => 'AccessDeniedException', - 'errorMessage' => 'You donot have sufficient access to perform this action.', - ], + ['errorCode' => 'AccessDeniedException', 'errorMessage' => 'You donot have sufficient access to perform this action.'], ], [ - [ - 'errorCode' => 'LimitExceeded', - 'errorMessage' => 'The quota for this customer had been reached.', - ], + ['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' => '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.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 406 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 409 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 429 => [ - [ - 'errorCode' => 'Throttli∂ngException', - 'errorMessage' => 'The request was denied due to request throttling.', - ], + ['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.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'], ], 503 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], ], 'responseDemo' => null, ], 'DescribeAlarmsForResources' => [ 'summary' => 'describealarmsforresources', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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****"}]', - ], + 'schema' => ['description' => 'Dimension map used to query monitoring data for specific resources.', 'type' => 'string', 'required' => true, 'example' => '[{"instanceId":"i-2ze2d6j5uhg20x47****"}]'], ], ], 'responses' => [ @@ -3443,46 +1811,17 @@ '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', - ], + '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, @@ -3494,139 +1833,51 @@ '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', - ], + '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', @@ -3635,117 +1886,69 @@ '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', - ], + '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', - ], + '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', - ], + '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'], ], ], ], @@ -3761,22 +1964,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is not valid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is not valid.'], ], 403 => [ - [ - 'errorCode' => 'InvalidAuthorization', - 'errorMessage' => 'The Request is not authorization.', - ], + ['errorCode' => 'InvalidAuthorization', 'errorMessage' => 'The Request is not authorization.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -3785,164 +1979,87 @@ ], 'DescribeAlertHistoryList' => [ 'summary' => 'Query alarm history details', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'AlertName', 'in' => 'query', - 'schema' => [ - 'description' => 'Alarm name.', - 'type' => 'string', - 'required' => false, - 'example' => 'HighErrorRate', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => 'Page number.'."\n" + ."\n" + .'Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -3950,31 +2067,11 @@ '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', - ], + '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, @@ -3985,105 +2082,25 @@ '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', - ], + '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, @@ -4091,11 +2108,7 @@ 'Contact' => [ 'description' => 'List of contacts', 'type' => 'array', - 'items' => [ - 'description' => 'Contact', - 'type' => 'string', - 'example' => '185xxxx0307', - ], + 'items' => ['description' => 'Contact', 'type' => 'string', 'example' => '185xxxx0307'], ], ], ], @@ -4106,11 +2119,7 @@ 'ContactALIIM' => [ 'description' => 'List of Aliwangwang contacts', 'type' => 'array', - 'items' => [ - 'description' => 'Aliwangwang contact', - 'type' => 'string', - 'example' => 'seller001', - ], + 'items' => ['description' => 'Aliwangwang contact', 'type' => 'string', 'example' => 'seller001'], ], ], ], @@ -4121,11 +2130,7 @@ 'ContactMail' => [ 'description' => 'List of email contacts', 'type' => 'array', - 'items' => [ - 'description' => 'Email contact', - 'type' => 'string', - 'example' => 'xxx@xxx.com', - ], + 'items' => ['description' => 'Email contact', 'type' => 'string', 'example' => 'xxx@xxx.com'], ], ], ], @@ -4136,11 +2141,7 @@ 'ContactSms' => [ 'description' => 'List of SMS contacts', 'type' => 'array', - 'items' => [ - 'description' => 'Phone number of the contact', - 'type' => 'string', - 'example' => '185xxxx0307', - ], + 'items' => ['description' => 'Phone number of the contact', 'type' => 'string', 'example' => '185xxxx0307'], ], ], ], @@ -4151,11 +2152,7 @@ 'ContactGroup' => [ 'description' => 'List of alarm contact groups.', 'type' => 'array', - 'items' => [ - 'description' => 'Alarm contact group.', - 'type' => 'string', - 'example' => '开发运维报警组', - ], + 'items' => ['description' => 'Alarm contact group.', 'type' => 'string', 'example' => '开发运维报警组'], ], ], ], @@ -4170,62 +2167,32 @@ ], 'errorCodes' => [ 204 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 206 => [ - [ - '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'], ], [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 406 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 409 => [ - [ - '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. ', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], + ['errorCode' => 'InternalError ', 'errorMessage' => 'The request processing has failed due to some unknown error. '], ], 503 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['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 \\"xxx@xxx.com\\"\\n ]\\n },\\n \\"ContactSmses\\": {\\n \\"ContactSms\\": [\\n \\"185xxxx0307\\"\\n ]\\n },\\n \\"ContactGroups\\": {\\n \\"ContactGroup\\": [\\n \\"开发运维报警组\\"\\n ]\\n }\\n }\\n ]\\n }\\n}","type":"json"}]', @@ -4234,35 +2201,20 @@ ], 'DescribeContact' => [ 'summary' => 'Describe Contact', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'ContactName', 'in' => 'query', - 'schema' => [ - 'description' => 'Alarm contact name.', - 'type' => 'string', - 'required' => true, - 'example' => 'SCRM报警群', - ], + 'schema' => ['description' => 'Alarm contact name.', 'type' => 'string', 'required' => true, 'example' => 'SCRM报警群'], ], ], 'responses' => [ @@ -4270,36 +2222,15 @@ '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', - ], + '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', - ], + 'Name' => ['description' => 'Alarm contact name.', 'type' => 'string', 'example' => 'hostName'], 'Channels' => [ 'type' => 'object', 'itemNode' => true, @@ -4311,16 +2242,8 @@ 'description' => 'Subscription channels.', 'type' => 'object', 'properties' => [ - 'Type' => [ - 'description' => 'Subscription type', - 'type' => 'string', - 'example' => 'SMS', - ], - 'Value' => [ - 'description' => 'Value.', - 'type' => 'string', - 'example' => 'SMS', - ], + 'Type' => ['description' => 'Subscription type', 'type' => 'string', 'example' => 'SMS'], + 'Value' => ['description' => 'Value.', 'type' => 'string', 'example' => 'SMS'], ], ], ], @@ -4334,28 +2257,16 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is not valid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is not valid.'], ], 403 => [ - [ - 'errorCode' => 'InvalidAuthorization', - 'errorMessage' => 'The Request is not authorization.', - ], + ['errorCode' => 'InvalidAuthorization', 'errorMessage' => 'The Request is not authorization.'], ], [ - [ - 'errorCode' => 'InvalidAction', - 'errorMessage' => 'The specified GroupName does not exist.', - ], + ['errorCode' => 'InvalidAction', 'errorMessage' => 'The specified GroupName does not exist.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -4364,45 +2275,25 @@ ], 'DescribeISPAreaCity' => [ 'summary' => '获取探针列表', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Isp', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''], ], [ 'name' => 'City', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''], ], ], 'responses' => [ @@ -4410,181 +2301,95 @@ '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', - ], + '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.', - ], + ['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.', - ], + ['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', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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****"}]', - ], + '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', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => 'List of alarm rule IDs.', 'type' => 'string', 'required' => false, 'example' => 'rule-1234567890,rule-2345678901'], ], ], 'responses' => [ @@ -4592,36 +2397,15 @@ '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', - ], + '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, @@ -4633,104 +2417,32 @@ '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\\"}]', - ], + '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', @@ -4739,131 +2451,83 @@ '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', - ], + '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', - ], + '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', - ], + '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'], ], ], ], @@ -4879,22 +2543,13 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is not valid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is not valid.'], ], 403 => [ - [ - 'errorCode' => 'InvalidAuthorization', - 'errorMessage' => 'The Request is not authorization.', - ], + ['errorCode' => 'InvalidAuthorization', 'errorMessage' => 'The Request is not authorization.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -4903,37 +2558,20 @@ ], 'DescribeTaskDetail' => [ 'summary' => 'Query the configuration details of a specified task', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + '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, - ], + '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' => [ @@ -4941,59 +2579,27 @@ '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', - ], + '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.', - ], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'You are not authorized to operate the specified resource.', - ], + ['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.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'], ], 615 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'Task Id does not exist', - ], + ['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":""}]', @@ -5003,77 +2609,40 @@ ], 'DescribeTasks' => [ 'summary' => 'DescribeTasks', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '18b0c27f-bab3-441d-a747-9cdcaa8bbac8', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '18b0c27f-bab3-441d-a747-9cdcaa8bbac8'], ], [ 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''], ], [ 'name' => 'Page', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], ], 'responses' => [ @@ -5081,108 +2650,47 @@ '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', - ], + '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.', - ], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'You are not authorized to operate the specified resource.', - ], + ['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.', - ], + ['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', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + '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', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '576fbae7-2fd1-411a-ae13-6f09f4fafdde'], ], ], 'responses' => [ @@ -5190,58 +2698,27 @@ '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', - ], + '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', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - '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.', - ], + ['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>"}]', @@ -5249,37 +2726,20 @@ ], 'EnableAlarm' => [ 'summary' => 'EnableAlarm', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + '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', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '576fbae7-2fd1-411a-ae13-6f09f4fafdde'], ], ], 'responses' => [ @@ -5287,58 +2747,27 @@ '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', - ], + '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', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - '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.', - ], + ['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>"}]', @@ -5346,35 +2775,20 @@ ], 'GetContacts' => [ 'summary' => 'Get Contacts', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'GroupName', 'in' => 'query', - 'schema' => [ - 'description' => 'Alarm contact group name.', - 'type' => 'string', - 'required' => true, - 'example' => 'rabb', - ], + 'schema' => ['description' => 'Alarm contact group name.', 'type' => 'string', 'required' => true, 'example' => 'rabb'], ], ], 'responses' => [ @@ -5382,44 +2796,18 @@ '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', - ], + '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', - ], + 'Name' => ['description' => 'Name.', 'type' => 'string', 'example' => 'rabb'], 'Contacts' => [ 'type' => 'object', 'itemNode' => true, @@ -5427,11 +2815,7 @@ 'Contact' => [ 'description' => 'Contact list', 'type' => 'array', - 'items' => [ - 'description' => 'Contact.', - 'type' => 'string', - 'example' => '188xxxx7155', - ], + 'items' => ['description' => 'Contact.', 'type' => 'string', 'example' => '188xxxx7155'], ], ], ], @@ -5443,28 +2827,16 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => 'The specified parameter is not valid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => 'The specified parameter is not valid.'], ], 403 => [ - [ - 'errorCode' => 'InvalidAuthorization', - 'errorMessage' => 'The Request is not authorization.', - ], + ['errorCode' => 'InvalidAuthorization', 'errorMessage' => 'The Request is not authorization.'], ], [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -5473,45 +2845,25 @@ ], 'GetMonitoringTemplate' => [ 'summary' => 'Get Monitoring Template', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'Monitoring template name.', - 'type' => 'string', - 'required' => false, - 'example' => 'ft20180308_templateNameFail', - ], + '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', - ], + 'schema' => ['description' => 'Monitoring template ID.', 'type' => 'string', 'required' => false, 'example' => '2203505'], ], ], 'responses' => [ @@ -5519,80 +2871,27 @@ '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', - ], + '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', - ], + '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'], ], ], ], @@ -5601,28 +2900,16 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterInvalid', - 'errorMessage' => 'Illegal parameters.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -5631,89 +2918,47 @@ ], 'GetMyGroups' => [ 'summary' => 'Get Personal Application Groups', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + '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', - ], + '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', - ], + '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', - ], + '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****', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => 'Application group name.', 'type' => 'string', 'required' => false, 'example' => 'abc'], ], ], 'responses' => [ @@ -5721,64 +2966,25 @@ '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', - ], + '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', - ], + '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, @@ -5790,11 +2996,7 @@ 'description' => 'Alarm contact groups.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'Name of the alarm contact person.', - 'type' => 'string', - 'example' => 'name', - ], + 'Name' => ['description' => 'Name of the alarm contact person.', 'type' => 'string', 'example' => 'name'], ], ], ], @@ -5808,32 +3010,17 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterInvalid', - 'errorMessage' => 'Illegal parameters.', - ], - [ - 'errorCode' => 'UniqueResult', - 'errorMessage' => 'The query condition does not return the only result.', - ], + ['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' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -5842,109 +3029,55 @@ ], 'ListAlarm' => [ 'summary' => 'ListAlarm', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + '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', - ], + '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' => '', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => ''], ], [ 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'acs_ecs_dashboard', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'acs_ecs_dashboard'], ], [ 'name' => 'Dimension', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '{"instanceId":"XXX"}', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '{"instanceId":"XXX"}'], ], [ 'name' => 'State', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ok', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'ok'], ], [ 'name' => 'IsEnable', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'true'], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + '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', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'default' => '100'], ], ], 'responses' => [ @@ -5952,38 +3085,12 @@ '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', - ], + '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, @@ -5994,102 +3101,24 @@ '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', - ], + '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'], ], ], ], @@ -6101,32 +3130,17 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - '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.', - ], + ['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>>=</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>>=</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>>=</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>>=</ComparisonOperator>\\n </Alarm>\\n </AlarmList>\\n <Success>true</Success>\\n <Code>200</Code>\\n <Total>27</Total>"}]', @@ -6134,76 +3148,40 @@ ], 'ListAlarmHistory' => [ 'summary' => 'ListAlarmHistory', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1548913091223', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1548913091223'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1548927491223', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1548927491223'], ], [ 'name' => 'Cursor', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -6211,31 +3189,11 @@ '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', - ], + '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, @@ -6246,75 +3204,19 @@ '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', - ], + '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'], ], ], ], @@ -6326,32 +3228,17 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - '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.', - ], + ['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>"}]', @@ -6359,49 +3246,25 @@ ], 'ListContactGroup' => [ 'summary' => 'List Contact Groups', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => 'Number of records per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '100'], ], ], 'responses' => [ @@ -6409,42 +3272,16 @@ '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', - ], + '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, @@ -6452,11 +3289,7 @@ 'ContactGroup' => [ 'description' => 'List of alarm contact groups.', 'type' => 'array', - 'items' => [ - 'description' => 'Alarm contact group.', - 'type' => 'string', - 'example' => '云账号报警联系人', - ], + 'items' => ['description' => 'Alarm contact group.', 'type' => 'string', 'example' => '云账号报警联系人'], ], ], ], @@ -6466,38 +3299,20 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - '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.', - ], + ['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', - ], + ['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"}]', @@ -6506,68 +3321,37 @@ ], 'ListEventRules' => [ 'summary' => 'Get Event Rule List', - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => 'Group ID.', 'type' => 'string', 'required' => false, 'example' => '239933048'], ], ], 'responses' => [ @@ -6575,47 +3359,17 @@ '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', - ], + '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, @@ -6626,35 +3380,15 @@ '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', - ], + '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, @@ -6666,11 +3400,7 @@ 'description' => 'Event alarm rule pattern.', 'type' => 'object', 'properties' => [ - 'Product' => [ - 'description' => 'Product name.', - 'type' => 'string', - 'example' => 'RDS', - ], + 'Product' => ['description' => 'Product name.', 'type' => 'string', 'example' => 'RDS'], 'EventTypeList' => [ 'type' => 'object', 'itemNode' => true, @@ -6678,11 +3408,7 @@ 'EventTypeList' => [ 'description' => 'List of event alarm types.', 'type' => 'array', - 'items' => [ - 'description' => 'Event alarm type.', - 'type' => 'string', - 'example' => 'Alert', - ], + 'items' => ['description' => 'Event alarm type.', 'type' => 'string', 'example' => 'Alert'], ], ], ], @@ -6693,17 +3419,13 @@ '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', - ], + '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'], ], ], ], @@ -6714,11 +3436,7 @@ 'StatusList' => [ 'description' => 'A list of event statuses.', 'type' => 'array', - 'items' => [ - 'description' => 'The status of the event.', - 'type' => 'string', - 'example' => '[]', - ], + 'items' => ['description' => 'The status of the event.', 'type' => 'string', 'example' => '[]'], ], ], ], @@ -6729,11 +3447,7 @@ 'NameList' => [ 'description' => 'A list of event names.', 'type' => 'array', - 'items' => [ - 'description' => 'The name of the event.', - 'type' => 'string', - 'example' => 'Instance:LiveMigrationAcrossDDH', - ], + 'items' => ['description' => 'The name of the event.', 'type' => 'string', 'example' => 'Instance:LiveMigrationAcrossDDH'], ], ], ], @@ -6753,32 +3467,17 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'Illegal parameters.', - ], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'ResourceNotFound', - ], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'ResourceNotFound'], ], 500 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -6787,98 +3486,50 @@ ], 'ListMyGroupInstances' => [ 'summary' => 'List My Group Instances', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => 'Category', 'type' => 'string', 'required' => false, 'example' => 'ecs'], ], [ 'name' => 'Keyword', 'in' => 'query', - 'schema' => [ - 'description' => 'Search keyword.', - 'type' => 'string', - 'required' => false, - 'example' => 'aliyun', - ], + '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****', - ], + 'schema' => ['description' => 'Instance ID list', 'type' => 'string', 'required' => false, 'example' => 'i-hp3dunahluwajv6f****'], ], ], 'responses' => [ @@ -6886,45 +3537,13 @@ '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', - ], + '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, @@ -6936,38 +3555,12 @@ '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', - ], + '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'], ], ], ], @@ -6979,28 +3572,16 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterInvalid', - 'errorMessage' => 'Illegal parameters.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -7009,109 +3590,57 @@ ], 'ListMyGroups' => [ 'summary' => 'List Personal Application Groups', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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****', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => 'Application group name.', 'type' => 'string', 'required' => false, 'example' => 'fc_monitor_group_2018_ctNameFail'], ], ], 'responses' => [ @@ -7119,49 +3648,17 @@ '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', - ], + '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, @@ -7173,51 +3670,16 @@ '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', - ], + '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, @@ -7228,11 +3690,7 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'description' => 'The name of the alarm contact group.', - 'type' => 'string', - 'example' => 'contact_group_01', - ], + 'Name' => ['description' => 'The name of the alarm contact group.', 'type' => 'string', 'example' => 'contact_group_01'], ], ], ], @@ -7249,28 +3707,16 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterInvalid', - 'errorMessage' => 'Illegal parameters.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -7279,133 +3725,71 @@ ], 'ModifyTask' => [ 'summary' => 'Modify task.', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + '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', - ], + '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', - ], + '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', - ], + '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', - ], + '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"}]', - ], + '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\\"}', - ], + '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"}]', - ], + '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', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => 'The unit of the metric.'."\n" + ."\n" + .'Unit: milliseconds.'."\n", 'type' => 'string', 'required' => false, 'example' => 'ms'], ], ], 'responses' => [ @@ -7413,116 +3797,57 @@ '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', - ], + '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.', - ], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'You are not authorized to operate the specified resource.', - ], + ['errorCode' => 'Forbidden', 'errorMessage' => 'You are not authorized to operate the specified resource.'], ], 406 => [ - [ - 'errorCode' => 'ExceedingQuota', - 'errorMessage' => 'Exceeding quota limits.', - ], + ['errorCode' => 'ExceedingQuota', 'errorMessage' => 'Exceeding quota limits.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'], ], 600 => [ - [ - 'errorCode' => 'IllegalAddress', - 'errorMessage' => 'Illegal HTTP address', - ], + ['errorCode' => 'IllegalAddress', 'errorMessage' => 'Illegal HTTP address'], ], 605 => [ - [ - 'errorCode' => 'OperationError', - 'errorMessage' => 'Operation failed', - ], + ['errorCode' => 'OperationError', 'errorMessage' => 'Operation failed'], ], 615 => [ - [ - 'errorCode' => 'TaskNotExists', - 'errorMessage' => 'Task does not exist', - ], + ['errorCode' => 'TaskNotExists', 'errorMessage' => 'Task does not exist'], ], 650 => [ - [ - 'errorCode' => 'OperatorInvalid', - 'errorMessage' => 'Operator invalid', - ], - [ - 'errorCode' => 'OperatorCityInvalid', - 'errorMessage' => 'Operator City invalid', - ], + ['errorCode' => 'OperatorInvalid', 'errorMessage' => 'Operator invalid'], + ['errorCode' => 'OperatorCityInvalid', 'errorMessage' => 'Operator City invalid'], ], 655 => [ - [ - 'errorCode' => 'OperatorCityInvalid', - 'errorMessage' => 'Operator City invalid', - ], + ['errorCode' => 'OperatorCityInvalid', 'errorMessage' => 'Operator City invalid'], ], 660 => [ - [ - 'errorCode' => 'NameRepeat', - 'errorMessage' => 'Task name repeat', - ], + ['errorCode' => 'NameRepeat', 'errorMessage' => 'Task name repeat'], ], 680 => [ - [ - 'errorCode' => 'CreateAlarmError', - 'errorMessage' => 'Create alarm error', - ], + ['errorCode' => 'CreateAlarmError', 'errorMessage' => 'Create alarm error'], ], 695 => [ - [ - 'errorCode' => 'NameNotExists', - 'errorMessage' => 'Task name not exists', - ], + ['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"}]', @@ -7530,100 +3855,60 @@ ], 'NodeList' => [ 'summary' => 'NodeList', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'KeyWord', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'HostName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceIds', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SerialNumbers', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceRegionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -7631,35 +3916,14 @@ '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', - ], + '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, @@ -7669,49 +3933,20 @@ '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', - ], + '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'], ], ], ], @@ -7723,93 +3958,56 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterInvalid', - 'errorMessage' => 'Illegal parameters.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'], ], ], 'responseDemo' => null, ], 'NodeProcessCreate' => [ 'summary' => 'NodeProcessCreate', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'ProcessName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ProcessUser', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Command', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -7817,84 +4015,47 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], - 'ErrorCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Id' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + '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.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'], ], ], 'responseDemo' => null, ], 'NodeProcesses' => [ 'summary' => 'NodeProcesses', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -7902,19 +4063,10 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], - 'ErrorCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'RequestId' => ['type' => 'string'], + 'ErrorMessage' => ['type' => 'string'], + 'ErrorCode' => ['type' => 'integer', 'format' => 'int32'], + 'Success' => ['type' => 'boolean'], 'NodeProcesses' => [ 'type' => 'object', 'itemNode' => true, @@ -7924,25 +4076,12 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'ProcessName' => [ - 'type' => 'string', - ], - 'Command' => [ - 'type' => 'string', - ], - 'ProcessUser' => [ - 'type' => 'string', - ], - 'InstanceId' => [ - 'type' => 'string', - ], - 'Name' => [ - 'type' => 'string', - ], - 'Id' => [ - 'type' => 'integer', - 'format' => 'int64', - ], + 'ProcessName' => ['type' => 'string'], + 'Command' => ['type' => 'string'], + 'ProcessUser' => ['type' => 'string'], + 'InstanceId' => ['type' => 'string'], + 'Name' => ['type' => 'string'], + 'Id' => ['type' => 'integer', 'format' => 'int64'], ], ], ], @@ -7954,64 +4093,36 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterInvalid', - 'errorMessage' => 'Illegal parameters.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'], ], ], 'responseDemo' => null, ], 'NodeStatusList' => [ 'summary' => 'NodeStatusList', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + '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', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'i-abcdefgh123456,i-abcdefgh123457'], ], ], 'responses' => [ @@ -8019,27 +4130,10 @@ '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', - ], + '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, @@ -8050,21 +4144,9 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'running', - ], - 'InstanceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'i-abcdefgh123456', - ], - 'AutoInstall' => [ - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], + 'Status' => ['description' => '', 'type' => 'string', 'example' => 'running'], + 'InstanceId' => ['description' => '', 'type' => 'string', 'example' => 'i-abcdefgh123456'], + 'AutoInstall' => ['description' => '', 'type' => 'boolean', 'example' => 'true'], ], ], ], @@ -8076,28 +4158,16 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterInvalid', - 'errorMessage' => 'Illegal parameters.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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>"}]', @@ -8105,33 +4175,20 @@ ], 'NodeUninstall' => [ 'summary' => 'NodeUninstall', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -8139,87 +4196,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'type' => 'string', - ], - 'ErrorMessage' => [ - 'type' => 'string', - ], - 'ErrorCode' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'RequestId' => ['type' => 'string'], + 'ErrorMessage' => ['type' => 'string'], + 'ErrorCode' => ['type' => 'integer', 'format' => 'int32'], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterInvalid', - 'errorMessage' => 'Illegal parameters.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 412 => [ - [ - 'errorCode' => 'AgentStateError', - 'errorMessage' => 'Expected agent running state is stopped.', - ], + ['errorCode' => 'AgentStateError', 'errorMessage' => 'Expected agent running state is stopped.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'], ], ], 'responseDemo' => null, ], 'PutCustomMetric' => [ 'summary' => 'PutCustomMetric', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'MetricList', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -8227,84 +4246,47 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Data' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'Data' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - '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.', - ], + ['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', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'EventInfo', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -8312,98 +4294,52 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'Data' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'Data' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - '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.', - ], + ['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', - ], + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => 'Group ID.', 'type' => 'string', 'required' => false, 'example' => '240992827'], ], [ 'name' => 'EventType', @@ -8415,27 +4351,16 @@ .'- CUSTOM: Custom event.', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'SYSTEM' => 'SYSTEM', - 'CUSTOM' => 'CUSTOM', - ], + 'enumValueTitles' => ['SYSTEM' => 'SYSTEM', 'CUSTOM' => 'CUSTOM'], 'example' => 'SYSTEM', 'default' => 'SYSTEM', - 'enum' => [ - 'SYSTEM', - 'BUSSINESS', - ], + 'enum' => ['SYSTEM', 'BUSSINESS'], ], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => 'Description of the event alarm rule.', - 'type' => 'string', - 'required' => false, - 'example' => '事件报警测试', - ], + 'schema' => ['description' => 'Description of the event alarm rule.', 'type' => 'string', 'required' => false, 'example' => '事件报警测试'], ], [ 'name' => 'State', @@ -8447,10 +4372,7 @@ 'enumValueTitles' => [], 'example' => 'Enable', 'default' => 'ENABLED', - 'enum' => [ - 'ENABLED', - 'DISABLED', - ], + 'enum' => ['ENABLED', 'DISABLED'], ], ], [ @@ -8467,54 +4389,29 @@ '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', - ], + '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' => '[]', - ], + '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', - ], + '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', - ], + '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', - ], + 'items' => ['description' => 'Name of the event alarm rule.', 'type' => 'string', 'required' => false, 'example' => 'Agent_Status_Stopped'], 'required' => false, 'maxItems' => 50, ], @@ -8531,56 +4428,27 @@ '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', - ], + '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', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -8589,38 +4457,20 @@ ], 'PutEventTargets' => [ 'summary' => 'Set Event Targets', - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + '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', - ], + 'schema' => ['description' => 'The name of the alarm rule.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DBS_EVENT_RULE'], ], [ 'name' => 'FcParameters', @@ -8633,30 +4483,10 @@ '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', - ], + '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, ], @@ -8675,24 +4505,9 @@ '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', - ], + '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, ], @@ -8711,24 +4526,9 @@ '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', - ], + '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, ], @@ -8747,32 +4547,12 @@ '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', - ], + '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, ], @@ -8791,30 +4571,10 @@ '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', - ], + '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, ], @@ -8828,40 +4588,16 @@ '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', - ], + '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, @@ -8873,22 +4609,9 @@ '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', - ], + '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'], ], ], ], @@ -8905,22 +4628,9 @@ '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', - ], + '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'], ], ], ], @@ -8937,27 +4647,10 @@ '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', - ], + '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'], ], ], ], @@ -8974,22 +4667,9 @@ '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', - ], + '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'], ], ], ], @@ -9006,22 +4686,9 @@ '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', - ], + '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'], ], ], ], @@ -9038,27 +4705,10 @@ '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', - ], + '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'], ], ], ], @@ -9075,26 +4725,10 @@ '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', - ], + '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'], ], ], ], @@ -9106,32 +4740,17 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - '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.', - ], + ['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"}]', @@ -9140,44 +4759,25 @@ ], 'PutMetricRuleTargets' => [ 'summary' => 'PutMetricRuleTargets', - 'methods' => [ - 'post', - 'get', - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'Actions', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Targets', @@ -9188,17 +4788,9 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Id' => [ - 'type' => 'string', - 'required' => false, - ], - 'Arn' => [ - 'type' => 'string', - 'required' => false, - ], - 'Level' => [ - 'type' => 'string', - ], + 'Id' => ['type' => 'string', 'required' => false], + 'Arn' => ['type' => 'string', 'required' => false], + 'Level' => ['type' => 'string'], ], ], 'required' => true, @@ -9211,18 +4803,10 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], 'FailData' => [ 'type' => 'object', 'properties' => [ @@ -9235,15 +4819,9 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Id' => [ - 'type' => 'string', - ], - 'Arn' => [ - 'type' => 'string', - ], - 'Level' => [ - 'type' => 'string', - ], + 'Id' => ['type' => 'string'], + 'Arn' => ['type' => 'string'], + 'Level' => ['type' => 'string'], ], ], ], @@ -9257,288 +4835,166 @@ ], 'errorCodes' => [ 200 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 400 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - '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.', - ], + ['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', - ], + 'methods' => ['post', 'get', 'put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'RuleName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'MetricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'Resources', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'ContactGroups', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => false, 'docRequired' => true], ], [ 'name' => 'Webhook', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EffectiveInterval', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'NoEffectiveInterval', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SilenceTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'default' => '86400', - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '86400'], ], [ 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - 'default' => '300', - ], + 'schema' => ['type' => 'string', 'required' => false, 'default' => '300'], ], [ 'name' => 'Interval', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EmailSubject', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Escalations.Critical.Statistics', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Escalations.Critical.ComparisonOperator', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Escalations.Critical.Threshold', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Escalations.Critical.Times', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Escalations.Warn.Statistics', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Escalations.Warn.ComparisonOperator', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Escalations.Warn.Threshold', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Escalations.Warn.Times', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Escalations.Info.Statistics', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Escalations.Info.ComparisonOperator', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Escalations.Info.Threshold', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Escalations.Info.Times', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], 'responses' => [ @@ -9546,161 +5002,86 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Success' => [ - 'type' => 'boolean', - ], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Success' => ['type' => 'boolean'], ], ], ], ], 'errorCodes' => [ 204 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 206 => [ - [ - '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'], ], [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 406 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 499 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'], ], 503 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], ], 'responseDemo' => null, ], 'QueryCustomMetricList' => [ 'summary' => 'Query Custom Metric List', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'Application group ID.', - 'type' => 'string', - 'required' => true, - 'example' => '24232', - ], + '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', - ], + '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', - ], + '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****', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => 'Page size.', 'type' => 'string', 'required' => false, 'example' => '10'], ], ], 'responses' => [ @@ -9708,58 +5089,27 @@ '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\\"}}', - ], + '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', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - '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.', - ], + ['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"}]', @@ -9768,89 +5118,55 @@ ], 'QueryMetricData' => [ 'summary' => 'QueryMetricData', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Project', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Metric', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Dimensions', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Express', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Length', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -9858,154 +5174,92 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Datapoints' => [ - 'type' => 'string', - ], - 'Period' => [ - 'type' => 'string', - ], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Datapoints' => ['type' => 'string'], + 'Period' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterInvalid', - 'errorMessage' => 'Illegal parameters.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'], ], ], 'responseDemo' => null, ], 'QueryMetricTop' => [ 'summary' => 'QueryMetricTop', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Project', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Metric', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Dimensions', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Orderby', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'OrderDesc', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Length', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Express', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -10013,107 +5267,60 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Code' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Datapoints' => [ - 'type' => 'string', - ], - 'Period' => [ - 'type' => 'string', - ], + 'Code' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Datapoints' => ['type' => 'string'], + 'Period' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterInvalid', - 'errorMessage' => 'Illegal parameters.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + '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\\"]', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => 'Maximum number of items per page, default is 30.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30'], ], ], 'responses' => [ @@ -10121,26 +5328,10 @@ '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', - ], + '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, @@ -10151,27 +5342,15 @@ '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\\"]', - ], + '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\\"]'], ], ], ], @@ -10183,28 +5362,16 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterInvalid', - 'errorMessage' => 'Illegal parameters.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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>[{"name":"product","value":"ADS"},{"name":"groupFlag","value":"true"}]</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>[{"name":"product","value":"APIGateway"},{"name":"groupFlag","value":"true"}]</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>[{"name":"product","value":"InternetSharedBandwidth"},{"name":"groupFlag","value":"true"}]</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>[{"name":"product","value":"CDN"},{"name":"groupFlag","value":"true"}]</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>[{"name":"product","value":"CEN"},{"name":"groupFlag","value":"false"}]</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}"}]', @@ -10217,45 +5384,25 @@ ], 'QueryStaticsAvailability' => [ 'summary' => 'Query Static Availability', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'Availability monitoring task ID.', - 'type' => 'string', - 'required' => true, - 'example' => '123', - ], + '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', - ], + 'schema' => ['description' => 'Statistical period.', 'type' => 'string', 'required' => false, 'example' => '1440'], ], ], 'responses' => [ @@ -10263,58 +5410,29 @@ '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', - ], + '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.', - ], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'You are not authorized to operate the specified resource.', - ], + ['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.', - ], + ['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"}]', @@ -10323,45 +5441,25 @@ ], 'QueryStaticsResponseTime' => [ 'summary' => 'Query Static Response Time', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => 'Task ID.', - 'type' => 'string', - 'required' => true, - 'example' => '123', - ], + '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', - ], + 'schema' => ['description' => 'Response time range.', 'type' => 'string', 'required' => false, 'example' => '1440'], ], ], 'responses' => [ @@ -10369,58 +5467,29 @@ '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', - ], + '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.', - ], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'You are not authorized to operate the specified resource.', - ], + ['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.', - ], + ['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"}]', @@ -10429,35 +5498,20 @@ ], 'QuerySystemEventCount' => [ 'summary' => 'QuerySystemEventCount', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + '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\\"}', - ], + 'schema' => ['description' => 'Query conditions', 'type' => 'string', 'required' => false, 'example' => '{\\"timeEnd\\":1745461671353,\\"timeStart\\":1745375271353,\\"level\\":\\"WARN\\"}'], ], ], 'responses' => [ @@ -10465,65 +5519,33 @@ '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', - ], + '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.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Parameter invalid.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -10532,48 +5554,25 @@ ], 'QuerySystemEventDemo' => [ 'summary' => 'System Event Query Demo', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => 'The name of the event.', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Agent_Status_Stopped'], ], ], 'responses' => [ @@ -10581,61 +5580,29 @@ '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', - ], + '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.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -10644,82 +5611,43 @@ ], 'QueryTaskConfig' => [ 'summary' => 'Query Task Configuration', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + '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', - ], + '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.', - ], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'You are not authorized to operate the specified resource.', - ], + ['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.', - ], + ['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"}]', @@ -10728,92 +5656,55 @@ ], 'QueryTaskMonitorData' => [ 'summary' => 'QueryTaskMonitorData', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'metricName', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Period', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Cursor', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Length', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], 'responses' => [ @@ -10821,125 +5712,65 @@ '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', - ], + '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', - ], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => 'Forbidden', - 'errorMessage' => 'You are not authorized to operate the specified resource.', - ], + ['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.', - ], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.'], ], ], 'responseDemo' => null, ], 'TaskConfigList' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'GroupId', 'in' => 'query', - 'schema' => [ - 'description' => 'Application group ID.', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '92****', - ], + '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****', - ], + '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', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => 'Number of records per page.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], ], 'responses' => [ @@ -10947,55 +5778,18 @@ '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', - ], + '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, @@ -11006,60 +5800,22 @@ '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***', - ], + '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, @@ -11067,11 +5823,7 @@ 'String' => [ 'description' => 'Instance list.', 'type' => 'array', - 'items' => [ - 'description' => 'Instance list.', - 'type' => 'string', - 'example' => 'i-x12er****', - ], + 'items' => ['description' => 'Instance list.', 'type' => 'string', 'example' => 'i-x12er****'], ], ], ], @@ -11086,28 +5838,16 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ParameterInvalid', - 'errorMessage' => 'Illegal parameters.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -11117,176 +5857,85 @@ ], 'UpdateAlarm' => [ 'summary' => 'UpdateAlarm', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test_modify', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '60'], ], [ 'name' => 'Statistics', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Average', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'Average'], ], [ 'name' => 'ComparisonOperator', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => '>', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => '>'], ], [ 'name' => 'Threshold', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '40', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '40'], ], [ 'name' => 'ContactGroups', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => ''], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '24', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '24'], ], [ 'name' => 'SilenceTime', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '86400', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '86400'], ], [ 'name' => 'EvaluationCount', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3'], ], [ 'name' => 'NotifyType', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + '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', - ], + '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', - ], + 'schema' => ['description' => '', 'type' => 'boolean', 'required' => false, 'example' => 'false'], ], ], 'responses' => [ @@ -11294,58 +5943,27 @@ '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', - ], + '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', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], 403 => [ - [ - 'errorCode' => '%s', - 'errorMessage' => '%s', - ], + ['errorCode' => '%s', 'errorMessage' => '%s'], ], [ - [ - '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.', - ], + ['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":""}]', @@ -11353,107 +5971,55 @@ ], 'UpdateMonitoringTemplate' => [ 'summary' => 'Update Monitoring Template', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', - 'chargeType' => 'free', - ], + 'systemTags' => ['operationType' => 'update', 'riskType' => 'high', 'chargeType' => 'free'], 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'description' => 'Template name.', - 'type' => 'string', - 'required' => false, - 'example' => '常用基础模板', - ], + '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}}}]}', - ], + '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', - ], + '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', - ], + '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', - ], + '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":[]}]', - ], + '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"}]', - ], + '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"}]', - ], + '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' => [ @@ -11461,65 +6027,33 @@ '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', - ], + '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.', - ], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'Illegal parameters.'], ], 403 => [ - [ - 'errorCode' => 'AccessForbidden', - 'errorMessage' => 'User not authorized to operate on the specified resource.', - ], + ['errorCode' => 'AccessForbidden', 'errorMessage' => 'User not authorized to operate on the specified resource.'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 409 => [ - [ - 'errorCode' => 'ResourceConflict', - 'errorMessage' => 'Concurrent modification of resources.', - ], + ['errorCode' => 'ResourceConflict', 'errorMessage' => 'Concurrent modification of resources.'], ], 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['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"}]', @@ -11528,13 +6062,8 @@ ], 'GetLogColumnTranslateResult' => [ 'summary' => '获取日期提取结果的翻译', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11542,26 +6071,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'ColumnValue', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], [ 'name' => 'TranslateConfig', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -11570,74 +6090,37 @@ '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', - ], + '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', - ], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'Illegal parameters.'], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'The parameter is missing or invalid. %s'], ], 403 => [ - [ - 'errorCode' => 'InvalidAuthorization', - 'errorMessage' => 'Permission denied', - ], + ['errorCode' => 'InvalidAuthorization', 'errorMessage' => 'Permission denied'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 429 => [ - [ - 'errorCode' => 'ResourceOverLimit', - 'errorMessage' => 'The resource has exceeded the limit. %s', - ], + ['errorCode' => 'ResourceOverLimit', 'errorMessage' => 'The resource has exceeded the limit. %s'], ], ], ], 'GetLineSplitResult' => [ 'summary' => '获取行切分结果', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11645,53 +6128,32 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'tenantRelevance' => 'publicInformation', - ], + 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'], 'parameters' => [ [ 'name' => 'SplitType', 'in' => 'query', - 'schema' => [ - 'title' => '切分类型', - 'type' => 'string', - 'example' => 'simple|regex', - ], + 'schema' => ['title' => '切分类型', 'type' => 'string', 'example' => 'simple|regex'], ], [ 'name' => 'Line', 'in' => 'query', - 'schema' => [ - 'title' => '需要提取的行', - 'type' => 'string', - ], + 'schema' => ['title' => '需要提取的行', 'type' => 'string'], ], [ 'name' => 'Prefix', 'in' => 'query', - 'schema' => [ - 'title' => '已经完成提取的部分', - 'type' => 'string', - ], + 'schema' => ['title' => '已经完成提取的部分', 'type' => 'string'], ], [ 'name' => 'SelectContent', 'in' => 'query', - 'schema' => [ - 'title' => '提取的内容', - 'type' => 'string', - ], + 'schema' => ['title' => '提取的内容', 'type' => 'string'], ], [ 'name' => 'Regex', 'in' => 'query', - 'schema' => [ - 'title' => '提取完成的正则表达式', - 'type' => 'string', - ], + 'schema' => ['title' => '提取完成的正则表达式', 'type' => 'string'], ], ], 'responses' => [ @@ -11700,48 +6162,22 @@ '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', - ], + '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', - ], + 'StartSplitSymbol' => ['type' => 'string'], + 'EndSplitSymbol' => ['type' => 'string'], + 'StartSplitSymbolIndex' => ['type' => 'integer', 'format' => 'int64'], + 'Regex' => ['type' => 'string'], + 'AdditionalRegex' => ['type' => 'string'], 'RegexSplitResult' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], ], ], @@ -11751,45 +6187,24 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameterValue', - 'errorMessage' => 'Illegal parameters.', - ], - [ - 'errorCode' => 'ParameterInvalid', - 'errorMessage' => 'The parameter is missing or invalid. %s', - ], + ['errorCode' => 'InvalidParameterValue', 'errorMessage' => 'Illegal parameters.'], + ['errorCode' => 'ParameterInvalid', 'errorMessage' => 'The parameter is missing or invalid. %s'], ], 403 => [ - [ - 'errorCode' => 'InvalidAuthorization', - 'errorMessage' => 'Permission denied', - ], + ['errorCode' => 'InvalidAuthorization', 'errorMessage' => 'Permission denied'], ], [ - [ - 'errorCode' => 'ResourceNotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'ResourceNotFound', 'errorMessage' => 'The specified resource is not found.'], ], 429 => [ - [ - 'errorCode' => 'ResourceOverLimit', - 'errorMessage' => 'The resource has exceeded the limit. %s', - ], + ['errorCode' => 'ResourceOverLimit', 'errorMessage' => 'The resource has exceeded the limit. %s'], ], ], ], 'DeleteHybridDoubleWrite' => [ 'summary' => '删除双写配置', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11802,23 +6217,12 @@ [ 'name' => 'SourceUserId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '12706766********', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12706766********'], ], [ 'name' => 'SourceNamespace', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'test-source', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'test-source'], ], ], 'responses' => [ @@ -11828,76 +6232,36 @@ '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', - ], + '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.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => '%s is missing or invalid.'], ], 403 => [ - [ - 'errorCode' => 'InvalidAuthorization', - 'errorMessage' => 'InvalidAuthorization.', - ], - [ - 'errorCode' => 'NotAuthSLR', - 'errorMessage' => 'You are not authorized role AliyunServiceRoleForCloudMonitor.', - ], + ['errorCode' => 'InvalidAuthorization', 'errorMessage' => 'InvalidAuthorization.'], + ['errorCode' => 'NotAuthSLR', 'errorMessage' => 'You are not authorized role AliyunServiceRoleForCloudMonitor.'], ], [ - [ - 'errorCode' => 'NotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'NotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalUnknownError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['errorCode' => 'InternalUnknownError', 'errorMessage' => 'The request processing has failed due to some unknown error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11910,44 +6274,22 @@ [ 'name' => 'Namespace', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'test-target', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'test-target'], ], [ 'name' => 'SourceUserId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '12706766********', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12706766********'], ], [ 'name' => 'SourceNamespace', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'test-source', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => true, 'example' => 'test-source'], ], [ 'name' => 'UserId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '12706766********', - ], + 'schema' => ['description' => '', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '12706766********'], ], ], 'responses' => [ @@ -11957,75 +6299,36 @@ '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', - ], + '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.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => '%s is missing or invalid.'], ], 403 => [ - [ - 'errorCode' => 'InvalidAuthorization', - 'errorMessage' => 'InvalidAuthorization.', - ], - [ - 'errorCode' => 'NotAuthSLR', - 'errorMessage' => 'You are not authorized role AliyunServiceRoleForCloudMonitor.', - ], + ['errorCode' => 'InvalidAuthorization', 'errorMessage' => 'InvalidAuthorization.'], + ['errorCode' => 'NotAuthSLR', 'errorMessage' => 'You are not authorized role AliyunServiceRoleForCloudMonitor.'], ], [ - [ - 'errorCode' => 'NotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'NotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalUnknownError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['errorCode' => 'InternalUnknownError', 'errorMessage' => 'The request processing has failed due to some unknown error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12037,36 +6340,22 @@ [ 'name' => 'SourceNamespace', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'test-source', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => 'test-source'], ], [ 'name' => 'SourceUserId', 'in' => 'query', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '12706766**********', - ], + 'schema' => ['description' => '', 'type' => 'string', 'required' => false, 'example' => '12706766**********'], ], [ 'name' => 'TargetUserId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], [ 'name' => 'TargetNamespace', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -12076,27 +6365,10 @@ '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', - ], + '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', @@ -12104,28 +6376,10 @@ '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', - ], + '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'], ], ], ], @@ -12135,200 +6389,66 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'InvalidParameter', - 'errorMessage' => '%s is missing or invalid.', - ], + ['errorCode' => 'InvalidParameter', 'errorMessage' => '%s is missing or invalid.'], ], 403 => [ - [ - 'errorCode' => 'InvalidAuthorization', - 'errorMessage' => 'InvalidAuthorization.', - ], - [ - 'errorCode' => 'NotAuthSLR', - 'errorMessage' => 'You are not authorized role AliyunServiceRoleForCloudMonitor.', - ], + ['errorCode' => 'InvalidAuthorization', 'errorMessage' => 'InvalidAuthorization.'], + ['errorCode' => 'NotAuthSLR', 'errorMessage' => 'You are not authorized role AliyunServiceRoleForCloudMonitor.'], ], [ - [ - 'errorCode' => 'NotFound', - 'errorMessage' => 'The specified resource is not found.', - ], + ['errorCode' => 'NotFound', 'errorMessage' => 'The specified resource is not found.'], ], 500 => [ - [ - 'errorCode' => 'InternalUnknownError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['errorCode' => 'InternalUnknownError', 'errorMessage' => 'The request processing has failed due to some unknown error.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + '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', - ], + ['regionId' => 'cn-qingdao', 'endpoint' => 'metrics.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'endpoint' => 'metrics.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'metrics.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-hongkong', 'endpoint' => 'metrics.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-wuhan-lr', 'endpoint' => 'metrics.cn-wuhan-lr.aliyuncs.com'], + ['regionId' => 'cn-zhongwei', 'endpoint' => 'metrics.cn-zhongwei.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' => 'metrics.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' => 'ap-southeast-8', 'endpoint' => 'metrics.ap-southeast-8.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' => 'us-southeast-1', 'endpoint' => 'metrics.us-southeast-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'endpoint' => 'metrics.eu-west-1.aliyuncs.com'], + ['regionId' => 'eu-west-2', 'endpoint' => 'metrics.eu-west-2.aliyuncs.com'], + ['regionId' => 'na-south-1', 'endpoint' => 'metrics.na-south-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'endpoint' => 'metrics.eu-central-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' => 'metrics.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'], + ['regionId' => 'cn-wulanchabu-gic-1', 'endpoint' => 'metrics.cn-wulanchabu-gic-1.aliyuncs.com'], ], ]; |
