From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- data/zh_cn/acm/2020-02-06/api-docs.php | 2208 +++++++++++--------------------- 1 file changed, 731 insertions(+), 1477 deletions(-) (limited to 'data/zh_cn/acm/2020-02-06/api-docs.php') diff --git a/data/zh_cn/acm/2020-02-06/api-docs.php b/data/zh_cn/acm/2020-02-06/api-docs.php index 0d3858f..346a726 100644 --- a/data/zh_cn/acm/2020-02-06/api-docs.php +++ b/data/zh_cn/acm/2020-02-06/api-docs.php @@ -1,63 +1,34 @@ '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'acm', - 'version' => '2020-02-06', - ], + 'info' => ['style' => 'ROA', 'product' => 'acm', 'version' => '2020-02-06'], 'directories' => [ [ - 'id' => 56412, - 'title' => '数据', + 'children' => ['DescribeImportFileUrl', 'DescribeTraceByConfiguration'], 'type' => 'directory', - 'children' => [ - 'DescribeImportFileUrl', - 'DescribeTraceByConfiguration', - ], + 'title' => '数据', + 'id' => 432235, ], [ - 'id' => 56415, - 'title' => '命名空间', + 'children' => ['CreateNamespace', 'DeleteNamespace', 'UpdateNamespace', 'DescribeNamespace', 'DescribeNamespaces', 'DescribeNamespacesWithCreate'], 'type' => 'directory', - 'children' => [ - 'CreateNamespace', - 'DeleteNamespace', - 'UpdateNamespace', - 'DescribeNamespace', - 'DescribeNamespaces', - 'DescribeNamespacesWithCreate', - ], + 'title' => '命名空间', + 'id' => 432238, ], [ - 'id' => 56422, - 'title' => '配置', + 'children' => ['CreateConfiguration', 'CloneConfiguration', 'DeleteConfiguration', 'DeployConfiguration', 'BatchExportConfigurations', 'BatchImportConfigurations', 'DescribeConfiguration', 'CheckConfigurationClone', 'CheckConfigurationExport'], 'type' => 'directory', - 'children' => [ - 'CreateConfiguration', - 'CloneConfiguration', - 'DeleteConfiguration', - 'DeployConfiguration', - 'BatchExportConfigurations', - 'BatchImportConfigurations', - 'DescribeConfiguration', - 'CheckConfigurationClone', - 'CheckConfigurationExport', - ], + 'title' => '配置', + 'id' => 432245, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'DescribeImportFileUrl' => [ - 'path' => '/diamond-ops/pop/batch/importFileUrl', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchExportConfigurations' => [ + 'path' => '/diamond-ops/pop/batch/export', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -65,18 +36,17 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ - 'name' => 'ContentType', + 'name' => 'NamespaceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], + ], + [ + 'name' => 'Data', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -84,94 +54,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'FileUrl' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], + 'FileUrl' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Code' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 401 => [ - [ - 'errorCode' => 'ServiceDisabled', - 'errorMessage' => 'You have not activated the ACM service.', - ], + ['errorCode' => 'ServiceDisabled', 'errorMessage' => 'You have not activated the ACM service.', 'description' => '用户未开通ACM服务'], ], ], - 'responseDemo' => '', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"FileUrl\\": \\"\\",\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"\\",\\n \\"Code\\": \\"\\"\\n}","type":"json"}]', ], - 'DescribeTraceByConfiguration' => [ - 'path' => '/diamond-ops/pop/trace/getByConfiguration', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'BatchImportConfigurations' => [ + 'path' => '/diamond-ops/pop/batch/import', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ - [ - 'name' => 'DataId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], - ], - [ - 'name' => 'Group', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], - ], [ 'name' => 'NamespaceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ - 'name' => 'StartTs', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'Policy', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ - 'name' => 'EndTs', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'FileUrl', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -179,123 +104,53 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Traces' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Timestamp' => [ - 'type' => 'integer', - 'format' => 'int64', - ], - 'EventGroups' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EventType' => [ - 'type' => 'string', - ], - 'EventDetails' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'type' => 'string', - ], - 'Delay' => [ - 'type' => 'string', - ], - 'Ts' => [ - 'type' => 'string', - ], - 'ResponseIp' => [ - 'type' => 'string', - ], - 'Event' => [ - 'type' => 'string', - ], - 'Ext' => [ - 'type' => 'string', - ], - 'DataId' => [ - 'type' => 'string', - ], - 'RequestIp' => [ - 'type' => 'string', - ], - 'LogDate' => [ - 'type' => 'string', - ], - 'HandleIp' => [ - 'type' => 'string', - ], - 'Group' => [ - 'type' => 'string', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'Code' => [ - 'type' => 'string', - ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Code' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 401 => [ - [ - 'errorCode' => 'ServiceDisabled', - 'errorMessage' => 'You have not activated the ACM service.', - ], + ['errorCode' => 'ServiceDisabled', 'errorMessage' => 'You have not activated the ACM service.', 'description' => '用户未开通ACM服务'], ], ], - 'responseDemo' => '', + 'changeSet' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"\\",\\n \\"Code\\": \\"\\"\\n}","type":"json"}]', ], - 'CreateNamespace' => [ - 'path' => '/diamond-ops/pop/namespace', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CheckConfigurationClone' => [ + 'path' => '/diamond-ops/pop/batch/checkForClone', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Name', + 'name' => 'Policy', 'in' => 'formData', - 'schema' => [ - 'description' => '命名空间名称', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '测试环境', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], + ], + [ + 'name' => 'NamespaceFrom', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], + ], + [ + 'name' => 'NamespaceTo', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], + ], + [ + 'name' => 'Data', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -303,87 +158,61 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '描述', - 'type' => 'string', - 'example' => 'Success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '6F7CC94A-7711-4873-8848-****', - ], - 'NamespaceId' => [ - 'description' => '命名空间ID', - 'type' => 'string', - 'example' => '3115d2bf-1f44-47bf-a855-****', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Result' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => ['type' => 'boolean'], + 'SuccessItems' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DataId' => ['type' => 'string'], + 'Group' => ['type' => 'string'], + ], + ], + ], + 'TotalCount' => ['type' => 'integer', 'format' => 'int32'], + ], ], ], ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'NamespaceNameInvalid', - 'errorMessage' => 'The specified namespace is invalid.', - ], - ], - [ - [ - 'errorCode' => 'ServiceDisabled', - 'errorMessage' => 'You have not activated the ACM service.', - ], - ], - 500 => [ - [ - 'errorCode' => 'NamespaceQuotaExceed', - 'errorMessage' => 'The maximum number of namespaces is exceeded.', - ], + 401 => [ + ['errorCode' => 'ServiceDisabled', 'errorMessage' => 'You have not activated the ACM service.', 'description' => '用户未开通ACM服务'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"6F7CC94A-7711-4873-8848-****\\",\\n \\"NamespaceId\\": \\"3115d2bf-1f44-47bf-a855-****\\"\\n}","errorExample":""},{"type":"xml","example":"6F7CC94A-7711-4873-8848-FCE2F1795625\\nSuccess\\nOK","errorExample":""}]', - 'title' => '创建命名空间', - 'summary' => '创建命名空间。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"\\",\\n \\"Code\\": \\"\\",\\n \\"Result\\": {\\n \\"Success\\": true,\\n \\"SuccessItems\\": [\\n {\\n \\"DataId\\": \\"\\",\\n \\"Group\\": \\"\\"\\n }\\n ],\\n \\"TotalCount\\": 0\\n }\\n}","type":"json"}]', ], - 'DeleteNamespace' => [ - 'path' => '/diamond-ops/pop/namespace', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CheckConfigurationExport' => [ + 'path' => '/diamond-ops/pop/batch/checkForExport', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'NamespaceId', - 'in' => 'query', - 'schema' => [ - 'description' => '命名空间ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '112300d2-ca66-42ba-b706-****', - ], + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], + ], + [ + 'name' => 'Data', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -391,20 +220,14 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '描述', - 'type' => 'string', - 'example' => 'Success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '611CC94A-7711-4873-8848-****', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Result' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['type' => 'integer', 'format' => 'int32'], + ], ], ], ], @@ -412,46 +235,17 @@ ], 'errorCodes' => [ 401 => [ - [ - 'errorCode' => 'ServiceDisabled', - 'errorMessage' => 'You have not activated the ACM service.', - ], - ], - 403 => [ - [ - 'errorCode' => 'NamespacePermissionDenied', - 'errorMessage' => 'You are not authorized to operate the namespace.', - ], - ], - [ - [ - 'errorCode' => 'NamespaceNotExists', - 'errorMessage' => 'The specified namespace does not exist.', - ], - ], - 500 => [ - [ - 'errorCode' => 'NamespaceInUsage', - 'errorMessage' => 'The specified namespace is being used.', - ], + ['errorCode' => 'ServiceDisabled', 'errorMessage' => 'You have not activated the ACM service.', 'description' => '用户未开通ACM服务'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"611CC94A-7711-4873-8848-****\\"\\n}","errorExample":""},{"type":"xml","example":"612CC94A-7711-4873-8848-****\\nSuccess\\nOK","errorExample":""}]', - 'title' => '删除命名空间', - 'summary' => '删除命名空间。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"\\",\\n \\"Code\\": \\"\\",\\n \\"Result\\": {\\n \\"TotalCount\\": 0\\n }\\n}","type":"json"}]', ], - 'UpdateNamespace' => [ - 'path' => '/diamond-ops/pop/namespace', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CloneConfiguration' => [ + 'path' => '/diamond-ops/pop/batch/clone', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -459,31 +253,27 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'NamespaceId', + 'name' => 'Policy', 'in' => 'formData', - 'schema' => [ - 'description' => '命名空间ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '710b2fbe-0da3-4388-****', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ - 'name' => 'NamespaceName', + 'name' => 'NamespaceFrom', 'in' => 'formData', - 'schema' => [ - 'description' => '命名空间名称', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '测试环境', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], + ], + [ + 'name' => 'NamespaceTo', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], + ], + [ + 'name' => 'Data', + 'in' => 'formData', + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -491,273 +281,264 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '响应描述', - 'type' => 'string', - 'example' => 'Success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '51193061-ED0D-4EC6-B160-****', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Code' => ['type' => 'string'], + 'Result' => [ + 'type' => 'object', + 'properties' => [ + 'Success' => ['type' => 'boolean'], + 'SuccessItems' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DataId' => ['type' => 'string'], + 'Group' => ['type' => 'string'], + ], + ], + ], + 'TotalCount' => ['type' => 'integer', 'format' => 'int32'], + ], ], ], ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'NamespaceNameInvalid', - 'errorMessage' => 'The specified namespace is invalid.', - ], - ], - [ - [ - 'errorCode' => 'ServiceDisabled', - 'errorMessage' => 'You have not activated the ACM service.', - ], - ], - 403 => [ - [ - 'errorCode' => 'NamespacePermissionDenied', - 'errorMessage' => 'You are not authorized to operate the namespace.', - ], + 401 => [ + ['errorCode' => 'ServiceDisabled', 'errorMessage' => 'You have not activated the ACM service.', 'description' => '用户未开通ACM服务'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"51193061-ED0D-4EC6-B160-****\\"\\n}","errorExample":""},{"type":"xml","example":"5E493061-ED0D-4EC6-B160-C069FCBF7941\\nSuccess\\nOK","errorExample":""}]', - 'title' => '更新命名空间', - 'summary' => '更新命名空间。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"\\",\\n \\"Code\\": \\"\\",\\n \\"Result\\": {\\n \\"Success\\": true,\\n \\"SuccessItems\\": [\\n {\\n \\"DataId\\": \\"\\",\\n \\"Group\\": \\"\\"\\n }\\n ],\\n \\"TotalCount\\": 0\\n }\\n}","type":"json"}]', ], - 'DescribeNamespace' => [ - 'path' => '/diamond-ops/pop/namespace', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateConfiguration' => [ + 'path' => '/diamond-ops/pop/configuration', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'create'], 'parameters' => [ [ - 'name' => 'NamespaceId', - 'in' => 'query', - 'schema' => [ - 'description' => '命名空间ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '3115d2bf-1f44-47bf-a855-****', - ], + 'name' => 'DataId', + 'in' => 'formData', + 'schema' => ['description' => '配置的ID。允许字符为大小写字母、数字、小数点(.)、冒号(:)、星号(*)、下划线(_)和中划线(-)。当ID前缀为如下值时,ACM会自动使用KMS服务对此配置进行加密存储:'."\n" + ."\n" + .'- 前缀为`cipher-`:调用 KMS 服务对配置进行加解密,加解密数据的大小不超过 4 KB,最大不超过 6 KB,对特殊符号如and(&)会解密错误,不推荐使用。'."\n" + ."\n" + .'- 前缀为`cipher-kms-aes-128-`:使用 KMS 的信封加解密方法,配置内容可以超过 6 KB,最大不超过 100 KB。配置内容的明文数据不会传输到 KMS 系统,安全性更高,推荐使用。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'com.aliyun.acm.example'], ], - ], + [ + 'name' => 'AppName', + 'in' => 'formData', + 'schema' => ['description' => '配置归属的应用名称', 'type' => 'string', 'required' => false, 'example' => 'app'], + ], + [ + 'name' => 'Group', + 'in' => 'formData', + 'schema' => ['description' => '分组', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DEFAULT_GROUP'], + ], + [ + 'name' => 'Desc', + 'in' => 'formData', + 'schema' => ['description' => '配置的描述说明', 'type' => 'string', 'required' => false, 'example' => '测试配置'], + ], + [ + 'name' => 'Tags', + 'in' => 'formData', + 'schema' => ['description' => '配置的标签,如存在多个标签,以半角逗号分隔', 'type' => 'string', 'required' => false, 'example' => 'tag1,tag2'], + ], + [ + 'name' => 'Content', + 'in' => 'formData', + 'schema' => ['description' => '配置的内容', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'key=Hello;value=World'], + ], + [ + 'name' => 'Type', + 'in' => 'formData', + 'schema' => ['description' => '配置内容的格式,可选值如下:'."\n" + ."\n" + .'- text'."\n" + ."\n" + .'- json'."\n" + ."\n" + .'- xml'."\n" + ."\n" + .'- yaml'."\n" + ."\n" + .'- text/html'."\n" + ."\n" + .'- properties', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'text'], + ], + [ + 'name' => 'NamespaceId', + 'in' => 'formData', + 'schema' => ['description' => '命名空间ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '01146121-decf-4b47-****'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '响应描述', - 'type' => 'string', - 'example' => 'Success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '3116581E-C664-4D3A-A055-****', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], - 'Namespace' => [ - 'description' => '命名空间', - 'type' => 'object', - 'properties' => [ - 'SecretKey' => [ - 'description' => 'ACM专用SecretKey(即将废弃,不建议使用)', - 'type' => 'string', - 'example' => '6/eQ0****', - ], - 'AccessKey' => [ - 'description' => 'ACM专用AccessKey(即将废弃,不建议使用)', - 'type' => 'string', - 'example' => '2c017****', - ], - 'Endpoint' => [ - 'description' => '连接点', - 'type' => 'string', - 'example' => 'acm.aliyun.com', - ], - 'Name' => [ - 'description' => '命名空间名称', - 'type' => 'string', - 'example' => '测试环境', - ], - 'RegionId' => [ - 'description' => '区域', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - ], - ], + 'Message' => ['description' => '响应描述', 'type' => 'string', 'example' => 'Success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '132BF104-A660-40C7-936B-F805967*****'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 401 => [ - [ - 'errorCode' => 'ServiceDisabled', - 'errorMessage' => 'You have not activated the ACM service.', - ], + ['errorCode' => 'ServiceDisabled', 'errorMessage' => 'You have not activated the ACM service.', 'description' => '用户未开通ACM服务'], ], - 403 => [ - [ - 'errorCode' => 'NamespacePermissionDenied', - 'errorMessage' => 'You are not authorized to operate the namespace.', - ], + 500 => [ + ['errorCode' => 'ConfigurationAlreadyExists', 'errorMessage' => 'The configuration item already exists.', 'description' => '配置项已存在'], + ['errorCode' => 'ConfigurationInvalidArgument', 'errorMessage' => 'The configuration parameter is invalid.', 'description' => ''], + ['errorCode' => 'ConfigurationQuotaOrSizeExceed', 'errorMessage' => 'The maximum number of configuration items or the maximum length of the configuration item is exceeded.', 'description' => '配置项数量超出规定额度或配置的内容超出规定长度'], + ['errorCode' => 'ConfigurationSizeExceed', 'errorMessage' => 'The maximum length of the configuration item is exceeded.', 'description' => '配置项内容长度超出'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"132BF104-A660-40C7-936B-F805967*****\\",\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"132BF104-A660-40C7-936B-F805967*****\\nSuccess\\nOK","errorExample":""}]', + 'title' => '创建配置', + 'summary' => '创建配置。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [], + ], + 'CreateNamespace' => [ + 'path' => '/diamond-ops/pop/namespace', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => ['operationType' => 'create'], + 'parameters' => [ [ - [ - 'errorCode' => 'NamespaceNotExists', - 'errorMessage' => 'The specified namespace does not exist.', + 'name' => 'Name', + 'in' => 'formData', + 'schema' => ['description' => '命名空间名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '测试环境'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => ['description' => '描述', 'type' => 'string', 'example' => 'Success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '6F7CC94A-7711-4873-8848-****'], + 'NamespaceId' => ['description' => '命名空间ID', 'type' => 'string', 'example' => '3115d2bf-1f44-47bf-a855-****'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], + ], + 'description' => '', ], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"3116581E-C664-4D3A-A055-****\\",\\n \\"Namespace\\": {\\n \\"SecretKey\\": \\"6/eQ0****\\",\\n \\"AccessKey\\": \\"2c017****\\",\\n \\"Name\\": \\"测试环境\\",\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"Endpoint\\": \\"acm.aliyun.com\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"51193061-ED0D-4EC6-B160-****\\nSuccess\\nOK\\n\\n 6/eQ****\\n addr-bj-internal.edas.aliyun.com\\n 测试环境\\n cn-beijing\\n 2c01****\\n","errorExample":""}]', - 'title' => '获取命名空间详情', - 'summary' => '获取命名空间详情。', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'NamespaceNameInvalid', 'errorMessage' => 'The specified namespace is invalid.', 'description' => '命名空间名称不合法'], + ], + [ + ['errorCode' => 'ServiceDisabled', 'errorMessage' => 'You have not activated the ACM service.', 'description' => '用户未开通ACM服务'], + ], + 500 => [ + ['errorCode' => 'NamespaceQuotaExceed', 'errorMessage' => 'The maximum number of namespaces is exceeded.', 'description' => '命名空间数量超出规定额度'], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"6F7CC94A-7711-4873-8848-****\\",\\n \\"NamespaceId\\": \\"3115d2bf-1f44-47bf-a855-****\\",\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"6F7CC94A-7711-4873-8848-FCE2F1795625\\nSuccess\\nOK","errorExample":""}]', + 'title' => '创建命名空间', + 'summary' => '创建命名空间。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], ], - 'DescribeNamespaces' => [ - 'path' => '/diamond-ops/pop/namespace/list', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteConfiguration' => [ + 'path' => '/diamond-ops/pop/configuration', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ + [ + 'name' => 'DataId', + 'in' => 'query', + 'schema' => ['description' => '配置ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'com.aliyun.acm.example'], + ], + [ + 'name' => 'Group', + 'in' => 'query', + 'schema' => ['description' => '分组', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DEFAULT_GROUP'], + ], + [ + 'name' => 'NamespaceId', + 'in' => 'query', + 'schema' => ['description' => '命名空间ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '10d1110d2-ca66-42ba-b706-****'], + ], ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Namespaces' => [ - 'description' => '命名空间列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '命名空间类型:'."\n" - .'- 1:默认命名空间'."\n" - .'- 2:自定义命名空间', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Quota' => [ - 'description' => '配置数上限', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'NamespaceId' => [ - 'description' => '命名空间ID', - 'type' => 'string', - 'example' => '3115d2bf-1f44-47bf-a855-****', - ], - 'ConfigCount' => [ - 'description' => '配置数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'NamespaceName' => [ - 'description' => '命名空间名称', - 'type' => 'string', - 'example' => '测试环境', - ], - ], - ], - ], - 'Message' => [ - 'description' => '响应描述', - 'type' => 'string', - 'example' => 'Success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '3116581E-C664-4D3A-A055-****', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Message' => ['description' => '描述', 'type' => 'string', 'example' => 'Success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '617CC94A-0019-4873-8848-****'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 401 => [ - [ - 'errorCode' => 'ServiceDisabled', - 'errorMessage' => 'You have not activated the ACM service.', - ], + ['errorCode' => 'ServiceDisabled', 'errorMessage' => 'You have not activated the ACM service.', 'description' => '用户未开通ACM服务'], + ], + 403 => [ + ['errorCode' => 'PermissionDenied', 'errorMessage' => 'You are not authorized to operate on the specified resources.', 'description' => '无权限操作该资源'], + ], + [ + ['errorCode' => 'ConfigurationNotExists', 'errorMessage' => 'The configuration item does not exist.', 'description' => '配置项不存在'], + ], + 500 => [ + ['errorCode' => 'ConfigurationDeleteFail', 'errorMessage' => 'Failed to delete the configuration item.', 'description' => '配置项删除失败'], + ['errorCode' => 'ConfigurationInvalidArgument', 'errorMessage' => 'The configuration parameter is invalid.', 'description' => ''], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"3116581E-C664-4D3A-A055-****\\",\\n \\"Namespaces\\": [\\n {\\n \\"Type\\": 1,\\n \\"ConfigCount\\": 20,\\n \\"Quota\\": 200,\\n \\"NamespaceId\\": \\"3115d2bf-1f44-47bf-a855-****\\",\\n \\"NamespaceName\\": \\"测试环境\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n Default Space(EDAS)\\n 1\\n 200\\n 48\\n 0846c173-decf-4b47-8aa0-04b5a561****\\n\\nEDA3B962-37DC-48EC-99FA-20ED0********\\nSuccess\\nOK","errorExample":""}]', - 'title' => '获取命名空间列表', - 'summary' => '使用DescribeNamespaces来获取命名空间列表。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"617CC94A-0019-4873-8848-****\\",\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"6F7CC94A-7711-4873-8848-FCE2F1795625\\nSuccess\\nOK","errorExample":""}]', + 'title' => '删除配置', + 'summary' => '删除配置。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [], ], - 'DescribeNamespacesWithCreate' => [ - 'path' => '/diamond-ops/pop/namespace/listWithCreate', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteNamespace' => [ + 'path' => '/diamond-ops/pop/namespace', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -765,73 +546,53 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', + 'systemTags' => ['operationType' => 'delete'], + 'parameters' => [ + [ + 'name' => 'NamespaceId', + 'in' => 'query', + 'schema' => ['description' => '命名空间ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '112300d2-ca66-42ba-b706-****'], + ], ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Namespaces' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'Quota' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'NamespaceId' => [ - 'type' => 'string', - ], - 'ConfigCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - 'NamespaceName' => [ - 'type' => 'string', - ], - ], - ], - ], - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], + 'Message' => ['description' => '描述', 'type' => 'string', 'example' => 'Success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '611CC94A-7711-4873-8848-****'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 401 => [ - [ - 'errorCode' => 'ServiceDisabled', - 'errorMessage' => 'You have not activated the ACM service.', - ], + ['errorCode' => 'ServiceDisabled', 'errorMessage' => 'You have not activated the ACM service.', 'description' => '用户未开通ACM服务'], + ], + 403 => [ + ['errorCode' => 'NamespacePermissionDenied', 'errorMessage' => 'You are not authorized to operate the namespace.', 'description' => '无权限操作此命名空间'], + ], + [ + ['errorCode' => 'NamespaceNotExists', 'errorMessage' => 'The specified namespace does not exist.', 'description' => '命名空间不存在'], + ], + 500 => [ + ['errorCode' => 'NamespaceInUsage', 'errorMessage' => 'The specified namespace is being used.', 'description' => '命名空间仍在使用中'], ], ], - 'responseDemo' => '', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"611CC94A-7711-4873-8848-****\\",\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"612CC94A-7711-4873-8848-****\\nSuccess\\nOK","errorExample":""}]', + 'title' => '删除命名空间', + 'summary' => '删除命名空间。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], ], - 'CreateConfiguration' => [ + 'DeployConfiguration' => [ 'path' => '/diamond-ops/pop/configuration', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -839,110 +600,64 @@ ], 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'DataId', 'in' => 'formData', - 'schema' => [ - 'description' => '配置的ID。允许字符为大小写字母、数字、小数点(.)、冒号(:)、星号(*)、下划线(_)和中划线(-)。当ID前缀为如下值时,ACM会自动使用KMS服务对此配置进行加密存储:'."\n" - ."\n" - .'- 前缀为`cipher-`:调用 KMS 服务对配置进行加解密,加解密数据的大小不超过 4 KB,最大不超过 6 KB,对特殊符号如and(&)会解密错误,不推荐使用。'."\n" - ."\n" - .'- 前缀为`cipher-kms-aes-128-`:使用 KMS 的信封加解密方法,配置内容可以超过 6 KB,最大不超过 100 KB。配置内容的明文数据不会传输到 KMS 系统,安全性更高,推荐使用。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'com.aliyun.acm.example', - ], + 'schema' => ['description' => '配置ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'com.aliyun.acm.example'], ], [ 'name' => 'AppName', 'in' => 'formData', - 'schema' => [ - 'description' => '配置归属的应用名称', - 'type' => 'string', - 'required' => false, - 'example' => 'app', - ], + 'schema' => ['description' => '配置归属的应用名称', 'type' => 'string', 'required' => false, 'example' => 'app'], ], [ 'name' => 'Group', 'in' => 'formData', - 'schema' => [ - 'description' => '分组', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DEFAULT_GROUP', - ], + 'schema' => ['description' => '分组', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DEFAULT_GROUP'], ], [ 'name' => 'Desc', 'in' => 'formData', - 'schema' => [ - 'description' => '配置的描述说明', - 'type' => 'string', - 'required' => false, - 'example' => '测试配置', - ], + 'schema' => ['description' => '配置描述', 'type' => 'string', 'required' => false, 'example' => '测试配置'], ], [ 'name' => 'Tags', 'in' => 'formData', - 'schema' => [ - 'description' => '配置的标签,如存在多个标签,以半角逗号分隔', - 'type' => 'string', - 'required' => false, - 'example' => 'tag1,tag2', - ], + 'schema' => ['description' => '配置的标签,如存在多个标签,以半角逗号分隔', 'type' => 'string', 'required' => false, 'example' => 'tag1,tag2'], ], [ 'name' => 'Content', 'in' => 'formData', - 'schema' => [ - 'description' => '配置的内容', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'key=Hello;value=World', - ], + 'schema' => ['description' => '配置内容', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'Hello World'], ], [ 'name' => 'Type', 'in' => 'formData', - 'schema' => [ - 'description' => '配置内容的格式,可选值如下:'."\n" - ."\n" - .'- text'."\n" - ."\n" - .'- json'."\n" - ."\n" - .'- xml'."\n" - ."\n" - .'- yaml'."\n" - ."\n" - .'- text/html'."\n" - ."\n" - .'- properties', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'text', - ], + 'schema' => ['description' => '配置内容的格式,可选值如下:'."\n" + ."\n" + .'- text'."\n" + ."\n" + .'- json'."\n" + ."\n" + .'- xml'."\n" + ."\n" + .'- yaml'."\n" + ."\n" + .'- text/html'."\n" + ."\n" + .'- properties', 'type' => 'string', 'required' => false, 'docRequired' => true, 'example' => 'text'], ], [ 'name' => 'NamespaceId', 'in' => 'formData', - 'schema' => [ - 'description' => '命名空间ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '01146121-decf-4b47-****', - ], + 'schema' => ['description' => '命名空间ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '111000d2-ca66-42ba-b706-****'], + ], + [ + 'name' => 'BetaIps', + 'in' => 'formData', + 'schema' => ['description' => 'Beta发布的IP列表。', 'type' => 'string', 'required' => false, 'example' => '127.0.0.1'], ], ], 'responses' => [ @@ -950,113 +665,61 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '响应描述', - 'type' => 'string', - 'example' => 'Success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '132BF104-A660-40C7-936B-F805967*****', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], + 'Message' => ['description' => '描述', 'type' => 'string', 'example' => 'Success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '611CC94A-7711-4873-8848-****'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 401 => [ - [ - 'errorCode' => 'ServiceDisabled', - 'errorMessage' => 'You have not activated the ACM service.', - ], + ['errorCode' => 'ServiceDisabled', 'errorMessage' => 'You have not activated the ACM service.', 'description' => '用户未开通ACM服务'], ], 500 => [ - [ - 'errorCode' => 'ConfigurationAlreadyExists', - 'errorMessage' => 'The configuration item already exists.', - ], - [ - 'errorCode' => 'ConfigurationInvalidArgument', - 'errorMessage' => 'The configuration parameter is invalid.', - ], - [ - 'errorCode' => 'ConfigurationQuotaOrSizeExceed', - 'errorMessage' => 'The maximum number of configuration items or the maximum length of the configuration item is exceeded.', - ], - [ - 'errorCode' => 'ConfigurationSizeExceed', - 'errorMessage' => 'The maximum length of the configuration item is exceeded.', - ], + ['errorCode' => 'ConfigurationDeployFail', 'errorMessage' => 'Failed to publish the configuration item.', 'description' => '配置项发布失败'], + ['errorCode' => 'ConfigurationInvalidArgument', 'errorMessage' => 'The configuration parameter is invalid.', 'description' => ''], + ['errorCode' => 'ConfigurationQuotaOrSizeExceed', 'errorMessage' => 'The maximum number of configuration items or the maximum length of the configuration item is exceeded.', 'description' => '配置项数量超出规定额度或配置的内容超出规定长度'], + ['errorCode' => 'ConfigurationSizeExceed', 'errorMessage' => 'The maximum length of the configuration item is exceeded.', 'description' => '配置项内容长度超出'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"132BF104-A660-40C7-936B-F805967*****\\"\\n}","errorExample":""},{"type":"xml","example":"132BF104-A660-40C7-936B-F805967*****\\nSuccess\\nOK","errorExample":""}]', - 'title' => '创建配置', - 'summary' => '创建配置。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"611CC94A-7711-4873-8848-****\\",\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"6F7CC94A-7711-4873-8848-FCE2F1795625\\nSuccess\\nOK","errorExample":""}]', + 'title' => 'DeployConfiguration', + 'summary' => '发布配置。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [], ], - 'CloneConfiguration' => [ - 'path' => '/diamond-ops/pop/batch/clone', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeConfiguration' => [ + 'path' => '/diamond-ops/pop/configuration', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'Policy', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], - ], - [ - 'name' => 'NamespaceFrom', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'name' => 'DataId', + 'in' => 'query', + 'schema' => ['description' => '配置ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'com.aliyun.acm.example'], ], [ - 'name' => 'NamespaceTo', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'name' => 'Group', + 'in' => 'query', + 'schema' => ['description' => '分组', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'DEFAULT_GROUP'], ], [ - 'name' => 'Data', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'name' => 'NamespaceId', + 'in' => 'query', + 'schema' => ['description' => '命名空间ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '101100d2-ca66-42ba-b706-****'], ], ], 'responses' => [ @@ -1064,107 +727,69 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Result' => [ + 'Message' => ['description' => '响应描述', 'type' => 'string', 'example' => 'Success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '611CC94A-7711-4873-8848-****'], + 'Configuration' => [ + 'description' => '配置', 'type' => 'object', 'properties' => [ - 'Success' => [ - 'type' => 'boolean', - ], - 'SuccessItems' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DataId' => [ - 'type' => 'string', - ], - 'Group' => [ - 'type' => 'string', - ], - ], - ], - ], - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], + 'Type' => ['description' => '配置内容的格式', 'type' => 'string', 'example' => 'text'], + 'AppName' => ['description' => '配置归属的应用名称', 'type' => 'string', 'example' => 'app'], + 'Tags' => ['description' => '配置的标签', 'type' => 'string', 'example' => 'tag1,tag2'], + 'Md5' => ['description' => '配置的消息摘要', 'type' => 'string', 'example' => '18d2e20****'], + 'DataId' => ['description' => '配置ID', 'type' => 'string', 'example' => 'com.aliyun.acm.example'], + 'Content' => ['description' => '配置内容', 'type' => 'string', 'example' => 'Hello World'], + 'Group' => ['description' => '分组', 'type' => 'string', 'example' => 'DEFAULT_GROUP'], + 'Desc' => ['description' => '配置描述', 'type' => 'string', 'example' => '测试配置'], + 'GmtCreate' => ['type' => 'string'], + 'GmtModified' => ['type' => 'string'], ], ], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 401 => [ - [ - 'errorCode' => 'ServiceDisabled', - 'errorMessage' => 'You have not activated the ACM service.', - ], + ['errorCode' => 'ServiceDisabled', 'errorMessage' => 'You have not activated the ACM service.', 'description' => '用户未开通ACM服务'], + ], + 403 => [ + ['errorCode' => 'PermissionDenied', 'errorMessage' => 'You are not authorized to operate on the specified resources.', 'description' => '无权限操作该资源'], + ], + [ + ['errorCode' => 'ConfigurationNotExists', 'errorMessage' => 'The configuration item does not exist.', 'description' => '配置项不存在'], ], ], - 'responseDemo' => '', - ], - 'DeleteConfiguration' => [ - 'path' => '/diamond-ops/pop/configuration', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"611CC94A-7711-4873-8848-****\\",\\n \\"Configuration\\": {\\n \\"Type\\": \\"text\\",\\n \\"AppName\\": \\"app\\",\\n \\"Tags\\": \\"tag1,tag2\\",\\n \\"Md5\\": \\"18d2e20****\\",\\n \\"DataId\\": \\"com.aliyun.acm.example\\",\\n \\"Content\\": \\"Hello World\\",\\n \\"Group\\": \\"DEFAULT_GROUP\\",\\n \\"Desc\\": \\"测试配置\\",\\n \\"GmtCreate\\": \\"\\",\\n \\"GmtModified\\": \\"\\"\\n },\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"3116581E-C664-4D3A-A055-****\\nSuccess\\n\\n DEFAULT_GROUP\\n 测试配置\\n com.aliyun.acm.example\\n Hello World\\n text\\n 078b****\\n app\\n\\nOK","errorExample":""}]', + 'title' => '获取配置', + 'summary' => '获取配置。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-06-25T07:46:53.000Z', 'description' => '响应参数发生变更'], ], + 'ramActions' => [], + ], + 'DescribeImportFileUrl' => [ + 'path' => '/diamond-ops/pop/batch/importFileUrl', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ - 'name' => 'DataId', - 'in' => 'query', - 'schema' => [ - 'description' => '配置ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'com.aliyun.acm.example', - ], - ], - [ - 'name' => 'Group', - 'in' => 'query', - 'schema' => [ - 'description' => '分组', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DEFAULT_GROUP', - ], - ], - [ - 'name' => 'NamespaceId', + 'name' => 'ContentType', 'in' => 'query', - 'schema' => [ - 'description' => '命名空间ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '10d1110d2-ca66-42ba-b706-****', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], ], 'responses' => [ @@ -1172,188 +797,40 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '描述', - 'type' => 'string', - 'example' => 'Success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '617CC94A-0019-4873-8848-****', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], + 'FileUrl' => ['type' => 'string'], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Code' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 401 => [ - [ - 'errorCode' => 'ServiceDisabled', - 'errorMessage' => 'You have not activated the ACM service.', - ], - ], - 403 => [ - [ - 'errorCode' => 'PermissionDenied', - 'errorMessage' => 'You are not authorized to operate on the specified resources.', - ], - ], - [ - [ - 'errorCode' => 'ConfigurationNotExists', - 'errorMessage' => 'The configuration item does not exist.', - ], - ], - 500 => [ - [ - 'errorCode' => 'ConfigurationDeleteFail', - 'errorMessage' => 'Failed to delete the configuration item.', - ], - [ - 'errorCode' => 'ConfigurationInvalidArgument', - 'errorMessage' => 'The configuration parameter is invalid.', - ], + ['errorCode' => 'ServiceDisabled', 'errorMessage' => 'You have not activated the ACM service.', 'description' => '用户未开通ACM服务'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"617CC94A-0019-4873-8848-****\\"\\n}","errorExample":""},{"type":"xml","example":"6F7CC94A-7711-4873-8848-FCE2F1795625\\nSuccess\\nOK","errorExample":""}]', - 'title' => '删除配置', - 'summary' => '删除配置。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"FileUrl\\": \\"\\",\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"\\",\\n \\"Code\\": \\"\\"\\n}","type":"json"}]', ], - 'DeployConfiguration' => [ - 'path' => '/diamond-ops/pop/configuration', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeNamespace' => [ + 'path' => '/diamond-ops/pop/namespace', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ - [ - 'name' => 'DataId', - 'in' => 'formData', - 'schema' => [ - 'description' => '配置ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'com.aliyun.acm.example', - ], - ], - [ - 'name' => 'AppName', - 'in' => 'formData', - 'schema' => [ - 'description' => '配置归属的应用名称', - 'type' => 'string', - 'required' => false, - 'example' => 'app', - ], - ], - [ - 'name' => 'Group', - 'in' => 'formData', - 'schema' => [ - 'description' => '分组', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DEFAULT_GROUP', - ], - ], - [ - 'name' => 'Desc', - 'in' => 'formData', - 'schema' => [ - 'description' => '配置描述', - 'type' => 'string', - 'required' => false, - 'example' => '测试配置', - ], - ], - [ - 'name' => 'Tags', - 'in' => 'formData', - 'schema' => [ - 'description' => '配置的标签,如存在多个标签,以半角逗号分隔', - 'type' => 'string', - 'required' => false, - 'example' => 'tag1,tag2', - ], - ], - [ - 'name' => 'Content', - 'in' => 'formData', - 'schema' => [ - 'description' => '配置内容', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'Hello World', - ], - ], - [ - 'name' => 'Type', - 'in' => 'formData', - 'schema' => [ - 'description' => '配置内容的格式,可选值如下:'."\n" - ."\n" - .'- text'."\n" - ."\n" - .'- json'."\n" - ."\n" - .'- xml'."\n" - ."\n" - .'- yaml'."\n" - ."\n" - .'- text/html'."\n" - ."\n" - .'- properties', - 'type' => 'string', - 'required' => false, - 'docRequired' => true, - 'example' => 'text', - ], - ], [ 'name' => 'NamespaceId', - 'in' => 'formData', - 'schema' => [ - 'description' => '命名空间ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '111000d2-ca66-42ba-b706-****', - ], - ], - [ - 'name' => 'BetaIps', - 'in' => 'formData', - 'schema' => [ - 'description' => 'Beta发布的IP列表。', - 'type' => 'string', - 'required' => false, - 'example' => '127.0.0.1', - ], + 'in' => 'query', + 'schema' => ['description' => '命名空间ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '3115d2bf-1f44-47bf-a855-****'], ], ], 'responses' => [ @@ -1361,67 +838,49 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'description' => '描述', - 'type' => 'string', - 'example' => 'Success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '611CC94A-7711-4873-8848-****', - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', + 'Message' => ['description' => '响应描述', 'type' => 'string', 'example' => 'Success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '3116581E-C664-4D3A-A055-****'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], + 'Namespace' => [ + 'description' => '命名空间', + 'type' => 'object', + 'properties' => [ + 'SecretKey' => ['description' => 'ACM专用SecretKey(即将废弃,不建议使用)', 'type' => 'string', 'example' => '6/eQ0****'], + 'AccessKey' => ['description' => 'ACM专用AccessKey(即将废弃,不建议使用)', 'type' => 'string', 'example' => '2c017****'], + 'Endpoint' => ['description' => '连接点', 'type' => 'string', 'example' => 'acm.aliyun.com'], + 'Name' => ['description' => '命名空间名称', 'type' => 'string', 'example' => '测试环境'], + 'RegionId' => ['description' => '区域', 'type' => 'string', 'example' => 'cn-shanghai'], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 401 => [ - [ - 'errorCode' => 'ServiceDisabled', - 'errorMessage' => 'You have not activated the ACM service.', - ], + ['errorCode' => 'ServiceDisabled', 'errorMessage' => 'You have not activated the ACM service.', 'description' => '用户未开通ACM服务'], ], - 500 => [ - [ - 'errorCode' => 'ConfigurationDeployFail', - 'errorMessage' => 'Failed to publish the configuration item.', - ], - [ - 'errorCode' => 'ConfigurationInvalidArgument', - 'errorMessage' => 'The configuration parameter is invalid.', - ], - [ - 'errorCode' => 'ConfigurationQuotaOrSizeExceed', - 'errorMessage' => 'The maximum number of configuration items or the maximum length of the configuration item is exceeded.', - ], - [ - 'errorCode' => 'ConfigurationSizeExceed', - 'errorMessage' => 'The maximum length of the configuration item is exceeded.', - ], + 403 => [ + ['errorCode' => 'NamespacePermissionDenied', 'errorMessage' => 'You are not authorized to operate the namespace.', 'description' => '无权限操作此命名空间'], + ], + [ + ['errorCode' => 'NamespaceNotExists', 'errorMessage' => 'The specified namespace does not exist.', 'description' => '命名空间不存在'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"611CC94A-7711-4873-8848-****\\",\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"6F7CC94A-7711-4873-8848-FCE2F1795625\\nSuccess\\nOK","errorExample":""}]', - 'title' => 'DeployConfiguration', - 'summary' => '发布配置。', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"3116581E-C664-4D3A-A055-****\\",\\n \\"Code\\": \\"OK\\",\\n \\"Namespace\\": {\\n \\"SecretKey\\": \\"6/eQ0****\\",\\n \\"AccessKey\\": \\"2c017****\\",\\n \\"Endpoint\\": \\"acm.aliyun.com\\",\\n \\"Name\\": \\"测试环境\\",\\n \\"RegionId\\": \\"cn-shanghai\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"51193061-ED0D-4EC6-B160-****\\nSuccess\\nOK\\n\\n 6/eQ****\\n addr-bj-internal.edas.aliyun.com\\n 测试环境\\n cn-beijing\\n 2c01****\\n","errorExample":""}]', + 'title' => '获取命名空间详情', + 'summary' => '获取命名空间详情。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [], ], - 'BatchExportConfigurations' => [ - 'path' => '/diamond-ops/pop/batch/export', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeNamespaces' => [ + 'path' => '/diamond-ops/pop/namespace/list', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1429,145 +888,103 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], - 'parameters' => [ - [ - 'name' => 'NamespaceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], - ], - [ - 'name' => 'Data', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], - ], - ], + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'FileUrl' => [ - 'type' => 'string', - ], - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', + 'Namespaces' => [ + 'description' => '命名空间列表', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '命名空间类型:'."\n" + .'- 1:默认命名空间'."\n" + .'- 2:自定义命名空间', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Quota' => ['description' => '配置数上限', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'NamespaceId' => ['description' => '命名空间ID', 'type' => 'string', 'example' => '3115d2bf-1f44-47bf-a855-****'], + 'ConfigCount' => ['description' => '配置数', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'NamespaceName' => ['description' => '命名空间名称', 'type' => 'string', 'example' => '测试环境'], + ], + 'description' => '', + ], ], + 'Message' => ['description' => '响应描述', 'type' => 'string', 'example' => 'Success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '3116581E-C664-4D3A-A055-****'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 401 => [ - [ - 'errorCode' => 'ServiceDisabled', - 'errorMessage' => 'You have not activated the ACM service.', - ], + ['errorCode' => 'ServiceDisabled', 'errorMessage' => 'You have not activated the ACM service.', 'description' => '用户未开通ACM服务'], ], ], - 'responseDemo' => '', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Namespaces\\": [\\n {\\n \\"Type\\": 1,\\n \\"Quota\\": 200,\\n \\"NamespaceId\\": \\"3115d2bf-1f44-47bf-a855-****\\",\\n \\"ConfigCount\\": 20,\\n \\"NamespaceName\\": \\"测试环境\\"\\n }\\n ],\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"3116581E-C664-4D3A-A055-****\\",\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"\\n Default Space(EDAS)\\n 1\\n 200\\n 48\\n 0846c173-decf-4b47-8aa0-04b5a561****\\n\\nEDA3B962-37DC-48EC-99FA-20ED0********\\nSuccess\\nOK","errorExample":""}]', + 'title' => '获取命名空间列表', + 'summary' => '使用DescribeNamespaces来获取命名空间列表。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [], ], - 'BatchImportConfigurations' => [ - 'path' => '/diamond-ops/pop/batch/import', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeNamespacesWithCreate' => [ + 'path' => '/diamond-ops/pop/namespace/listWithCreate', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - ], - 'parameters' => [ - [ - 'name' => 'NamespaceId', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], - ], - [ - 'name' => 'Policy', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], - ], - [ - 'name' => 'FileUrl', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], - ], - ], + 'systemTags' => ['operationType' => 'get'], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', + 'Namespaces' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['type' => 'integer', 'format' => 'int32'], + 'Quota' => ['type' => 'integer', 'format' => 'int32'], + 'NamespaceId' => ['type' => 'string'], + 'ConfigCount' => ['type' => 'integer', 'format' => 'int32'], + 'NamespaceName' => ['type' => 'string'], + ], + ], ], + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Code' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 401 => [ - [ - 'errorCode' => 'ServiceDisabled', - 'errorMessage' => 'You have not activated the ACM service.', - ], + ['errorCode' => 'ServiceDisabled', 'errorMessage' => 'You have not activated the ACM service.', 'description' => '用户未开通ACM服务'], ], ], - 'responseDemo' => '', + 'changeSet' => [], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Namespaces\\": [\\n {\\n \\"Type\\": 0,\\n \\"Quota\\": 0,\\n \\"NamespaceId\\": \\"\\",\\n \\"ConfigCount\\": 0,\\n \\"NamespaceName\\": \\"\\"\\n }\\n ],\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"\\",\\n \\"Code\\": \\"\\"\\n}","type":"json"}]', ], - 'DescribeConfiguration' => [ - 'path' => '/diamond-ops/pop/configuration', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeTraceByConfiguration' => [ + 'path' => '/diamond-ops/pop/trace/getByConfiguration', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1575,202 +992,32 @@ ], 'operationType' => 'read', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'get'], 'parameters' => [ [ 'name' => 'DataId', 'in' => 'query', - 'schema' => [ - 'description' => '配置ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'com.aliyun.acm.example', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'Group', 'in' => 'query', - 'schema' => [ - 'description' => '分组', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'DEFAULT_GROUP', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ 'name' => 'NamespaceId', 'in' => 'query', - 'schema' => [ - 'description' => '命名空间ID', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => '101100d2-ca66-42ba-b706-****', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Message' => [ - 'description' => '响应描述', - 'type' => 'string', - 'example' => 'Success', - ], - 'RequestId' => [ - 'description' => '请求ID', - 'type' => 'string', - 'example' => '611CC94A-7711-4873-8848-****', - ], - 'Configuration' => [ - 'description' => '配置', - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '配置内容的格式', - 'type' => 'string', - 'example' => 'text', - ], - 'AppName' => [ - 'description' => '配置归属的应用名称', - 'type' => 'string', - 'example' => 'app', - ], - 'Tags' => [ - 'description' => '配置的标签', - 'type' => 'string', - 'example' => 'tag1,tag2', - ], - 'Md5' => [ - 'description' => '配置的消息摘要', - 'type' => 'string', - 'example' => '18d2e20****', - ], - 'DataId' => [ - 'description' => '配置ID', - 'type' => 'string', - 'example' => 'com.aliyun.acm.example', - ], - 'Content' => [ - 'description' => '配置内容', - 'type' => 'string', - 'example' => 'Hello World', - ], - 'Group' => [ - 'description' => '分组', - 'type' => 'string', - 'example' => 'DEFAULT_GROUP', - ], - 'Desc' => [ - 'description' => '配置描述', - 'type' => 'string', - 'example' => '测试配置', - ], - 'GmtCreate' => [ - 'type' => 'string', - ], - 'GmtModified' => [ - 'type' => 'string', - ], - ], - ], - 'Code' => [ - 'description' => '状态码', - 'type' => 'string', - 'example' => 'OK', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 401 => [ - [ - 'errorCode' => 'ServiceDisabled', - 'errorMessage' => 'You have not activated the ACM service.', - ], - ], - 403 => [ - [ - 'errorCode' => 'PermissionDenied', - 'errorMessage' => 'You are not authorized to operate on the specified resources.', - ], + 'schema' => ['type' => 'string', 'required' => true, 'docRequired' => true], ], [ - [ - 'errorCode' => 'ConfigurationNotExists', - 'errorMessage' => 'The configuration item does not exist.', - ], - ], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"Code\\": \\"OK\\",\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"611CC94A-7711-4873-8848-****\\",\\n \\"Configuration\\": {\\n \\"Type\\": \\"text\\",\\n \\"AppName\\": \\"app\\",\\n \\"Tags\\": \\"tag1,tag2\\",\\n \\"Md5\\": \\"18d2e20****\\",\\n \\"DataId\\": \\"com.aliyun.acm.example\\",\\n \\"Content\\": \\"Hello World\\",\\n \\"Group\\": \\"DEFAULT_GROUP\\",\\n \\"Desc\\": \\"测试配置\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"3116581E-C664-4D3A-A055-****\\nSuccess\\n\\n DEFAULT_GROUP\\n 测试配置\\n com.aliyun.acm.example\\n Hello World\\n text\\n 078b****\\n app\\n\\nOK","errorExample":""}]', - 'title' => '获取配置', - 'summary' => '获取配置。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'CheckConfigurationClone' => [ - 'path' => '/diamond-ops/pop/batch/checkForClone', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], - 'parameters' => [ - [ - 'name' => 'Policy', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], - ], - [ - 'name' => 'NamespaceFrom', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], - ], - [ - 'name' => 'NamespaceTo', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'name' => 'StartTs', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'Data', - 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'name' => 'EndTs', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], 'responses' => [ @@ -1778,92 +1025,81 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Result' => [ - 'type' => 'object', - 'properties' => [ - 'Success' => [ - 'type' => 'boolean', - ], - 'SuccessItems' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'DataId' => [ - 'type' => 'string', - ], - 'Group' => [ - 'type' => 'string', + 'Message' => ['type' => 'string'], + 'RequestId' => ['type' => 'string'], + 'Traces' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Timestamp' => ['type' => 'integer', 'format' => 'int64'], + 'EventGroups' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EventType' => ['type' => 'string'], + 'EventDetails' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['type' => 'string'], + 'Delay' => ['type' => 'string'], + 'Ts' => ['type' => 'string'], + 'ResponseIp' => ['type' => 'string'], + 'Event' => ['type' => 'string'], + 'Ext' => ['type' => 'string'], + 'DataId' => ['type' => 'string'], + 'RequestIp' => ['type' => 'string'], + 'LogDate' => ['type' => 'string'], + 'HandleIp' => ['type' => 'string'], + 'Group' => ['type' => 'string'], + ], + ], + ], ], ], ], ], - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], ], ], + 'Code' => ['type' => 'string'], ], ], ], ], 'errorCodes' => [ 401 => [ - [ - 'errorCode' => 'ServiceDisabled', - 'errorMessage' => 'You have not activated the ACM service.', - ], + ['errorCode' => 'ServiceDisabled', 'errorMessage' => 'You have not activated the ACM service.', 'description' => '用户未开通ACM服务'], ], ], - 'responseDemo' => '', + 'changeSet' => [], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Message\\": \\"\\",\\n \\"RequestId\\": \\"\\",\\n \\"Traces\\": [\\n {\\n \\"Timestamp\\": 0,\\n \\"EventGroups\\": [\\n {\\n \\"EventType\\": \\"\\",\\n \\"EventDetails\\": [\\n {\\n \\"Type\\": \\"\\",\\n \\"Delay\\": \\"\\",\\n \\"Ts\\": \\"\\",\\n \\"ResponseIp\\": \\"\\",\\n \\"Event\\": \\"\\",\\n \\"Ext\\": \\"\\",\\n \\"DataId\\": \\"\\",\\n \\"RequestIp\\": \\"\\",\\n \\"LogDate\\": \\"\\",\\n \\"HandleIp\\": \\"\\",\\n \\"Group\\": \\"\\"\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"Code\\": \\"\\"\\n}","type":"json"}]', ], - 'CheckConfigurationExport' => [ - 'path' => '/diamond-ops/pop/batch/checkForExport', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateNamespace' => [ + 'path' => '/diamond-ops/pop/namespace', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - ], + 'systemTags' => ['operationType' => 'update'], 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['description' => '命名空间ID', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '710b2fbe-0da3-4388-****'], ], [ - 'name' => 'Data', + 'name' => 'NamespaceName', 'in' => 'formData', - 'schema' => [ - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - ], + 'schema' => ['description' => '命名空间名称', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => '测试环境'], ], ], 'responses' => [ @@ -1871,107 +1107,125 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Message' => [ - 'type' => 'string', - ], - 'RequestId' => [ - 'type' => 'string', - ], - 'Code' => [ - 'type' => 'string', - ], - 'Result' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'type' => 'integer', - 'format' => 'int32', - ], - ], - ], + 'Message' => ['description' => '响应描述', 'type' => 'string', 'example' => 'Success'], + 'RequestId' => ['description' => '请求ID', 'type' => 'string', 'example' => '51193061-ED0D-4EC6-B160-****'], + 'Code' => ['description' => '状态码', 'type' => 'string', 'example' => 'OK'], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 401 => [ - [ - 'errorCode' => 'ServiceDisabled', - 'errorMessage' => 'You have not activated the ACM service.', - ], + 400 => [ + ['errorCode' => 'NamespaceNameInvalid', 'errorMessage' => 'The specified namespace is invalid.', 'description' => '命名空间名称不合法'], + ], + [ + ['errorCode' => 'ServiceDisabled', 'errorMessage' => 'You have not activated the ACM service.', 'description' => '用户未开通ACM服务'], + ], + 403 => [ + ['errorCode' => 'NamespacePermissionDenied', 'errorMessage' => 'You are not authorized to operate the namespace.', 'description' => '无权限操作此命名空间'], ], ], - 'responseDemo' => '', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Message\\": \\"Success\\",\\n \\"RequestId\\": \\"51193061-ED0D-4EC6-B160-****\\",\\n \\"Code\\": \\"OK\\"\\n}","errorExample":""},{"type":"xml","example":"5E493061-ED0D-4EC6-B160-C069FCBF7941\\nSuccess\\nOK","errorExample":""}]', + 'title' => '更新命名空间', + 'summary' => '更新命名空间。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'ramActions' => [], ], ], 'endpoints' => [ + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acm.ap-northeast-1.aliyuncs.com', 'endpoint' => 'acm.ap-northeast-1.aliyuncs.com', 'vpc' => 'acm-vpc.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acm.ap-southeast-1.aliyuncs.com', 'endpoint' => 'acm.ap-southeast-1.aliyuncs.com', 'vpc' => 'acm-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-2', 'regionName' => '澳大利亚(悉尼)已关停', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acm.ap-southeast-2.aliyuncs.com', 'endpoint' => 'acm.ap-southeast-2.aliyuncs.com', 'vpc' => 'acm-vpc.ap-southeast-2.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acm.cn-beijing.aliyuncs.com', 'endpoint' => 'acm.cn-beijing.aliyuncs.com', 'vpc' => 'acm-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acm.cn-hangzhou.aliyuncs.com', 'endpoint' => 'acm.cn-hangzhou.aliyuncs.com', 'vpc' => 'acm-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acm.cn-hongkong.aliyuncs.com', 'endpoint' => 'acm.cn-hongkong.aliyuncs.com', 'vpc' => 'acm-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acm.cn-qingdao.aliyuncs.com', 'endpoint' => 'acm.cn-qingdao.aliyuncs.com', 'vpc' => 'acm-vpc.cn-qingdao.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acm.cn-shanghai.aliyuncs.com', 'endpoint' => 'acm.cn-shanghai.aliyuncs.com', 'vpc' => 'acm-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acm.cn-shenzhen.aliyuncs.com', 'endpoint' => 'acm.cn-shenzhen.aliyuncs.com', 'vpc' => 'acm-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acm.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'acm.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'acm-vpc.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'acm.us-west-1.aliyuncs.com', 'endpoint' => 'acm.us-west-1.aliyuncs.com', 'vpc' => 'acm-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'acm.us-east-1.aliyuncs.com', 'endpoint' => 'acm.us-east-1.aliyuncs.com', 'vpc' => 'acm-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'acm.eu-central-1.aliyuncs.com', 'endpoint' => 'acm.eu-central-1.aliyuncs.com', 'vpc' => 'acm-vpc.eu-central-1.aliyuncs.com'], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'acm.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'acm.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'acm-vpc.cn-shenzhen-finance-1.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'acm.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'acm.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'acm-vpc.cn-shanghai-finance-1.aliyuncs.com'], + ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'acm.cn-north-2-gov-1.aliyuncs.com', 'endpoint' => 'acm.cn-north-2-gov-1.aliyuncs.com', 'vpc' => 'acm-vpc.cn-north-2-gov-1.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'acm.cn-hangzhou-finance.aliyuncs.com', 'endpoint' => 'acm.cn-hangzhou-finance.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => 'BatchDeleteFail', 'message' => 'Failed to perform the batch delete operation.', 'http_code' => 500, 'description' => '批量删除失败'], + ['code' => 'ConfigurationAlreadyExists', 'message' => 'The configuration item already exists.', 'http_code' => 500, 'description' => '配置项已存在'], + ['code' => 'ConfigurationBetaNotExists', 'message' => 'The configuration item does not exist in the Beta release.', 'http_code' => 404, 'description' => '配置项不存在Beta发布'], + ['code' => 'ConfigurationBetaStopFail', 'message' => 'Failed to stop the Beta release.', 'http_code' => 500, 'description' => '停止Beta发布失败'], + ['code' => 'ConfigurationDeleteFail', 'message' => 'Failed to delete the configuration item.', 'http_code' => 500, 'description' => '配置项删除失败'], + ['code' => 'ConfigurationDeployFail', 'message' => 'Failed to publish the configuration item.', 'http_code' => 500, 'description' => '配置项发布失败'], + ['code' => 'ConfigurationNotExists', 'message' => 'The configuration item does not exist.', 'http_code' => 404, 'description' => '配置项不存在'], + ['code' => 'ConfigurationQuotaOrSizeExceed', 'message' => 'The maximum number of configuration items or the maximum length of the configuration item is exceeded.', 'http_code' => 500, 'description' => '配置项数量超出规定额度或配置的内容超出规定长度'], + ['code' => 'ConfigurationSearchFail', 'message' => 'Failed to query the configuration item.', 'http_code' => 500, 'description' => '配置项查询失败'], + ['code' => 'ConfigurationSizeExceed', 'message' => 'The maximum length of the configuration item is exceeded.', 'http_code' => 500, 'description' => '配置项内容长度超出'], + ['code' => 'InvalidArgument', 'message' => 'The specified parameter is invalid.', 'http_code' => 400, 'description' => '参数错误'], + ['code' => 'InvalidParameter.Format', 'message' => 'The specified parameter is incorrectly formatted. The correct format includes XML and JSON. The default format is XML.', 'http_code' => 400, 'description' => '返回值格式不正确(Format 不支持)。返回格式支持 XML 与 JSON,默认为 XML。'], + ['code' => 'NamespaceInUsage', 'message' => 'The specified namespace is being used.', 'http_code' => 500, 'description' => '命名空间仍在使用中'], + ['code' => 'NamespaceNameInvalid', 'message' => 'The specified namespace is invalid.', 'http_code' => 400, 'description' => '命名空间名称不合法'], + ['code' => 'NamespaceNotExists', 'message' => 'The specified namespace does not exist.', 'http_code' => 404, 'description' => '命名空间不存在'], + ['code' => 'NamespacePermissionDenied', 'message' => 'You are not authorized to operate the namespace.', 'http_code' => 403, 'description' => '无权限操作此命名空间'], + ['code' => 'NamespaceQuotaExceed', 'message' => 'The maximum number of namespaces is exceeded.', 'http_code' => 500, 'description' => '命名空间数量超出规定额度'], + ['code' => 'OperationInRisk', 'message' => 'Your operation has been suspended due to risk control. Please complete the operation on the console.', 'http_code' => 403, 'description' => '您的操作已被风控,请在控制台上完成此操作'], + ['code' => 'PermissionDenied', 'message' => 'You are not authorized to operate on the specified resources.', 'http_code' => 403, 'description' => '无权限操作该资源'], + ['code' => 'ResourceNotExists', 'message' => 'The specified resource does not exist.', 'http_code' => 404, 'description' => '资源不存在'], + ['code' => 'ServerError', 'message' => 'A server error occurred.', 'http_code' => 500, 'description' => '服务处理出现未知异常'], + ['code' => 'ServiceDisabled', 'message' => 'You have not activated the ACM service.', 'http_code' => 401, 'description' => '用户未开通ACM服务'], + ['code' => 'SignatureMismatched', 'message' => 'Failed to verify signature.', 'http_code' => 401, 'description' => '签名校验失败'], + ['code' => 'StsTokenInvalid', 'message' => 'The STS token is invalid.', 'http_code' => 401, 'description' => 'STS Token不合法'], + ['code' => 'UnknownError', 'message' => 'An error occurred while processing your request.', 'http_code' => 500, 'description' => '未知异常'], + ['code' => 'UserTypeInvalid', 'message' => 'The specified user type is invalid.', 'http_code' => 401, 'description' => '用户类型错误'], + ], + 'changeSet' => [ [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'acm.cn-qingdao.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'acm.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'acm.cn-zhangjiakou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'acm.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'acm.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'acm.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'acm.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'acm.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-2', - 'endpoint' => 'acm.ap-southeast-2.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'acm.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'acm.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'acm.eu-central-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'acm.cn-hangzhou-finance.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'acm.cn-shanghai-finance-1.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'acm.cn-shenzhen-finance-1.aliyuncs.com', + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeConfiguration'], + ], + 'createdAt' => '2024-06-25T07:46:59.000Z', + 'description' => '', ], - [ - 'regionId' => 'cn-north-2-gov-1', - 'endpoint' => 'acm.cn-north-2-gov-1.aliyuncs.com', + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeNamespace'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'UpdateNamespace'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CheckConfigurationExport'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteNamespace'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CloneConfiguration'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateConfiguration'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeleteConfiguration'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'BatchExportConfigurations'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'BatchImportConfigurations'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeConfiguration'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeImportFileUrl'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CheckConfigurationClone'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeNamespacesWithCreate'], + ['threshold' => '100', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeNamespaces'], + ['threshold' => '120', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DeployConfiguration'], + ['threshold' => '200', 'countWindow' => 60, 'regionId' => '*', 'api' => 'DescribeTraceByConfiguration'], + ['threshold' => '60', 'countWindow' => 60, 'regionId' => '*', 'api' => 'CreateNamespace'], ], - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'acm.ap-northeast-1.aliyuncs.com', + ], + 'ram' => [ + 'productCode' => 'ACM', + 'productName' => '应用配置管理', + 'ramCodes' => ['acms'], + 'ramLevel' => '资源级', + 'ramConditions' => [], + 'ramActions' => [], + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'ConfigAcm', 'arn' => 'acs:acms:{#regionId}:{#accountId}:cfg/{#NamespaceId}/{#Group}/{#DataId}'], + ['validationType' => 'always', 'resourceType' => 'Configuration', 'arn' => 'acs:acms:{#regionId}:{#accountId}:cfg/{#NamespaceId}/{#Group}/{#DataId}'], + ['validationType' => 'always', 'resourceType' => 'ConfigAcm', 'arn' => 'acs:acms:{#regionId}:{#accountId}:cfg/*/*/*'], + ['validationType' => 'always', 'resourceType' => 'ConfigAcm', 'arn' => 'acs:acms:{#regionId}:{#accountId}:cfg/{#NamespaceId}/*/*'], + ['validationType' => 'always', 'resourceType' => 'Configuration', 'arn' => 'acs:acms:{#regionId}:{#accountId}:cfg/{#NamespaceId}/*/*'], ], ], ]; -- cgit v1.2.3