summaryrefslogtreecommitdiff
path: root/data/zh_cn/cms/2017-03-01
diff options
context:
space:
mode:
Diffstat (limited to 'data/zh_cn/cms/2017-03-01')
-rw-r--r--data/zh_cn/cms/2017-03-01/api-docs.php2071
1 files changed, 398 insertions, 1673 deletions
diff --git a/data/zh_cn/cms/2017-03-01/api-docs.php b/data/zh_cn/cms/2017-03-01/api-docs.php
index 2f961f5..a7686ca 100644
--- a/data/zh_cn/cms/2017-03-01/api-docs.php
+++ b/data/zh_cn/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' => '',
],
'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' => '',
],
'DescribeAlarms' => [
'summary' => '查询告警信息。',
- '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' => '分组ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => '239758093',
- ],
+ 'schema' => ['description' => '分组ID', 'type' => 'string', 'required' => false, 'example' => '239758093'],
],
[
'name' => 'GroupBy',
'in' => 'query',
- 'schema' => [
- 'description' => '分组的groupby。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'product',
- ],
+ 'schema' => ['description' => '分组的groupby。', 'type' => 'string', 'required' => false, 'example' => 'product'],
],
[
'name' => 'MetricName',
'in' => 'query',
- 'schema' => [
- 'description' => '监控项名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cpu_total',
- ],
+ 'schema' => ['description' => '监控项名称', 'type' => 'string', 'required' => false, 'example' => 'cpu_total'],
],
[
'name' => 'EnableState',
'in' => 'query',
- 'schema' => [
- 'description' => '报警的启用状态。取值:'."\n"
- .'- true:启用。'."\n"
- .'- false:禁用。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '报警的启用状态。取值:'."\n"
+ .'- true:启用。'."\n"
+ .'- false:禁用。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'description' => '命名空间',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'default-aliyun',
- ],
+ 'schema' => ['description' => '命名空间', 'type' => 'string', 'required' => false, 'example' => 'default-aliyun'],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'description' => '页码。默认值:1。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '页码。默认值:1。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页显示记录条数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '每页显示记录条数。', 'type' => 'string', 'required' => false, 'example' => '10'],
],
[
'name' => 'AlertState',
'in' => 'query',
- 'schema' => [
- 'description' => '报警规则状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OK',
- ],
+ 'schema' => ['description' => '报警规则状态。', 'type' => 'string', 'required' => false, 'example' => 'OK'],
],
[
'name' => 'DisplayName',
'in' => 'query',
- 'schema' => [
- 'description' => '显示名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'TestAlarm1',
- ],
+ 'schema' => ['description' => '显示名称。', 'type' => 'string', 'required' => false, 'example' => 'TestAlarm1'],
],
[
'name' => 'Names',
'in' => 'query',
- 'schema' => [
- 'description' => '报警名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'metricRuleTargets-20180308ofoa',
- ],
+ 'schema' => ['description' => '报警名称。', 'type' => 'string', 'required' => false, 'example' => 'metricRuleTargets-20180308ofoa'],
],
[
'name' => 'NameKeyword',
'in' => 'query',
- 'schema' => [
- 'description' => '关键字。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'key1',
- ],
+ 'schema' => ['description' => '关键字。', 'type' => 'string', 'required' => false, 'example' => 'key1'],
],
],
'responses' => [
@@ -485,41 +265,16 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => '4D3907D7-F747-582F-9A08-D32362857B5F',
- ],
- 'Success' => [
- 'description' => '操作是否成功。取值:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '状态码。说明 200表示成功。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '消息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'TraceId' => [
- 'description' => '调用链ID。',
- 'type' => 'string',
- 'example' => '403F0D3A-30FB-5BB1-9F58-14704EA23DC0',
- ],
- 'Total' => [
- 'description' => '结果总数。',
- 'type' => 'string',
- 'example' => '23810',
- ],
+ 'RequestId' => ['description' => '请求id。', 'type' => 'string', 'example' => '4D3907D7-F747-582F-9A08-D32362857B5F'],
+ 'Success' => ['description' => '操作是否成功。取值:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => '状态码。说明 200表示成功。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'Message' => ['description' => '消息。', 'type' => 'string', 'example' => 'success'],
+ 'TraceId' => ['description' => '调用链ID。', 'type' => 'string', 'example' => '403F0D3A-30FB-5BB1-9F58-14704EA23DC0'],
+ 'Total' => ['description' => '结果总数。', 'type' => 'string', 'example' => '23810'],
'Datapoints' => [
'type' => 'object',
'itemNode' => true,
@@ -531,130 +286,34 @@
'description' => '报警对象',
'type' => 'object',
'properties' => [
- 'DisplayName' => [
- 'description' => '显示名称',
- 'type' => 'string',
- 'example' => '过去5分钟的系统平均负载',
- ],
- 'MetricName' => [
- 'description' => '指标名称。',
- 'type' => 'string',
- 'example' => 'ResponseTime',
- ],
- 'EffectiveInterval' => [
- 'description' => '报警的生效时间范围。',
- 'type' => 'string',
- 'example' => '0:00-23:59',
- ],
- 'NoEffectiveInterval' => [
- 'description' => '报警不生效的时间段。',
- 'type' => 'string',
- 'example' => '00:00-05:30',
- ],
- 'ComparisonOperator' => [
- 'description' => '比较符',
- 'type' => 'string',
- 'example' => 'LessThanLastWeek',
- ],
- 'Subject' => [
- 'description' => '告警标题',
- 'type' => 'string',
- 'example' => 'JHighSchool_Geography',
- ],
- 'Dimensions' => [
- 'description' => '维度。',
- 'type' => 'string',
- 'example' => '[{\\"instanceId\\":\\"i-2ze1f2hf4tda59jxrjim\\"}]',
- ],
- 'Name' => [
- 'description' => '报警名称。',
- 'type' => 'string',
- 'example' => 'yc-api-test-rule-black-0onik7',
- ],
- 'Resources' => [
- 'description' => '资源名称',
- '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' => '报警阈值。',
- 'type' => 'string',
- 'example' => '97',
- ],
- 'SilenceTime' => [
- 'description' => '静默时间。',
- 'type' => 'string',
- 'example' => '60',
- ],
- 'EvaluationCount' => [
- 'description' => '连续探测几次都满足阈值条件时报警。',
- 'type' => 'string',
- 'example' => '3',
- ],
- 'Webhook' => [
- 'description' => '触发报警回调的URL地址。',
- 'type' => 'string',
- 'example' => '{\\"method\\":\\"post\\",\\"url\\":\\"https://dns.console.aliyun.com/gtm/webhook/alarm.json?sign=860765935a01fef8f31ea384c11dabc7&aliUid=35160428\\"}',
- ],
- 'State' => [
- 'description' => '报警状态。',
- 'type' => 'string',
- 'example' => 'OK',
- ],
- 'ContactGroups' => [
- 'description' => '报警联系人组。',
- 'type' => 'string',
- 'example' => '云账号报警联系人',
- ],
- 'Namespace' => [
- 'description' => '命名空间。',
- 'type' => 'string',
- 'example' => 'acs_dts',
- ],
- 'Period' => [
- 'description' => '统计周期。',
- 'type' => 'string',
- 'example' => '60',
- ],
- 'RuleName' => [
- 'description' => '报警规则名称。',
- 'type' => 'string',
- 'example' => 'DBS_EVENT_RULE',
- ],
- 'Uuid' => [
- 'description' => '报警UUID。',
- 'type' => 'string',
- 'example' => 'ddd4c5b6-38db-44fa-8ad0-7ce966efc0ba',
- ],
- 'GroupId' => [
- 'description' => '分组ID。',
- 'type' => 'string',
- 'example' => '239954856',
- ],
- 'GroupName' => [
- 'description' => '分组名称。',
- 'type' => 'string',
- 'example' => 'monitor_group_2018_templateNameFail',
- ],
- 'Level' => [
- 'description' => '报警级别。',
- 'type' => 'string',
- 'example' => 'INFO',
- ],
- 'Enable' => [
- 'description' => '报警的启用状态。取值:'."\n"
- ."\n"
- .'- true:启用。'."\n"
- ."\n"
- .'- false:禁用。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Statistics' => [
- 'description' => '统计信息。',
- 'type' => 'string',
- 'example' => 'Maximum',
- ],
+ 'DisplayName' => ['description' => '显示名称', 'type' => 'string', 'example' => '过去5分钟的系统平均负载'],
+ 'MetricName' => ['description' => '指标名称。', 'type' => 'string', 'example' => 'ResponseTime'],
+ 'EffectiveInterval' => ['description' => '报警的生效时间范围。', 'type' => 'string', 'example' => '0:00-23:59'],
+ 'NoEffectiveInterval' => ['description' => '报警不生效的时间段。', 'type' => 'string', 'example' => '00:00-05:30'],
+ 'ComparisonOperator' => ['description' => '比较符', 'type' => 'string', 'example' => 'LessThanLastWeek'],
+ 'Subject' => ['description' => '告警标题', 'type' => 'string', 'example' => 'JHighSchool_Geography'],
+ 'Dimensions' => ['description' => '维度。', 'type' => 'string', 'example' => '[{\\"instanceId\\":\\"i-2ze1f2hf4tda59jxrjim\\"}]'],
+ 'Name' => ['description' => '报警名称。', 'type' => 'string', 'example' => 'yc-api-test-rule-black-0onik7'],
+ 'Resources' => ['description' => '资源名称', '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' => '报警阈值。', 'type' => 'string', 'example' => '97'],
+ 'SilenceTime' => ['description' => '静默时间。', 'type' => 'string', 'example' => '60'],
+ 'EvaluationCount' => ['description' => '连续探测几次都满足阈值条件时报警。', 'type' => 'string', 'example' => '3'],
+ 'Webhook' => ['description' => '触发报警回调的URL地址。', 'type' => 'string', 'example' => '{\\"method\\":\\"post\\",\\"url\\":\\"https://dns.console.aliyun.com/gtm/webhook/alarm.json?sign=860765935a01fef8f31ea384c11dabc7&aliUid=35160428\\"}'],
+ 'State' => ['description' => '报警状态。', 'type' => 'string', 'example' => 'OK'],
+ 'ContactGroups' => ['description' => '报警联系人组。', 'type' => 'string', 'example' => '云账号报警联系人'],
+ 'Namespace' => ['description' => '命名空间。', 'type' => 'string', 'example' => 'acs_dts'],
+ 'Period' => ['description' => '统计周期。', 'type' => 'string', 'example' => '60'],
+ 'RuleName' => ['description' => '报警规则名称。', 'type' => 'string', 'example' => 'DBS_EVENT_RULE'],
+ 'Uuid' => ['description' => '报警UUID。', 'type' => 'string', 'example' => 'ddd4c5b6-38db-44fa-8ad0-7ce966efc0ba'],
+ 'GroupId' => ['description' => '分组ID。', 'type' => 'string', 'example' => '239954856'],
+ 'GroupName' => ['description' => '分组名称。', 'type' => 'string', 'example' => 'monitor_group_2018_templateNameFail'],
+ 'Level' => ['description' => '报警级别。', 'type' => 'string', 'example' => 'INFO'],
+ 'Enable' => ['description' => '报警的启用状态。取值:'."\n"
+ ."\n"
+ .'- true:启用。'."\n"
+ ."\n"
+ .'- false:禁用。', 'type' => 'boolean', 'example' => 'true'],
+ 'Statistics' => ['description' => '统计信息。', '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"}]',
@@ -689,42 +339,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' => [
@@ -732,92 +365,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' => '',
],
'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' => [
@@ -825,173 +418,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' => '',
],
'ListAlarm' => [
'summary' => '查询指定或全部报警规则设置。',
- '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' => '负责人。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'user789',
- ],
+ 'schema' => ['description' => '负责人。', 'type' => 'string', 'required' => false, 'example' => 'user789'],
],
[
'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '报警规则的id。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'A052CE0CC481AE6F8EE5BFDE8209E39229091623',
- ],
+ 'schema' => ['description' => '报警规则的id。', 'type' => 'string', 'required' => false, 'example' => 'A052CE0CC481AE6F8EE5BFDE8209E39229091623'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '报警规则名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '报警测试',
- ],
+ 'schema' => ['description' => '报警规则名称。', 'type' => 'string', 'required' => false, 'example' => '报警测试'],
],
[
'name' => 'Namespace',
'in' => 'query',
- 'schema' => [
- 'description' => '命名空间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'acs_ecs_dashboard',
- ],
+ 'schema' => ['description' => '命名空间。', 'type' => 'string', 'required' => false, 'example' => 'acs_ecs_dashboard'],
],
[
'name' => 'Dimension',
'in' => 'query',
- 'schema' => [
- 'description' => '维度',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"clusterId\\":\\"C-9F308DAF783A80DF\\",\\"userId\\":\\"5654008347177444\\"}',
- ],
+ 'schema' => ['description' => '维度', 'type' => 'string', 'required' => false, 'example' => '{\\"clusterId\\":\\"C-9F308DAF783A80DF\\",\\"userId\\":\\"5654008347177444\\"}'],
],
[
'name' => 'State',
'in' => 'query',
- 'schema' => [
- 'description' => '报警状态。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ok',
- ],
+ 'schema' => ['description' => '报警状态。', 'type' => 'string', 'required' => false, 'example' => 'ok'],
],
[
'name' => 'IsEnable',
'in' => 'query',
- 'schema' => [
- 'description' => '是否启用。取值范围:'."\n"
- ."\n"
- .'- true:已启用。'."\n"
- .'- false:已停用。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否启用。取值范围:'."\n"
+ ."\n"
+ .'- true:已启用。'."\n"
+ .'- false:已停用。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'PageNumber',
'in' => 'query',
- 'schema' => [
- 'description' => '页码,默认值:1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '页码,默认值:1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'default' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '每页记录数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- 'default' => '100',
- ],
+ 'schema' => ['description' => '每页记录数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'default' => '100'],
],
],
'responses' => [
@@ -999,38 +509,12 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'NextToken' => [
- 'description' => '下一页,为空代表没有下一页。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'RequestId' => [
- 'description' => '请求ID,一次请求的唯一标识。'."\n",
- 'type' => 'string',
- 'example' => 'DC4B526D-D522-59AA-85E2-B6118D4941DC',
- ],
- 'Success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Code' => [
- 'description' => '状态码。说明 200表示成功。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '请求返回信息',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Total' => [
- 'description' => '符合条件数据总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '27',
- ],
+ 'NextToken' => ['description' => '下一页,为空代表没有下一页。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'RequestId' => ['description' => '请求ID,一次请求的唯一标识。'."\n", 'type' => 'string', 'example' => 'DC4B526D-D522-59AA-85E2-B6118D4941DC'],
+ 'Success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'Code' => ['description' => '状态码。说明 200表示成功。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '请求返回信息', 'type' => 'string', 'example' => 'success'],
+ 'Total' => ['description' => '符合条件数据总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '27'],
'AlarmList' => [
'type' => 'object',
'itemNode' => true,
@@ -1042,111 +526,29 @@
'description' => '报警对象',
'type' => 'object',
'properties' => [
- 'SilenceTime' => [
- 'description' => '静默时间',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'MetricName' => [
- 'description' => '监控项的名称。',
- 'type' => 'string',
- 'example' => 'cpu_total',
- ],
- 'EvaluationCount' => [
- 'description' => '连续探测几次都满足阈值条件时报警。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'Webhook' => [
- 'description' => '触发报警回调的URL地址。',
- 'type' => 'string',
- 'example' => '{\\"method\\":\\"post\\",\\"url\\":\\"https://alidns-http-proxy.aliyuncs.com/api/gtm/alert/callback?sign=494b2a13b63a77def1b3b56d63b96d0a&aliUid=1763735399554991\\"}',
- ],
- 'State' => [
- 'description' => '报警状态。',
- 'type' => 'string',
- 'example' => 'ok',
- ],
- 'ContactGroups' => [
- 'description' => '报警联系组。',
- 'type' => 'string',
- 'example' => '云账号报警联系人,阿里_gccs告警',
- ],
- 'Namespace' => [
- 'description' => '命名空间',
- 'type' => 'string',
- 'example' => 'acs_event_sys',
- ],
- 'Period' => [
- 'description' => '统计周期。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '60',
- ],
- 'EndTime' => [
- 'description' => '查询报警的结束时间。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2025-07-06T02:00:14Z',
- ],
- 'ComparisonOperator' => [
- 'description' => '比较符。',
- 'type' => 'string',
- 'example' => 'NotEqualToThreshold',
- ],
- 'StartTime' => [
- 'description' => '查询报警的起始时间。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2025-05-27T16:00:00Z',
- ],
- 'NotifyType' => [
- 'description' => '通知对象类型',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'GroupId' => [
- 'description' => '分组ID。',
- 'type' => 'string',
- 'example' => '26519034',
- ],
- 'Dimensions' => [
- 'description' => '维度。',
- 'type' => 'string',
- 'example' => '[{instanceId:\'rm-zf83q02vh8r0bzr9c\'}]',
- ],
- 'Name' => [
- 'description' => '报警名称',
- 'type' => 'string',
- 'example' => 'emr测试集群CPU/内存报警静默',
- ],
- 'Threshold' => [
- 'description' => '报警阈值。',
- 'type' => 'string',
- 'example' => '90',
- ],
- 'Id' => [
- 'description' => '报警规则的id。',
- 'type' => 'string',
- 'example' => 'beec0d28-c81e-49f8-aa54-4fc1738be521',
- ],
- 'Enable' => [
- 'description' => '报警的启用状态。取值:'."\n"
- ."\n"
- .'- true:启用。'."\n"
- ."\n"
- .'- false:禁用。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Statistics' => [
- 'description' => '报警统计。',
- 'type' => 'string',
- 'example' => 'Maximum',
- ],
+ 'SilenceTime' => ['description' => '静默时间', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'MetricName' => ['description' => '监控项的名称。', 'type' => 'string', 'example' => 'cpu_total'],
+ 'EvaluationCount' => ['description' => '连续探测几次都满足阈值条件时报警。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'Webhook' => ['description' => '触发报警回调的URL地址。', 'type' => 'string', 'example' => '{\\"method\\":\\"post\\",\\"url\\":\\"https://alidns-http-proxy.aliyuncs.com/api/gtm/alert/callback?sign=494b2a13b63a77def1b3b56d63b96d0a&aliUid=1763735399554991\\"}'],
+ 'State' => ['description' => '报警状态。', 'type' => 'string', 'example' => 'ok'],
+ 'ContactGroups' => ['description' => '报警联系组。', 'type' => 'string', 'example' => '云账号报警联系人,阿里_gccs告警'],
+ 'Namespace' => ['description' => '命名空间', 'type' => 'string', 'example' => 'acs_event_sys'],
+ 'Period' => ['description' => '统计周期。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'],
+ 'EndTime' => ['description' => '查询报警的结束时间。', 'type' => 'integer', 'format' => 'int32', 'example' => '2025-07-06T02:00:14Z'],
+ 'ComparisonOperator' => ['description' => '比较符。', 'type' => 'string', 'example' => 'NotEqualToThreshold'],
+ 'StartTime' => ['description' => '查询报警的起始时间。', 'type' => 'integer', 'format' => 'int32', 'example' => '2025-05-27T16:00:00Z'],
+ 'NotifyType' => ['description' => '通知对象类型', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'GroupId' => ['description' => '分组ID。', 'type' => 'string', 'example' => '26519034'],
+ 'Dimensions' => ['description' => '维度。', 'type' => 'string', 'example' => '[{instanceId:\'rm-zf83q02vh8r0bzr9c\'}]'],
+ 'Name' => ['description' => '报警名称', 'type' => 'string', 'example' => 'emr测试集群CPU/内存报警静默'],
+ 'Threshold' => ['description' => '报警阈值。', 'type' => 'string', 'example' => '90'],
+ 'Id' => ['description' => '报警规则的id。', 'type' => 'string', 'example' => 'beec0d28-c81e-49f8-aa54-4fc1738be521'],
+ 'Enable' => ['description' => '报警的启用状态。取值:'."\n"
+ ."\n"
+ .'- true:启用。'."\n"
+ ."\n"
+ .'- false:禁用。', 'type' => 'boolean', 'example' => 'true'],
+ 'Statistics' => ['description' => '报警统计。', '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"}]',
@@ -1191,75 +578,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' => [
@@ -1267,21 +624,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,
@@ -1291,46 +638,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'],
],
],
],
@@ -1342,82 +661,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' => '',
],
'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' => [
@@ -1425,84 +709,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' => '',
],
'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' => [
@@ -1510,93 +757,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' => '',
],
'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' => [
@@ -1604,19 +808,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,
@@ -1626,15 +821,9 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'type' => 'string',
- ],
- 'InstanceId' => [
- 'type' => 'string',
- ],
- 'AutoInstall' => [
- 'type' => 'boolean',
- ],
+ 'Status' => ['type' => 'string'],
+ 'InstanceId' => ['type' => 'string'],
+ 'AutoInstall' => ['type' => 'boolean'],
],
],
],
@@ -1646,65 +835,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' => '',
],
'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' => [
@@ -1712,60 +873,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' => '',
],
'QueryMetricLast' => [
'summary' => '查询指定监控对象的最新监控数据。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1773,126 +908,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' => '负责人。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'wn32reo1',
- ],
+ 'schema' => ['description' => '负责人。', 'type' => 'string', 'required' => false, 'example' => 'wn32reo1'],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '监控项的project,用于查询监控数据。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'acs_ecs_dashboard',
- ],
+ 'schema' => ['description' => '监控项的project,用于查询监控数据。', 'type' => 'string', 'required' => true, 'example' => 'acs_ecs_dashboard'],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'description' => '监控项名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'CPUUtilization',
- ],
+ 'schema' => ['description' => '监控项名称。', 'type' => 'string', 'required' => true, 'example' => 'CPUUtilization'],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'description' => '时间间隔。单位:秒。取值:60、300、900。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '60',
- ],
+ 'schema' => ['description' => '时间间隔。单位:秒。取值:60、300、900。', 'type' => 'string', 'required' => false, 'example' => '60'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '查询监控项的开始时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-01-31 10:00:00',
- ],
+ 'schema' => ['description' => '查询监控项的开始时间。', 'type' => 'string', 'required' => false, 'example' => '2019-01-31 10:00:00'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '查询监控项的结束时间。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-01-31 10:10:00',
- ],
+ 'schema' => ['description' => '查询监控项的结束时间。', 'type' => 'string', 'required' => false, 'example' => '2019-01-31 10:10:00'],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'description' => '指定资源的监控维度。'."\n"
- ."\n"
- .'格式:`key:value`键值对形式的集合,例如:`{"userId":"120886317861****"}`和`{"instanceId":"i-2ze2d6j5uhg20x47****"}`。'."\n"
- ."\n"
- .'> 单次请求最多支持批量查询50个实例。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\'instanceId\': \'rm-bp12cn75qrjgpb9s5\'}',
- ],
+ 'schema' => ['description' => '指定资源的监控维度。'."\n"
+ ."\n"
+ .'格式:`key:value`键值对形式的集合,例如:`{"userId":"120886317861****"}`和`{"instanceId":"i-2ze2d6j5uhg20x47****"}`。'."\n"
+ ."\n"
+ .'> 单次请求最多支持批量查询50个实例。', 'type' => 'string', 'required' => false, 'example' => '{\'instanceId\': \'rm-bp12cn75qrjgpb9s5\'}'],
],
[
'name' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'description' => '下一页数据,为空代表没有下一页。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0***********',
- ],
+ 'schema' => ['description' => '下一页数据,为空代表没有下一页。', 'type' => 'string', 'required' => false, 'example' => 'v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0***********'],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'description' => '分页参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页参数。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'description' => '返回监控数据的每页大小,用于分页查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1000',
- ],
+ 'schema' => ['description' => '返回监控数据的每页大小,用于分页查询。', 'type' => 'string', 'required' => false, 'example' => '1000'],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'description' => '对查出的现有结果进行时时计算的表达式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"groupby\\":[\\"userId\\",\\"instanceId\\"]}',
- ],
+ 'schema' => ['description' => '对查出的现有结果进行时时计算的表达式。', 'type' => 'string', 'required' => false, 'example' => '{\\"groupby\\":[\\"userId\\",\\"instanceId\\"]}'],
],
],
'responses' => [
@@ -1900,73 +975,30 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Cursor' => [
- 'description' => '下一页数据,为空代表没有下一页。',
- 'type' => 'string',
- 'example' => 'v2.5eyJidWNrZXRzIjo0LCJjdXJzb3IiOiIxNjQxNDU0ODAwMDAwMWUxY2YxNWY0NTU0MTliZjllYTY4OWQ2ODI1OTU1Yzc1NmZjMDQ2OTMxMzczMzM2MzUzMTMxMzEzMzM0MzMzODM5MzEzMTMwMjQyYzY5MmQzMjdhNjU2MjY3N2E2NjZhNzczOTY2NmM3Mjc0NjM3MzY5Njg3NDcyMjQyYyIsImN1cnNvclZlcnNpb24iOiJxdWVyeSIsImVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydEVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydFN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwiZXhwcmVzc1JhbmdlIjpmYWxzZSwiaGFzTmV4dCI6dHJ1ZSwiaW5wdXRNZXRyaWMiOiJDUFVVdGlsaXphdGlvbiIsImlucHV0TmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJsaW1pdCI6MTAwMCwibG9nVGltZU1vZGUiOnRydWUsIm1hdGNoZXJzIjp7ImNoYWluIjpbeyJsYWJlbCI6InVzZXJJZCIsIm9wZXJhdG9yIjoiRVFVQUxTIiwidmFsdWUiOiIxNzM2NTExMTM0Mzg5MTEwIn1dfSwibWV0cmljIjoiQ1BVVXRpbGl6YXRpb24iLCJtZXRyaWNUeXBlIjoiTUVUUklDIiwibmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJuZXh0UGtBZGFwdGVyIjp7fSwib2Zmc2V0IjowLCJwYXJlbnRVaWQiOjEyNzA2NzY2Nzk1NDY3MDQsInN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwic3RlcCI6LTEsInRpbWVvdXQiOjEyMCwid2luZG93Ijo2MH0***',
- ],
- 'RequestId' => [
- 'description' => '请求的ID,用于定位日志,排查问题。',
- 'type' => 'string',
- 'example' => '021472A6-25E3-4094-8D00-BA4B6A5486C3',
- ],
- 'Success' => [
- 'description' => '用于标识本次调用是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Datapoints' => [
- 'description' => '监控数据列表。',
- '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' => '状态码,200表示成功。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '返回消息。',
- 'type' => 'string',
- 'example' => 'success',
- ],
- 'Period' => [
- 'description' => '时间间隔。单位:秒。',
- 'type' => 'string',
- 'example' => '60',
- ],
+ 'Cursor' => ['description' => '下一页数据,为空代表没有下一页。', 'type' => 'string', 'example' => 'v2.5eyJidWNrZXRzIjo0LCJjdXJzb3IiOiIxNjQxNDU0ODAwMDAwMWUxY2YxNWY0NTU0MTliZjllYTY4OWQ2ODI1OTU1Yzc1NmZjMDQ2OTMxMzczMzM2MzUzMTMxMzEzMzM0MzMzODM5MzEzMTMwMjQyYzY5MmQzMjdhNjU2MjY3N2E2NjZhNzczOTY2NmM3Mjc0NjM3MzY5Njg3NDcyMjQyYyIsImN1cnNvclZlcnNpb24iOiJxdWVyeSIsImVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydEVuZFRpbWUiOjE2NDE0NTUyMzYxMTIsImV4cG9ydFN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwiZXhwcmVzc1JhbmdlIjpmYWxzZSwiaGFzTmV4dCI6dHJ1ZSwiaW5wdXRNZXRyaWMiOiJDUFVVdGlsaXphdGlvbiIsImlucHV0TmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJsaW1pdCI6MTAwMCwibG9nVGltZU1vZGUiOnRydWUsIm1hdGNoZXJzIjp7ImNoYWluIjpbeyJsYWJlbCI6InVzZXJJZCIsIm9wZXJhdG9yIjoiRVFVQUxTIiwidmFsdWUiOiIxNzM2NTExMTM0Mzg5MTEwIn1dfSwibWV0cmljIjoiQ1BVVXRpbGl6YXRpb24iLCJtZXRyaWNUeXBlIjoiTUVUUklDIiwibmFtZXNwYWNlIjoiYWNzX2Vjc19kYXNoYm9hcmQiLCJuZXh0UGtBZGFwdGVyIjp7fSwib2Zmc2V0IjowLCJwYXJlbnRVaWQiOjEyNzA2NzY2Nzk1NDY3MDQsInN0YXJ0VGltZSI6MTY0MTQ1NDYzNjExMiwic3RlcCI6LTEsInRpbWVvdXQiOjEyMCwid2luZG93Ijo2MH0***'],
+ 'RequestId' => ['description' => '请求的ID,用于定位日志,排查问题。', 'type' => 'string', 'example' => '021472A6-25E3-4094-8D00-BA4B6A5486C3'],
+ 'Success' => ['description' => '用于标识本次调用是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'Datapoints' => ['description' => '监控数据列表。', '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' => '状态码,200表示成功。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => 'success'],
+ 'Period' => ['description' => '时间间隔。单位:秒。', '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"}]',
@@ -1974,139 +1006,74 @@
],
'QueryMetricList' => [
'summary' => '查询一段时间内指定产品实例的监控数据。',
- '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' => '负责人。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'urs879e',
- ],
+ 'schema' => ['description' => '负责人。', 'type' => 'string', 'required' => false, 'example' => 'urs879e'],
],
[
'name' => 'Project',
'in' => 'query',
- 'schema' => [
- 'description' => '名字空间,表明监控数据所属产品,如 “acs_ecs_dashboard”,“acs_rds_dashboard”等。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'acs_ecs_dashboard',
- ],
+ 'schema' => ['description' => '名字空间,表明监控数据所属产品,如 “acs_ecs_dashboard”,“acs_rds_dashboard”等。', 'type' => 'string', 'required' => true, 'example' => 'acs_ecs_dashboard'],
],
[
'name' => 'Metric',
'in' => 'query',
- 'schema' => [
- 'description' => '监控项名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cpu_idle',
- ],
+ 'schema' => ['description' => '监控项名称。', 'type' => 'string', 'required' => true, 'example' => 'cpu_idle'],
],
[
'name' => 'Period',
'in' => 'query',
- 'schema' => [
- 'description' => '时间间隔。单位:秒。取值:60、300、900。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '60',
- ],
+ 'schema' => ['description' => '时间间隔。单位:秒。取值:60、300、900。', 'type' => 'string', 'required' => false, 'example' => '60'],
],
[
'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '开始时间,可以传入距离1970年1月1日0点的毫秒数,也可以传入format时间格式数据,如2015-10-20 00:00:00。 ',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-01-30 00:00:00',
- ],
+ 'schema' => ['description' => '开始时间,可以传入距离1970年1月1日0点的毫秒数,也可以传入format时间格式数据,如2015-10-20 00:00:00。 ', 'type' => 'string', 'required' => false, 'example' => '2019-01-30 00:00:00'],
],
[
'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '可以传入距离1970年1月1日 0点的毫秒数,也可以传入format时间格式数据,如2015-10-20 00:00:00。 ',
- 'type' => 'string',
- 'required' => false,
- 'example' => '2019-01-30 00:10:00',
- ],
+ 'schema' => ['description' => '可以传入距离1970年1月1日 0点的毫秒数,也可以传入format时间格式数据,如2015-10-20 00:00:00。 ', 'type' => 'string', 'required' => false, 'example' => '2019-01-30 00:10:00'],
],
[
'name' => 'Dimensions',
'in' => 'query',
- 'schema' => [
- 'description' => '指定资源的监控维度。'."\n"
- ."\n"
- .'格式:`key:value`键值对形式的集合,例如:`{"userId":"120886317861****"}`和`{"instanceId":"i-2ze2d6j5uhg20x47****"}`。'."\n"
- ."\n"
- .'> 单次请求最多支持批量查询50个实例。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[{"instanceId": "i-abcdefgh123456"}]',
- ],
+ 'schema' => ['description' => '指定资源的监控维度。'."\n"
+ ."\n"
+ .'格式:`key:value`键值对形式的集合,例如:`{"userId":"120886317861****"}`和`{"instanceId":"i-2ze2d6j5uhg20x47****"}`。'."\n"
+ ."\n"
+ .'> 单次请求最多支持批量查询50个实例。', 'type' => 'string', 'required' => false, 'example' => '[{"instanceId": "i-abcdefgh123456"}]'],
],
[
'name' => 'Page',
'in' => 'query',
- 'schema' => [
- 'description' => '分页参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页参数。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
'name' => 'Cursor',
'in' => 'query',
- 'schema' => [
- 'description' => '下一页数据,为空代表没有下一页。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0***********',
- ],
+ 'schema' => ['description' => '下一页数据,为空代表没有下一页。', 'type' => 'string', 'required' => false, 'example' => 'v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0***********'],
],
[
'name' => 'Length',
'in' => 'query',
- 'schema' => [
- 'description' => '每次查询大小,用于分页查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1000',
- ],
+ 'schema' => ['description' => '每次查询大小,用于分页查询。', 'type' => 'string', 'required' => false, 'example' => '1000'],
],
[
'name' => 'Express',
'in' => 'query',
- 'schema' => [
- 'description' => '对查询出的现有结果进行实时计算的表达式。目前仅支持groupby,类似数据库的groupby语句。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '{\\"groupby\\":[\\"instanceId\\"]}',
- ],
+ 'schema' => ['description' => '对查询出的现有结果进行实时计算的表达式。目前仅支持groupby,类似数据库的groupby语句。', 'type' => 'string', 'required' => false, 'example' => '{\\"groupby\\":[\\"instanceId\\"]}'],
],
],
'responses' => [
@@ -2114,73 +1081,30 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Cursor' => [
- 'description' => '下一页数据,为空代表没有下一页。',
- 'type' => 'string',
- 'example' => 'v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0',
- ],
- 'RequestId' => [
- 'description' => '请求的ID,用于定位日志,排查问题。',
- 'type' => 'string',
- 'example' => '3121AE7D-4AFF-4C25-8F1D-C8226EBB1F42',
- ],
- 'Success' => [
- 'description' => '请求是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Datapoints' => [
- 'description' => '监控数据列表。',
- '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' => '状态码,正常为"200"。',
- 'type' => 'string',
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '返回消息。',
- 'type' => 'string',
- 'example' => 'Success',
- ],
- 'Period' => [
- 'description' => '时间间隔。单位:秒。',
- 'type' => 'string',
- 'example' => '60',
- ],
+ 'Cursor' => ['description' => '下一页数据,为空代表没有下一页。', 'type' => 'string', 'example' => 'v2.5eyJiYXRjaGVzIjoxLCJidWNrZXRCeXRlcyI6IndBPT0iLCJidWNrZXRzIjo0LCJjdXJyZW50QnVja2V0IjotNjQsImN1cnJlbnRUYXJnZXRUaW1lU2xvdCI6MTY3ODc1MjAwMCwiZW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0RW5kVGltZSI6MTY3ODc4MjQxOTAwMCwiZXhwb3J0U3RhcnRUaW1lIjoxNjc4NzgxODE5MDAwLCJleHByZXNzUmFuZ2UiOmZhbHNlLCJoYXNOZXh0Ijp0cnVlLCJpbmRleCI6MCwibGF0ZXN0TG9nVGltZSI6MCwibWF0Y2hlcnMiOnsiY2hhaW4iOlt7ImxhYmVsIjoidXNlcklkIiwib3BlcmF0b3IiOiJFUVVBTFMiLCJ2YWx1ZSI6IjEyNzA2NzY2Nzk1NDY3MDQifV0sImxvY2tlZCI6dHJ1ZX0sIm1ldHJpYyI6IlNwbGl0cndQcm94eU1heFJlc3BvbnNlU2l6ZSIsIm1ldHJpY1R5cGUiOiJNRVRSSUMiLCJuYW1lc3BhY2UiOiJhY3Nfa3ZzdG9yZV9leCIsIm5leHRQa0FkYXB0ZXIiOnsiZGltIjoiVjowXG5EOmB1c2VySWRgPTEyNzA2NzY2Nzk1NDY3MDQsYGluc3RhbmNlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLGBub2RlSWRgPXItcmo5ZjlzMTlsc3V1MXd1bnVyLXByb3h5LTIsXG4iLCJtZXRhIjoiXG5WOjBcbk06YWNzX2t2c3RvcmVfZXgvU3BsaXRyd1Byb3h5TWF4UmVzcG9uc2VTaXplXG5XOjYwXG5COjRcbkk6LTFcblQ6MFxuQzpgQXZlcmFnZWAsYE1heGltdW1gLGBfX2NvdW50X19gLGBfX3RzX19gXG4iLCJyZCI6InN1YkFMU0RwWXY2K0t6aENQQUFBWkErNUFKMEpjbGErRGd2V0hFNWxDSHMvbGtqR2FXYTFJTkVwdFE9PSIsInRhZyI6IiJ9LCJvZmZzZXQiOjAsIm9mZnNldERpZ2l0Ijo0NTU0NTczNDQyMTc4NDIxMjIsInN0YXJ0VGltZSI6MTY3ODc4MTgxOTAwMCwic3RlcCI6LTEsInRhZ01hdGNoZXJzIjp7ImNoYWluIjpbXSwibG9ja2VkIjp0cnVlfSwidGFyZ2V0VGltZVNsb3RzIjpbMTY3ODY2NTYwMCwxNjc4NzUyMDAwXSwidXVpZCI6ImQwMmFhZmY1LWU3ZGQtNDUyYy0'],
+ 'RequestId' => ['description' => '请求的ID,用于定位日志,排查问题。', 'type' => 'string', 'example' => '3121AE7D-4AFF-4C25-8F1D-C8226EBB1F42'],
+ 'Success' => ['description' => '请求是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'Datapoints' => ['description' => '监控数据列表。', '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' => '状态码,正常为"200"。', 'type' => 'string', 'example' => '200'],
+ 'Message' => ['description' => '返回消息。', 'type' => 'string', 'example' => 'Success'],
+ 'Period' => ['description' => '时间间隔。单位:秒。', '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"}]',
@@ -2188,144 +1112,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' => [
@@ -2333,215 +1198,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' => '',
],
],
'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'],
],
];