summaryrefslogtreecommitdiff
path: root/data/en_us/cms/2017-03-01
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/cms/2017-03-01
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/en_us/cms/2017-03-01')
-rw-r--r--data/en_us/cms/2017-03-01/api-docs.php2069
1 files changed, 397 insertions, 1672 deletions
diff --git a/data/en_us/cms/2017-03-01/api-docs.php b/data/en_us/cms/2017-03-01/api-docs.php
index ba22e23..3d709f0 100644
--- a/data/en_us/cms/2017-03-01/api-docs.php
+++ b/data/en_us/cms/2017-03-01/api-docs.php
@@ -1,31 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'Cms',
- 'version' => '2017-03-01',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'Cms', 'version' => '2017-03-01'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'CreateAlarm',
- 'DeleteAlarm',
- 'DescribeAlarms',
- 'DisableAlarm',
- 'EnableAlarm',
- 'ListAlarm',
- 'ListAlarmHistory',
- 'NodeInstall',
- 'NodeStatus',
- 'NodeStatusList',
- 'PutCustomMetric',
- 'QueryMetricLast',
- 'QueryMetricList',
- 'UpdateAlarm',
- ],
+ 'children' => ['CreateAlarm', 'DeleteAlarm', 'DescribeAlarms', 'DisableAlarm', 'EnableAlarm', 'ListAlarm', 'ListAlarmHistory', 'NodeInstall', 'NodeStatus', 'NodeStatusList', 'PutCustomMetric', 'QueryMetricLast', 'QueryMetricList', 'UpdateAlarm'],
],
],
'components' => [
@@ -34,165 +15,95 @@
'apis' => [
'CreateAlarm' => [
'summary' => 'CreateAlarm',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '300',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '300'],
],
[
'name' => 'Statistics',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ComparisonOperator',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Threshold',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'EvaluationCount',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '3',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '3'],
],
[
'name' => 'ContactGroups',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '0',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '0'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '24',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '24'],
],
[
'name' => 'SilenceTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'default' => '86400',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'default' => '86400'],
],
[
'name' => 'NotifyType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Webhook',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -200,95 +111,53 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Data' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'Data' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
],
],
],
],
'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,
],
'DeleteAlarm' => [
'summary' => 'DeleteAlarm',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -296,188 +165,99 @@
'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'],
],
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,
],
'DescribeAlarms' => [
'summary' => 'Query Alarm Information',
- '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' => 'Group ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '239758093',
- ],
+ 'schema' => ['description' => 'Group ID', 'type' => 'string', 'required' => false, 'example' => '239758093'],
],
[
'name' => 'GroupBy',
'in' => 'query',
- 'schema' => [
- 'description' => 'Group\'s groupby.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'product',
- ],
+ 'schema' => ['description' => 'Group\'s groupby.', 'type' => 'string', 'required' => false, 'example' => 'product'],
],
[
'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' => 'EnableState',
'in' => 'query',
- 'schema' => [
- 'description' => 'Alarm enable state. Values:'."\n"
- .'- true: Enabled.'."\n"
- .'- false: Disabled.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Alarm enable state. Values:'."\n"
+ .'- true: Enabled.'."\n"
+ .'- false: Disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'description' => 'Namespace',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default-aliyun',
- ],
+ 'schema' => ['description' => 'Namespace', 'type' => 'string', 'required' => false, 'example' => 'default-aliyun'],
],
[
'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' => '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' => 'Alarm rule state.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OK',
- ],
+ 'schema' => ['description' => 'Alarm rule state.', 'type' => 'string', 'required' => false, 'example' => 'OK'],
],
[
'name' => 'DisplayName',
'in' => 'query',
- 'schema' => [
- 'description' => 'Display name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'TestAlarm1',
- ],
+ 'schema' => ['description' => 'Display name.', 'type' => 'string', 'required' => false, 'example' => 'TestAlarm1'],
],
[
'name' => 'Names',
'in' => 'query',
- 'schema' => [
- 'description' => 'Alarm name.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'metricRuleTargets-20180308ofoa',
- ],
+ 'schema' => ['description' => 'Alarm name.', 'type' => 'string', 'required' => false, 'example' => 'metricRuleTargets-20180308ofoa'],
],
[
'name' => 'NameKeyword',
'in' => 'query',
- 'schema' => [
- 'description' => 'Keyword.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key1',
- ],
+ 'schema' => ['description' => 'Keyword.', 'type' => 'string', 'required' => false, 'example' => 'key1'],
],
],
'responses' => [
@@ -485,41 +265,16 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => 'Request ID.',
- 'type' => 'string',
- 'example' => '4D3907D7-F747-582F-9A08-D32362857B5F',
- ],
- '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' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => 'Message.',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'TraceId' => [
- 'description' => 'Trace ID.',
- 'type' => 'string',
- 'example' => '403F0D3A-30FB-5BB1-9F58-14704EA23DC0',
- ],
- 'Total' => [
- 'description' => 'Total number of results.',
- 'type' => 'string',
- 'example' => '23810',
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '4D3907D7-F747-582F-9A08-D32362857B5F'],
+ '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' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => 'Message.', 'type' => 'string', 'example' => 'success'],
+ 'TraceId' => ['description' => 'Trace ID.', 'type' => 'string', 'example' => '403F0D3A-30FB-5BB1-9F58-14704EA23DC0'],
+ 'Total' => ['description' => 'Total number of results.', 'type' => 'string', 'example' => '23810'],
'Datapoints' => [
'type' => 'object',
'itemNode' => true,
@@ -531,130 +286,34 @@
'description' => 'Alarm object',
'type' => 'object',
'properties' => [
- 'DisplayName' => [
- 'description' => 'Display name',
- 'type' => 'string',
- 'example' => '过去5分钟的系统平均负载',
- ],
- 'MetricName' => [
- 'description' => 'Metric name.',
- 'type' => 'string',
- 'example' => 'ResponseTime',
- ],
- 'EffectiveInterval' => [
- 'description' => 'Effective time range for the alarm.',
- 'type' => 'string',
- 'example' => '0:00-23:59',
- ],
- 'NoEffectiveInterval' => [
- 'description' => 'Time period when the alarm is not effective.',
- 'type' => 'string',
- 'example' => '00:00-05:30',
- ],
- 'ComparisonOperator' => [
- 'description' => 'Comparison operator',
- 'type' => 'string',
- 'example' => 'LessThanLastWeek',
- ],
- 'Subject' => [
- 'description' => 'Alarm title',
- 'type' => 'string',
- 'example' => 'JHighSchool_Geography',
- ],
- 'Dimensions' => [
- 'description' => 'Dimensions.',
- 'type' => 'string',
- 'example' => '[{\\"instanceId\\":\\"i-2ze1f2hf4tda59jxrjim\\"}]',
- ],
- 'Name' => [
- 'description' => 'Alarm name.',
- 'type' => 'string',
- 'example' => 'yc-api-test-rule-black-0onik7',
- ],
- 'Resources' => [
- 'description' => 'Resource name',
- 'type' => 'string',
- 'example' => '{\'Resource\': [{\'Category\': \'K8S_POD\', \'AliUid\': 1530662934927689, \'InstanceId\': \'7ca2a9eb-342d-11ee-a881-669fb70e3d81\', \'RegionId\': \'cn-hangzhou\', \'InstanceName\': \'logtail-fpftv\', \'Id\': 2881183319}]}',
- ],
- 'Threshold' => [
- 'description' => 'Alarm threshold.',
- 'type' => 'string',
- 'example' => '97',
- ],
- 'SilenceTime' => [
- 'description' => 'Silence time.',
- 'type' => 'string',
- 'example' => '60',
- ],
- '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 for triggering the alarm callback.',
- 'type' => 'string',
- 'example' => '{\\"method\\":\\"post\\",\\"url\\":\\"https://dns.console.aliyun.com/gtm/webhook/alarm.json?sign=860765935a01fef8f31ea384c11dabc7&aliUid=35160428\\"}',
- ],
- 'State' => [
- 'description' => 'Alarm state.',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'ContactGroups' => [
- 'description' => 'Alarm contact groups.',
- 'type' => 'string',
- 'example' => '云账号报警联系人',
- ],
- 'Namespace' => [
- 'description' => 'Namespace.',
- 'type' => 'string',
- 'example' => 'acs_dts',
- ],
- 'Period' => [
- 'description' => 'Statistical period.',
- 'type' => 'string',
- 'example' => '60',
- ],
- 'RuleName' => [
- 'description' => 'Alarm rule name.',
- 'type' => 'string',
- 'example' => 'DBS_EVENT_RULE',
- ],
- 'Uuid' => [
- 'description' => 'Alarm UUID.',
- 'type' => 'string',
- 'example' => 'ddd4c5b6-38db-44fa-8ad0-7ce966efc0ba',
- ],
- 'GroupId' => [
- 'description' => 'Group ID.',
- 'type' => 'string',
- 'example' => '239954856',
- ],
- 'GroupName' => [
- 'description' => 'Group name.',
- 'type' => 'string',
- 'example' => 'monitor_group_2018_templateNameFail',
- ],
- 'Level' => [
- 'description' => 'Alarm level.',
- 'type' => 'string',
- 'example' => 'INFO',
- ],
- 'Enable' => [
- 'description' => 'Alarm enable status. Values:'."\n"
- ."\n"
- .'- true: Enabled.'."\n"
- ."\n"
- .'- false: Disabled.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Statistics' => [
- 'description' => 'Statistical information.',
- 'type' => 'string',
- 'example' => 'Maximum',
- ],
+ 'DisplayName' => ['description' => 'Display name', 'type' => 'string', 'example' => '过去5分钟的系统平均负载'],
+ 'MetricName' => ['description' => 'Metric name.', 'type' => 'string', 'example' => 'ResponseTime'],
+ 'EffectiveInterval' => ['description' => 'Effective time range for the alarm.', 'type' => 'string', 'example' => '0:00-23:59'],
+ 'NoEffectiveInterval' => ['description' => 'Time period when the alarm is not effective.', 'type' => 'string', 'example' => '00:00-05:30'],
+ 'ComparisonOperator' => ['description' => 'Comparison operator', 'type' => 'string', 'example' => 'LessThanLastWeek'],
+ 'Subject' => ['description' => 'Alarm title', 'type' => 'string', 'example' => 'JHighSchool_Geography'],
+ 'Dimensions' => ['description' => 'Dimensions.', 'type' => 'string', 'example' => '[{\\"instanceId\\":\\"i-2ze1f2hf4tda59jxrjim\\"}]'],
+ 'Name' => ['description' => 'Alarm name.', 'type' => 'string', 'example' => 'yc-api-test-rule-black-0onik7'],
+ 'Resources' => ['description' => 'Resource name', 'type' => 'string', 'example' => '{\'Resource\': [{\'Category\': \'K8S_POD\', \'AliUid\': 1530662934927689, \'InstanceId\': \'7ca2a9eb-342d-11ee-a881-669fb70e3d81\', \'RegionId\': \'cn-hangzhou\', \'InstanceName\': \'logtail-fpftv\', \'Id\': 2881183319}]}'],
+ 'Threshold' => ['description' => 'Alarm threshold.', 'type' => 'string', 'example' => '97'],
+ 'SilenceTime' => ['description' => 'Silence time.', 'type' => 'string', 'example' => '60'],
+ '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 for triggering the alarm callback.', 'type' => 'string', 'example' => '{\\"method\\":\\"post\\",\\"url\\":\\"https://dns.console.aliyun.com/gtm/webhook/alarm.json?sign=860765935a01fef8f31ea384c11dabc7&aliUid=35160428\\"}'],
+ 'State' => ['description' => 'Alarm state.', 'type' => 'string', 'example' => 'OK'],
+ 'ContactGroups' => ['description' => 'Alarm contact groups.', 'type' => 'string', 'example' => '云账号报警联系人'],
+ 'Namespace' => ['description' => 'Namespace.', 'type' => 'string', 'example' => 'acs_dts'],
+ 'Period' => ['description' => 'Statistical period.', 'type' => 'string', 'example' => '60'],
+ 'RuleName' => ['description' => 'Alarm rule name.', 'type' => 'string', 'example' => 'DBS_EVENT_RULE'],
+ 'Uuid' => ['description' => 'Alarm UUID.', 'type' => 'string', 'example' => 'ddd4c5b6-38db-44fa-8ad0-7ce966efc0ba'],
+ 'GroupId' => ['description' => 'Group ID.', 'type' => 'string', 'example' => '239954856'],
+ 'GroupName' => ['description' => 'Group name.', 'type' => 'string', 'example' => 'monitor_group_2018_templateNameFail'],
+ 'Level' => ['description' => 'Alarm level.', 'type' => 'string', 'example' => 'INFO'],
+ 'Enable' => ['description' => 'Alarm enable status. Values:'."\n"
+ ."\n"
+ .'- true: Enabled.'."\n"
+ ."\n"
+ .'- false: Disabled.', 'type' => 'boolean', 'example' => 'true'],
+ 'Statistics' => ['description' => 'Statistical information.', 'type' => 'string', 'example' => 'Maximum'],
],
],
],
@@ -666,22 +325,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\\": \\"4D3907D7-F747-582F-9A08-D32362857B5F\\",\\n \\"Success\\": true,\\n \\"Code\\": 200,\\n \\"Message\\": \\"success\\",\\n \\"TraceId\\": \\"403F0D3A-30FB-5BB1-9F58-14704EA23DC0\\",\\n \\"Total\\": \\"23810\\",\\n \\"Datapoints\\": {\\n \\"Alarm\\": [\\n {\\n \\"DisplayName\\": \\"过去5分钟的系统平均负载\\",\\n \\"MetricName\\": \\"ResponseTime\\",\\n \\"EffectiveInterval\\": \\"0:00-23:59\\",\\n \\"NoEffectiveInterval\\": \\"00:00-05:30\\",\\n \\"ComparisonOperator\\": \\"LessThanLastWeek\\",\\n \\"Subject\\": \\"JHighSchool_Geography\\",\\n \\"Dimensions\\": \\"[{\\\\\\\\\\\\\\"instanceId\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"i-2ze1f2hf4tda59jxrjim\\\\\\\\\\\\\\"}]\\",\\n \\"Name\\": \\"yc-api-test-rule-black-0onik7\\",\\n \\"Resources\\": \\"{\'Resource\': [{\'Category\': \'K8S_POD\', \'AliUid\': 1530662934927689, \'InstanceId\': \'7ca2a9eb-342d-11ee-a881-669fb70e3d81\', \'RegionId\': \'cn-hangzhou\', \'InstanceName\': \'logtail-fpftv\', \'Id\': 2881183319}]}\\",\\n \\"Threshold\\": \\"97\\",\\n \\"SilenceTime\\": \\"60\\",\\n \\"EvaluationCount\\": \\"3\\",\\n \\"Webhook\\": \\"{\\\\\\\\\\\\\\"method\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"post\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"url\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"https://dns.console.aliyun.com/gtm/webhook/alarm.json?sign=860765935a01fef8f31ea384c11dabc7&aliUid=35160428\\\\\\\\\\\\\\"}\\",\\n \\"State\\": \\"OK\\",\\n \\"ContactGroups\\": \\"云账号报警联系人\\",\\n \\"Namespace\\": \\"acs_dts\\",\\n \\"Period\\": \\"60\\",\\n \\"RuleName\\": \\"DBS_EVENT_RULE\\",\\n \\"Uuid\\": \\"ddd4c5b6-38db-44fa-8ad0-7ce966efc0ba\\",\\n \\"GroupId\\": \\"239954856\\",\\n \\"GroupName\\": \\"monitor_group_2018_templateNameFail\\",\\n \\"Level\\": \\"INFO\\",\\n \\"Enable\\": true,\\n \\"Statistics\\": \\"Maximum\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
@@ -690,42 +340,25 @@
],
'DisableAlarm' => [
'summary' => 'DisableAlarm',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -733,92 +366,52 @@
'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'],
],
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,
],
'EnableAlarm' => [
'summary' => 'EnableAlarm',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -826,173 +419,90 @@
'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'],
],
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,
],
'ListAlarm' => [
'summary' => 'Query specific or all alarm rule settings',
- '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' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'description' => 'Responsible person.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'user789',
- ],
+ 'schema' => ['description' => 'Responsible person.', 'type' => 'string', 'required' => false, 'example' => 'user789'],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => 'The ID of the alarm rule.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'A052CE0CC481AE6F8EE5BFDE8209E39229091623',
- ],
+ 'schema' => ['description' => 'The ID of the alarm rule.', 'type' => 'string', 'required' => false, 'example' => 'A052CE0CC481AE6F8EE5BFDE8209E39229091623'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => 'The name of the alarm rule.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '报警测试',
- ],
+ 'schema' => ['description' => 'The name of the alarm rule.', 'type' => 'string', 'required' => false, 'example' => '报警测试'],
],
[
'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' => 'Dimension',
'in' => 'query',
- 'schema' => [
- 'description' => 'Dimension',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"clusterId\\":\\"C-9F308DAF783A80DF\\",\\"userId\\":\\"5654008347177444\\"}',
- ],
+ 'schema' => ['description' => 'Dimension', 'type' => 'string', 'required' => false, 'example' => '{\\"clusterId\\":\\"C-9F308DAF783A80DF\\",\\"userId\\":\\"5654008347177444\\"}'],
],
[
'name' => 'State',
'in' => 'query',
- 'schema' => [
- 'description' => 'Alarm status.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ok',
- ],
+ 'schema' => ['description' => 'Alarm status.', 'type' => 'string', 'required' => false, 'example' => 'ok'],
],
[
'name' => 'IsEnable',
'in' => 'query',
- 'schema' => [
- 'description' => 'Whether it is enabled. Value range:'."\n"
- ."\n"
- .'- true: Enabled.'."\n"
- .'- false: Disabled.',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Whether it is enabled. Value range:'."\n"
+ ."\n"
+ .'- true: Enabled.'."\n"
+ .'- false: Disabled.', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'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' => [
@@ -1000,38 +510,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => 'Next page, an empty value indicates no next page.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'RequestId' => [
- 'description' => 'Request ID, a unique identifier for each request.'."\n",
- 'type' => 'string',
- 'example' => 'DC4B526D-D522-59AA-85E2-B6118D4941DC',
- ],
- 'Success' => [
- 'description' => 'Whether the request was successful.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => 'Status code. Note: 200 indicates success.',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => 'Response message from the request',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Total' => [
- 'description' => 'Total number of data entries that meet the criteria.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '27',
- ],
+ 'NextToken' => ['description' => 'Next page, an empty value indicates no next page.', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'RequestId' => ['description' => 'Request ID, a unique identifier for each request.'."\n", 'type' => 'string', 'example' => 'DC4B526D-D522-59AA-85E2-B6118D4941DC'],
+ 'Success' => ['description' => 'Whether the request was successful.', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => 'Status code. Note: 200 indicates success.', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => 'Response message from the request', 'type' => 'string', 'example' => 'success'],
+ 'Total' => ['description' => 'Total number of data entries that meet the criteria.', 'type' => 'integer', 'format' => 'int32', 'example' => '27'],
'AlarmList' => [
'type' => 'object',
'itemNode' => true,
@@ -1043,110 +527,28 @@
'description' => 'Alarm object',
'type' => 'object',
'properties' => [
- 'SilenceTime' => [
- 'description' => 'Silence time',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'MetricName' => [
- 'description' => 'The name of the monitoring item.',
- 'type' => 'string',
- 'example' => 'cpu_total',
- ],
- 'EvaluationCount' => [
- 'description' => 'Number of consecutive detections that must meet the threshold condition to trigger an alarm.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'Webhook' => [
- 'description' => 'URL address for triggering the alarm callback.',
- 'type' => 'string',
- 'example' => '{\\"method\\":\\"post\\",\\"url\\":\\"https://alidns-http-proxy.aliyuncs.com/api/gtm/alert/callback?sign=494b2a13b63a77def1b3b56d63b96d0a&aliUid=1763735399554991\\"}',
- ],
- 'State' => [
- 'description' => 'Alarm status.',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'ContactGroups' => [
- 'description' => 'Alarm contact groups.',
- 'type' => 'string',
- 'example' => '云账号报警联系人,阿里_gccs告警',
- ],
- 'Namespace' => [
- 'description' => 'Namespace',
- 'type' => 'string',
- 'example' => 'acs_event_sys',
- ],
- 'Period' => [
- 'description' => 'Statistical period.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'EndTime' => [
- 'description' => 'End time for querying alarms.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2025-07-06T02:00:14Z',
- ],
- 'ComparisonOperator' => [
- 'description' => 'Comparison operator.',
- 'type' => 'string',
- 'example' => 'NotEqualToThreshold',
- ],
- 'StartTime' => [
- 'description' => 'Start time for querying alarms.',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2025-05-27T16:00:00Z',
- ],
- 'NotifyType' => [
- 'description' => 'Notification object type',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'GroupId' => [
- 'description' => 'Group ID.',
- 'type' => 'string',
- 'example' => '26519034',
- ],
- 'Dimensions' => [
- 'description' => 'Dimensions.',
- 'type' => 'string',
- 'example' => '[{instanceId:\'rm-zf83q02vh8r0bzr9c\'}]',
- ],
- 'Name' => [
- 'description' => 'Alarm name',
- 'type' => 'string',
- 'example' => 'emr测试集群CPU/内存报警静默',
- ],
- 'Threshold' => [
- 'description' => 'Alarm threshold.',
- 'type' => 'string',
- 'example' => '90',
- ],
- 'Id' => [
- 'description' => 'The ID of the alarm rule.',
- 'type' => 'string',
- 'example' => 'beec0d28-c81e-49f8-aa54-4fc1738be521',
- ],
- 'Enable' => [
- 'description' => 'The enablement status of the alarm. Value range:'."\n"
- ."\n"
- .'- true: Enabled.'."\n"
- .'- false: Disabled.',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Statistics' => [
- 'description' => 'Alarm statistics.',
- 'type' => 'string',
- 'example' => 'Maximum',
- ],
+ 'SilenceTime' => ['description' => 'Silence time', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'MetricName' => ['description' => 'The name of the monitoring item.', 'type' => 'string', 'example' => 'cpu_total'],
+ 'EvaluationCount' => ['description' => 'Number of consecutive detections that must meet the threshold condition to trigger an alarm.', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'Webhook' => ['description' => 'URL address for triggering the alarm callback.', 'type' => 'string', 'example' => '{\\"method\\":\\"post\\",\\"url\\":\\"https://alidns-http-proxy.aliyuncs.com/api/gtm/alert/callback?sign=494b2a13b63a77def1b3b56d63b96d0a&aliUid=1763735399554991\\"}'],
+ 'State' => ['description' => 'Alarm status.', 'type' => 'string', 'example' => 'ok'],
+ 'ContactGroups' => ['description' => 'Alarm contact groups.', 'type' => 'string', 'example' => '云账号报警联系人,阿里_gccs告警'],
+ 'Namespace' => ['description' => 'Namespace', 'type' => 'string', 'example' => 'acs_event_sys'],
+ 'Period' => ['description' => 'Statistical period.', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'EndTime' => ['description' => 'End time for querying alarms.', 'type' => 'integer', 'format' => 'int32', 'example' => '2025-07-06T02:00:14Z'],
+ 'ComparisonOperator' => ['description' => 'Comparison operator.', 'type' => 'string', 'example' => 'NotEqualToThreshold'],
+ 'StartTime' => ['description' => 'Start time for querying alarms.', 'type' => 'integer', 'format' => 'int32', 'example' => '2025-05-27T16:00:00Z'],
+ 'NotifyType' => ['description' => 'Notification object type', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'GroupId' => ['description' => 'Group ID.', 'type' => 'string', 'example' => '26519034'],
+ 'Dimensions' => ['description' => 'Dimensions.', 'type' => 'string', 'example' => '[{instanceId:\'rm-zf83q02vh8r0bzr9c\'}]'],
+ 'Name' => ['description' => 'Alarm name', 'type' => 'string', 'example' => 'emr测试集群CPU/内存报警静默'],
+ 'Threshold' => ['description' => 'Alarm threshold.', 'type' => 'string', 'example' => '90'],
+ 'Id' => ['description' => 'The ID of the alarm rule.', 'type' => 'string', 'example' => 'beec0d28-c81e-49f8-aa54-4fc1738be521'],
+ 'Enable' => ['description' => 'The enablement status of the alarm. Value range:'."\n"
+ ."\n"
+ .'- true: Enabled.'."\n"
+ .'- false: Disabled.', 'type' => 'boolean', 'example' => 'true'],
+ 'Statistics' => ['description' => 'Alarm statistics.', 'type' => 'string', 'example' => 'Maximum'],
],
],
],
@@ -1158,32 +560,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 \\"NextToken\\": 2,\\n \\"RequestId\\": \\"DC4B526D-D522-59AA-85E2-B6118D4941DC\\",\\n \\"Success\\": true,\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"success\\",\\n \\"Total\\": 27,\\n \\"AlarmList\\": {\\n \\"Alarm\\": [\\n {\\n \\"SilenceTime\\": 60,\\n \\"MetricName\\": \\"cpu_total\\",\\n \\"EvaluationCount\\": 3,\\n \\"Webhook\\": \\"{\\\\\\\\\\\\\\"method\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"post\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"url\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"https://alidns-http-proxy.aliyuncs.com/api/gtm/alert/callback?sign=494b2a13b63a77def1b3b56d63b96d0a&aliUid=1763735399554991\\\\\\\\\\\\\\"}\\",\\n \\"State\\": \\"ok\\",\\n \\"ContactGroups\\": \\"云账号报警联系人,阿里_gccs告警\\",\\n \\"Namespace\\": \\"acs_event_sys\\",\\n \\"Period\\": 60,\\n \\"EndTime\\": 0,\\n \\"ComparisonOperator\\": \\"NotEqualToThreshold\\",\\n \\"StartTime\\": 0,\\n \\"NotifyType\\": 2,\\n \\"GroupId\\": \\"26519034\\",\\n \\"Dimensions\\": \\"[{instanceId:\'rm-zf83q02vh8r0bzr9c\'}]\\",\\n \\"Name\\": \\"emr测试集群CPU/内存报警静默\\",\\n \\"Threshold\\": \\"90\\",\\n \\"Id\\": \\"beec0d28-c81e-49f8-aa54-4fc1738be521\\",\\n \\"Enable\\": true,\\n \\"Statistics\\": \\"Maximum\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
@@ -1192,75 +579,45 @@
],
'ListAlarmHistory' => [
'summary' => 'ListAlarmHistory',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Size',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', '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' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -1268,21 +625,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Cursor' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'Cursor' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
'AlarmHistoryList' => [
'type' => 'object',
'itemNode' => true,
@@ -1292,46 +639,18 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'MetricName' => [
- 'type' => 'string',
- ],
- 'EvaluationCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'State' => [
- 'type' => 'string',
- ],
- 'ContactGroups' => [
- 'type' => 'string',
- ],
- 'Namespace' => [
- 'type' => 'string',
- ],
- 'Dimension' => [
- 'type' => 'string',
- ],
- 'LastTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Value' => [
- 'type' => 'string',
- ],
- 'AlarmTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'Id' => [
- 'type' => 'string',
- ],
+ 'Status' => ['type' => 'integer', 'format' => 'int32'],
+ 'MetricName' => ['type' => 'string'],
+ 'EvaluationCount' => ['type' => 'integer', 'format' => 'int32'],
+ 'State' => ['type' => 'string'],
+ 'ContactGroups' => ['type' => 'string'],
+ 'Namespace' => ['type' => 'string'],
+ 'Dimension' => ['type' => 'string'],
+ 'LastTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'Value' => ['type' => 'string'],
+ 'AlarmTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'Name' => ['type' => 'string'],
+ 'Id' => ['type' => 'string'],
],
],
],
@@ -1343,82 +662,47 @@
],
'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,
],
'NodeInstall' => [
'summary' => 'NodeInstall',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'UserId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Force',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- 'default' => 'true',
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false, 'default' => 'true'],
],
],
'responses' => [
@@ -1426,84 +710,47 @@
'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' => '%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,
],
'NodeStatus' => [
'summary' => 'NodeStatus',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -1511,93 +758,50 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'type' => 'string',
- ],
- 'ErrorMessage' => [
- 'type' => 'string',
- ],
- 'RequestId' => [
- 'type' => 'string',
- ],
- 'AutoInstall' => [
- 'type' => 'boolean',
- ],
- 'ErrorCode' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'InstanceId' => [
- 'type' => 'string',
- ],
+ 'Status' => ['type' => 'string'],
+ 'ErrorMessage' => ['type' => 'string'],
+ 'RequestId' => ['type' => 'string'],
+ 'AutoInstall' => ['type' => 'boolean'],
+ 'ErrorCode' => ['type' => 'integer', 'format' => 'int32'],
+ 'Success' => ['type' => 'boolean'],
+ 'InstanceId' => ['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,
],
'NodeStatusList' => [
'summary' => 'NodeStatusList',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['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' => 'InstanceIds',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
],
'responses' => [
@@ -1605,19 +809,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'],
'NodeStatusList' => [
'type' => 'object',
'itemNode' => true,
@@ -1627,15 +822,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'type' => 'string',
- ],
- 'InstanceId' => [
- 'type' => 'string',
- ],
- 'AutoInstall' => [
- 'type' => 'boolean',
- ],
+ 'Status' => ['type' => 'string'],
+ 'InstanceId' => ['type' => 'string'],
+ 'AutoInstall' => ['type' => 'boolean'],
],
],
],
@@ -1647,65 +836,37 @@
],
'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,
],
'PutCustomMetric' => [
'summary' => 'PutCustomMetric',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ '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' => 'MetricList',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -1713,60 +874,34 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Code' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'Data' => [
- 'type' => 'string',
- ],
+ 'Code' => ['type' => 'string'],
+ 'Message' => ['type' => 'string'],
+ 'Data' => ['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,
],
'QueryMetricLast' => [
'summary' => 'Query the latest monitoring data for a specified monitoring object.',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1774,126 +909,66 @@
],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'description' => 'Responsible person.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'wn32reo1',
- ],
+ 'schema' => ['description' => 'Responsible person.', 'type' => 'string', 'required' => false, 'example' => 'wn32reo1'],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => 'The project of the monitoring item, used for querying monitoring data.',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'acs_ecs_dashboard',
- ],
+ 'schema' => ['description' => 'The project of the monitoring item, used for querying monitoring data.', 'type' => 'string', 'required' => true, 'example' => 'acs_ecs_dashboard'],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'description' => 'Monitoring item name.',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'CPUUtilization',
- ],
+ 'schema' => ['description' => 'Monitoring item name.', 'type' => 'string', 'required' => true, 'example' => 'CPUUtilization'],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'description' => 'Time interval. Unit: seconds. Values: 60, 300, 900.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '60',
- ],
+ 'schema' => ['description' => 'Time interval. Unit: seconds. Values: 60, 300, 900.', 'type' => 'string', 'required' => false, 'example' => '60'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'Start time for querying the monitoring item.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-01-31 10:00:00',
- ],
+ 'schema' => ['description' => 'Start time for querying the monitoring item.', 'type' => 'string', 'required' => false, 'example' => '2019-01-31 10:00:00'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'End time for querying the monitoring item.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-01-31 10:10:00',
- ],
+ 'schema' => ['description' => 'End time for querying the monitoring item.', '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 batch querying of up to 50 instances at most.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\'instanceId\': \'rm-bp12cn75qrjgpb9s5\'}',
- ],
+ '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 batch querying of up to 50 instances at most.', 'type' => 'string', 'required' => false, 'example' => '{\'instanceId\': \'rm-bp12cn75qrjgpb9s5\'}'],
],
[
'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' => 'Page size for returning monitoring data, used for pagination queries.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1000',
- ],
+ 'schema' => ['description' => 'Page size for returning monitoring data, used for pagination queries.', 'type' => 'string', 'required' => false, 'example' => '1000'],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'description' => 'Expression for real-time calculation on the retrieved results.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"groupby\\":[\\"userId\\",\\"instanceId\\"]}',
- ],
+ 'schema' => ['description' => 'Expression for real-time calculation on the retrieved results.', 'type' => 'string', 'required' => false, 'example' => '{\\"groupby\\":[\\"userId\\",\\"instanceId\\"]}'],
],
],
'responses' => [
@@ -1901,73 +976,30 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Cursor' => [
- 'description' => 'Next page of data; if empty, it indicates there is no next page.',
- 'type' => 'string',
- 'example' => 'v2.5eyJidWNrZXRzIjo0LCJjdXJzb3IiOiIxNjQxNDU0ODAwMDAwMWUxY2YxNWY0NTU0MTliZjllYTY4OWQ2ODI1OTU1Yzc1NmZjMDQ2OTMxMzczMzM2MzUzMTMxMzEzMzM0MzMzODM5MzEzMTMwMjQyYzY5MmQzMjdhNjU2MjY3N2E2NjZhNzczOTY2NmM3Mjc0NjM3MzY5Njg3NDcyMjQyYyIsImN1cnNvclZlcnNpb24iOiJxdWVyeSIsImVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydEVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydFN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwiZXhwcmVzc1JhbmdlIjpmYWxzZSwiaGFzTmV4dCI6dHJ1ZSwiaW5wdXRNZXRyaWMiOiJDUFVVdGlsaXphdGlvbiIsImlucHV0TmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJsaW1pdCI6MTAwMCwibG9nVGltZU1vZGUiOnRydWUsIm1hdGNoZXJzIjp7ImNoYWluIjpbeyJsYWJlbCI6InVzZXJJZCIsIm9wZXJhdG9yIjoiRVFVQUxTIiwidmFsdWUiOiIxNzM2NTExMTM0Mzg5MTEwIn1dfSwibWV0cmljIjoiQ1BVVXRpbGl6YXRpb24iLCJtZXRyaWNUeXBlIjoiTUVUUklDIiwibmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJuZXh0UGtBZGFwdGVyIjp7fSwib2Zmc2V0IjowLCJwYXJlbnRVaWQiOjEyNzA2NzY2Nzk1NDY3MDQsInN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwic3RlcCI6LTEsInRpbWVvdXQiOjEyMCwid2luZG93Ijo2MH0***',
- ],
- 'RequestId' => [
- 'description' => 'Request ID, used for locating logs and troubleshooting issues.',
- 'type' => 'string',
- 'example' => '021472A6-25E3-4094-8D00-BA4B6A5486C3',
- ],
- 'Success' => [
- 'description' => 'Indicates whether this call was successful.',
- 'type' => 'boolean',
- '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, 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.5eyJidWNrZXRzIjo0LCJjdXJzb3IiOiIxNjQxNDU0ODAwMDAwMWUxY2YxNWY0NTU0MTliZjllYTY4OWQ2ODI1OTU1Yzc1NmZjMDQ2OTMxMzczMzM2MzUzMTMxMzEzMzM0MzMzODM5MzEzMTMwMjQyYzY5MmQzMjdhNjU2MjY3N2E2NjZhNzczOTY2NmM3Mjc0NjM3MzY5Njg3NDcyMjQyYyIsImN1cnNvclZlcnNpb24iOiJxdWVyeSIsImVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydEVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydFN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwiZXhwcmVzc1JhbmdlIjpmYWxzZSwiaGFzTmV4dCI6dHJ1ZSwiaW5wdXRNZXRyaWMiOiJDUFVVdGlsaXphdGlvbiIsImlucHV0TmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJsaW1pdCI6MTAwMCwibG9nVGltZU1vZGUiOnRydWUsIm1hdGNoZXJzIjp7ImNoYWluIjpbeyJsYWJlbCI6InVzZXJJZCIsIm9wZXJhdG9yIjoiRVFVQUxTIiwidmFsdWUiOiIxNzM2NTExMTM0Mzg5MTEwIn1dfSwibWV0cmljIjoiQ1BVVXRpbGl6YXRpb24iLCJtZXRyaWNUeXBlIjoiTUVUUklDIiwibmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJuZXh0UGtBZGFwdGVyIjp7fSwib2Zmc2V0IjowLCJwYXJlbnRVaWQiOjEyNzA2NzY2Nzk1NDY3MDQsInN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwic3RlcCI6LTEsInRpbWVvdXQiOjEyMCwid2luZG93Ijo2MH0***'],
+ 'RequestId' => ['description' => 'Request ID, used for locating logs and troubleshooting issues.', 'type' => 'string', 'example' => '021472A6-25E3-4094-8D00-BA4B6A5486C3'],
+ 'Success' => ['description' => 'Indicates whether this call was successful.', 'type' => 'boolean', '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, 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' => '%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 \\"Cursor\\": \\"v2.5eyJidWNrZXRzIjo0LCJjdXJzb3IiOiIxNjQxNDU0ODAwMDAwMWUxY2YxNWY0NTU0MTliZjllYTY4OWQ2ODI1OTU1Yzc1NmZjMDQ2OTMxMzczMzM2MzUzMTMxMzEzMzM0MzMzODM5MzEzMTMwMjQyYzY5MmQzMjdhNjU2MjY3N2E2NjZhNzczOTY2NmM3Mjc0NjM3MzY5Njg3NDcyMjQyYyIsImN1cnNvclZlcnNpb24iOiJxdWVyeSIsImVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydEVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydFN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwiZXhwcmVzc1JhbmdlIjpmYWxzZSwiaGFzTmV4dCI6dHJ1ZSwiaW5wdXRNZXRyaWMiOiJDUFVVdGlsaXphdGlvbiIsImlucHV0TmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJsaW1pdCI6MTAwMCwibG9nVGltZU1vZGUiOnRydWUsIm1hdGNoZXJzIjp7ImNoYWluIjpbeyJsYWJlbCI6InVzZXJJZCIsIm9wZXJhdG9yIjoiRVFVQUxTIiwidmFsdWUiOiIxNzM2NTExMTM0Mzg5MTEwIn1dfSwibWV0cmljIjoiQ1BVVXRpbGl6YXRpb24iLCJtZXRyaWNUeXBlIjoiTUVUUklDIiwibmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJuZXh0UGtBZGFwdGVyIjp7fSwib2Zmc2V0IjowLCJwYXJlbnRVaWQiOjEyNzA2NzY2Nzk1NDY3MDQsInN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwic3RlcCI6LTEsInRpbWVvdXQiOjEyMCwid2luZG93Ijo2MH0***\\",\\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"}]',
@@ -1976,139 +1008,74 @@
],
'QueryMetricList' => [
'summary' => 'Query the monitoring data of a specified product instance over a period of time.',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['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' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'description' => 'Responsible person.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'urs879e',
- ],
+ 'schema' => ['description' => 'Responsible person.', 'type' => 'string', 'required' => false, 'example' => 'urs879e'],
],
[
'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,
- '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, 'example' => 'acs_ecs_dashboard'],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'description' => 'Monitoring item name.',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cpu_idle',
- ],
+ 'schema' => ['description' => 'Monitoring item name.', 'type' => 'string', 'required' => true, 'example' => 'cpu_idle'],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'description' => 'Time interval. Unit: seconds. Values: 60, 300, 900.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '60',
- ],
+ 'schema' => ['description' => 'Time interval. Unit: seconds. Values: 60, 300, 900.', 'type' => 'string', 'required' => false, 'example' => '60'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => 'Start time. You can pass in the number of milliseconds since 00:00:00 on January 1, 1970, or a formatted date and time, such as 2015-10-20 00:00:00.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-01-30 00:00:00',
- ],
+ 'schema' => ['description' => 'Start time. You can pass in the number of milliseconds since 00:00:00 on January 1, 1970, or a formatted date and time, 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. You can pass in the number of milliseconds since 00:00:00 on January 1, 1970, or a formatted date and time, such as 2015-10-20 00:00:00.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-01-30 00:10:00',
- ],
+ 'schema' => ['description' => 'End time. You can pass in the number of milliseconds since 00:00:00 on January 1, 1970, or a formatted date and time, such as 2015-10-20 00:00:00.', 'type' => 'string', 'required' => false, 'example' => '2019-01-30 00: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.',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{"instanceId": "i-abcdefgh123456"}]',
- ],
+ '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.', 'type' => 'string', 'required' => false, 'example' => '[{"instanceId": "i-abcdefgh123456"}]'],
],
[
'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' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'description' => 'Next page of data. An empty value indicates there is no next page.',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0***********',
- ],
+ 'schema' => ['description' => 'Next page of data. An empty value indicates there is no next page.', '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 queried 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 queried results. Currently, only `groupby` is supported, similar to the `groupby` statement in a database.', 'type' => 'string', 'required' => false, 'example' => '{\\"groupby\\":[\\"instanceId\\"]}'],
],
],
'responses' => [
@@ -2116,73 +1083,30 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Cursor' => [
- 'description' => 'Next page of data. An empty value indicates there is no next page.',
- 'type' => 'string',
- 'example' => 'v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0',
- ],
- 'RequestId' => [
- 'description' => 'Request ID, used for locating logs and troubleshooting issues.',
- 'type' => 'string',
- 'example' => '3121AE7D-4AFF-4C25-8F1D-C8226EBB1F42',
- ],
- 'Success' => [
- 'description' => 'Whether the request was successful.',
- 'type' => 'boolean',
- '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, 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 there is no next page.', 'type' => 'string', 'example' => 'v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0'],
+ 'RequestId' => ['description' => 'Request ID, used for locating logs and troubleshooting issues.', 'type' => 'string', 'example' => '3121AE7D-4AFF-4C25-8F1D-C8226EBB1F42'],
+ 'Success' => ['description' => 'Whether the request was successful.', 'type' => 'boolean', '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, 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' => '%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 \\"Cursor\\": \\"v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0\\",\\n \\"RequestId\\": \\"3121AE7D-4AFF-4C25-8F1D-C8226EBB1F42\\",\\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"}]',
@@ -2191,144 +1115,85 @@
],
'UpdateAlarm' => [
'summary' => 'UpdateAlarm',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'callby_cms_owner',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Id',
'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' => 'Period',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Statistics',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ComparisonOperator',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Threshold',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ContactGroups',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'SilenceTime',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'EvaluationCount',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'NotifyType',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
[
'name' => 'Webhook',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -2336,215 +1201,75 @@
'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'],
],
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,
],
],
'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'],
],
];