diff options
Diffstat (limited to 'data/zh_cn/arms/2018-10-15/api-docs.php')
| -rw-r--r-- | data/zh_cn/arms/2018-10-15/api-docs.php | 1490 |
1 files changed, 277 insertions, 1213 deletions
diff --git a/data/zh_cn/arms/2018-10-15/api-docs.php b/data/zh_cn/arms/2018-10-15/api-docs.php index e382ab9..85b5ff1 100644 --- a/data/zh_cn/arms/2018-10-15/api-docs.php +++ b/data/zh_cn/arms/2018-10-15/api-docs.php @@ -1,19 +1,12 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'V3', - 'product' => 'ARMS', - 'version' => '2018-10-15', - ], + 'info' => ['style' => 'V3', 'product' => 'ARMS', 'version' => '2018-10-15'], 'directories' => [ [ 'id' => 0, 'title' => '其它', 'type' => 'directory', - 'children' => [ - 'ARMSQueryDataSet', - 'MetricQuery', - ], + 'children' => ['ARMSQueryDataSet', 'MetricQuery'], ], ], 'components' => [ @@ -22,241 +15,87 @@ 'title' => 'CallChainInfo', 'type' => 'object', 'properties' => [ - 'LogTime' => [ - 'title' => 'logTime', - 'type' => 'integer', - 'format' => 'int64', - ], - 'ResultCode' => [ - 'title' => 'resultCode', - 'type' => 'string', - ], + 'LogTime' => ['title' => 'logTime', 'type' => 'integer', 'format' => 'int64'], + 'ResultCode' => ['title' => 'resultCode', 'type' => 'string'], 'Children' => [ 'title' => 'children', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/CallChainInfo', - ], - ], - 'RpcId' => [ - 'title' => 'rpcId', - 'type' => 'string', - ], - 'RpcType' => [ - 'title' => 'rpcType', - 'type' => 'integer', - 'format' => 'int64', - ], - 'ServerIp' => [ - 'title' => 'serverIp', - 'type' => 'string', - ], - 'AppName' => [ - 'title' => 'appName', - 'type' => 'string', - ], - 'Rpc' => [ - 'title' => 'rpc', - 'type' => 'string', - ], - 'TraceId' => [ - 'title' => 'traceId', - 'type' => 'string', - ], - 'Span' => [ - 'title' => 'span', - 'type' => 'integer', - 'format' => 'int64', - ], - 'HaveSpan' => [ - 'title' => 'haveSpan', - 'type' => 'boolean', - ], - 'AdditionalInfo' => [ - 'title' => 'additionalInfo', - 'type' => 'string', - ], - 'ParentSpanId' => [ - 'title' => 'parentSpanId', - 'type' => 'string', - ], - 'SpanId' => [ - 'title' => 'spanId', - 'type' => 'string', - ], + 'items' => ['$ref' => '#/components/schemas/CallChainInfo'], + ], + 'RpcId' => ['title' => 'rpcId', 'type' => 'string'], + 'RpcType' => ['title' => 'rpcType', 'type' => 'integer', 'format' => 'int64'], + 'ServerIp' => ['title' => 'serverIp', 'type' => 'string'], + 'AppName' => ['title' => 'appName', 'type' => 'string'], + 'Rpc' => ['title' => 'rpc', 'type' => 'string'], + 'TraceId' => ['title' => 'traceId', 'type' => 'string'], + 'Span' => ['title' => 'span', 'type' => 'integer', 'format' => 'int64'], + 'HaveSpan' => ['title' => 'haveSpan', 'type' => 'boolean'], + 'AdditionalInfo' => ['title' => 'additionalInfo', 'type' => 'string'], + 'ParentSpanId' => ['title' => 'parentSpanId', 'type' => 'string'], + 'SpanId' => ['title' => 'spanId', 'type' => 'string'], 'TagMap' => [ 'title' => 'tagMap', 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], 'LogMap' => [ 'title' => 'logMap', 'type' => 'object', 'additionalProperties' => [ 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - ], + 'additionalProperties' => ['type' => 'string'], ], ], - 'Pid' => [ - 'title' => 'pid', - 'type' => 'string', - ], - 'AppType' => [ - 'title' => 'appType', - 'type' => 'string', - ], - 'RegionId' => [ - 'title' => 'regionId', - 'type' => 'string', - ], + 'Pid' => ['title' => 'pid', 'type' => 'string'], + 'AppType' => ['title' => 'appType', 'type' => 'string'], + 'RegionId' => ['title' => 'regionId', 'type' => 'string'], ], ], 'GrafanaWorkspace' => [ 'title' => 'grafana', 'type' => 'object', 'properties' => [ - 'status' => [ - 'title' => '状态', - 'type' => 'string', - 'example' => 'Starting/Running/Stop/DeleteSucceed', - ], - 'description' => [ - 'title' => '描述', - 'type' => 'string', - ], - 'grafanaWorkspaceEdition' => [ - 'title' => '版本', - 'type' => 'string', - 'example' => 'experts_edition/advanced_edition/standard', - ], - 'endTime' => [ - 'title' => '到期时间', - 'type' => 'number', - 'format' => 'float', - 'example' => '1652803200000', - ], - 'grafanaWorkspaceId' => [ - 'title' => '工作区Id', - 'type' => 'string', - 'example' => 'g-thisisademo666', - ], + 'status' => ['title' => '状态', 'type' => 'string', 'example' => 'Starting/Running/Stop/DeleteSucceed'], + 'description' => ['title' => '描述', 'type' => 'string'], + 'grafanaWorkspaceEdition' => ['title' => '版本', 'type' => 'string', 'example' => 'experts_edition/advanced_edition/standard'], + 'endTime' => ['title' => '到期时间', 'type' => 'number', 'format' => 'float', 'example' => '1652803200000'], + 'grafanaWorkspaceId' => ['title' => '工作区Id', 'type' => 'string', 'example' => 'g-thisisademo666'], 'upgradeVersion' => [ 'title' => '可升级的版本', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'grafanaWorkspaceIp' => [ - 'title' => '公网ip带端口', - 'type' => 'string', - 'example' => '127.0.0.1:3000', - ], - 'snatIp' => [ - 'title' => '出口IP', - 'type' => 'string', - 'example' => '1.1.1.1', - ], - 'grafanaWorkspaceDomain' => [ - 'title' => '工作区域名', - 'type' => 'string', - ], - 'grafanaWorkspaceDomainStatus' => [ - 'title' => '工作区域名状态', - 'type' => 'string', - 'example' => 'on', - ], - 'commercial' => [ - 'title' => '是否商业化', - 'type' => 'boolean', - ], - 'grafanaWorkspaceName' => [ - 'title' => '工作区名称', - 'type' => 'string', - ], - 'grafanaVersion' => [ - 'title' => '对应的Grafana版本', - 'type' => 'string', - ], - 'gmtCreate' => [ - 'title' => '1642079398000', - 'type' => 'number', - 'format' => 'float', - 'example' => '创建时间', - ], - 'userId' => [ - 'title' => '用户id', - 'type' => 'string', - 'example' => '66666666', - ], - 'maxAccount' => [ - 'title' => '最大账号数量', - 'type' => 'string', - 'example' => '10', - ], - 'regionId' => [ - 'title' => '地域ID', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'protocol' => [ - 'title' => '协议', - 'type' => 'string', - 'example' => 'http/https', - ], - 'shareSynced' => [ - 'title' => '是否有过共享版迁移引导', - 'type' => 'boolean', - ], - 'ntmId' => [ - 'title' => '实例id', - 'type' => 'string', - ], - 'personalDomain' => [ - 'title' => '个性化域名', - 'type' => 'string', - ], - 'personalDomainPrefix' => [ - 'title' => '个性化域名前缀', - 'type' => 'string', - ], - 'resourceGroupId' => [ - 'title' => '资源组id', - 'type' => 'string', - ], - 'deployType' => [ - 'title' => '部署模式', - 'type' => 'string', - ], + 'items' => ['type' => 'string'], + ], + 'grafanaWorkspaceIp' => ['title' => '公网ip带端口', 'type' => 'string', 'example' => '127.0.0.1:3000'], + 'snatIp' => ['title' => '出口IP', 'type' => 'string', 'example' => '1.1.1.1'], + 'grafanaWorkspaceDomain' => ['title' => '工作区域名', 'type' => 'string'], + 'grafanaWorkspaceDomainStatus' => ['title' => '工作区域名状态', 'type' => 'string', 'example' => 'on'], + 'commercial' => ['title' => '是否商业化', 'type' => 'boolean'], + 'grafanaWorkspaceName' => ['title' => '工作区名称', 'type' => 'string'], + 'grafanaVersion' => ['title' => '对应的Grafana版本', 'type' => 'string'], + 'gmtCreate' => ['title' => '1642079398000', 'type' => 'number', 'format' => 'float', 'example' => '创建时间'], + 'userId' => ['title' => '用户id', 'type' => 'string', 'example' => '66666666'], + 'maxAccount' => ['title' => '最大账号数量', 'type' => 'string', 'example' => '10'], + 'regionId' => ['title' => '地域ID', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'protocol' => ['title' => '协议', 'type' => 'string', 'example' => 'http/https'], + 'shareSynced' => ['title' => '是否有过共享版迁移引导', 'type' => 'boolean'], + 'ntmId' => ['title' => '实例id', 'type' => 'string'], + 'personalDomain' => ['title' => '个性化域名', 'type' => 'string'], + 'personalDomainPrefix' => ['title' => '个性化域名前缀', 'type' => 'string'], + 'resourceGroupId' => ['title' => '资源组id', 'type' => 'string'], + 'deployType' => ['title' => '部署模式', 'type' => 'string'], 'tags' => [ 'title' => '标签', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'key' => [ - 'title' => '键', - 'type' => 'string', - ], - 'value' => [ - 'title' => '值', - 'type' => 'string', - ], + 'key' => ['title' => '键', 'type' => 'string'], + 'value' => ['title' => '值', 'type' => 'string'], ], ], ], - 'privateIp' => [ - 'title' => '私网ip带端口', - 'type' => 'string', - ], - 'privateDomain' => [ - 'title' => '私网工作区域名', - 'type' => 'string', - ], + 'privateIp' => ['title' => '私网ip带端口', 'type' => 'string'], + 'privateDomain' => ['title' => '私网工作区域名', 'type' => 'string'], ], ], 'GrafanaWorkspaceAccount' => [ @@ -264,38 +103,15 @@ 'description' => 'Grafana阿里云账号', 'type' => 'object', 'properties' => [ - 'accountId' => [ - 'title' => '账号ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'aliyunUid' => [ - 'title' => '阿里云UID', - 'type' => 'string', - 'example' => '131243781293', - ], - 'aliyunUserName' => [ - 'title' => '阿里云账号名', - 'type' => 'string', - 'example' => 'test', - ], - 'accountNotes' => [ - 'title' => '备注', - 'type' => 'string', - ], - 'gmtCreate' => [ - 'title' => '1642079398000', - 'type' => 'number', - 'format' => 'float', - 'example' => '创建时间', - ], + 'accountId' => ['title' => '账号ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'aliyunUid' => ['title' => '阿里云UID', 'type' => 'string', 'example' => '131243781293'], + 'aliyunUserName' => ['title' => '阿里云账号名', 'type' => 'string', 'example' => 'test'], + 'accountNotes' => ['title' => '备注', 'type' => 'string'], + 'gmtCreate' => ['title' => '1642079398000', 'type' => 'number', 'format' => 'float', 'example' => '创建时间'], 'orgs' => [ 'title' => '组织权限', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/GrafanaWorkspaceUserOrg', - ], + 'items' => ['$ref' => '#/components/schemas/GrafanaWorkspaceUserOrg'], ], ], ], @@ -304,47 +120,14 @@ 'description' => 'Grafana告警Notification信息', 'type' => 'object', 'properties' => [ - 'id' => [ - 'title' => 'ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'name' => [ - 'title' => '名称', - 'type' => 'string', - 'example' => 'test', - ], - 'uid' => [ - 'title' => 'Grafana UID', - 'type' => 'string', - 'example' => 'Xfdf******', - ], - 'type' => [ - 'title' => '类型', - 'type' => 'string', - 'example' => 'Email', - ], - 'isDefault' => [ - 'title' => '是否默认', - 'type' => 'boolean', - 'example' => 'true', - ], - 'isArms' => [ - 'title' => '是否ARMS系统类型', - 'type' => 'boolean', - 'example' => 'true', - ], - 'sendReminder' => [ - 'title' => '发送提醒', - 'type' => 'boolean', - 'example' => 'true', - ], - 'settings' => [ - 'title' => '其他配置', - 'type' => 'string', - 'example' => '{}', - ], + 'id' => ['title' => 'ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'name' => ['title' => '名称', 'type' => 'string', 'example' => 'test'], + 'uid' => ['title' => 'Grafana UID', 'type' => 'string', 'example' => 'Xfdf******'], + 'type' => ['title' => '类型', 'type' => 'string', 'example' => 'Email'], + 'isDefault' => ['title' => '是否默认', 'type' => 'boolean', 'example' => 'true'], + 'isArms' => ['title' => '是否ARMS系统类型', 'type' => 'boolean', 'example' => 'true'], + 'sendReminder' => ['title' => '发送提醒', 'type' => 'boolean', 'example' => 'true'], + 'settings' => ['title' => '其他配置', 'type' => 'string', 'example' => '{}'], ], ], 'GrafanaWorkspaceArmsAlertConfig' => [ @@ -352,15 +135,8 @@ 'description' => 'Grafana ARMS告警信息配置', 'type' => 'object', 'properties' => [ - 'armsAlertsEnable' => [ - 'title' => '是否启用', - 'type' => 'string', - 'example' => 'true', - ], - 'armsAlertsWebhookUrl' => [ - 'title' => '告警Webhook地址', - 'type' => 'string', - ], + 'armsAlertsEnable' => ['title' => '是否启用', 'type' => 'string', 'example' => 'true'], + 'armsAlertsWebhookUrl' => ['title' => '告警Webhook地址', 'type' => 'string'], ], ], 'GrafanaWorkspaceCustomDomain' => [ @@ -368,66 +144,21 @@ 'description' => 'Grafana自定义域名', 'type' => 'object', 'properties' => [ - 'id' => [ - 'title' => '配置ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'date' => [ - 'title' => '配置创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1688627798017', - ], - 'grafanaWorkspaceId' => [ - 'title' => 'Grafana工作区ID', - 'type' => 'string', - 'example' => 'grafana-cn-***********', - ], + 'id' => ['title' => '配置ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'date' => ['title' => '配置创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1688627798017'], + 'grafanaWorkspaceId' => ['title' => 'Grafana工作区ID', 'type' => 'string', 'example' => 'grafana-cn-***********'], 'status' => [ 'title' => '状态', 'type' => 'string', 'example' => 'CreateSucceed', - 'enum' => [ - 'Creating', - 'CreateFailed', - 'CreateSucceed', - 'Deleting', - 'DeleteFailed', - 'DeleteSucceed', - ], - ], - 'domain' => [ - 'title' => '域名', - 'type' => 'string', - 'example' => 'mydomain.com', - ], - 'uri' => [ - 'title' => '路由配置', - 'type' => 'string', - 'example' => '/', - ], - 'protocol' => [ - 'title' => '网络协议', - 'type' => 'string', - 'example' => 'https', - ], - 'cert' => [ - 'title' => 'PEM 证书内容', - 'type' => 'string', - 'example' => 'protocol为http时无需填写;', - ], - 'key' => [ - 'title' => 'PEM 证书密钥', - 'type' => 'string', - 'example' => 'protocol为http时无需填写;', - ], - 'privateZone' => [ - 'title' => '是否私网域名', - 'type' => 'string', - 'example' => 'true', + 'enum' => ['Creating', 'CreateFailed', 'CreateSucceed', 'Deleting', 'DeleteFailed', 'DeleteSucceed'], ], + 'domain' => ['title' => '域名', 'type' => 'string', 'example' => 'mydomain.com'], + 'uri' => ['title' => '路由配置', 'type' => 'string', 'example' => '/'], + 'protocol' => ['title' => '网络协议', 'type' => 'string', 'example' => 'https'], + 'cert' => ['title' => 'PEM 证书内容', 'type' => 'string', 'example' => 'protocol为http时无需填写;'], + 'key' => ['title' => 'PEM 证书密钥', 'type' => 'string', 'example' => 'protocol为http时无需填写;'], + 'privateZone' => ['title' => '是否私网域名', 'type' => 'string', 'example' => 'true'], ], ], 'GrafanaWorkspaceDashboardReport' => [ @@ -435,85 +166,22 @@ 'description' => 'Grafana Dashboard数据报表', 'type' => 'object', 'properties' => [ - 'id' => [ - 'title' => '备份配置ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'gmtCreate' => [ - 'title' => '配置创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1680861352600', - ], - 'lastSendTime' => [ - 'title' => '最近发送时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1680861352600', - ], - 'grafanaWorkspaceId' => [ - 'title' => 'Grafana工作区ID', - 'type' => 'string', - 'example' => 'grafana-cn-**********', - ], - 'userId' => [ - 'title' => '用户ID', - 'type' => 'string', - ], - 'name' => [ - 'title' => '配置名称', - 'type' => 'string', - ], - 'url' => [ - 'title' => '配置链接地址', - 'type' => 'string', - 'example' => 'Dashboard URL', - ], - 'status' => [ - 'title' => '配置状态', - 'type' => 'string', - ], - 'msg' => [ - 'title' => '配置信息', - 'type' => 'string', - ], - 'reportChannelType' => [ - 'title' => '通知渠道类型', - 'type' => 'string', - 'example' => 'Email', - ], - 'reportChannelTarget' => [ - 'title' => '通知目标', - 'type' => 'string', - 'example' => '******@aliyun.com', - ], - 'reportType' => [ - 'title' => '导出类型', - 'type' => 'string', - 'example' => 'Image', - ], - 'reportStyle' => [ - 'title' => '布局类型', - 'type' => 'string', - 'example' => 'Grid,Simple', - ], - 'triggerType' => [ - 'title' => '发送时间类型', - 'type' => 'string', - 'example' => 'ByWeek', - ], - 'triggerDay' => [ - 'title' => '发送时间 天', - 'type' => 'string', - 'example' => '1', - ], - 'triggerTime' => [ - 'title' => '发送时间 时分', - 'type' => 'string', - 'example' => '12:25', - ], + 'id' => ['title' => '备份配置ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'gmtCreate' => ['title' => '配置创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1680861352600'], + 'lastSendTime' => ['title' => '最近发送时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1680861352600'], + 'grafanaWorkspaceId' => ['title' => 'Grafana工作区ID', 'type' => 'string', 'example' => 'grafana-cn-**********'], + 'userId' => ['title' => '用户ID', 'type' => 'string'], + 'name' => ['title' => '配置名称', 'type' => 'string'], + 'url' => ['title' => '配置链接地址', 'type' => 'string', 'example' => 'Dashboard URL'], + 'status' => ['title' => '配置状态', 'type' => 'string'], + 'msg' => ['title' => '配置信息', 'type' => 'string'], + 'reportChannelType' => ['title' => '通知渠道类型', 'type' => 'string', 'example' => 'Email'], + 'reportChannelTarget' => ['title' => '通知目标', 'type' => 'string', 'example' => '******@aliyun.com'], + 'reportType' => ['title' => '导出类型', 'type' => 'string', 'example' => 'Image'], + 'reportStyle' => ['title' => '布局类型', 'type' => 'string', 'example' => 'Grid,Simple'], + 'triggerType' => ['title' => '发送时间类型', 'type' => 'string', 'example' => 'ByWeek'], + 'triggerDay' => ['title' => '发送时间 天', 'type' => 'string', 'example' => '1'], + 'triggerTime' => ['title' => '发送时间 时分', 'type' => 'string', 'example' => '12:25'], ], ], 'GrafanaWorkspaceDataBackup' => [ @@ -521,55 +189,20 @@ 'description' => 'Grafana数据备份配置', 'type' => 'object', 'properties' => [ - 'id' => [ - 'title' => '备份配置ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'gmtCreate' => [ - 'title' => '配置创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1680861352600', - ], - 'gmtModified' => [ - 'title' => '配置更新时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1680861352600', - ], - 'grafanaWorkspaceId' => [ - 'title' => 'Grafana工作区ID', - 'type' => 'string', - 'example' => 'grafana-cn-**********', - ], - 'userId' => [ - 'title' => '用户ID', - 'type' => 'string', - ], - 'processName' => [ - 'title' => '配置名称', - 'type' => 'string', - ], + 'id' => ['title' => '备份配置ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'gmtCreate' => ['title' => '配置创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1680861352600'], + 'gmtModified' => ['title' => '配置更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1680861352600'], + 'grafanaWorkspaceId' => ['title' => 'Grafana工作区ID', 'type' => 'string', 'example' => 'grafana-cn-**********'], + 'userId' => ['title' => '用户ID', 'type' => 'string'], + 'processName' => ['title' => '配置名称', 'type' => 'string'], 'subType' => [ 'title' => '配置类型', 'type' => 'string', 'example' => 'User', - 'enum' => [ - 'System', - 'User', - 'Restore', - ], - ], - 'processStatus' => [ - 'title' => '配置状态', - 'type' => 'string', - ], - 'msg' => [ - 'title' => '配置信息', - 'type' => 'string', + 'enum' => ['System', 'User', 'Restore'], ], + 'processStatus' => ['title' => '配置状态', 'type' => 'string'], + 'msg' => ['title' => '配置信息', 'type' => 'string'], ], ], 'GrafanaWorkspaceIniBackup' => [ @@ -577,59 +210,21 @@ 'description' => 'Grafana参数备份配置', 'type' => 'object', 'properties' => [ - 'id' => [ - 'title' => '备份配置ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'gmtCreate' => [ - 'title' => '配置创建时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1680861352600', - ], - 'gmtModified' => [ - 'title' => '配置更新时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1680861352600', - ], - 'grafanaWorkspaceId' => [ - 'title' => 'Grafana工作区ID', - 'type' => 'string', - 'example' => 'grafana-cn-**********', - ], - 'userId' => [ - 'title' => '用户ID', - 'type' => 'string', - ], - 'processName' => [ - 'title' => '配置名称', - 'type' => 'string', - ], + 'id' => ['title' => '备份配置ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'gmtCreate' => ['title' => '配置创建时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1680861352600'], + 'gmtModified' => ['title' => '配置更新时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1680861352600'], + 'grafanaWorkspaceId' => ['title' => 'Grafana工作区ID', 'type' => 'string', 'example' => 'grafana-cn-**********'], + 'userId' => ['title' => '用户ID', 'type' => 'string'], + 'processName' => ['title' => '配置名称', 'type' => 'string'], 'subType' => [ 'title' => '配置类型', 'type' => 'string', 'example' => 'User', - 'enum' => [ - 'System', - 'User', - 'Restore', - ], - ], - 'processStatus' => [ - 'title' => '配置状态', - 'type' => 'string', - ], - 'msg' => [ - 'title' => '配置信息', - 'type' => 'string', - ], - 'ext' => [ - 'title' => '扩展信息', - 'type' => 'string', + 'enum' => ['System', 'User', 'Restore'], ], + 'processStatus' => ['title' => '配置状态', 'type' => 'string'], + 'msg' => ['title' => '配置信息', 'type' => 'string'], + 'ext' => ['title' => '扩展信息', 'type' => 'string'], ], ], 'GrafanaWorkspaceIniProperty' => [ @@ -637,30 +232,12 @@ 'description' => 'Grafana工作区参数属性', 'type' => 'object', 'properties' => [ - 'key' => [ - 'title' => '参数名称', - 'type' => 'string', - ], - 'value' => [ - 'title' => '参数值', - 'type' => 'string', - ], - 'defaultValue' => [ - 'title' => '参数默认值', - 'type' => 'string', - ], - 'description' => [ - 'title' => '参数描述', - 'type' => 'string', - ], - 'example' => [ - 'title' => '参数值示例', - 'type' => 'string', - ], - 'secret' => [ - 'title' => '是否加密字段', - 'type' => 'boolean', - ], + 'key' => ['title' => '参数名称', 'type' => 'string'], + 'value' => ['title' => '参数值', 'type' => 'string'], + 'defaultValue' => ['title' => '参数默认值', 'type' => 'string'], + 'description' => ['title' => '参数描述', 'type' => 'string'], + 'example' => ['title' => '参数值示例', 'type' => 'string'], + 'secret' => ['title' => '是否加密字段', 'type' => 'boolean'], ], ], 'GrafanaWorkspaceIniSection' => [ @@ -668,16 +245,11 @@ 'description' => 'Grafana工作区参数对象', 'type' => 'object', 'properties' => [ - 'section' => [ - 'title' => '参数区块名称', - 'type' => 'string', - ], + 'section' => ['title' => '参数区块名称', 'type' => 'string'], 'propertys' => [ 'title' => '参数属性列表', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/GrafanaWorkspaceIniProperty', - ], + 'items' => ['$ref' => '#/components/schemas/GrafanaWorkspaceIniProperty'], ], ], ], @@ -686,36 +258,19 @@ 'description' => 'Grafana集成项', 'type' => 'object', 'properties' => [ - 'integrationName' => [ - 'title' => '集成名称', - 'type' => 'string', - ], - 'integrationId' => [ - 'title' => '集成配置Id', - 'type' => 'string', - ], - 'status' => [ - 'title' => '集成状态', - 'type' => 'string', - ], - 'datasourceAmount' => [ - 'title' => '已集成的数据源数量', - 'type' => 'integer', - 'format' => 'int64', - ], + 'integrationName' => ['title' => '集成名称', 'type' => 'string'], + 'integrationId' => ['title' => '集成配置Id', 'type' => 'string'], + 'status' => ['title' => '集成状态', 'type' => 'string'], + 'datasourceAmount' => ['title' => '已集成的数据源数量', 'type' => 'integer', 'format' => 'int64'], 'supportRegions' => [ 'title' => '支持的region列表', 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], ], 'previews' => [ 'title' => '预览信息', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/GrafanaWorkspaceIntegrationPreview', - ], + 'items' => ['$ref' => '#/components/schemas/GrafanaWorkspaceIntegrationPreview'], ], ], ], @@ -724,46 +279,16 @@ 'description' => 'Grafana集成的数据源', 'type' => 'object', 'properties' => [ - 'datasourceId' => [ - 'title' => '数据源id', - 'type' => 'string', - ], - 'datasourceName' => [ - 'title' => '数据源名称', - 'type' => 'string', - ], - 'clusterType' => [ - 'title' => '集群类型', - 'type' => 'string', - ], - 'regionId' => [ - 'title' => 'regionId', - 'type' => 'string', - ], - 'type' => [ - 'title' => '数据源类型', - 'type' => 'string', - ], - 'status' => [ - 'title' => '集成状态', - 'type' => 'string', - ], - 'datasourceUrl' => [ - 'title' => '数据源地址', - 'type' => 'string', - ], - 'folderUrl' => [ - 'title' => 'Grafana文件夹地址', - 'type' => 'string', - ], - 'exploreUrl' => [ - 'title' => 'Grafana浏览地址', - 'type' => 'string', - ], - 'description' => [ - 'title' => '数据源描述', - 'type' => 'string', - ], + 'datasourceId' => ['title' => '数据源id', 'type' => 'string'], + 'datasourceName' => ['title' => '数据源名称', 'type' => 'string'], + 'clusterType' => ['title' => '集群类型', 'type' => 'string'], + 'regionId' => ['title' => 'regionId', 'type' => 'string'], + 'type' => ['title' => '数据源类型', 'type' => 'string'], + 'status' => ['title' => '集成状态', 'type' => 'string'], + 'datasourceUrl' => ['title' => '数据源地址', 'type' => 'string'], + 'folderUrl' => ['title' => 'Grafana文件夹地址', 'type' => 'string'], + 'exploreUrl' => ['title' => 'Grafana浏览地址', 'type' => 'string'], + 'description' => ['title' => '数据源描述', 'type' => 'string'], ], ], 'GrafanaWorkspaceIntegrationDetail' => [ @@ -771,20 +296,12 @@ 'description' => 'Grafana集成明细', 'type' => 'object', 'properties' => [ - 'integrationId' => [ - 'title' => '集成配置key', - 'type' => 'string', - ], - 'status' => [ - 'title' => '集成状态', - 'type' => 'string', - ], + 'integrationId' => ['title' => '集成配置key', 'type' => 'string'], + 'status' => ['title' => '集成状态', 'type' => 'string'], 'dataSources' => [ 'title' => '集成的数据源', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/GrafanaWorkspaceIntegrationDataSource', - ], + 'items' => ['$ref' => '#/components/schemas/GrafanaWorkspaceIntegrationDataSource'], ], ], ], @@ -793,22 +310,10 @@ 'description' => 'Grafana集成项预览', 'type' => 'object', 'properties' => [ - 'id' => [ - 'title' => '预览大盘id', - 'type' => 'string', - ], - 'name' => [ - 'title' => '预览名称', - 'type' => 'string', - ], - 'thumbnail' => [ - 'title' => '缩略图地址', - 'type' => 'string', - ], - 'image' => [ - 'title' => '原图地址', - 'type' => 'string', - ], + 'id' => ['title' => '预览大盘id', 'type' => 'string'], + 'name' => ['title' => '预览名称', 'type' => 'string'], + 'thumbnail' => ['title' => '缩略图地址', 'type' => 'string'], + 'image' => ['title' => '原图地址', 'type' => 'string'], ], ], 'GrafanaWorkspaceNews' => [ @@ -816,27 +321,11 @@ 'description' => 'Grafana工作区快报信息', 'type' => 'object', 'properties' => [ - 'title' => [ - 'title' => 'News Title', - 'type' => 'string', - ], - 'image' => [ - 'title' => 'News Image URL', - 'type' => 'string', - ], - 'link' => [ - 'title' => 'News Detail Link', - 'type' => 'string', - ], - 'date' => [ - 'title' => 'News Date', - 'type' => 'integer', - 'format' => 'int64', - ], - 'description' => [ - 'title' => 'News Description', - 'type' => 'string', - ], + 'title' => ['title' => 'News Title', 'type' => 'string'], + 'image' => ['title' => 'News Image URL', 'type' => 'string'], + 'link' => ['title' => 'News Detail Link', 'type' => 'string'], + 'date' => ['title' => 'News Date', 'type' => 'integer', 'format' => 'int64'], + 'description' => ['title' => 'News Description', 'type' => 'string'], ], ], 'GrafanaWorkspaceOperateLog' => [ @@ -844,28 +333,11 @@ 'description' => 'Grafana工作区操作日志', 'type' => 'object', 'properties' => [ - 'id' => [ - 'title' => '日志id', - 'type' => 'integer', - 'format' => 'int64', - ], - 'date' => [ - 'title' => '操作时间', - 'type' => 'number', - 'format' => 'float', - ], - 'grafanaWorkspaceId' => [ - 'title' => '工作区ID', - 'type' => 'string', - ], - 'detail' => [ - 'title' => '操作明细', - 'type' => 'string', - ], - 'operatorId' => [ - 'title' => '操作人用户ID', - 'type' => 'string', - ], + 'id' => ['title' => '日志id', 'type' => 'integer', 'format' => 'int64'], + 'date' => ['title' => '操作时间', 'type' => 'number', 'format' => 'float'], + 'grafanaWorkspaceId' => ['title' => '工作区ID', 'type' => 'string'], + 'detail' => ['title' => '操作明细', 'type' => 'string'], + 'operatorId' => ['title' => '操作人用户ID', 'type' => 'string'], ], ], 'GrafanaWorkspaceOrg' => [ @@ -873,17 +345,8 @@ 'description' => 'Grafana组织', 'type' => 'object', 'properties' => [ - 'id' => [ - 'title' => '组织id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'name' => [ - 'title' => '组织名称', - 'type' => 'string', - 'example' => 'main org', - ], + 'id' => ['title' => '组织id', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'name' => ['title' => '组织名称', 'type' => 'string', 'example' => 'main org'], ], ], 'GrafanaWorkspaceTrans' => [ @@ -891,51 +354,19 @@ 'description' => 'Grafana数据迁移记录', 'type' => 'object', 'properties' => [ - 'id' => [ - 'title' => '记录主键id', - 'type' => 'integer', - 'format' => 'int64', - ], - 'gmtCreate' => [ - 'title' => '创建时间', - 'type' => 'number', - 'format' => 'float', - ], - 'gmtModified' => [ - 'title' => '更新时间', - 'type' => 'number', - 'format' => 'float', - ], - 'grafanaWorkspaceId' => [ - 'title' => '工作区ID', - 'type' => 'string', - ], - 'userId' => [ - 'title' => '用户id', - 'type' => 'string', - ], - 'authType' => [ - 'title' => '授权方式', - 'type' => 'string', - ], - 'processStatus' => [ - 'title' => '迁移状态', - 'type' => 'string', - ], - 'msg' => [ - 'title' => '迁移信息', - 'type' => 'string', - ], - 'apiUrl' => [ - 'title' => '迁移侧Grafana地址', - 'type' => 'string', - ], + 'id' => ['title' => '记录主键id', 'type' => 'integer', 'format' => 'int64'], + 'gmtCreate' => ['title' => '创建时间', 'type' => 'number', 'format' => 'float'], + 'gmtModified' => ['title' => '更新时间', 'type' => 'number', 'format' => 'float'], + 'grafanaWorkspaceId' => ['title' => '工作区ID', 'type' => 'string'], + 'userId' => ['title' => '用户id', 'type' => 'string'], + 'authType' => ['title' => '授权方式', 'type' => 'string'], + 'processStatus' => ['title' => '迁移状态', 'type' => 'string'], + 'msg' => ['title' => '迁移信息', 'type' => 'string'], + 'apiUrl' => ['title' => '迁移侧Grafana地址', 'type' => 'string'], 'transDetails' => [ 'title' => '迁移明细', 'type' => 'array', - 'items' => [ - '$ref' => '#/components/schemas/GrafanaWorkspaceTransDetail', - ], + 'items' => ['$ref' => '#/components/schemas/GrafanaWorkspaceTransDetail'], ], ], ], @@ -944,34 +375,12 @@ 'description' => 'Grafana数据迁移明细', 'type' => 'object', 'properties' => [ - 'original' => [ - 'title' => '迁移侧grafana的组织id', - 'type' => 'integer', - 'format' => 'int64', - ], - 'originalName' => [ - 'title' => '迁移侧grafana的组织名称', - 'type' => 'string', - ], - 'target' => [ - 'title' => '目标侧grafana的组织id', - 'type' => 'integer', - 'format' => 'int64', - ], - 'targetName' => [ - 'title' => '目标侧grafana的组织名称', - 'type' => 'string', - ], - 'dataSourceAmount' => [ - 'title' => '处理的数据源数量', - 'type' => 'integer', - 'format' => 'int32', - ], - 'dashboardAmount' => [ - 'title' => '处理的大盘数量', - 'type' => 'integer', - 'format' => 'int32', - ], + 'original' => ['title' => '迁移侧grafana的组织id', 'type' => 'integer', 'format' => 'int64'], + 'originalName' => ['title' => '迁移侧grafana的组织名称', 'type' => 'string'], + 'target' => ['title' => '目标侧grafana的组织id', 'type' => 'integer', 'format' => 'int64'], + 'targetName' => ['title' => '目标侧grafana的组织名称', 'type' => 'string'], + 'dataSourceAmount' => ['title' => '处理的数据源数量', 'type' => 'integer', 'format' => 'int32'], + 'dashboardAmount' => ['title' => '处理的大盘数量', 'type' => 'integer', 'format' => 'int32'], ], ], 'GrafanaWorkspaceUserCert' => [ @@ -979,16 +388,8 @@ 'description' => '用户阿里云证书', 'type' => 'object', 'properties' => [ - 'id' => [ - 'title' => '证书ID', - 'type' => 'string', - 'example' => '8096753', - ], - 'name' => [ - 'title' => '证书名称', - 'type' => 'string', - 'example' => 'cert-7700050 [grafana.tongtong-max.cn]', - ], + 'id' => ['title' => '证书ID', 'type' => 'string', 'example' => '8096753'], + 'name' => ['title' => '证书名称', 'type' => 'string', 'example' => 'cert-7700050 [grafana.tongtong-max.cn]'], ], ], 'GrafanaWorkspaceUserOrg' => [ @@ -996,22 +397,9 @@ 'description' => 'Grafana用户组织关系', 'type' => 'object', 'properties' => [ - 'orgId' => [ - 'title' => '组织id', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'orgName' => [ - 'title' => '组织名称', - 'type' => 'string', - 'example' => 'main org', - ], - 'role' => [ - 'title' => '角色', - 'type' => 'string', - 'example' => 'admin', - ], + 'orgId' => ['title' => '组织id', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'orgName' => ['title' => '组织名称', 'type' => 'string', 'example' => 'main org'], + 'role' => ['title' => '角色', 'type' => 'string', 'example' => 'admin'], ], ], 'GrafanaWorkspaceVpcConfig' => [ @@ -1019,64 +407,21 @@ 'description' => 'Grafana工作区VPC数据通道配置', 'type' => 'object', 'properties' => [ - 'id' => [ - 'title' => '配置ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'name' => [ - 'title' => '配置名称', - 'type' => 'string', - 'example' => '北京VPC-A通道', - ], + 'id' => ['title' => '配置ID', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'name' => ['title' => '配置名称', 'type' => 'string', 'example' => '北京VPC-A通道'], 'installStatus' => [ 'title' => '配置状态', 'type' => 'string', 'example' => 'CreateSucceed', - 'enum' => [ - 'Creating', - 'CreateSucceed', - 'CreateFailed', - 'Deleting', - 'DeleteSucceed', - 'DeleteFailed', - ], - ], - 'userId' => [ - 'title' => '用户ID', - 'type' => 'string', - 'example' => '10983***********', - ], - 'securityGroupId' => [ - 'title' => '安全组ID', - 'type' => 'string', - 'example' => 'sg-6we94uvybteyc******', - ], - 'vpcId' => [ - 'title' => 'VPC ID', - 'type' => 'string', - 'example' => 'vpc-6wehr2x**********', - ], - 'vSwitchId' => [ - 'title' => '交换机ID', - 'type' => 'string', - 'example' => 'vsw-6we3**********', - ], - 'fcConfig' => [ - 'title' => '通道类型', - 'type' => 'string', - 'example' => 'fc、ansm', - ], - 'regionId' => [ - 'title' => '地域', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'installMsg' => [ - 'title' => '安装信息', - 'type' => 'string', + 'enum' => ['Creating', 'CreateSucceed', 'CreateFailed', 'Deleting', 'DeleteSucceed', 'DeleteFailed'], ], + 'userId' => ['title' => '用户ID', 'type' => 'string', 'example' => '10983***********'], + 'securityGroupId' => ['title' => '安全组ID', 'type' => 'string', 'example' => 'sg-6we94uvybteyc******'], + 'vpcId' => ['title' => 'VPC ID', 'type' => 'string', 'example' => 'vpc-6wehr2x**********'], + 'vSwitchId' => ['title' => '交换机ID', 'type' => 'string', 'example' => 'vsw-6we3**********'], + 'fcConfig' => ['title' => '通道类型', 'type' => 'string', 'example' => 'fc、ansm'], + 'regionId' => ['title' => '地域', 'type' => 'string', 'example' => 'cn-beijing'], + 'installMsg' => ['title' => '安装信息', 'type' => 'string'], ], ], 'GrafanaWorkspaceVpcRegion' => [ @@ -1084,16 +429,8 @@ 'description' => 'Grafana工作区VPC数据通道地域信息', 'type' => 'object', 'properties' => [ - 'regionId' => [ - 'title' => '地域ID', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'regionName' => [ - 'title' => '地域名称', - 'type' => 'string', - 'example' => '华北2(北京)', - ], + 'regionId' => ['title' => '地域ID', 'type' => 'string', 'example' => 'cn-beijing'], + 'regionName' => ['title' => '地域名称', 'type' => 'string', 'example' => '华北2(北京)'], ], ], 'GrafanaWorkspaceVpcRegionDetail' => [ @@ -1101,179 +438,95 @@ 'description' => 'Grafana工作区VPC数据通道地域信息详情', 'type' => 'object', 'properties' => [ - 'vpcId' => [ - 'title' => 'VPC ID', - 'type' => 'string', - 'example' => 'vpc-2ze4siu98**********', - ], - 'name' => [ - 'title' => 'VPC名称', - 'type' => 'string', - 'example' => 'vpc-abc*****', - ], - 'regionId' => [ - 'title' => 'VPC所在地域', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'userId' => [ - 'title' => 'VPC所属用户ID', - 'type' => 'string', - 'example' => '10988**********', - ], + 'vpcId' => ['title' => 'VPC ID', 'type' => 'string', 'example' => 'vpc-2ze4siu98**********'], + 'name' => ['title' => 'VPC名称', 'type' => 'string', 'example' => 'vpc-abc*****'], + 'regionId' => ['title' => 'VPC所在地域', 'type' => 'string', 'example' => 'cn-beijing'], + 'userId' => ['title' => 'VPC所属用户ID', 'type' => 'string', 'example' => '10988**********'], 'installStatus' => [ 'title' => '安装状态', 'type' => 'string', 'example' => 'Uninitialized', - 'enum' => [ - 'Uninitialized', - 'DeleteSucceed', - 'DeleteFailed', - ], + 'enum' => ['Uninitialized', 'DeleteSucceed', 'DeleteFailed'], ], 'securityGroupIds' => [ 'title' => 'VPC 安全组列表', 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'example' => 'sg-*********', - ], + 'items' => ['type' => 'string', 'example' => 'sg-*********'], ], 'vSwitchIds' => [ 'title' => 'VPC 交换机列表', 'type' => 'array', - 'items' => [ - 'type' => 'string', - 'example' => 'vsw-**********', - ], - ], - 'id' => [ - 'title' => 'ID', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '配置ID', - ], - 'fcConfig' => [ - 'title' => '网络类型', - 'type' => 'string', - 'example' => 'fc、ansm', - ], - 'securityGroupId' => [ - 'title' => '上次选择安全组ID', - 'type' => 'string', - ], - 'vSwitchId' => [ - 'title' => '上次选择交换机ID', - 'type' => 'string', + 'items' => ['type' => 'string', 'example' => 'vsw-**********'], ], + 'id' => ['title' => 'ID', 'type' => 'integer', 'format' => 'int64', 'example' => '配置ID'], + 'fcConfig' => ['title' => '网络类型', 'type' => 'string', 'example' => 'fc、ansm'], + 'securityGroupId' => ['title' => '上次选择安全组ID', 'type' => 'string'], + 'vSwitchId' => ['title' => '上次选择交换机ID', 'type' => 'string'], ], ], ], ], 'apis' => [ 'ARMSQueryDataSet' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'IntervalInSec', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], [ 'name' => 'DateStr', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'MinTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'MaxTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'IsDrillDown', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'OrderByKey', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'ReduceTail', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'HungryMode', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'DatasetId', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'Dimensions', @@ -1284,18 +537,9 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => false, - ], - 'Type' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], + 'Key' => ['type' => 'string', 'required' => false], + 'Type' => ['type' => 'string', 'required' => false], + 'Value' => ['type' => 'string', 'required' => false], ], ], 'required' => false, @@ -1308,9 +552,7 @@ 'style' => 'repeatList', 'schema' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => false, 'maxItems' => 5, ], @@ -1324,18 +566,9 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => false, - ], - 'Type' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], + 'Key' => ['type' => 'string', 'required' => false], + 'Type' => ['type' => 'string', 'required' => false], + 'Value' => ['type' => 'string', 'required' => false], ], ], 'required' => false, @@ -1351,18 +584,9 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => false, - ], - 'Type' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], + 'Key' => ['type' => 'string', 'required' => false], + 'Type' => ['type' => 'string', 'required' => false], + 'Value' => ['type' => 'string', 'required' => false], ], ], 'required' => false, @@ -1372,9 +596,7 @@ [ 'name' => 'HackerUserId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -1382,104 +604,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], + 'Data' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => '必选参数不能为空', - ], + ['errorCode' => 'InternalError', 'errorMessage' => '必选参数不能为空'], ], ], 'responseDemo' => '', ], 'MetricQuery' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'readAndWrite', - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'IintervalInSec', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'Metric', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'OrderBy', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Filters', @@ -1490,14 +672,8 @@ 'items' => [ 'type' => 'object', 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], + 'Key' => ['type' => 'string', 'required' => false], + 'Value' => ['type' => 'string', 'required' => false], ], ], 'required' => false, @@ -1510,9 +686,7 @@ 'style' => 'repeatList', 'schema' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => true, 'maxItems' => 5, ], @@ -1523,9 +697,7 @@ 'style' => 'repeatList', 'schema' => [ 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], + 'items' => ['type' => 'string'], 'required' => false, 'maxItems' => 5, ], @@ -1533,9 +705,7 @@ [ 'name' => 'HackerUserId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - ], + 'schema' => ['type' => 'string'], ], ], 'responses' => [ @@ -1543,159 +713,53 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Data' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], + 'Data' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 500 => [ - [ - 'errorCode' => 'InternalError', - 'errorMessage' => '必选参数不能为空', - ], + ['errorCode' => 'InternalError', 'errorMessage' => '必选参数不能为空'], ], ], 'responseDemo' => '', ], ], 'endpoints' => [ - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'arms.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'arms.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'arms.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhengzhou-jva', - 'endpoint' => 'arms.cn-zhengzhou-jva.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'arms.cn-huhehaote.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'arms.cn-wulanchabu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'arms.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'arms.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'arms.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-heyuan', - 'endpoint' => 'arms.cn-heyuan.aliyuncs.com', - ], - [ - 'regionId' => 'cn-guangzhou', - 'endpoint' => 'arms.cn-guangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'arms.cn-chengdu.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'arms.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'arms.ap-northeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-2', - 'endpoint' => 'arms.ap-northeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'arms.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'arms.ap-southeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'arms.ap-southeast-3.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'arms.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-6', - 'endpoint' => 'arms.ap-southeast-6.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'arms.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'arms.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'arms.eu-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'arms.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-south-1', - 'endpoint' => 'arms.ap-south-1.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'arms.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'arms.cn-hangzhou-finance.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'arms.cn-shanghai-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'arms.cn-shenzhen-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-7', - 'endpoint' => 'arms.ap-southeast-7.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'arms.aliyuncs.com', - ], - [ - 'regionId' => 'me-central-1', - 'endpoint' => 'arms.me-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-heyuan-acdr-1', - 'endpoint' => 'arms.cn-heyuan-acdr-1.aliyuncs.com', - ], + ['regionId' => 'cn-qingdao', 'endpoint' => 'arms.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'endpoint' => 'arms.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'arms.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-zhengzhou-jva', 'endpoint' => 'arms.cn-zhengzhou-jva.aliyuncs.com'], + ['regionId' => 'cn-huhehaote', 'endpoint' => 'arms.cn-huhehaote.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'endpoint' => 'arms.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'endpoint' => 'arms.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'endpoint' => 'arms.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'endpoint' => 'arms.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-heyuan', 'endpoint' => 'arms.cn-heyuan.aliyuncs.com'], + ['regionId' => 'cn-guangzhou', 'endpoint' => 'arms.cn-guangzhou.aliyuncs.com'], + ['regionId' => 'cn-chengdu', 'endpoint' => 'arms.cn-chengdu.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'endpoint' => 'arms.cn-hongkong.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'endpoint' => 'arms.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'ap-northeast-2', 'endpoint' => 'arms.ap-northeast-2.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'endpoint' => 'arms.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-2', 'endpoint' => 'arms.ap-southeast-2.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'endpoint' => 'arms.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'endpoint' => 'arms.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'ap-southeast-6', 'endpoint' => 'arms.ap-southeast-6.aliyuncs.com'], + ['regionId' => 'us-east-1', 'endpoint' => 'arms.us-east-1.aliyuncs.com'], + ['regionId' => 'us-west-1', 'endpoint' => 'arms.us-west-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'endpoint' => 'arms.eu-west-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'endpoint' => 'arms.eu-central-1.aliyuncs.com'], + ['regionId' => 'ap-south-1', 'endpoint' => 'arms.ap-south-1.aliyuncs.com'], + ['regionId' => 'me-east-1', 'endpoint' => 'arms.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-finance', 'endpoint' => 'arms.cn-hangzhou-finance.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'arms.cn-shanghai-finance-1.aliyuncs.com'], + ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'arms.cn-shenzhen-finance-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-7', 'endpoint' => 'arms.ap-southeast-7.aliyuncs.com'], + ['regionId' => 'cn-beijing-finance-1', 'endpoint' => 'arms.aliyuncs.com'], + ['regionId' => 'me-central-1', 'endpoint' => 'arms.me-central-1.aliyuncs.com'], + ['regionId' => 'cn-heyuan-acdr-1', 'endpoint' => 'arms.cn-heyuan-acdr-1.aliyuncs.com'], ], ]; |
