From 814ec806c22e2782390af5a4a05cb6281aabd5e1 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 16:56:35 +0800 Subject: update APIs 20260712 --- data/es-serverless/2023-06-27/api-docs.php | 1860 +++++++++------------------- 1 file changed, 588 insertions(+), 1272 deletions(-) (limited to 'data/es-serverless') diff --git a/data/es-serverless/2023-06-27/api-docs.php b/data/es-serverless/2023-06-27/api-docs.php index ca046be..0cb6a6c 100644 --- a/data/es-serverless/2023-06-27/api-docs.php +++ b/data/es-serverless/2023-06-27/api-docs.php @@ -1,34 +1,46 @@ '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'es-serverless', - 'version' => '2023-06-27', - ], + 'info' => ['style' => 'ROA', 'product' => 'es-serverless', 'version' => '2023-06-27'], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateApp' => [ - 'path' => '/openapi/es-serverless/instances', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CancelSpecReviewTask' => [ + 'path' => '/openapi/es-serverless/instances/{appName}/spec-review-tasks/{taskId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'appName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'taskId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + 'CreateApp' => [ + 'path' => '/openapi/es-serverless/instances', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ @@ -39,14 +51,8 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'appName' => [ - 'type' => 'string', - 'required' => true, - ], - 'description' => [ - 'type' => 'string', - 'required' => false, - ], + 'appName' => ['type' => 'string', 'required' => true], + 'description' => ['type' => 'string', 'required' => false], 'network' => [ 'type' => 'array', 'required' => false, @@ -54,23 +60,10 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'enabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'domain' => [ - 'type' => 'string', - 'required' => false, - ], - 'port' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'type' => ['type' => 'string', 'required' => false], + 'enabled' => ['type' => 'boolean', 'required' => false], + 'domain' => ['type' => 'string', 'required' => false], + 'port' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'whiteIpGroup' => [ 'type' => 'array', 'required' => false, @@ -78,17 +71,11 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'groupName' => [ - 'type' => 'string', - 'required' => false, - ], + 'groupName' => ['type' => 'string', 'required' => false], 'ips' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], ], @@ -107,49 +94,25 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'username' => [ - 'type' => 'string', - 'required' => false, - ], - 'password' => [ - 'type' => 'string', - 'required' => false, - ], + 'username' => ['type' => 'string', 'required' => false], + 'password' => ['type' => 'string', 'required' => false], ], ], ], ], ], - 'regionId' => [ - 'type' => 'string', - 'required' => false, - ], - 'version' => [ - 'type' => 'string', - 'required' => false, - ], - 'chargeType' => [ - 'type' => 'string', - 'required' => true, - ], + 'regionId' => ['type' => 'string', 'required' => false], + 'version' => ['type' => 'string', 'required' => false], + 'chargeType' => ['type' => 'string', 'required' => true], 'quotaInfo' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'cu' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'storage' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'appType' => [ - 'type' => 'string', - 'required' => false, - ], + 'cu' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'storage' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'appType' => ['type' => 'string', 'required' => false], + 'minCu' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'elastic' => ['type' => 'boolean', 'required' => false], ], ], 'privateNetwork' => [ @@ -159,14 +122,8 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'enabled' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'type' => ['type' => 'string', 'required' => false], + 'enabled' => ['type' => 'boolean', 'required' => false], 'whiteIpGroup' => [ 'type' => 'array', 'required' => false, @@ -174,36 +131,21 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'groupName' => [ - 'type' => 'string', - 'required' => false, - ], + 'groupName' => ['type' => 'string', 'required' => false], 'ips' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], ], ], ], ], - 'vpcId' => [ - 'type' => 'string', - 'required' => false, - ], - 'pvlEndpointId' => [ - 'type' => 'string', - 'required' => false, - ], + 'vpcId' => ['type' => 'string', 'required' => false], + 'pvlEndpointId' => ['type' => 'string', 'required' => false], ], ], ], - 'scenario' => [ - 'type' => 'string', - 'required' => false, - ], + 'scenario' => ['type' => 'string', 'required' => false], 'tags' => [ 'type' => 'array', 'required' => false, @@ -211,14 +153,8 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - 'value' => [ - 'type' => 'string', - 'required' => false, - ], + 'key' => ['type' => 'string', 'required' => false], + 'value' => ['type' => 'string', 'required' => false], ], ], ], @@ -228,51 +164,28 @@ [ 'name' => 'dryRun', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'clientToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateApp' => [ - 'path' => '/openapi/es-serverless/instances/{appName}', - 'methods' => [ - 'patch', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateEndpoint' => [ + 'path' => '/openapi/es-serverless/endpoints', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ - [ - 'name' => 'appName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], [ 'name' => 'body', 'in' => 'body', @@ -281,1023 +194,559 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'description' => [ - 'type' => 'string', - 'required' => false, - ], - 'network' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'enabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'domain' => [ - 'type' => 'string', - 'required' => false, - ], - 'port' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'whiteIpGroup' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'groupName' => [ - 'type' => 'string', - 'required' => false, - ], - 'ips' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - ], - ], - 'authentication' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'basicAuth' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'username' => [ - 'type' => 'string', - 'required' => false, - ], - 'password' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'privateNetwork' => [ + 'endpointZones' => [ 'type' => 'array', - 'required' => false, + 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'enabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'vpcId' => [ - 'type' => 'string', - 'required' => false, - ], - 'pvlEndpointId' => [ - 'type' => 'string', - 'required' => false, - ], - 'whiteIpGroup' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'groupName' => [ - 'type' => 'string', - 'required' => false, - ], - 'ips' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - ], - ], - 'limiterInfo' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'limiters' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'maxValue' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'minValue' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'values' => [ - 'type' => 'array', - 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], + 'zoneId' => ['type' => 'string', 'required' => false], + 'vswitchId' => ['type' => 'string', 'required' => false], ], ], ], - 'applyReason' => [ - 'type' => 'string', - 'required' => false, - ], - 'contactInfo' => [ - 'type' => 'string', - 'required' => false, - ], + 'vpcId' => ['type' => 'string', 'required' => true], + 'name' => ['type' => 'string', 'required' => false], ], ], ], + [ + 'name' => 'type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], ], ], - 'GetApp' => [ - 'path' => '/openapi/es-serverless/instances/{appName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateSnapshot' => [ + 'path' => '/openapi/es-serverless/instances/{appName}/snapshot-repositories/{repository}/snapshots', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'appName', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'snapshot' => ['type' => 'string', 'required' => true], + 'indices' => ['type' => 'string', 'required' => true], + ], ], ], [ - 'name' => 'detailed', + 'name' => 'appName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'dryRun', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], + ], + [ + 'name' => 'repository', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListApps' => [ - 'path' => '/openapi/es-serverless/instances', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteApp' => [ + 'path' => '/openapi/es-serverless/instances/{appName}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'appName', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], - [ - 'name' => 'description', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + ], + ], + 'DeleteDict' => [ + 'path' => '/openapi/es-serverless/instances/{appName}/dicts/actions/remove', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'pageNumber', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + 'type' => ['type' => 'string', 'required' => true], + ], ], ], [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'name' => 'appName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DeleteEndpoint' => [ + 'path' => '/openapi/es-serverless/endpoints/{endpointId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'createTime', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'status', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'endpointId', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'DeleteSnapshot' => [ + 'path' => '/openapi/es-serverless/instances/{appName}/snapshot-repositories/{repository}/snapshots/{snapshot}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'orderType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'tags', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'appName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'repository', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'snapshot', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'DeleteApp' => [ + 'GetApp' => [ 'path' => '/openapi/es-serverless/instances/{appName}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'detailed', + 'in' => 'query', + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'GetAppQuota' => [ 'path' => '/openapi/es-serverless/instances/{appName}/quota', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetMonitorData' => [ 'path' => '/openapi/es-serverless/emon/metrics/query', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListIndices' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/indices', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetSnapshotSetting' => [ + 'path' => '/openapi/es-serverless/instances/{appName}/auto-snapshot-setting', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'CreateSnapshot' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/snapshot-repositories/{repository}/snapshots', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetSpecReviewTask' => [ + 'path' => '/openapi/es-serverless/instances/{appName}/spec-review-tasks/{taskId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'snapshot' => [ - 'type' => 'string', - 'required' => true, - ], - 'indices' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], [ 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'dryRun', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'repository', + 'name' => 'taskId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], - 'UpdateSnapshotSetting' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/auto-snapshot-setting', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListApps' => [ + 'path' => '/openapi/es-serverless/instances', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'quartzRegex' => [ - 'type' => 'string', - 'required' => true, - ], - 'enable' => [ - 'type' => 'boolean', - 'required' => true, - ], - ], - ], + 'name' => 'appName', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'appName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'description', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], - ], - ], - 'ListSnapshots' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/snapshots', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'appName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'repository', + 'name' => 'createTime', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pageNumber', + 'name' => 'status', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'pageSize', + 'name' => 'orderType', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ - 'name' => 'snapshot', + 'name' => 'tags', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListSnapshotRepositories' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/snapshot-repositories', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDicts' => [ + 'path' => '/openapi/es-serverless/instances/{appName}/dicts', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - ], - 'GetSnapshotSetting' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/auto-snapshot-setting', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'appName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], - 'DeleteSnapshot' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/snapshot-repositories/{repository}/snapshots/{snapshot}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListEndpoints' => [ + 'path' => '/openapi/es-serverless/endpoints', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'appName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'type', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'repository', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'snapshot', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'vpcId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'resourceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateDict' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/dicts', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListIndices' => [ + 'path' => '/openapi/es-serverless/instances/{appName}/indices', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'files' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - 'ossObject' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'bucketName' => [ - 'type' => 'string', - 'required' => false, - ], - 'key' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - ], - ], - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'sourceType' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], [ 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], + ], + ], + 'ListSnapshotRepositories' => [ + 'path' => '/openapi/es-serverless/instances/{appName}/snapshot-repositories', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'dryRun', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'allowCover', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'name' => 'appName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'ListDicts' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/dicts', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListSnapshots' => [ + 'path' => '/openapi/es-serverless/instances/{appName}/snapshots', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], + ], + [ + 'name' => 'repository', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'pageSize', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'snapshot', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteDict' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/dicts/actions/remove', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListSpecReviewTasks' => [ + 'path' => '/openapi/es-serverless/instances/{appName}/spec-review-tasks', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'name' => [ - 'type' => 'string', - 'required' => true, - ], - 'type' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], [ 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], - ], - ], - 'CreateEndpoint' => [ - 'path' => '/openapi/es-serverless/endpoints', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'page', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'endpointZones' => [ - 'type' => 'array', - 'required' => true, - 'items' => [ - 'type' => 'object', - 'required' => false, - 'properties' => [ - 'zoneId' => [ - 'type' => 'string', - 'required' => false, - ], - 'vswitchId' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'vpcId' => [ - 'type' => 'string', - 'required' => true, - ], - 'name' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], + 'name' => 'size', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'type', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateEndpoint' => [ - 'path' => '/openapi/es-serverless/endpoints/{endpointId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateApp' => [ + 'path' => '/openapi/es-serverless/instances/{appName}', + 'methods' => ['patch'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ + [ + 'name' => 'appName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], [ 'name' => 'body', 'in' => 'body', @@ -1306,332 +755,239 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'endpointZones' => [ + 'description' => ['type' => 'string', 'required' => false], + 'network' => [ 'type' => 'array', - 'required' => true, + 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'zoneId' => [ - 'type' => 'string', + 'type' => ['type' => 'string', 'required' => false], + 'enabled' => ['type' => 'boolean', 'required' => false], + 'domain' => ['type' => 'string', 'required' => false], + 'port' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'whiteIpGroup' => [ + 'type' => 'array', 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'groupName' => ['type' => 'string', 'required' => false], + 'ips' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], + ], ], - 'vSwitchId' => [ - 'type' => 'string', + ], + ], + ], + 'authentication' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'basicAuth' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'username' => ['type' => 'string', 'required' => false], + 'password' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'name' => [ - 'type' => 'string', + 'privateNetwork' => [ + 'type' => 'array', 'required' => false, - ], - ], - ], - ], - [ - 'name' => 'endpointId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'ListEndpoints' => [ - 'path' => '/openapi/es-serverless/endpoints', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'type', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'vpcId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'resourceId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'type' => ['type' => 'string', 'required' => false], + 'enabled' => ['type' => 'boolean', 'required' => false], + 'vpcId' => ['type' => 'string', 'required' => false], + 'pvlEndpointId' => ['type' => 'string', 'required' => false], + 'whiteIpGroup' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'groupName' => ['type' => 'string', 'required' => false], + 'ips' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + ], + ], + 'limiterInfo' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'limiters' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'maxValue' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'minValue' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'type' => ['type' => 'string', 'required' => false], + 'values' => [ + 'type' => 'array', + 'required' => false, + 'items' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + ], + 'applyReason' => ['type' => 'string', 'required' => false], + 'contactInfo' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'DeleteEndpoint' => [ - 'path' => '/openapi/es-serverless/endpoints/{endpointId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateDict' => [ + 'path' => '/openapi/es-serverless/instances/{appName}/dicts', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'endpointId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'files' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => false], + 'ossObject' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'bucketName' => ['type' => 'string', 'required' => false], + 'key' => ['type' => 'string', 'required' => false], + ], + ], + ], + ], + ], + 'type' => ['type' => 'string', 'required' => false], + 'sourceType' => ['type' => 'string', 'required' => false], + ], ], ], - ], - ], - 'ListSpecReviewTasks' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/spec-review-tasks', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'page', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'size', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'type', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'pageSize', + 'name' => 'dryRun', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'status', + 'name' => 'allowCover', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - ], - ], - 'GetSpecReviewTask' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/spec-review-tasks/{taskId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'appName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - [ - 'name' => 'taskId', - 'in' => 'path', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'CancelSpecReviewTask' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/spec-review-tasks/{taskId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateEndpoint' => [ + 'path' => '/openapi/es-serverless/endpoints/{endpointId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ - 'name' => 'appName', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', - 'required' => true, + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'endpointZones' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'zoneId' => ['type' => 'string', 'required' => false], + 'vSwitchId' => ['type' => 'string', 'required' => false], + ], + ], + ], + 'name' => ['type' => 'string', 'required' => false], + ], ], ], [ - 'name' => 'taskId', + 'name' => 'endpointId', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], ], ], - 'UpdatePrivateNetwrok' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/private-networks', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'UpdateNetwork' => [ + 'path' => '/openapi/es-serverless/instances/{appName}/networks', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -1644,23 +1000,10 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'enabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'domain' => [ - 'type' => 'string', - 'required' => false, - ], - 'port' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'type' => ['type' => 'string', 'required' => false], + 'enabled' => ['type' => 'boolean', 'required' => false], + 'domain' => ['type' => 'string', 'required' => false], + 'port' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'whiteIpGroup' => [ 'type' => 'array', 'required' => false, @@ -1668,67 +1011,39 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'groupName' => [ - 'type' => 'string', - 'required' => false, - ], + 'groupName' => ['type' => 'string', 'required' => false], 'ips' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'modifyMode' => [ - 'type' => 'string', - 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], + 'modifyMode' => ['type' => 'string', 'required' => false], ], ], ], - 'vpcId' => [ - 'type' => 'string', - 'required' => false, - ], - 'pvlEndpointId' => [ - 'type' => 'string', - 'required' => false, - ], ], ], ], ], ], ], - 'UpdateNetwork' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/networks', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'https', - ], + 'UpdatePrivateNetwrok' => [ + 'path' => '/openapi/es-serverless/instances/{appName}/private-networks', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'body', @@ -1741,23 +1056,10 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'type' => [ - 'type' => 'string', - 'required' => false, - ], - 'enabled' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'domain' => [ - 'type' => 'string', - 'required' => false, - ], - 'port' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'type' => ['type' => 'string', 'required' => false], + 'enabled' => ['type' => 'boolean', 'required' => false], + 'domain' => ['type' => 'string', 'required' => false], + 'port' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'whiteIpGroup' => [ 'type' => 'array', 'required' => false, @@ -1765,48 +1067,62 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'groupName' => [ - 'type' => 'string', - 'required' => false, - ], + 'groupName' => ['type' => 'string', 'required' => false], 'ips' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], - ], - 'modifyMode' => [ - 'type' => 'string', - 'required' => false, + 'items' => ['type' => 'string', 'required' => false], ], + 'modifyMode' => ['type' => 'string', 'required' => false], ], ], ], + 'vpcId' => ['type' => 'string', 'required' => false], + 'pvlEndpointId' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], + 'UpdateSnapshotSetting' => [ + 'path' => '/openapi/es-serverless/instances/{appName}/auto-snapshot-setting', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'quartzRegex' => ['type' => 'string', 'required' => true], + 'enable' => ['type' => 'boolean', 'required' => true], + ], + ], + ], + [ + 'name' => 'appName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], + ], + ], ], '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', - ], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'es-serverless.cn-shenzhen.aliyuncs.com', 'endpoint' => 'es-serverless.cn-shenzhen.aliyuncs.com', 'vpc' => 'es-serverless-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'es-serverless.cn-beijing.aliyuncs.com', 'endpoint' => 'es-serverless.cn-beijing.aliyuncs.com', 'vpc' => 'es-serverless-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'es-serverless.cn-shanghai.aliyuncs.com', 'endpoint' => 'es-serverless.cn-shanghai.aliyuncs.com', 'vpc' => 'es-serverless-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'es-serverless.cn-hangzhou.aliyuncs.com', 'endpoint' => 'es-serverless.cn-hangzhou.aliyuncs.com', 'vpc' => 'es-serverless-vpc.cn-hangzhou.aliyuncs.com'], ], ]; -- cgit v1.2.3