summaryrefslogtreecommitdiff
path: root/data/en_us/es-serverless/2023-06-27
diff options
context:
space:
mode:
Diffstat (limited to 'data/en_us/es-serverless/2023-06-27')
-rw-r--r--data/en_us/es-serverless/2023-06-27/api-docs.php3765
1 files changed, 3765 insertions, 0 deletions
diff --git a/data/en_us/es-serverless/2023-06-27/api-docs.php b/data/en_us/es-serverless/2023-06-27/api-docs.php
new file mode 100644
index 0000000..62a810b
--- /dev/null
+++ b/data/en_us/es-serverless/2023-06-27/api-docs.php
@@ -0,0 +1,3765 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'ROA',
+ 'product' => 'es-serverless',
+ 'version' => '2023-06-27',
+ ],
+ 'directories' => [
+ [
+ 'id' => 364874,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateApp',
+ 'UpdateApp',
+ 'GetApp',
+ 'ListApps',
+ 'DeleteApp',
+ 'GetAppQuota',
+ 'GetMonitorData',
+ 'ListIndices',
+ ],
+ ],
+ [
+ 'id' => 364883,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateSnapshot',
+ 'UpdateSnapshotSetting',
+ 'ListSnapshots',
+ 'ListSnapshotRepositories',
+ 'GetSnapshotSetting',
+ 'DeleteSnapshot',
+ ],
+ ],
+ [
+ 'id' => 364890,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'UpdateDict',
+ 'ListDicts',
+ 'DeleteDict',
+ ],
+ ],
+ [
+ 'id' => 364894,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'CreateEndpoint',
+ 'UpdateEndpoint',
+ 'ListEndpoints',
+ 'DeleteEndpoint',
+ ],
+ ],
+ [
+ 'id' => 364899,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'ListSpecReviewTasks',
+ 'GetSpecReviewTask',
+ 'CancelSpecReviewTask',
+ ],
+ ],
+ [
+ 'id' => 364903,
+ 'title' => null,
+ 'type' => 'directory',
+ 'children' => [
+ 'UpdatePrivateNetwrok',
+ 'UpdateNetwork',
+ ],
+ ],
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'CreateApp' => [
+ 'summary' => '创建Serverless应用',
+ 'path' => '/openapi/es-serverless/instances',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'high',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '185142',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearchGXQH1U',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => 'body参数',
+ 'type' => 'object',
+ 'properties' => [
+ 'appName' => [
+ 'title' => '应用名',
+ 'description' => '应用名',
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'description' => [
+ 'title' => '应用备注',
+ 'description' => '应用备注',
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'network' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'type' => 'string',
+ ],
+ 'enabled' => [
+ 'type' => 'boolean',
+ ],
+ 'domain' => [
+ 'type' => 'string',
+ ],
+ 'port' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'whiteIpGroup' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'groupName' => [
+ 'type' => 'string',
+ ],
+ 'ips' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'authentication' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'basicAuth' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'username' => [
+ 'type' => 'string',
+ ],
+ 'password' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'required' => true,
+ ],
+ 'regionId' => [
+ 'type' => 'string',
+ ],
+ 'version' => [
+ 'type' => 'string',
+ ],
+ 'chargeType' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'quotaInfo' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'cu' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'storage' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'appType' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'privateNetwork' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'type' => 'string',
+ ],
+ 'enabled' => [
+ 'type' => 'boolean',
+ ],
+ 'whiteIpGroup' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'groupName' => [
+ 'type' => 'string',
+ ],
+ 'ips' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'vpcId' => [
+ 'type' => 'string',
+ ],
+ 'pvlEndpointId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'scenario' => [
+ 'type' => 'string',
+ ],
+ 'tags' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'type' => 'string',
+ ],
+ 'value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'dryRun',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ ],
+ ],
+ [
+ 'name' => 'clientToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2C5DAA30-****-5181-9B87-9D6181016197',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'instaneId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'es-serverless-cn-xxx',
+ ],
+ 'appId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2C5DAA30-****-5181-9B87-9D6181016197\\",\\n \\"result\\": {\\n \\"instaneId\\": \\"es-serverless-cn-xxx\\",\\n \\"appId\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateApp' => [
+ 'summary' => '编辑Serverless应用',
+ 'path' => '/openapi/es-serverless/instances/{appName}',
+ 'methods' => [
+ 'patch',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '185144',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearchTR2X2I',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '实例 ID。',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'es-severless-test-app',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => 'body参数',
+ 'type' => 'object',
+ 'properties' => [
+ 'description' => [
+ 'title' => '应用备注',
+ 'description' => '应用备注',
+ 'type' => 'string',
+ ],
+ 'network' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'type' => 'string',
+ ],
+ 'enabled' => [
+ 'type' => 'boolean',
+ ],
+ 'domain' => [
+ 'type' => 'string',
+ ],
+ 'port' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'whiteIpGroup' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'groupName' => [
+ 'type' => 'string',
+ ],
+ 'ips' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'authentication' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'basicAuth' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'username' => [
+ 'type' => 'string',
+ ],
+ 'password' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'privateNetwork' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'type' => 'string',
+ ],
+ 'enabled' => [
+ 'type' => 'boolean',
+ ],
+ 'vpcId' => [
+ 'type' => 'string',
+ ],
+ 'pvlEndpointId' => [
+ 'type' => 'string',
+ ],
+ 'whiteIpGroup' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'groupName' => [
+ 'type' => 'string',
+ ],
+ 'ips' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'limiterInfo' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'limiters' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'maxValue' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'minValue' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'type' => [
+ 'type' => 'string',
+ ],
+ 'values' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'applyReason' => [
+ 'type' => 'string',
+ ],
+ 'contactInfo' => [
+ 'type' => 'string',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2C5DAA30-****-5181-9B87-9D6181016197',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'instanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"6B297235-FC5B-590D-8218-8A5ED90AAE99\\",\\n \\"result\\": {\\n \\"instanceId\\": \\"es-serverless-cn-8tr6u27483859****\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetApp' => [
+ 'summary' => '获取Serverless应用详情',
+ 'path' => '/openapi/es-serverless/instances/{appName}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '185146',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearchGXQH1U',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'detailed',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'appName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'es-severless-test-app'."\n",
+ ],
+ 'ownerId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '*******7595',
+ ],
+ 'regionId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ACTIVE',
+ ],
+ 'createTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2022-08-15T11:20:52.370Z ',
+ ],
+ 'modifiedTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2022-08-15T11:21:50.000Z ',
+ ],
+ 'description' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'appId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test-app-abc'."\n",
+ ],
+ 'version' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7.10',
+ ],
+ 'instanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'network' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'type' => 'string',
+ ],
+ 'enabled' => [
+ 'type' => 'boolean',
+ ],
+ 'domain' => [
+ 'type' => 'string',
+ ],
+ 'port' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'whiteIpGroup' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'groupName' => [
+ 'type' => 'string',
+ ],
+ 'ips' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'privateNetwork' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'type' => 'string',
+ ],
+ 'enabled' => [
+ 'type' => 'boolean',
+ ],
+ 'domain' => [
+ 'type' => 'string',
+ ],
+ 'port' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ 'vpcId' => [
+ 'type' => 'string',
+ ],
+ 'pvlEndpointId' => [
+ 'type' => 'string',
+ ],
+ 'whiteIpGroup' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'groupName' => [
+ 'type' => 'string',
+ ],
+ 'ips' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'appType' => [
+ 'type' => 'string',
+ ],
+ 'tags' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'type' => 'string',
+ ],
+ 'value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ 'scenario' => [
+ 'type' => 'string',
+ ],
+ 'chargeType' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2C5DAA30-****-5181-9B87-9D6181016197',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"result\\": {\\n \\"appName\\": \\"es-severless-test-app\\",\\n \\"ownerId\\": \\"*******7595\\",\\n \\"regionId\\": \\"cn-hangzhou\\",\\n \\"status\\": \\"ACTIVE\\",\\n \\"createTime\\": \\"2022-08-15T11:20:52.370Z\\",\\n \\"modifiedTime\\": \\"2022-08-15T11:21:50.000Z\\",\\n \\"description\\": \\"这是一个demo应用\\",\\n \\"appId\\": \\"test-app-abc\\",\\n \\"version\\": \\"7.10\\",\\n \\"instanceId\\": \\"es-serverless-***17位id**\\",\\n \\"network\\": [\\n {\\n \\"type\\": \\"PUBLIC_ES\\",\\n \\"enabled\\": true,\\n \\"domain\\": \\"test-123.public.cn-hangzhou.es-serverless.aliyuncs.com\\",\\n \\"port\\": 9200,\\n \\"whiteIpGroup\\": [\\n {\\n \\"groupName\\": \\"test\\",\\n \\"ips\\": [\\n \\"127.0.0.1\\"\\n ]\\n }\\n ]\\n }\\n ],\\n \\"privateNetwork\\": [\\n {\\n \\"type\\": \\"PRIVATE_ES\\",\\n \\"enabled\\": true,\\n \\"domain\\": \\"test-123.private.cn-hangzhou.es-serverless.aliyuncs.com\\",\\n \\"port\\": 9200,\\n \\"vpcId\\": \\"vpc-bp16ul4pwsg1mjni***\\",\\n \\"pvlEndpointId\\": \\"ep-aaaddd**\\",\\n \\"whiteIpGroup\\": [\\n {\\n \\"groupName\\": \\"test\\",\\n \\"ips\\": [\\n \\"127.0.0.1\\"\\n ]\\n }\\n ]\\n }\\n ],\\n \\"appType\\": \\"\\",\\n \\"tags\\": [\\n {\\n \\"key\\": \\"\\",\\n \\"value\\": \\"\\"\\n }\\n ],\\n \\"scenario\\": \\"\\",\\n \\"chargeType\\": \\"\\"\\n },\\n \\"requestId\\": \\"2C5DAA30-****-5181-9B87-9D6181016197\\"\\n}","type":"json"}]',
+ ],
+ 'ListApps' => [
+ 'summary' => '查看Serverless应用列表',
+ 'path' => '/openapi/es-serverless/instances',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '185147',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearchGXQH1U',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'appName',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'es-severless-test-app'."\n",
+ ],
+ ],
+ [
+ 'name' => 'description',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'metrics-logs-online',
+ ],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'createTime',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '2023-08-29T02:37:22Z',
+ ],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ACTIVE',
+ ],
+ ],
+ [
+ 'name' => 'orderType',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'desc',
+ ],
+ ],
+ [
+ 'name' => 'tags',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'totalCount' => [
+ 'title' => '总记录数。',
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'minimum' => '0',
+ 'example' => '4',
+ 'default' => '0',
+ ],
+ 'result' => [
+ 'title' => '数组,返回示例目录。',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'title' => 'AppItemType',
+ 'description' => 'AppItemType',
+ 'type' => 'object',
+ 'properties' => [
+ 'appName' => [
+ 'title' => '资源名称',
+ 'description' => '代表资源名称的资源属性字段',
+ 'type' => 'string',
+ 'example' => 'es-severless-test-app'."\n",
+ ],
+ 'ownerId' => [
+ 'title' => 'OwnerID',
+ 'description' => 'OwnerID账号ID',
+ 'type' => 'string',
+ 'example' => '*********7595',
+ ],
+ 'regionId' => [
+ 'title' => '地域ID',
+ 'description' => '代表region的资源属性字段',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou',
+ ],
+ 'status' => [
+ 'title' => '资源状态',
+ 'description' => '代表资源状态的资源属性字段',
+ 'type' => 'string',
+ 'example' => 'ACTIVE',
+ ],
+ 'createTime' => [
+ 'title' => '创建时间',
+ 'description' => '代表创建时间的资源属性字段',
+ 'type' => 'string',
+ 'example' => '2022-12-27T07:09:11.000Z',
+ ],
+ 'modifiedTime' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2022-12-27T07:09:11.000Z'."\n",
+ ],
+ 'description' => [
+ 'title' => '应用备注',
+ 'description' => '应用备注',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'appId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test-abc',
+ ],
+ 'instanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'version' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7.10',
+ ],
+ 'appType' => [
+ 'type' => 'string',
+ ],
+ 'tags' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'key' => [
+ 'type' => 'string',
+ ],
+ 'value' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2C5DAA30-****-5181-9B87-9D6181016197',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"totalCount\\": 4,\\n \\"result\\": [\\n {\\n \\"appName\\": \\"es-severless-test-app\\\\n\\",\\n \\"ownerId\\": \\"*********7595\\",\\n \\"regionId\\": \\"cn-hangzhou\\",\\n \\"status\\": \\"ACTIVE\\",\\n \\"createTime\\": \\"2022-12-27T07:09:11.000Z\\",\\n \\"modifiedTime\\": \\"2022-12-27T07:09:11.000Z\\\\n\\",\\n \\"description\\": \\"这是一个demo应用\\",\\n \\"appId\\": \\"test-abc\\",\\n \\"instanceId\\": \\"es-serverless-***17位id**\\",\\n \\"version\\": \\"7.10\\",\\n \\"appType\\": \\"\\",\\n \\"tags\\": [\\n {\\n \\"key\\": \\"\\",\\n \\"value\\": \\"\\"\\n }\\n ]\\n }\\n ],\\n \\"requestId\\": \\"2C5DAA30-****-5181-9B87-9D6181016197\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteApp' => [
+ 'summary' => '删除Serverless应用。',
+ 'path' => '/openapi/es-serverless/instances/{appName}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '185145',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearchTR2X2I',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2C5DAA30-****-5181-9B87-9D6181016197',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'instanceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2C5DAA30-****-5181-9B87-9D6181016197\\",\\n \\"result\\": {\\n \\"instanceId\\": \\"es-serverless-***17位id**\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetAppQuota' => [
+ 'summary' => '获取Serverless应用配额详情',
+ 'path' => '/openapi/es-serverless/instances/{appName}/quota',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '190715',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearch4EATFC',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2C5DAA30-****-5181-9B87-9D6181016197',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'quotaInfo' => [
+ 'description' => '',
+ 'type' => 'object',
+ ],
+ 'limiterInfo' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'limiters' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'INDEX_NUMBER_OF_SHARDS',
+ ],
+ 'immutable' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'minValue' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1',
+ ],
+ 'maxValue' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2C5DAA30-****-5181-9B87-9D6181016197\\",\\n \\"result\\": {\\n \\"quotaInfo\\": {\\n \\"test\\": \\"test\\",\\n \\"test2\\": 1\\n },\\n \\"limiterInfo\\": {\\n \\"limiters\\": [\\n {\\n \\"type\\": \\"INDEX_NUMBER_OF_SHARDS\\",\\n \\"immutable\\": true,\\n \\"minValue\\": 1,\\n \\"maxValue\\": 10\\n }\\n ]\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'GetMonitorData' => [
+ 'summary' => '获取监控数据',
+ 'path' => '/openapi/es-serverless/emon/metrics/query',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '187769',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearchDSZGTG',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'docRequired' => false,
+ 'example' => '{"start":1689245180581,"end":1689246950582,"queries":[{"metric":"aliyunes.elasticsearch.index.docs.count","aggregator":"sum","downsample":"avg","tags":{"resource":"{appName}"},"filters":[],"granularity":"auto"}]}',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'code' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'InternalServerError',
+ ],
+ 'message' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'internal server error',
+ ],
+ 'requestId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2C5DAA30-****-5181-9B87-9D6181016197',
+ ],
+ 'success' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'integrity' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '1',
+ ],
+ 'summary' => [
+ 'description' => '',
+ 'type' => 'number',
+ 'format' => 'float',
+ 'example' => '172455913.18935508',
+ ],
+ 'messageWatermark' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'example' => '1689566839447',
+ ],
+ 'dps' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "1689480600":28676235.104761902'."\n"
+ .'}',
+ ],
+ 'tags' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "indexName":"test"'."\n"
+ .' }',
+ ],
+ 'metric' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'elasticsearch-server.logic_cpu.cpu',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ '5XX' => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Code' => [
+ 'type' => 'string',
+ ],
+ 'Message' => [
+ 'type' => 'string',
+ ],
+ 'RequestId' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"code\\": \\"InternalServerError\\",\\n \\"message\\": \\"internal server error\\",\\n \\"requestId\\": \\"2C5DAA30-****-5181-9B87-9D6181016197\\",\\n \\"success\\": true,\\n \\"result\\": [\\n {\\n \\"integrity\\": 1,\\n \\"summary\\": 172455913.18935508,\\n \\"messageWatermark\\": 1689566839447,\\n \\"dps\\": {\\n \\"1689480600\\": 28676235.104761902\\n },\\n \\"tags\\": {\\n \\"indexName\\": \\"test\\"\\n },\\n \\"metric\\": \\"elasticsearch-server.logic_cpu.cpu\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListIndices' => [
+ 'summary' => '查看索引列表',
+ 'path' => '/openapi/es-serverless/instances/{appName}/indices',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '213585',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearch4EATFC',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'text',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '8C85CCB3-C0C9-521C-B599-F903E14A8793',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'any',
+ 'example' => '{"index" : ".aliyun-limiter-config"}',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"8C85CCB3-C0C9-521C-B599-F903E14A8793\\",\\n \\"result\\": [\\n \\"{\\\\\\"index\\\\\\" : \\\\\\".aliyun-limiter-config\\\\\\"}\\"\\n ]\\n}","type":"json"}]',
+ ],
+ 'CreateSnapshot' => [
+ 'summary' => '创建快照',
+ 'path' => '/openapi/es-serverless/instances/{appName}/snapshot-repositories/{repository}/snapshots',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '213584',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearch4EATFC',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => 'body参数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'snapshot' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'qingning',
+ ],
+ 'indices' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'product_info',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'dryRun',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'repository',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'aliyun_auto_snapshot',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '03761BE5-D12F-55B4-9C93-0255C11DE44A',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"03761BE5-D12F-55B4-9C93-0255C11DE44A\\",\\n \\"result\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateSnapshotSetting' => [
+ 'summary' => '修改自动备份配置',
+ 'path' => '/openapi/es-serverless/instances/{appName}/auto-snapshot-setting',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '213565',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearch4EATFC',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => 'body参数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'quartzRegex' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '0 0 01 ? * * *',
+ ],
+ 'enable' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => true,
+ 'example' => 'true',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'A7B03723-AA73-5A5F-B71C-270792614DD8',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "quartzRegex": "0 0 01 ? * * *",'."\n"
+ .' "enable": true'."\n"
+ .' }',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"A7B03723-AA73-5A5F-B71C-270792614DD8\\",\\n \\"result\\": {\\n \\"quartzRegex\\": \\"0 0 01 ? * * *\\",\\n \\"enable\\": true\\n }\\n}","type":"json"}]',
+ ],
+ 'ListSnapshots' => [
+ 'summary' => '获取仓库的快照列表',
+ 'path' => '/openapi/es-serverless/instances/{appName}/snapshots',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '213581',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearch4EATFC',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'repository',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'aliyun_auto_snapshot',
+ ],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'snapshot',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'qingning',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '22E9EE78-F567-550A-8F7C-20E9CD3DE489',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "snapshot": "qingning",'."\n"
+ .' "uuid": "_ULkbfoHREaJ0Gdcza****",'."\n"
+ .' "version_id": 7100099,'."\n"
+ .' "version": "7.10.0",'."\n"
+ .' "indices": ['."\n"
+ .' "product_info"'."\n"
+ .' ],'."\n"
+ .' "data_streams": [],'."\n"
+ .' "include_global_state": false,'."\n"
+ .' "state": "SUCCESS",'."\n"
+ .' "start_time": "2024-05-30T07:51:58.973Z",'."\n"
+ .' "start_time_in_millis": 1717055518973,'."\n"
+ .' "end_time": "2024-05-30T07:51:59.373Z",'."\n"
+ .' "end_time_in_millis": 1717055519373,'."\n"
+ .' "duration_in_millis": 400,'."\n"
+ .' "failures": [],'."\n"
+ .' "shards": {'."\n"
+ .' "total": 6,'."\n"
+ .' "failed": 0,'."\n"
+ .' "successful": 6'."\n"
+ .' },'."\n"
+ .' "repository": "aliyun_auto_snapshot"'."\n"
+ .' }',
+ ],
+ ],
+ 'nextToken' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ODgyObrnP3',
+ ],
+ 'totalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"22E9EE78-F567-550A-8F7C-20E9CD3DE489\\",\\n \\"result\\": [\\n {\\n \\"snapshot\\": \\"qingning\\",\\n \\"uuid\\": \\"_ULkbfoHREaJ0Gdcza****\\",\\n \\"version_id\\": 7100099,\\n \\"version\\": \\"7.10.0\\",\\n \\"indices\\": [\\n \\"product_info\\"\\n ],\\n \\"data_streams\\": [],\\n \\"include_global_state\\": false,\\n \\"state\\": \\"SUCCESS\\",\\n \\"start_time\\": \\"2024-05-30T07:51:58.973Z\\",\\n \\"start_time_in_millis\\": 1717055518973,\\n \\"end_time\\": \\"2024-05-30T07:51:59.373Z\\",\\n \\"end_time_in_millis\\": 1717055519373,\\n \\"duration_in_millis\\": 400,\\n \\"failures\\": [],\\n \\"shards\\": {\\n \\"total\\": 6,\\n \\"failed\\": 0,\\n \\"successful\\": 6\\n },\\n \\"repository\\": \\"aliyun_auto_snapshot\\"\\n }\\n ],\\n \\"nextToken\\": \\"ODgyObrnP3\\",\\n \\"totalCount\\": 1\\n}","type":"json"}]',
+ ],
+ 'ListSnapshotRepositories' => [
+ 'summary' => '获取快照仓库列表',
+ 'path' => '/openapi/es-serverless/instances/{appName}/snapshot-repositories',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '213572',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearch4EATFC',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '56E0591D-7D62-56A2-993E-952FB2026C69',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "type": "oss",'."\n"
+ .' "name": "aliyun_auto_snapshot",'."\n"
+ .' "snapshotAmount": 5'."\n"
+ .' }',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"56E0591D-7D62-56A2-993E-952FB2026C69\\",\\n \\"result\\": [\\n {\\n \\"type\\": \\"oss\\",\\n \\"name\\": \\"aliyun_auto_snapshot\\",\\n \\"snapshotAmount\\": 5\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetSnapshotSetting' => [
+ 'summary' => '获取自动备份配置',
+ 'path' => '/openapi/es-serverless/instances/{appName}/auto-snapshot-setting',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '213569',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearch4EATFC',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '7B6CE6E1-5BA0-56DA-BFFD-8D90692F1EFC',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'quartzRegex' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '0 0 01 ? * * *',
+ ],
+ 'enable' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"7B6CE6E1-5BA0-56DA-BFFD-8D90692F1EFC\\",\\n \\"result\\": {\\n \\"quartzRegex\\": \\"0 0 01 ? * * *\\",\\n \\"enable\\": true\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteSnapshot' => [
+ 'summary' => '删除快照',
+ 'path' => '/openapi/es-serverless/instances/{appName}/snapshot-repositories/{repository}/snapshots/{snapshot}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '213582',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearch4EATFC',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'repository',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'aliyun_auto_snapshot',
+ ],
+ ],
+ [
+ 'name' => 'snapshot',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'qingning',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '16484F36-A2A3-5A05-B242-0BF2BF6AA326',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"16484F36-A2A3-5A05-B242-0BF2BF6AA326\\",\\n \\"result\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdateDict' => [
+ 'summary' => '创建或更新词典',
+ 'path' => '/openapi/es-serverless/instances/{appName}/dicts',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '213563',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearch4EATFC',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => 'body参数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'files' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'dic_0.dic',
+ ],
+ 'ossObject' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'bucketName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'bucket1',
+ ],
+ 'key' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'oss/dic_0.dic',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'MAIN',
+ ],
+ 'sourceType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'OSS',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'dryRun',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ [
+ 'name' => 'allowCover',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '12797BCC-E0B5-5A47-B4B9-A14DDF0B0200',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"12797BCC-E0B5-5A47-B4B9-A14DDF0B0200\\",\\n \\"result\\": true\\n}","type":"json"}]',
+ ],
+ 'ListDicts' => [
+ 'summary' => '获取词典列表',
+ 'path' => '/openapi/es-serverless/instances/{appName}/dicts',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '213559',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearch4EATFC',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'E92BCBB9-3CFE-58DD-8D8C-56DF46AB3BF3',
+ ],
+ 'totalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'a.dic',
+ ],
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'MAIN',
+ ],
+ 'downloadUrl' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'http://es-serverless-****.oss-cn-hangzhou.aliyuncs.com/app/es7**190/0/config/analysis-ik/stopword.dic?Expires=1705923089&OSSAccessKeyId=STS.NV18q****UkVp6LNj&Signat',
+ ],
+ 'sourceType' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'OSS',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"E92BCBB9-3CFE-58DD-8D8C-56DF46AB3BF3\\",\\n \\"totalCount\\": 1,\\n \\"result\\": [\\n {\\n \\"name\\": \\"a.dic\\",\\n \\"type\\": \\"MAIN\\",\\n \\"downloadUrl\\": \\"http://es-serverless-****.oss-cn-hangzhou.aliyuncs.com/app/es7**190/0/config/analysis-ik/stopword.dic?Expires=1705923089&OSSAccessKeyId=STS.NV18q****UkVp6LNj&Signat\\",\\n \\"sourceType\\": \\"OSS\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DeleteDict' => [
+ 'summary' => '删除词典',
+ 'path' => '/openapi/es-serverless/instances/{appName}/dicts/actions/remove',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '213564',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearch4EATFC',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => 'body参数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'a.dic',
+ ],
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'MAIN',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2BF6B57E-5AAD-5389-80CD-E200BBF91FF9',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2BF6B57E-5AAD-5389-80CD-E200BBF91FF9\\",\\n \\"result\\": true\\n}","type":"json"}]',
+ ],
+ 'CreateEndpoint' => [
+ 'summary' => '创建端点',
+ 'path' => '/openapi/es-serverless/endpoints',
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'abilityTreeCode' => '206201',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearchTR2X2I',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => 'body参数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'endpointZones' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'zoneId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou-h',
+ ],
+ 'vswitchId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vsw-uf6qmfkqdcw*****',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'vpcId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'vpc-uf664nyle5khp5***',
+ ],
+ 'name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'testendpoint',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'VPC',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '2C5DAA30-****-5181-9B87-9D6181016197',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'endpointId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'essep-abd***dks',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2C5DAA30-****-5181-9B87-9D6181016197\\",\\n \\"result\\": {\\n \\"endpointId\\": \\"essep-abd***dks\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateEndpoint' => [
+ 'summary' => '修改端点信息',
+ 'path' => '/openapi/es-serverless/endpoints/{endpointId}',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '206245',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearchTR2X2I',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => 'body参数',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'endpointZones' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'zoneId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'cn-hangzhou-h',
+ ],
+ 'vSwitchId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vsw-bp18r8uwnukv3rvi9****',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => true,
+ ],
+ 'name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'test',
+ ],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'endpointId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'ep-bp1i98bcbb1540d0****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'FBAD8493-87FA-583E-8A4C-D487F2DE90FC',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'endpointId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ep-bp1i98bcbb1540d0****'."\n",
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"FBAD8493-87FA-583E-8A4C-D487F2DE90FC\\",\\n \\"result\\": {\\n \\"endpointId\\": \\"ep-bp1i98bcbb1540d0****\\\\n\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'ListEndpoints' => [
+ 'summary' => '获取端点信息列表',
+ 'path' => '/openapi/es-serverless/endpoints',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'abilityTreeCode' => '206264',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearchTR2X2I',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'VPC',
+ ],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'vpcId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vpc-bp1212sb7cj2j4e6x****',
+ ],
+ ],
+ [
+ 'name' => 'resourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ep-bp1id41dd116e52e****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'D6030CE6-9FEB-5B2F-84AC-3ADE3CBA89E5',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'endpointId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'essep-2f46b743f60****',
+ ],
+ 'resourceId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ep-bp1id41dd116e52e****'."\n",
+ ],
+ 'vpcId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'vpc-uf6gykvwcirp886ef****',
+ ],
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Active',
+ ],
+ 'connectionStatus' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Pending',
+ ],
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'VPC',
+ ],
+ 'created' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1701259721',
+ ],
+ 'updated' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1701259721',
+ ],
+ 'name' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'endpointZones' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'zoneId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'cn-hangzhou-k',
+ ],
+ 'vSwitchId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'vsw-bp194pz9iez****',
+ ],
+ ],
+ ],
+ ],
+ 'securityGroupIds' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'sg-bp1278950t9ykn2s****',
+ ],
+ ],
+ 'domain' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ep-bp1i522d****a3.epsrv-bp1f****gei.cn-hangzhou.privatelink.aliyuncs.com',
+ ],
+ ],
+ ],
+ ],
+ 'totalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '10',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"D6030CE6-9FEB-5B2F-84AC-3ADE3CBA89E5\\",\\n \\"result\\": [\\n {\\n \\"endpointId\\": \\"essep-2f46b743f60****\\",\\n \\"resourceId\\": \\"ep-bp1id41dd116e52e****\\\\n\\",\\n \\"vpcId\\": \\"vpc-uf6gykvwcirp886ef****\\",\\n \\"status\\": \\"Active\\",\\n \\"connectionStatus\\": \\"Pending\\",\\n \\"type\\": \\"VPC\\",\\n \\"created\\": 1701259721,\\n \\"updated\\": 1701259721,\\n \\"name\\": \\"test\\",\\n \\"endpointZones\\": [\\n {\\n \\"zoneId\\": \\"cn-hangzhou-k\\",\\n \\"vSwitchId\\": \\"vsw-bp194pz9iez****\\"\\n }\\n ],\\n \\"securityGroupIds\\": [\\n \\"sg-bp1278950t9ykn2s****\\"\\n ],\\n \\"domain\\": \\"ep-bp1i522d****a3.epsrv-bp1f****gei.cn-hangzhou.privatelink.aliyuncs.com\\"\\n }\\n ],\\n \\"totalCount\\": 10\\n}","type":"json"}]',
+ ],
+ 'DeleteEndpoint' => [
+ 'summary' => '删除端点',
+ 'path' => '/openapi/es-serverless/endpoints/{endpointId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '206262',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearchTR2X2I',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'endpointId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'essep-2f46b743f60****',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1305A3E0-A291-54BA-A3B2-7D1C12EC4112',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"1305A3E0-A291-54BA-A3B2-7D1C12EC4112\\",\\n \\"result\\": true\\n}","type":"json"}]',
+ ],
+ 'ListSpecReviewTasks' => [
+ 'summary' => '获取规格审批列表',
+ 'path' => '/openapi/es-serverless/instances/{appName}/spec-review-tasks',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '207292',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearch4EATFC',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'page',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ ],
+ ],
+ [
+ 'name' => 'size',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '10',
+ ],
+ ],
+ [
+ 'name' => 'type',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'QUOTA',
+ ],
+ ],
+ [
+ 'name' => 'pageNumber',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ [
+ 'name' => 'pageSize',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ ],
+ ],
+ [
+ 'name' => 'status',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '55F7B3FE-05D8-5F0F-BD55-A18967D447DC',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'appName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'QUOTA',
+ ],
+ 'source' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'USER',
+ ],
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Pending',
+ ],
+ 'applyReason' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'gmtCreate' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-05-27T10:13:22.000Z',
+ ],
+ 'Id' => [
+ 'title' => '资源一级ID',
+ 'description' => '代表资源一级ID的资源属性字段',
+ 'type' => 'string',
+ 'deprecated' => false,
+ 'example' => '339',
+ 'pattern' => '',
+ 'default' => '',
+ ],
+ ],
+ ],
+ ],
+ 'totalCount' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'example' => '1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"55F7B3FE-05D8-5F0F-BD55-A18967D447DC\\",\\n \\"result\\": [\\n {\\n \\"appName\\": \\"test\\",\\n \\"type\\": \\"QUOTA\\",\\n \\"source\\": \\"USER\\",\\n \\"status\\": \\"Pending\\",\\n \\"applyReason\\": \\"业务需要。\\",\\n \\"gmtCreate\\": \\"2024-05-27T10:13:22.000Z\\",\\n \\"Id\\": \\"339\\"\\n }\\n ],\\n \\"totalCount\\": 1\\n}","type":"json"}]',
+ ],
+ 'GetSpecReviewTask' => [
+ 'summary' => '获取配额审批详情',
+ 'path' => '/openapi/es-serverless/instances/{appName}/spec-review-tasks/{taskId}',
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'abilityTreeCode' => '207276',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearchTR2X2I',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ 'example' => '339',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'E310AC54-957A-5FD5-B85B-E972B2BDA8DE',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'appName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test',
+ ],
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'QUOTA',
+ ],
+ 'source' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'USER',
+ ],
+ 'status' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'Pending',
+ ],
+ 'applyReason' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '',
+ ],
+ 'gmtCreate' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-05-30T06:28:07.000Z',
+ ],
+ 'gmtModified' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2024-05-30T06:28:07.000Z',
+ ],
+ 'oldQuota' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "appType": "TRIAL",'."\n"
+ .' "cu": 2,'."\n"
+ .' "storage": 1'."\n"
+ .' }',
+ ],
+ 'applyQuota' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "appType": "TRIAL",'."\n"
+ .' "cu": 4,'."\n"
+ .' "storage": 100'."\n"
+ .' }',
+ ],
+ 'effectiveQuota' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "appType": "TRIAL",'."\n"
+ .' "cu": 4,'."\n"
+ .' "storage": 100'."\n"
+ .' }',
+ ],
+ 'oldLimiter' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "limiters": ['."\n"
+ .' {'."\n"
+ .' "type": "INDEX_QUOTA",'."\n"
+ .' "maxValue": 500,'."\n"
+ .' "immutable": false'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }',
+ ],
+ 'applyLimiter' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "limiters": ['."\n"
+ .' {'."\n"
+ .' "type": "INDEX_QUOTA",'."\n"
+ .' "maxValue": 500,'."\n"
+ .' "immutable": false'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }',
+ ],
+ 'effectiveLimiter' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'example' => '{'."\n"
+ .' "limiters": ['."\n"
+ .' {'."\n"
+ .' "type": "INDEX_QUOTA",'."\n"
+ .' "maxValue": 500,'."\n"
+ .' "immutable": false'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .' }',
+ ],
+ 'Id' => [
+ 'title' => '资源一级ID',
+ 'description' => '代表资源一级ID的资源属性字段',
+ 'type' => 'string',
+ 'deprecated' => false,
+ 'example' => '339',
+ 'pattern' => '',
+ 'default' => '',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"E310AC54-957A-5FD5-B85B-E972B2BDA8DE\\",\\n \\"result\\": {\\n \\"appName\\": \\"test\\",\\n \\"type\\": \\"QUOTA\\",\\n \\"source\\": \\"USER\\",\\n \\"status\\": \\"Pending\\",\\n \\"applyReason\\": \\"业务需要。\\",\\n \\"gmtCreate\\": \\"2024-05-30T06:28:07.000Z\\",\\n \\"gmtModified\\": \\"2024-05-30T06:28:07.000Z\\",\\n \\"oldQuota\\": {\\n \\"appType\\": \\"TRIAL\\",\\n \\"cu\\": 2,\\n \\"storage\\": 1\\n },\\n \\"applyQuota\\": {\\n \\"appType\\": \\"TRIAL\\",\\n \\"cu\\": 4,\\n \\"storage\\": 100\\n },\\n \\"effectiveQuota\\": {\\n \\"appType\\": \\"TRIAL\\",\\n \\"cu\\": 4,\\n \\"storage\\": 100\\n },\\n \\"oldLimiter\\": {\\n \\"limiters\\": [\\n {\\n \\"type\\": \\"INDEX_QUOTA\\",\\n \\"maxValue\\": 500,\\n \\"immutable\\": false\\n }\\n ]\\n },\\n \\"applyLimiter\\": {\\n \\"limiters\\": [\\n {\\n \\"type\\": \\"INDEX_QUOTA\\",\\n \\"maxValue\\": 500,\\n \\"immutable\\": false\\n }\\n ]\\n },\\n \\"effectiveLimiter\\": {\\n \\"limiters\\": [\\n {\\n \\"type\\": \\"INDEX_QUOTA\\",\\n \\"maxValue\\": 500,\\n \\"immutable\\": false\\n }\\n ]\\n },\\n \\"Id\\": \\"339\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'CancelSpecReviewTask' => [
+ 'summary' => '撤销规格审批',
+ 'path' => '/openapi/es-serverless/instances/{appName}/spec-review-tasks/{taskId}',
+ 'methods' => [
+ 'delete',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'abilityTreeCode' => '207770',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearchTR2X2I',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'taskId',
+ 'in' => 'path',
+ 'schema' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => '339',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '1B64F3E0-25D5-5043-B5C8-4FF22BB12CCD',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'example' => 'true',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"1B64F3E0-25D5-5043-B5C8-4FF22BB12CCD\\",\\n \\"result\\": true\\n}","type":"json"}]',
+ ],
+ 'UpdatePrivateNetwrok' => [
+ 'summary' => '修改应用公网信息。',
+ 'path' => '/openapi/es-serverless/instances/{appName}/private-networks',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '230430',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearch4EATFC',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '实例 ID。',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'test',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => 'body参数',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PRIVATE_ES',
+ ],
+ 'enabled' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'domain' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'autotest-8k8a8.serverless.cn-hangzhou.elasticsearch.aliyuncs.com'."\n",
+ ],
+ 'port' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '9200',
+ ],
+ 'whiteIpGroup' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'groupName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'default',
+ ],
+ 'ips' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '127.0.0.1'."\n",
+ ],
+ 'required' => false,
+ ],
+ 'modifyMode' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Cover',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ 'vpcId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'vpc-uf664nyle5khp5***',
+ ],
+ 'pvlEndpointId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'ep-bp1id6dc2568****',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => 'Id of the request',
+ 'type' => 'string',
+ 'example' => '2C5DAA30-****-5181-9B87-9D6181016197',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PRIVATE_ES',
+ ],
+ 'enabled' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'domain' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test-**.private.cn-hangzhou.es-serverless.aliyuncs.com',
+ ],
+ 'port' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '9200',
+ ],
+ 'whiteIpGroup' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'groupName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'default',
+ ],
+ 'ips' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '127.0.0.1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'vpcId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'vpc-uf6gykvwcirp886ef****',
+ ],
+ 'pvlEndpointId' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'ep-bp1id6dc2568****',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2C5DAA30-****-5181-9B87-9D6181016197\\",\\n \\"result\\": [\\n {\\n \\"type\\": \\"PRIVATE_ES\\",\\n \\"enabled\\": \\"true\\",\\n \\"domain\\": \\"test-**.private.cn-hangzhou.es-serverless.aliyuncs.com\\",\\n \\"port\\": \\"9200\\",\\n \\"whiteIpGroup\\": [\\n {\\n \\"groupName\\": \\"default\\",\\n \\"ips\\": [\\n \\"127.0.0.1\\"\\n ]\\n }\\n ],\\n \\"vpcId\\": \\"vpc-uf6gykvwcirp886ef****\\",\\n \\"pvlEndpointId\\": \\"ep-bp1id6dc2568****\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'UpdateNetwork' => [
+ 'summary' => '修改应用公网配置。',
+ 'path' => '/openapi/es-serverless/instances/{appName}/networks',
+ 'methods' => [
+ 'put',
+ ],
+ 'schemes' => [
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'consumes' => [
+ 'application/json',
+ ],
+ 'produces' => [
+ 'application/json',
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'abilityTreeCode' => '230419',
+ 'abilityTreeNodes' => [
+ 'FEATUREelasticsearch4EATFC',
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'appName',
+ 'in' => 'path',
+ 'schema' => [
+ 'title' => '实例 ID。',
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'autotest-8k8a8',
+ ],
+ ],
+ [
+ 'name' => 'body',
+ 'in' => 'body',
+ 'style' => 'json',
+ 'schema' => [
+ 'title' => 'body参数',
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'PUBLIC_ES',
+ ],
+ 'enabled' => [
+ 'description' => '',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'example' => 'true',
+ ],
+ 'domain' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'autotest-8k8a8.serverless.cn-hangzhou.elasticsearch.aliyuncs.com'."\n",
+ ],
+ 'port' => [
+ 'description' => '',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '9200',
+ ],
+ 'whiteIpGroup' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'groupName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'default',
+ ],
+ 'ips' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => '127.0.0.1'."\n",
+ ],
+ 'required' => false,
+ ],
+ 'modifyMode' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Cover',
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'requestId' => [
+ 'title' => 'Id of the request',
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '2C5DAA30-****-5181-9B87-9D6181016197',
+ ],
+ 'result' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'type' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'PUBLIC_ES',
+ ],
+ 'enabled' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'true',
+ ],
+ 'domain' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'test-123.serverless.cn-hangzhou.elasticsearch.aliyuncs.com'."\n",
+ ],
+ 'port' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '9200',
+ ],
+ 'whiteIpGroup' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'groupName' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => 'default',
+ ],
+ 'ips' => [
+ 'description' => '',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '',
+ 'type' => 'string',
+ 'example' => '127.0.0.1',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'returnType' => 'synchronous',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"2C5DAA30-****-5181-9B87-9D6181016197\\",\\n \\"result\\": [\\n {\\n \\"type\\": \\"PUBLIC_ES\\",\\n \\"enabled\\": \\"true\\",\\n \\"domain\\": \\"test-123.serverless.cn-hangzhou.elasticsearch.aliyuncs.com\\\\n\\",\\n \\"port\\": \\"9200\\",\\n \\"whiteIpGroup\\": [\\n {\\n \\"groupName\\": \\"default\\",\\n \\"ips\\": [\\n \\"127.0.0.1\\"\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ ],
+ 'endpoints' => [
+ [
+ 'regionId' => 'cn-hangzhou',
+ 'endpoint' => 'es-serverless.cn-hangzhou.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shanghai',
+ 'endpoint' => 'es-serverless.cn-shanghai.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-beijing',
+ 'endpoint' => 'es-serverless.cn-beijing.aliyuncs.com',
+ ],
+ [
+ 'regionId' => 'cn-shenzhen',
+ 'endpoint' => 'es-serverless.cn-shenzhen.aliyuncs.com',
+ ],
+ ],
+];