diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
| commit | 814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch) | |
| tree | 29e1692a067b17e56886a7d246d2b9521b2b7777 /data/es-serverless | |
| parent | eccd5cd5a067f5659982685afdeea209b1888efb (diff) | |
| download | afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip | |
update APIs 20260712
Diffstat (limited to 'data/es-serverless')
| -rw-r--r-- | data/es-serverless/2023-06-27/api-docs.php | 1816 |
1 files changed, 566 insertions, 1250 deletions
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 @@ <?php return [ 'version' => '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,52 +164,29 @@ [ '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', 'style' => 'json', @@ -281,954 +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', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'appName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], + ], ], - 'produces' => [ - 'application/json', + ], + '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' => 'appName', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', 'required' => false, + 'properties' => [ + 'name' => ['type' => 'string', 'required' => true], + 'type' => ['type' => 'string', 'required' => true], + ], ], ], [ - 'name' => 'description', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - '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' => 'pageNumber', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'deprecated' => false, + 'parameters' => [ [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - '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' => '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' => 'appName', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'orderType', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'name' => 'repository', + 'in' => 'path', + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'tags', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + '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, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ - 'name' => 'dryRun', - 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - [ - '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], + ], + [ + 'name' => 'pageNumber', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'createTime', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'status', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'orderType', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'tags', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListSnapshots' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/snapshots', - '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], ], [ - 'name' => 'repository', + 'name' => 'pageNumber', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + [ + 'name' => 'pageSize', + 'in' => 'query', + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + ], + ], + ], + '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, - ], + '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', + 'name' => 'vpcId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], + ], + [ + 'name' => 'resourceId', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'ListSnapshotRepositories' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/snapshot-repositories', - 'methods' => [ - 'get', - ], - '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' => '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', - ], + 'ListSnapshotRepositories' => [ + 'path' => '/openapi/es-serverless/instances/{appName}/snapshot-repositories', + '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], ], ], ], - 'DeleteSnapshot' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/snapshot-repositories/{repository}/snapshots/{snapshot}', - 'methods' => [ - 'delete', - ], - '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' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + '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' => 'snapshot', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'UpdateDict' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/dicts', - 'methods' => [ - 'put', - ], - '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' => [ - '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], ], [ - 'name' => 'dryRun', + 'name' => 'page', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ - 'name' => 'allowCover', + 'name' => 'size', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], - ], - ], - ], - 'ListDicts' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/dicts', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + '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' => 'type', + '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' => 'status', + 'in' => 'query', + 'schema' => ['type' => 'string', 'required' => false], ], ], ], - 'DeleteDict' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/dicts/actions/remove', - 'methods' => [ - 'post', - ], - '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' => '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' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ [ 'name' => 'body', 'in' => 'body', @@ -1237,65 +755,127 @@ '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], + ], ], ], ], ], - 'vpcId' => [ - 'type' => 'string', - 'required' => true, + 'privateNetwork' => [ + 'type' => 'array', + '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], + ], + ], + ], + ], + ], + ], ], - 'name' => [ - 'type' => 'string', + '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], ], ], ], - [ - 'name' => 'type', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], ], ], - 'UpdateEndpoint' => [ - 'path' => '/openapi/es-serverless/endpoints/{endpointId}', - 'methods' => [ - 'put', - ], - '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' => [ [ @@ -1306,332 +886,108 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'endpointZones' => [ + 'files' => [ 'type' => 'array', 'required' => true, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ - 'zoneId' => [ - 'type' => 'string', - 'required' => false, - ], - 'vSwitchId' => [ - 'type' => 'string', + 'name' => ['type' => 'string', 'required' => false], + 'ossObject' => [ + 'type' => 'object', 'required' => false, + 'properties' => [ + 'bucketName' => ['type' => 'string', 'required' => false], + 'key' => ['type' => 'string', 'required' => false], + ], ], ], ], ], - 'name' => [ - 'type' => 'string', - 'required' => false, - ], + 'type' => ['type' => 'string', 'required' => false], + 'sourceType' => ['type' => 'string', 'required' => false], ], ], ], [ - 'name' => 'endpointId', + 'name' => 'appName', 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + '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', + 'name' => 'dryRun', 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ - 'name' => 'vpcId', - 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], - ], - [ - 'name' => 'resourceId', + 'name' => 'allowCover', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], - 'DeleteEndpoint' => [ + 'UpdateEndpoint' => [ 'path' => '/openapi/es-serverless/endpoints/{endpointId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'endpointId', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], - ], - ], - ], - 'ListSpecReviewTasks' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/spec-review-tasks', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + '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', - '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, - ], - ], - [ - 'name' => 'pageSize', - 'in' => 'query', - 'schema' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - ], - ], - [ - 'name' => 'status', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'type' => 'string', + 'type' => 'object', '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, - ], - ], - ], - ], - 'CancelSpecReviewTask' => [ - 'path' => '/openapi/es-serverless/instances/{appName}/spec-review-tasks/{taskId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'deprecated' => false, - 'parameters' => [ - [ - 'name' => 'appName', - 'in' => 'path', - 'schema' => [ - 'type' => 'string', - 'required' => true, + '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'], ], ]; |
