summaryrefslogtreecommitdiff
path: root/data/zh_cn/foasconsole
diff options
context:
space:
mode:
Diffstat (limited to 'data/zh_cn/foasconsole')
-rw-r--r--data/zh_cn/foasconsole/2019-06-01/api-docs.php3299
-rw-r--r--data/zh_cn/foasconsole/2021-10-28/api-docs.php7138
2 files changed, 3195 insertions, 7242 deletions
diff --git a/data/zh_cn/foasconsole/2019-06-01/api-docs.php b/data/zh_cn/foasconsole/2019-06-01/api-docs.php
index 7269775..70f9d19 100644
--- a/data/zh_cn/foasconsole/2019-06-01/api-docs.php
+++ b/data/zh_cn/foasconsole/2019-06-01/api-docs.php
@@ -1,74 +1,42 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'foasconsole',
- 'version' => '2019-06-01',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'foasconsole', 'version' => '2019-06-01'],
'directories' => [
[
'id' => 93127,
'title' => '项目命名空间',
'type' => 'directory',
- 'children' => [
- 'CreateNamespace',
- 'DeleteNamespace',
- 'ModifyPrepayNamespaceSpec',
- 'DescribeNamespaces',
- ],
+ 'children' => ['CreateNamespace', 'DeleteNamespace', 'ModifyPrepayNamespaceSpec', 'DescribeNamespaces'],
],
[
'id' => 93132,
'title' => 'flink全托管实例',
'type' => 'directory',
- 'children' => [
- 'CreateInstance',
- 'RenewInstance',
- 'DeleteInstance',
- 'ModifyPrepayInstanceSpec',
- 'ConvertInstance',
- 'DescribeInstances',
- ],
+ 'children' => ['CreateInstance', 'RenewInstance', 'DeleteInstance', 'ModifyPrepayInstanceSpec', 'ConvertInstance', 'DescribeInstances'],
],
[
'id' => 93139,
'title' => '费用',
'type' => 'directory',
- 'children' => [
- 'QueryCreateInstancePrice',
- 'QueryModifyInstancePrice',
- 'QueryRenewInstancePrice',
- 'QueryConvertInstancePrice',
- ],
+ 'children' => ['QueryCreateInstancePrice', 'QueryModifyInstancePrice', 'QueryRenewInstancePrice', 'QueryConvertInstancePrice'],
],
[
'id' => 93144,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'DescribeSupportedZones',
- 'DescribeSupportedRegions',
- ],
+ 'children' => ['DescribeSupportedZones', 'DescribeSupportedRegions'],
],
[
'id' => 187207,
'title' => '其他',
'type' => 'directory',
- 'children' => [
- 'ListTagResources',
- 'UntagResources',
- 'TagResources',
- 'ConvertPrepayInstance',
- 'QueryConvertPrepayInstancePrice',
- ],
+ 'children' => ['ListTagResources', 'UntagResources', 'TagResources', 'ConvertPrepayInstance', 'QueryConvertPrepayInstancePrice'],
],
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'ChangeResourceGroup',
- ],
+ 'children' => ['ChangeResourceGroup'],
],
],
'components' => [
@@ -77,13 +45,8 @@
'apis' => [
'CreateNamespace' => [
'summary' => '在flink全托管实例中下创建项目空间。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -94,10 +57,7 @@
'systemTags' => [
'operationType' => 'create',
'abilityTreeCode' => '45895',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
@@ -108,52 +68,21 @@
'description' => '创建项目空间所需的请求参数。',
'type' => 'object',
'properties' => [
- 'Region' => [
- 'description' => '工作空间所属的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- 'InstanceId' => [
- 'description' => '工作空间ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '223493C7-FCA9-13D4-B75B-AF8B32F4****',
- ],
- 'Namespace' => [
- 'description' => '项目空间名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ns-1',
- ],
+ 'Region' => ['description' => '工作空间所属的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ 'InstanceId' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'example' => '223493C7-FCA9-13D4-B75B-AF8B32F4****'],
+ 'Namespace' => ['description' => '项目空间名称。', 'type' => 'string', 'required' => true, 'example' => 'ns-1'],
'ResourceSpec' => [
'description' => '资源规格。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。'."\n"
- .'> - 在包年包月的工作空间下,CPU数量必填。在按量付费的工作空间下,可以不用填写CPU数量。- 创建的目标项目空间的CPU数量要小于工作空间中剩余CPU数量(工作空间购买的总CPU数量减去其他项目空间已分配CPU数量),否则会报错。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。(单位GB)'."\n"
- .'> - 在包年包月的工作空间下,内存大小必填,且要为CPU数量的4倍。在按量付费的工作空间下,可以不用填写内存大小。- 创建的目标项目空间的内存大小要小于工作空间中剩余内存数量(工作空间购买的总内存数量减去其他项目空间已分配内存数量),否则会报错。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '40',
- ],
+ 'Cpu' => ['description' => 'CPU数量。'."\n"
+ .'> - 在包年包月的工作空间下,CPU数量必填。在按量付费的工作空间下,可以不用填写CPU数量。- 创建的目标项目空间的CPU数量要小于工作空间中剩余CPU数量(工作空间购买的总CPU数量减去其他项目空间已分配CPU数量),否则会报错。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ 'MemoryGB' => ['description' => '内存大小。(单位GB)'."\n"
+ .'> - 在包年包月的工作空间下,内存大小必填,且要为CPU数量的4倍。在按量付费的工作空间下,可以不用填写内存大小。- 创建的目标项目空间的内存大小要小于工作空间中剩余内存数量(工作空间购买的总内存数量减去其他项目空间已分配内存数量),否则会报错。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '40'],
],
'required' => false,
],
- 'Ha' => [
- 'type' => 'boolean',
- 'required' => false,
- 'default' => 'false',
- ],
+ 'Ha' => ['type' => 'boolean', 'required' => false, 'default' => 'false'],
],
'required' => true,
],
@@ -164,21 +93,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功,取值如下:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功,取值如下:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -188,13 +107,8 @@
],
'DeleteNamespace' => [
'summary' => '删除未使用的项目空间。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -202,9 +116,7 @@
],
'operationType' => 'write',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- ],
+ 'systemTags' => ['operationType' => 'delete'],
'parameters' => [
[
'name' => 'DeleteNamespaceRequest',
@@ -214,24 +126,9 @@
'description' => '删除项目空间的请求参数。',
'type' => 'object',
'properties' => [
- 'Region' => [
- 'description' => '工作空间所属的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- 'InstanceId' => [
- 'description' => '工作空间ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sc_flinkserverlesspost_public_cn-0ju2bj2****',
- ],
- 'Namespace' => [
- 'description' => '项目空间名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ns-1',
- ],
+ 'Region' => ['description' => '工作空间所属的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ 'InstanceId' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverlesspost_public_cn-0ju2bj2****'],
+ 'Namespace' => ['description' => '项目空间名称。', 'type' => 'string', 'required' => true, 'example' => 'ns-1'],
],
'required' => true,
],
@@ -242,20 +139,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功,取值如下:'."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功,取值如下:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -266,13 +153,8 @@
],
'ModifyPrepayNamespaceSpec' => [
'summary' => '修改包年包月实例下项目空间的规格。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -283,10 +165,7 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '45980',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
@@ -297,43 +176,16 @@
'description' => '包年包月工作空间规格的修改详情。',
'type' => 'object',
'properties' => [
- 'Region' => [
- 'description' => '工作空间所属的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- 'InstanceId' => [
- 'description' => '工作空间ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sc_flinkserverlesspost_public_cn-0ju2bj2****',
- ],
- 'Namespace' => [
- 'description' => '项目空间名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ns-1',
- ],
+ 'Region' => ['description' => '工作空间所属的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ 'InstanceId' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverlesspost_public_cn-0ju2bj2****'],
+ 'Namespace' => ['description' => '项目空间名称。', 'type' => 'string', 'required' => true, 'example' => 'ns-1'],
'ResourceSpec' => [
'description' => '资源规格。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。'."\n"
- .'> 内存大小必须为CPU数量的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '40',
- ],
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ 'MemoryGB' => ['description' => '内存大小。'."\n"
+ .'> 内存大小必须为CPU数量的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '40'],
],
'required' => true,
],
@@ -348,28 +200,16 @@
'description' => '对象详情。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功,取值如下:'."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功,取值如下:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'staticInfo' => [
- 'substitutions' => [
- 'foasconsole::2019-06-01::ModifyNamespaceSpec',
- ],
+ 'substitutions' => ['foasconsole::2019-06-01::ModifyNamespaceSpec'],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ModifyPrepayNamespaceSpecResponse>\\n <RequestId>67F33190-946B-1105-B6A1-E2DF0426DD51</RequestId>\\n <Success>true</Success>\\n</ModifyPrepayNamespaceSpecResponse>","errorExample":""}]',
'title' => '修改项目空间规格',
@@ -377,13 +217,8 @@
],
'DescribeNamespaces' => [
'summary' => '您可以调用DescribeNamespaces查询某实例下的项目空间信息。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -396,10 +231,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '45983',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
@@ -410,45 +242,13 @@
'description' => '查询项目空间信息的请求参数。',
'type' => 'object',
'properties' => [
- 'Region' => [
- 'title' => 'regionId',
- 'description' => '工作空间所属的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- 'InstanceId' => [
- 'title' => '实例id',
- 'description' => '工作空间ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '223493C7-FCA9-13D4-B75B-AF8B32F4****',
- ],
- 'Namespace' => [
- 'title' => '命名空间名称',
- 'description' => '项目空间名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ns-1',
- ],
- 'PageIndex' => [
- 'title' => '当前页数',
- 'description' => '工作空间状态列表的页码。'."\n"
- .'起始值为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'PageSize' => [
- 'title' => '每页大小',
- 'description' => '分页查询时设置的每页行数。 '."\n"
- .'最大值为100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'Region' => ['title' => 'regionId', 'description' => '工作空间所属的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ 'InstanceId' => ['title' => '实例id', 'description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'example' => '223493C7-FCA9-13D4-B75B-AF8B32F4****'],
+ 'Namespace' => ['title' => '命名空间名称', 'description' => '项目空间名称。', 'type' => 'string', 'required' => false, 'example' => 'ns-1'],
+ 'PageIndex' => ['title' => '当前页数', 'description' => '工作空间状态列表的页码。'."\n"
+ .'起始值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'PageSize' => ['title' => '每页大小', 'description' => '分页查询时设置的每页行数。 '."\n"
+ .'最大值为100。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
'Tags' => [
'description' => '实例标签。',
'type' => 'array',
@@ -456,27 +256,14 @@
'description' => '项目空间标签。',
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => 'Key值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'flink',
- ],
- 'Value' => [
- 'description' => 'Value值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'Key' => ['description' => 'Key值。', 'type' => 'string', 'required' => false, 'example' => 'flink'],
+ 'Value' => ['description' => 'Value值。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
'required' => false,
],
'required' => false,
],
- 'Ha' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'Ha' => ['type' => 'boolean', 'required' => false],
],
'required' => true,
],
@@ -487,45 +274,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功,取值如下:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'TotalCount' => [
- 'description' => '所查询到的项目空间总个数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15',
- ],
- 'TotalPage' => [
- 'description' => '查询到的项目空间总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'PageIndex' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '输入时设置的每页行数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功,取值如下:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'TotalCount' => ['description' => '所查询到的项目空间总个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '15'],
+ 'TotalPage' => ['description' => '查询到的项目空间总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'PageIndex' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '输入时设置的每页行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
'Namespaces' => [
'description' => '项目空间的信息数组。',
'type' => 'array',
@@ -533,73 +290,30 @@
'description' => '项目空间的信息。',
'type' => 'object',
'properties' => [
- 'Namespace' => [
- 'description' => '项目空间的名称。',
- 'type' => 'string',
- 'example' => 'ns-1',
- ],
- 'Status' => [
- 'description' => '项目空间的状态,取值如下:'."\n"
- .'- CREATING:正在创建。'."\n"
- .'- DELETING:正在删除。'."\n"
- .'- MODIFYING:正在修改资源规格。'."\n"
- .'- SUCCESS:上一个操作执行成功。'."\n"
- .'- FAILED:上一个操作执行失败。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'GmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1629879567394',
- ],
- 'GmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1629879567394',
- ],
+ 'Namespace' => ['description' => '项目空间的名称。', 'type' => 'string', 'example' => 'ns-1'],
+ 'Status' => ['description' => '项目空间的状态,取值如下:'."\n"
+ .'- CREATING:正在创建。'."\n"
+ .'- DELETING:正在删除。'."\n"
+ .'- MODIFYING:正在修改资源规格。'."\n"
+ .'- SUCCESS:上一个操作执行成功。'."\n"
+ .'- FAILED:上一个操作执行失败。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'GmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1629879567394'],
+ 'GmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1629879567394'],
'ResourceSpec' => [
'description' => '资源规格。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '设置的内存数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '40',
- ],
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'MemoryGB' => ['description' => '设置的内存数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '40'],
],
],
'ResourceUsed' => [
'description' => '已使用的资源。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => '已使用的CPU数量。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '2.5',
- ],
- 'MemoryGB' => [
- 'description' => '已使用的内存数量。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '6.6',
- ],
- 'Cu' => [
- 'description' => '已经使用的CU用量。计算公式为MAX(CPU, MemoryGB/4)。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '1.6',
- ],
+ 'Cpu' => ['description' => '已使用的CPU数量。', 'type' => 'number', 'format' => 'float', 'example' => '2.5'],
+ 'MemoryGB' => ['description' => '已使用的内存数量。', 'type' => 'number', 'format' => 'float', 'example' => '6.6'],
+ 'Cu' => ['description' => '已经使用的CU用量。计算公式为MAX(CPU, MemoryGB/4)。', 'type' => 'number', 'format' => 'float', 'example' => '1.6'],
],
],
'Tags' => [
@@ -609,24 +323,12 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'title' => '标签键',
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'flink',
- ],
- 'Value' => [
- 'title' => '标签值',
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'test',
- ],
+ 'Key' => ['title' => '标签键', 'description' => '标签键。', 'type' => 'string', 'example' => 'flink'],
+ 'Value' => ['title' => '标签值', 'description' => '标签值。', 'type' => 'string', 'example' => 'test'],
],
],
],
- 'Ha' => [
- 'type' => 'boolean',
- ],
+ 'Ha' => ['type' => 'boolean'],
],
],
],
@@ -639,13 +341,8 @@
],
'CreateInstance' => [
'summary' => '创建一个包年包月或者按量付费flink全托管实例。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -658,10 +355,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '44259',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
@@ -672,12 +366,7 @@
'description' => '创建工作空间所需的请求参数。',
'type' => 'object',
'properties' => [
- 'InstanceName' => [
- 'description' => '工作空间名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vvp1',
- ],
+ 'InstanceName' => ['description' => '工作空间名称。', 'type' => 'string', 'required' => true, 'example' => 'vvp1'],
'ChargeType' => [
'description' => '付费类型,取值如下:'."\n"
."\n"
@@ -686,38 +375,15 @@
'type' => 'string',
'required' => true,
'example' => 'PRE',
- 'enum' => [
- 'PRE',
- 'POST',
- ],
- ],
- 'Region' => [
- 'description' => '工作空间所属的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- 'ZoneId' => [
- 'description' => '工作空间所属的可用区ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing-g',
- ],
- 'VpcId' => [
- 'description' => 'VPC ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vpc-2ze9*******nxfmfcdi',
+ 'enum' => ['PRE', 'POST'],
],
+ 'Region' => ['description' => '工作空间所属的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ 'ZoneId' => ['description' => '工作空间所属的可用区ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing-g'],
+ 'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'required' => true, 'example' => 'vpc-2ze9*******nxfmfcdi'],
'VSwitchIds' => [
'description' => '虚拟交换机ID。',
'type' => 'array',
- 'items' => [
- 'description' => '虚拟交换机ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vsw-xzes****bkmuirxxpoxxv',
- ],
+ 'items' => ['description' => '虚拟交换机ID。', 'type' => 'string', 'required' => true, 'example' => 'vsw-xzes****bkmuirxxpoxxv'],
'required' => true,
],
'ResourceSpec' => [
@@ -725,22 +391,10 @@
.'> 当ChargeType配置为PRE时,资源规格参数必填。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。单位为GB。'."\n"
- ."\n"
- .'> 内存数量必须为CPU数量的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '40',
- ],
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ 'MemoryGB' => ['description' => '内存大小。单位为GB。'."\n"
+ ."\n"
+ .'> 内存数量必须为CPU数量的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '40'],
],
'required' => false,
],
@@ -750,29 +404,13 @@
'required' => false,
'example' => 'Month',
'default' => 'Month',
- 'enum' => [
- 'Year',
- 'Month',
- 'Day',
- 'Hour',
- ],
- ],
- 'Duration' => [
- 'description' => '订购周期数量。'."\n"
- .'> 当ChargeType配置为PRE时,Duration参数必填。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'AutoRenew' => [
- 'description' => '付费类型为包年包月时,取值如下:'."\n"
- .'- true:自动续费。'."\n"
- .'- false:手动续费。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
+ 'enum' => ['Year', 'Month', 'Day', 'Hour'],
],
+ 'Duration' => ['description' => '订购周期数量。'."\n"
+ .'> 当ChargeType配置为PRE时,Duration参数必填。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'AutoRenew' => ['description' => '付费类型为包年包月时,取值如下:'."\n"
+ .'- true:自动续费。'."\n"
+ .'- false:手动续费。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
'Storage' => [
'description' => '存储参数。',
'type' => 'object',
@@ -781,92 +419,41 @@
'description' => 'OSS存储。',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'OSS的Bucket名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'oss_flink',
- ],
+ 'Bucket' => ['description' => 'OSS的Bucket名称。', 'type' => 'string', 'required' => true, 'example' => 'oss_flink'],
],
'required' => true,
],
],
'required' => true,
],
- 'UsePromotionCode' => [
- 'title' => '是否使用优惠券',
- 'description' => '是否使用优惠券。取值如下:'."\n"
- ."\n"
- .'- true:使用。'."\n"
- .'- false:不使用。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- 'PromotionCode' => [
- 'title' => '优惠券code',
- 'description' => '优惠码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '5RT******',
- ],
- 'ResourceGroupId' => [
- 'description' => '新购实例属于的资源组。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-******',
- ],
- 'Extra' => [
- 'description' => '扩展字段,不用填写',
- 'type' => 'string',
- 'required' => false,
- 'example' => '*',
- ],
+ 'UsePromotionCode' => ['title' => '是否使用优惠券', 'description' => '是否使用优惠券。取值如下:'."\n"
+ ."\n"
+ .'- true:使用。'."\n"
+ .'- false:不使用。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'PromotionCode' => ['title' => '优惠券code', 'description' => '优惠码。', 'type' => 'string', 'required' => false, 'example' => '5RT******'],
+ 'ResourceGroupId' => ['description' => '新购实例属于的资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-******'],
+ 'Extra' => ['description' => '扩展字段,不用填写', 'type' => 'string', 'required' => false, 'example' => '*'],
'ArchitectureType' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'X86',
- 'ARM',
- ],
- ],
- 'Ha' => [
- 'type' => 'boolean',
- 'required' => false,
- 'default' => 'false',
- ],
- 'HaZoneId' => [
- 'type' => 'string',
- 'required' => false,
+ 'enum' => ['X86', 'ARM'],
],
+ 'Ha' => ['type' => 'boolean', 'required' => false, 'default' => 'false'],
+ 'HaZoneId' => ['type' => 'string', 'required' => false],
'HaVSwitchIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'required' => false,
],
'HaResourceSpec' => [
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'MemoryGB' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
'required' => false,
],
- 'MonitorType' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'MonitorType' => ['type' => 'string', 'required' => false],
],
'required' => true,
],
@@ -879,39 +466,18 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功,取值如下:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功,取值如下:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
'OrderInfo' => [
'title' => '订单信息',
'description' => '订单信息。',
'type' => 'object',
'properties' => [
- 'OrderId' => [
- 'title' => '订单id',
- 'description' => '订单ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '210406354694567',
- ],
- 'InstanceId' => [
- 'title' => '实例id',
- 'description' => '工作空间ID。',
- 'type' => 'string',
- 'example' => '8D2D5BBF-C302-1A21-80E1-27799802****',
- ],
+ 'OrderId' => ['title' => '订单id', 'description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '210406354694567'],
+ 'InstanceId' => ['title' => '实例id', 'description' => '工作空间ID。', 'type' => 'string', 'example' => '8D2D5BBF-C302-1A21-80E1-27799802****'],
],
],
],
@@ -924,13 +490,8 @@
],
'RenewInstance' => [
'summary' => '续费一个包年包月flink全托管实例。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -941,10 +502,7 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '44666',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
@@ -955,40 +513,16 @@
'description' => '续费所需的请求参数。',
'type' => 'object',
'properties' => [
- 'Region' => [
- 'title' => '地域id',
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- 'InstanceId' => [
- 'title' => '实例id',
- 'description' => '工作空间ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sc_flinkserverless_public_cn-7e22ae5****',
- ],
- 'Duration' => [
- 'title' => '订购周期数量',
- 'description' => '订购周期数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'Region' => ['title' => '地域id', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ 'InstanceId' => ['title' => '实例id', 'description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverless_public_cn-7e22ae5****'],
+ 'Duration' => ['title' => '订购周期数量', 'description' => '订购周期数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
'PricingCycle' => [
'title' => '订购周期',
'description' => '订购周期,仅支持按月(Month)订购。',
'type' => 'string',
'required' => true,
'example' => 'Month',
- 'enum' => [
- 'Year',
- 'Month',
- 'Day',
- 'Hour',
- ],
+ 'enum' => ['Year', 'Month', 'Day', 'Hour'],
],
],
'required' => true,
@@ -1000,27 +534,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'OrderId' => [
- 'title' => 'orderId',
- 'description' => '订单ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '210406354690749',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功,取值如下:'."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'OrderId' => ['title' => 'orderId', 'description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '210406354690749'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功,取值如下:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -1031,13 +549,8 @@
],
'DeleteInstance' => [
'summary' => '删除未使用的按量付费的flink全托管实例。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1050,10 +563,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '44626',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
@@ -1064,18 +574,8 @@
'description' => '释放工作空间的请求参数。',
'type' => 'object',
'properties' => [
- 'Region' => [
- 'description' => '工作空间所属的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- 'InstanceId' => [
- 'description' => '工作空间ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '223493C7-FCA9-13D4-B75B-AF8B32F4****',
- ],
+ 'Region' => ['description' => '工作空间所属的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ 'InstanceId' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'example' => '223493C7-FCA9-13D4-B75B-AF8B32F4****'],
],
'required' => true,
],
@@ -1086,20 +586,10 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功。取值如下:'."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功。取值如下:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -1110,13 +600,8 @@
],
'ModifyPrepayInstanceSpec' => [
'summary' => '修改包年包月的flink全托管实例规格。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1127,10 +612,7 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '44639',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
@@ -1141,71 +623,31 @@
'description' => '修改包年包月工作空间规格的请求参数。',
'type' => 'object',
'properties' => [
- 'Region' => [
- 'description' => '工作空间所属的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- 'InstanceId' => [
- 'description' => '工作空间ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sc_flinkserverlesspost_public_cn-0ju2bj2i104',
- ],
+ 'Region' => ['description' => '工作空间所属的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ 'InstanceId' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverlesspost_public_cn-0ju2bj2i104'],
'ResourceSpec' => [
'description' => '资源规格。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。'."\n"
- ."\n"
- .'>内存大小必须为CPU数量的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '40',
- ],
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ 'MemoryGB' => ['description' => '内存大小。'."\n"
+ ."\n"
+ .'>内存大小必须为CPU数量的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '40'],
],
'required' => true,
],
- 'Ha' => [
- 'type' => 'boolean',
- 'required' => false,
- 'default' => 'false',
- ],
- 'HaZoneId' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Ha' => ['type' => 'boolean', 'required' => false, 'default' => 'false'],
+ 'HaZoneId' => ['type' => 'string', 'required' => false],
'HaVSwitchIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'required' => false,
],
'HaResourceSpec' => [
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'MemoryGB' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
'required' => false,
],
@@ -1221,35 +663,17 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'OrderId' => [
- 'title' => '订单id',
- 'description' => '订单ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '210406354690749',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功,取值如下:'."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'OrderId' => ['title' => '订单id', 'description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '210406354690749'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功,取值如下:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
'staticInfo' => [
- 'substitutions' => [
- 'foasconsole::2019-06-01::ModifyInstanceSpec',
- ],
+ 'substitutions' => ['foasconsole::2019-06-01::ModifyInstanceSpec'],
],
'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"OrderId\\": 210406354690749,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<ModifyPrepayInstanceSpecResponse>\\n <RequestId>67F33190-946B-1105-B6A1-E2DF0426DD51</RequestId>\\n <OrderId>210406354690749</OrderId>\\n <Success>true</Success>\\n</ModifyPrepayInstanceSpecResponse>","errorExample":""}]',
'title' => '修改flink全托管实例规格',
@@ -1257,13 +681,8 @@
],
'ConvertInstance' => [
'summary' => '您可以将按量付费的实例转换为包年包月的实例。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1274,10 +693,7 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '90948',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
@@ -1288,18 +704,8 @@
'description' => '转换付费类型的请求参数。',
'type' => 'object',
'properties' => [
- 'Region' => [
- 'description' => '工作空间所属的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- 'InstanceId' => [
- 'description' => '工作空间ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sc_flinkserverlesspost_public_cn-*******',
- ],
+ 'Region' => ['description' => '工作空间所属的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ 'InstanceId' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverlesspost_public_cn-*******'],
'PricingCycle' => [
'title' => '订购周期',
'description' => '订购周期,仅支持按月(Month)订购。',
@@ -1307,31 +713,13 @@
'required' => true,
'example' => 'Month',
'default' => 'Month',
- 'enum' => [
- 'Year',
- 'Month',
- 'Day',
- 'Hour',
- ],
- ],
- 'Duration' => [
- 'title' => '订购周期数量',
- 'description' => '订购周期数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- 'IsAutoRenew' => [
- 'title' => '是否自动续费',
- 'description' => '是否自动续费。取值如下:'."\n"
- ."\n"
- .'- true:自动续费。'."\n"
- .'- false:手动续费。',
- 'type' => 'boolean',
- 'required' => true,
- 'example' => 'true',
+ 'enum' => ['Year', 'Month', 'Day', 'Hour'],
],
+ 'Duration' => ['title' => '订购周期数量', 'description' => '订购周期数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ 'IsAutoRenew' => ['title' => '是否自动续费', 'description' => '是否自动续费。取值如下:'."\n"
+ ."\n"
+ .'- true:自动续费。'."\n"
+ .'- false:手动续费。', 'type' => 'boolean', 'required' => true, 'example' => 'true'],
'NamespaceResourceSpecs' => [
'title' => '项目空间资源规格。',
'description' => '项目空间资源规格。',
@@ -1339,34 +727,14 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Namespace' => [
- 'title' => 'namespace名称,',
- 'description' => '项目空间名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ns-1',
- ],
+ 'Namespace' => ['title' => 'namespace名称,', 'description' => '项目空间名称。', 'type' => 'string', 'required' => true, 'example' => 'ns-1'],
'ResourceSpec' => [
'title' => '资源规格。',
'description' => '资源规格。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'title' => 'cpu数量。',
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- 'MemoryGB' => [
- 'title' => '内存大小。',
- 'description' => '内存大小,单位为GB。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '4',
- ],
+ 'Cpu' => ['title' => 'cpu数量。', 'description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ 'MemoryGB' => ['title' => '内存大小。', 'description' => '内存大小,单位为GB。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '4'],
],
'required' => true,
],
@@ -1387,28 +755,12 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否转换成功,取值如下:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'OrderId' => [
- 'title' => '订单id',
- 'description' => '订单ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '211473228320700',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否转换成功,取值如下:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'OrderId' => ['title' => '订单id', 'description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '211473228320700'],
],
],
],
@@ -1418,13 +770,8 @@
],
'DescribeInstances' => [
'summary' => '查询一个或多个flink全托管实例的详细信息。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1437,10 +784,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '44648',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
@@ -1451,34 +795,12 @@
'description' => '查询工作空间详细信息的请求参数。',
'type' => 'object',
'properties' => [
- 'PageIndex' => [
- 'description' => '工作空间状态列表的页码。'."\n"
- .'起始值为1。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页查询时设置的每页行数。'."\n"
- .'最大值为100。'."\n",
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
- 'InstanceId' => [
- 'description' => '工作空间ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '223493C7-FCA9-13D4-B75B-AF8B32F4****',
- ],
- 'Region' => [
- 'description' => '工作空间所属的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'PageIndex' => ['description' => '工作空间状态列表的页码。'."\n"
+ .'起始值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'PageSize' => ['description' => '分页查询时设置的每页行数。'."\n"
+ .'最大值为100。'."\n", 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
+ 'InstanceId' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => false, 'example' => '223493C7-FCA9-13D4-B75B-AF8B32F4****'],
+ 'Region' => ['description' => '工作空间所属的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
'ChargeType' => [
'title' => '付款类型',
'description' => '付费类型,取值如下:'."\n"
@@ -1487,10 +809,7 @@
'type' => 'string',
'required' => false,
'example' => 'PRE',
- 'enum' => [
- 'PRE',
- 'POST',
- ],
+ 'enum' => ['PRE', 'POST'],
],
'Tags' => [
'description' => '工作空间标签。',
@@ -1498,36 +817,18 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'flink',
- ],
- 'Value' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'flink'],
+ 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
'required' => false,
],
'required' => false,
],
- 'ResourceGroupId' => [
- 'description' => '指定实例所在资源组。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-***',
- ],
+ 'ResourceGroupId' => ['description' => '指定实例所在资源组。', 'type' => 'string', 'required' => false, 'example' => 'rg-***'],
'ArchitectureType' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'X86',
- 'ARM',
- ],
+ 'enum' => ['X86', 'ARM'],
],
],
'required' => true,
@@ -1539,121 +840,42 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '查询到的工作空间总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15',
- ],
- 'TotalPage' => [
- 'description' => '查询到的工作空间总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'PageIndex' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '设置的每页行数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'description' => '是否成功,取值如下:'."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'TotalCount' => ['description' => '查询到的工作空间总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '15'],
+ 'TotalPage' => ['description' => '查询到的工作空间总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'PageIndex' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '设置的每页行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['description' => '是否成功,取值如下:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
'Instances' => [
'description' => '返回工作空间的信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ResourceCreateTime' => [
- 'description' => '工作空间的创建时间,单位为毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1629879567394',
- ],
- 'ResourceExpiredTime' => [
- 'title' => '超期时间',
- 'description' => '超期时间,单位为毫秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1637337600000',
- ],
- 'Region' => [
- 'description' => '工作空间所属的地域ID。',
- 'type' => 'string',
- 'example' => 'cn-beijing',
- ],
- 'ZoneId' => [
- 'description' => '工作空间所属的可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-beijing-g',
- ],
- 'VpcId' => [
- 'description' => '用户的VPC ID。',
- 'type' => 'string',
- 'example' => 'vpc-2ze9*******nxfmfcdi',
- ],
+ 'ResourceCreateTime' => ['description' => '工作空间的创建时间,单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1629879567394'],
+ 'ResourceExpiredTime' => ['title' => '超期时间', 'description' => '超期时间,单位为毫秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1637337600000'],
+ 'Region' => ['description' => '工作空间所属的地域ID。', 'type' => 'string', 'example' => 'cn-beijing'],
+ 'ZoneId' => ['description' => '工作空间所属的可用区ID。', 'type' => 'string', 'example' => 'cn-beijing-g'],
+ 'VpcId' => ['description' => '用户的VPC ID。', 'type' => 'string', 'example' => 'vpc-2ze9*******nxfmfcdi'],
'VSwitchIds' => [
'description' => '虚拟交换机ID数组。',
'type' => 'array',
- 'items' => [
- 'description' => '虚拟交换机ID。',
- 'type' => 'string',
- 'example' => 'vsw-2ze6yqnc19*****psjj0j',
- ],
- ],
- 'InstanceId' => [
- 'description' => '工作空间ID。',
- 'type' => 'string',
- 'example' => 'sc_flinkserverlesspost_public_cn-0ju2bj2****',
- ],
- 'ChargeType' => [
- 'description' => '付费类型,取值如下:'."\n"
- .'- POST:按量付费'."\n"
- .'- PRE:包年包月',
- 'type' => 'string',
- 'example' => 'PRE',
- ],
- 'InstanceName' => [
- 'description' => '工作空间名称。',
- 'type' => 'string',
- 'example' => 'vvp1',
- ],
- 'Uid' => [
- 'description' => '工作空间所属用户ID。',
- 'type' => 'string',
- 'example' => '183899668736****',
- ],
- 'OrderState' => [
- 'description' => '订单状态,取值如下:'."\n"
- .'- NOT_INIT:下单还未部署组件。'."\n"
- .'- NORMAL:正常状态。'."\n"
- .'- CEASE:过期状态。'."\n"
- .'- RELEASE:超期状态。',
- 'type' => 'string',
- 'example' => 'NORMAL',
- ],
- 'ResourceId' => [
- 'description' => 'K8s集群ID。',
- 'type' => 'string',
- 'example' => 'b3690a1655da47',
- ],
+ 'items' => ['description' => '虚拟交换机ID。', 'type' => 'string', 'example' => 'vsw-2ze6yqnc19*****psjj0j'],
+ ],
+ 'InstanceId' => ['description' => '工作空间ID。', 'type' => 'string', 'example' => 'sc_flinkserverlesspost_public_cn-0ju2bj2****'],
+ 'ChargeType' => ['description' => '付费类型,取值如下:'."\n"
+ .'- POST:按量付费'."\n"
+ .'- PRE:包年包月', 'type' => 'string', 'example' => 'PRE'],
+ 'InstanceName' => ['description' => '工作空间名称。', 'type' => 'string', 'example' => 'vvp1'],
+ 'Uid' => ['description' => '工作空间所属用户ID。', 'type' => 'string', 'example' => '183899668736****'],
+ 'OrderState' => ['description' => '订单状态,取值如下:'."\n"
+ .'- NOT_INIT:下单还未部署组件。'."\n"
+ .'- NORMAL:正常状态。'."\n"
+ .'- CEASE:过期状态。'."\n"
+ .'- RELEASE:超期状态。', 'type' => 'string', 'example' => 'NORMAL'],
+ 'ResourceId' => ['description' => 'K8s集群ID。', 'type' => 'string', 'example' => 'b3690a1655da47'],
'Storage' => [
'description' => '存储信息。',
'type' => 'object',
@@ -1662,11 +884,7 @@
'description' => 'OSS存储信息。',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'OSS的Bucket名称。',
- 'type' => 'string',
- 'example' => 'oss_flink',
- ],
+ 'Bucket' => ['description' => 'OSS的Bucket名称。', 'type' => 'string', 'example' => 'oss_flink'],
],
],
],
@@ -1675,30 +893,16 @@
'description' => '资源规格。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => '设置的CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '设置的内存的大小,单位为GB。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '40',
- ],
+ 'Cpu' => ['description' => '设置的CPU数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'MemoryGB' => ['description' => '设置的内存的大小,单位为GB。', 'type' => 'integer', 'format' => 'int32', 'example' => '40'],
],
],
- 'ClusterStatus' => [
- 'description' => '集群状态,取值如下:'."\n"
- .'- CREATING:创建中。'."\n"
- .'- RUNNING:运行中。'."\n"
- .'- DISABLE:无效。'."\n"
- .'- DELETING:删除中。'."\n"
- .'- DELETED:已删除。',
- 'type' => 'string',
- 'example' => 'RUNNING',
- ],
+ 'ClusterStatus' => ['description' => '集群状态,取值如下:'."\n"
+ .'- CREATING:创建中。'."\n"
+ .'- RUNNING:运行中。'."\n"
+ .'- DISABLE:无效。'."\n"
+ .'- DELETING:删除中。'."\n"
+ .'- DELETED:已删除。', 'type' => 'string', 'example' => 'RUNNING'],
'Tags' => [
'title' => '资源列表',
'description' => '资源列表。',
@@ -1706,82 +910,43 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'title' => '标签键',
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'flink',
- ],
- 'Value' => [
- 'title' => '标签值',
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'test',
- ],
+ 'Key' => ['title' => '标签键', 'description' => '标签键。', 'type' => 'string', 'example' => 'flink'],
+ 'Value' => ['title' => '标签值', 'description' => '标签值。', 'type' => 'string', 'example' => 'test'],
],
],
],
- 'AskClusterId' => [
- 'description' => '集群id。',
- 'type' => 'string',
- 'example' => 'c20c******404',
- ],
- 'ResourceGroupId' => [
- 'description' => '资源组。',
- 'type' => 'string',
- 'example' => 'rg-***',
- ],
+ 'AskClusterId' => ['description' => '集群id。', 'type' => 'string', 'example' => 'c20c******404'],
+ 'ResourceGroupId' => ['description' => '资源组。', 'type' => 'string', 'example' => 'rg-***'],
'HostAliases' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Ip' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Ip' => ['type' => 'string', 'required' => true],
'HostNames' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
],
],
],
'required' => true,
],
- 'ArchitectureType' => [
- 'type' => 'string',
- ],
- 'Ha' => [
- 'type' => 'boolean',
- ],
- 'HaZoneId' => [
- 'type' => 'string',
- ],
+ 'ArchitectureType' => ['type' => 'string'],
+ 'Ha' => ['type' => 'boolean'],
+ 'HaZoneId' => ['type' => 'string'],
'HaVSwitchIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
'HaResourceSpec' => [
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'MemoryGB' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'Cpu' => ['type' => 'integer', 'format' => 'int32'],
+ 'MemoryGB' => ['type' => 'integer', 'format' => 'int32'],
],
],
- 'MonitorType' => [
- 'type' => 'string',
- ],
+ 'MonitorType' => ['type' => 'string'],
],
],
],
@@ -1794,13 +959,8 @@
],
'QueryCreateInstancePrice' => [
'summary' => '您可以查询创建实例的价格信息。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1813,9 +973,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '86969',
- 'abilityTreeNodes' => [
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscTKD5I3'],
],
'parameters' => [
[
@@ -1826,12 +984,7 @@
'description' => '创建工作空间所需的请求参数。',
'type' => 'object',
'properties' => [
- 'InstanceName' => [
- 'description' => '工作空间名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vvp1',
- ],
+ 'InstanceName' => ['description' => '工作空间名称。', 'type' => 'string', 'required' => false, 'example' => 'vvp1'],
'ChargeType' => [
'description' => '付费类型,取值如下:'."\n"
.'- POST:按量付费。'."\n"
@@ -1839,38 +992,15 @@
'type' => 'string',
'required' => true,
'example' => 'PRE',
- 'enum' => [
- 'PRE',
- 'POST',
- ],
- ],
- 'Region' => [
- 'description' => '工作空间所属的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- 'ZoneId' => [
- 'description' => '工作空间所属的可用区ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-beijing-g',
- ],
- 'VpcId' => [
- 'description' => 'VPC ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vpc-2ze9*******nxfmfcdi',
+ 'enum' => ['PRE', 'POST'],
],
+ 'Region' => ['description' => '工作空间所属的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ 'ZoneId' => ['description' => '工作空间所属的可用区ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing-g'],
+ 'VpcId' => ['description' => 'VPC ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-2ze9*******nxfmfcdi'],
'VSwitchIds' => [
'description' => '虚拟交换机。',
'type' => 'array',
- 'items' => [
- 'description' => '虚拟交换机ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vsw-xzesxxxpbkmuirxxpoxxv',
- ],
+ 'items' => ['description' => '虚拟交换机ID。', 'type' => 'string', 'required' => false, 'example' => 'vsw-xzesxxxpbkmuirxxpoxxv'],
'required' => false,
],
'ResourceSpec' => [
@@ -1879,22 +1009,10 @@
.'> 当ChargeType配置为PRE时,资源规格参数必填。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。单位为GB。'."\n"
- ."\n"
- .'> 内存大小必须为CPU数量的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '40',
- ],
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ 'MemoryGB' => ['description' => '内存大小。单位为GB。'."\n"
+ ."\n"
+ .'> 内存大小必须为CPU数量的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '40'],
],
'required' => false,
],
@@ -1904,30 +1022,14 @@
'required' => false,
'example' => 'Month',
'default' => 'Month',
- 'enum' => [
- 'Year',
- 'Month',
- 'Day',
- 'Hour',
- ],
- ],
- 'Duration' => [
- 'description' => '订购周期数量。'."\n"
- ."\n"
- .'> 当ChargeType配置为PRE时,Duration参数必填。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'AutoRenew' => [
- 'description' => '付费类型为包年包月时,取值如下:'."\n"
- .'- true:自动续费。'."\n"
- .'- false:手动续费。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'enum' => ['Year', 'Month', 'Day', 'Hour'],
+ ],
+ 'Duration' => ['description' => '订购周期数量。'."\n"
+ ."\n"
+ .'> 当ChargeType配置为PRE时,Duration参数必填。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'AutoRenew' => ['description' => '付费类型为包年包月时,取值如下:'."\n"
+ .'- true:自动续费。'."\n"
+ .'- false:手动续费。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
'Storage' => [
'description' => '存储参数。',
'type' => 'object',
@@ -1936,65 +1038,29 @@
'description' => 'OSS存储。',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'OSS的Bucket名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oss_flink',
- ],
+ 'Bucket' => ['description' => 'OSS的Bucket名称。', 'type' => 'string', 'required' => false, 'example' => 'oss_flink'],
],
'required' => false,
],
],
'required' => false,
],
- 'UsePromotionCode' => [
- 'title' => '是否使用优惠券',
- 'description' => '是否使用优惠券。取值如下:'."\n"
- .'- true:使用。'."\n"
- .'- false:不使用。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- 'PromotionCode' => [
- 'title' => '优惠券code',
- 'description' => '优惠码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '5ef***',
- ],
- 'Extra' => [
- 'title' => '优惠券code',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'UsePromotionCode' => ['title' => '是否使用优惠券', 'description' => '是否使用优惠券。取值如下:'."\n"
+ .'- true:使用。'."\n"
+ .'- false:不使用。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'PromotionCode' => ['title' => '优惠券code', 'description' => '优惠码。', 'type' => 'string', 'required' => false, 'example' => '5ef***'],
+ 'Extra' => ['title' => '优惠券code', 'type' => 'string', 'required' => false],
'ArchitectureType' => [
'type' => 'string',
'required' => false,
- 'enum' => [
- 'X86',
- 'ARM',
- ],
- ],
- 'Ha' => [
- 'type' => 'boolean',
- 'required' => false,
- 'default' => 'false',
+ 'enum' => ['X86', 'ARM'],
],
+ 'Ha' => ['type' => 'boolean', 'required' => false, 'default' => 'false'],
'HaResourceSpec' => [
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'MemoryGB' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
'required' => false,
],
@@ -2010,64 +1076,21 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '查询是否成功。取值如下:'."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '查询是否成功。取值如下:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
'PriceInfo' => [
'title' => '价格信息,包括价格和优惠规则。',
'description' => '价格信息,包括价格和优惠规则。',
'type' => 'object',
'properties' => [
- 'Currency' => [
- 'title' => '货币单位。',
- 'description' => '货币单位。',
- 'type' => 'string',
- 'example' => 'CNY',
- ],
- 'DiscountAmount' => [
- 'title' => '折扣',
- 'description' => '折扣金额。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '655.2',
- ],
- 'OriginalAmount' => [
- 'title' => '原价',
- 'description' => '原价。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '4368',
- ],
- 'TradeAmount' => [
- 'title' => '最终价,为原价减去折扣。',
- 'description' => '最终价格,为原价减去折扣。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '3712.8',
- ],
- 'Code' => [
- 'title' => '错误码',
- 'description' => '错误码。',
- 'type' => 'string',
- 'example' => 'ORDER.INST_HAS_UNPAID_ORDER',
- ],
- 'Message' => [
- 'title' => '错误信息',
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => '存在未支付订单,请先支付或取消原有订单。',
- ],
+ 'Currency' => ['title' => '货币单位。', 'description' => '货币单位。', 'type' => 'string', 'example' => 'CNY'],
+ 'DiscountAmount' => ['title' => '折扣', 'description' => '折扣金额。', 'type' => 'number', 'format' => 'float', 'example' => '655.2'],
+ 'OriginalAmount' => ['title' => '原价', 'description' => '原价。', 'type' => 'number', 'format' => 'float', 'example' => '4368'],
+ 'TradeAmount' => ['title' => '最终价,为原价减去折扣。', 'description' => '最终价格,为原价减去折扣。', 'type' => 'number', 'format' => 'float', 'example' => '3712.8'],
+ 'Code' => ['title' => '错误码', 'description' => '错误码。', 'type' => 'string', 'example' => 'ORDER.INST_HAS_UNPAID_ORDER'],
+ 'Message' => ['title' => '错误信息', 'description' => '错误信息。', 'type' => 'string', 'example' => '存在未支付订单,请先支付或取消原有订单。'],
'OptionalPromotions' => [
'description' => '优惠券信息。',
'type' => 'array',
@@ -2075,31 +1098,12 @@
'description' => '优惠券信息。',
'type' => 'object',
'properties' => [
- 'PromotionDesc' => [
- 'title' => '优惠券描述',
- 'description' => '优惠券描述。',
- 'type' => 'string',
- 'example' => '¥1,391.5优惠券(有效期至03/23/2022)',
- ],
- 'PromotionName' => [
- 'title' => '优惠券名称',
- 'description' => '优惠券信息。',
- 'type' => 'string',
- 'example' => '¥1,391.5优惠券',
- ],
- 'PromotionOptionNo' => [
- 'title' => '优惠券编号',
- 'description' => '优惠券编号。',
- 'type' => 'string',
- 'example' => '50001122001****',
- ],
- 'Selected' => [
- 'description' => '是否选中优惠券。取值如下:'."\n"
- .'- true:选中。'."\n"
- .'- false:未选中。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'PromotionDesc' => ['title' => '优惠券描述', 'description' => '优惠券描述。', 'type' => 'string', 'example' => '¥1,391.5优惠券(有效期至03/23/2022)'],
+ 'PromotionName' => ['title' => '优惠券名称', 'description' => '优惠券信息。', 'type' => 'string', 'example' => '¥1,391.5优惠券'],
+ 'PromotionOptionNo' => ['title' => '优惠券编号', 'description' => '优惠券编号。', 'type' => 'string', 'example' => '50001122001****'],
+ 'Selected' => ['description' => '是否选中优惠券。取值如下:'."\n"
+ .'- true:选中。'."\n"
+ .'- false:未选中。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -2110,80 +1114,28 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Description' => [
- 'title' => '活动规则描述。',
- 'description' => '活动规则描述。',
- 'type' => 'string',
- 'example' => '买满1年,立享官网价格8.5折优惠。',
- ],
- 'RuleId' => [
- 'title' => '活动ID。',
- 'description' => '活动规则ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '102007100514****',
- ],
+ 'Description' => ['title' => '活动规则描述。', 'description' => '活动规则描述。', 'type' => 'string', 'example' => '买满1年,立享官网价格8.5折优惠。'],
+ 'RuleId' => ['title' => '活动ID。', 'description' => '活动规则ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '102007100514****'],
],
],
],
- 'StandPrice' => [
- 'title' => '官网折扣价/直销合同折扣价',
- 'description' => '官网折扣价/直销合同折扣价',
- 'type' => 'string',
- ],
- 'StandDiscountPrice' => [
- 'title' => '基于官网折扣的优惠价格',
- 'description' => '基于官网折扣的优惠价格',
- 'type' => 'string',
- ],
- 'IsContractActivity' => [
- 'title' => '是否命中大客优惠',
- 'description' => '是否命中大客优惠',
- 'type' => 'boolean',
- ],
+ 'StandPrice' => ['title' => '官网折扣价/直销合同折扣价', 'description' => '官网折扣价/直销合同折扣价', 'type' => 'string'],
+ 'StandDiscountPrice' => ['title' => '基于官网折扣的优惠价格', 'description' => '基于官网折扣的优惠价格', 'type' => 'string'],
+ 'IsContractActivity' => ['title' => '是否命中大客优惠', 'description' => '是否命中大客优惠', 'type' => 'boolean'],
'DepreciateInfo' => [
'title' => '降价信息',
'description' => '降价信息',
'type' => 'object',
'properties' => [
- 'OriginalStandAmount' => [
- 'title' => '原始官网价总价',
- 'description' => '原始官网价总价',
- 'type' => 'string',
- ],
- 'CheapStandAmount' => [
- 'title' => '降价后官网价总价',
- 'description' => '降价后官网价总价',
- 'type' => 'string',
- ],
- 'CheapRate' => [
- 'title' => '降价比例',
- 'description' => '降价比例',
- 'type' => 'string',
- ],
- 'MonthPrice' => [
- 'title' => '折合月价',
- 'description' => '折合月价',
- 'type' => 'string',
- ],
- 'StartTime' => [
- 'title' => '降价开始时间',
- 'description' => '降价开始时间',
- 'type' => 'string',
- ],
- 'IsShow' => [
- 'title' => '是否展示降价幅度',
- 'description' => '是否展示降价幅度',
- 'type' => 'boolean',
- ],
+ 'OriginalStandAmount' => ['title' => '原始官网价总价', 'description' => '原始官网价总价', 'type' => 'string'],
+ 'CheapStandAmount' => ['title' => '降价后官网价总价', 'description' => '降价后官网价总价', 'type' => 'string'],
+ 'CheapRate' => ['title' => '降价比例', 'description' => '降价比例', 'type' => 'string'],
+ 'MonthPrice' => ['title' => '折合月价', 'description' => '折合月价', 'type' => 'string'],
+ 'StartTime' => ['title' => '降价开始时间', 'description' => '降价开始时间', 'type' => 'string'],
+ 'IsShow' => ['title' => '是否展示降价幅度', 'description' => '是否展示降价幅度', 'type' => 'boolean'],
],
],
- 'LxRequestId' => [
- 'title' => '调用的凌霄requestId',
- 'description' => '调用的凌霄requestId',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
+ 'LxRequestId' => ['title' => '调用的凌霄requestId', 'description' => '调用的凌霄requestId', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
],
],
],
@@ -2195,13 +1147,8 @@
],
'QueryModifyInstancePrice' => [
'summary' => '您可以查询实例升降配时的价格。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2214,10 +1161,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '88699',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
@@ -2228,71 +1172,31 @@
'description' => '查询工作空间升降配价格的请求信息。',
'type' => 'object',
'properties' => [
- 'Region' => [
- 'description' => '工作空间所属的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- 'InstanceId' => [
- 'description' => '工作空间ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sc_flinkserverless_public_cn-******',
- ],
+ 'Region' => ['description' => '工作空间所属的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ 'InstanceId' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverless_public_cn-******'],
'ResourceSpec' => [
'description' => '资源规格信息。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。单位:GB。'."\n"
- ."\n"
- .'> 内存大小必须为CPU数量大小的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '40',
- ],
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ 'MemoryGB' => ['description' => '内存大小。单位:GB。'."\n"
+ ."\n"
+ .'> 内存大小必须为CPU数量大小的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '40'],
],
'required' => true,
],
- 'Ha' => [
- 'type' => 'boolean',
- 'required' => false,
- 'default' => 'false',
- ],
- 'HaZoneId' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Ha' => ['type' => 'boolean', 'required' => false, 'default' => 'false'],
+ 'HaZoneId' => ['type' => 'string', 'required' => false],
'HaVSwitchIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'required' => false,
],
'HaResourceSpec' => [
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'MemoryGB' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
+ 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
'required' => false,
],
@@ -2308,99 +1212,37 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '查询是否成功。取值如下:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '查询是否成功。取值如下:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
'PriceInfo' => [
'title' => '价格信息,包括价格和优惠规则。',
'description' => '价格信息,包括价格和优惠规则。',
'type' => 'object',
'properties' => [
- 'Currency' => [
- 'title' => '货币单位。',
- 'description' => '货币单位。',
- 'type' => 'string',
- 'example' => 'CNY',
- ],
- 'DiscountAmount' => [
- 'title' => '折扣',
- 'description' => '折扣金额。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '655.2',
- ],
- 'OriginalAmount' => [
- 'title' => '原价',
- 'description' => '原价。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '4368',
- ],
- 'TradeAmount' => [
- 'title' => '最终价,为原价减去折扣。',
- 'description' => '最终价,为原价减去折扣金额。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '3712.8',
- ],
- 'Code' => [
- 'title' => '错误码',
- 'description' => '错误码。',
- 'type' => 'string',
- 'example' => 'ORDER.INST_HAS_UNPAID_ORDER',
- ],
- 'Message' => [
- 'title' => '错误信息',
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => '存在未支付订单,请先支付或取消原有订单。',
- ],
+ 'Currency' => ['title' => '货币单位。', 'description' => '货币单位。', 'type' => 'string', 'example' => 'CNY'],
+ 'DiscountAmount' => ['title' => '折扣', 'description' => '折扣金额。', 'type' => 'number', 'format' => 'float', 'example' => '655.2'],
+ 'OriginalAmount' => ['title' => '原价', 'description' => '原价。', 'type' => 'number', 'format' => 'float', 'example' => '4368'],
+ 'TradeAmount' => ['title' => '最终价,为原价减去折扣。', 'description' => '最终价,为原价减去折扣金额。', 'type' => 'number', 'format' => 'float', 'example' => '3712.8'],
+ 'Code' => ['title' => '错误码', 'description' => '错误码。', 'type' => 'string', 'example' => 'ORDER.INST_HAS_UNPAID_ORDER'],
+ 'Message' => ['title' => '错误信息', 'description' => '错误信息。', 'type' => 'string', 'example' => '存在未支付订单,请先支付或取消原有订单。'],
'OptionalPromotions' => [
'description' => '优惠券信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'PromotionDesc' => [
- 'title' => '优惠券描述',
- 'description' => '优惠券描述。',
- 'type' => 'string',
- 'example' => '¥1,391.5优惠券 (有效期至 03/23/2022)',
- ],
- 'PromotionName' => [
- 'title' => '优惠券名称',
- 'description' => '优惠券名称。',
- 'type' => 'string',
- 'example' => '¥1,391.5优惠券',
- ],
- 'PromotionOptionNo' => [
- 'title' => '优惠券编号',
- 'description' => '优惠券编号。',
- 'type' => 'string',
- 'example' => '500011220010099',
- ],
- 'Selected' => [
- 'description' => '是否选用优惠券。取值如下:'."\n"
- ."\n"
- .'- true:选用。'."\n"
- ."\n"
- .'- false:未选用。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'PromotionDesc' => ['title' => '优惠券描述', 'description' => '优惠券描述。', 'type' => 'string', 'example' => '¥1,391.5优惠券 (有效期至 03/23/2022)'],
+ 'PromotionName' => ['title' => '优惠券名称', 'description' => '优惠券名称。', 'type' => 'string', 'example' => '¥1,391.5优惠券'],
+ 'PromotionOptionNo' => ['title' => '优惠券编号', 'description' => '优惠券编号。', 'type' => 'string', 'example' => '500011220010099'],
+ 'Selected' => ['description' => '是否选用优惠券。取值如下:'."\n"
+ ."\n"
+ .'- true:选用。'."\n"
+ ."\n"
+ .'- false:未选用。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -2411,80 +1253,28 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Description' => [
- 'title' => '活动规则描述。',
- 'description' => '活动规则描述。',
- 'type' => 'string',
- 'example' => '买满1年,立享官网价格8.5折优惠。',
- ],
- 'RuleId' => [
- 'title' => '活动ID。',
- 'description' => '活动ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1020071005141834',
- ],
+ 'Description' => ['title' => '活动规则描述。', 'description' => '活动规则描述。', 'type' => 'string', 'example' => '买满1年,立享官网价格8.5折优惠。'],
+ 'RuleId' => ['title' => '活动ID。', 'description' => '活动ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1020071005141834'],
],
],
],
- 'StandPrice' => [
- 'title' => '官网折扣价/直销合同折扣价',
- 'description' => '官网折扣价/直销合同折扣价',
- 'type' => 'string',
- ],
- 'StandDiscountPrice' => [
- 'title' => '基于官网折扣的优惠价格',
- 'description' => '基于官网折扣的优惠价格',
- 'type' => 'string',
- ],
- 'IsContractActivity' => [
- 'title' => '是否命中大客优惠',
- 'description' => '是否命中大客优惠',
- 'type' => 'boolean',
- ],
+ 'StandPrice' => ['title' => '官网折扣价/直销合同折扣价', 'description' => '官网折扣价/直销合同折扣价', 'type' => 'string'],
+ 'StandDiscountPrice' => ['title' => '基于官网折扣的优惠价格', 'description' => '基于官网折扣的优惠价格', 'type' => 'string'],
+ 'IsContractActivity' => ['title' => '是否命中大客优惠', 'description' => '是否命中大客优惠', 'type' => 'boolean'],
'DepreciateInfo' => [
'title' => '降价信息',
'description' => '降价信息',
'type' => 'object',
'properties' => [
- 'OriginalStandAmount' => [
- 'title' => '原始官网价总价',
- 'description' => '原始官网价总价',
- 'type' => 'string',
- ],
- 'CheapStandAmount' => [
- 'title' => '降价后官网价总价',
- 'description' => '降价后官网价总价',
- 'type' => 'string',
- ],
- 'CheapRate' => [
- 'title' => '降价比例',
- 'description' => '降价比例',
- 'type' => 'string',
- ],
- 'MonthPrice' => [
- 'title' => '折合月价',
- 'description' => '折合月价',
- 'type' => 'string',
- ],
- 'StartTime' => [
- 'title' => '降价开始时间',
- 'description' => '降价开始时间',
- 'type' => 'string',
- ],
- 'IsShow' => [
- 'title' => '是否展示降价幅度',
- 'description' => '是否展示降价幅度',
- 'type' => 'boolean',
- ],
+ 'OriginalStandAmount' => ['title' => '原始官网价总价', 'description' => '原始官网价总价', 'type' => 'string'],
+ 'CheapStandAmount' => ['title' => '降价后官网价总价', 'description' => '降价后官网价总价', 'type' => 'string'],
+ 'CheapRate' => ['title' => '降价比例', 'description' => '降价比例', 'type' => 'string'],
+ 'MonthPrice' => ['title' => '折合月价', 'description' => '折合月价', 'type' => 'string'],
+ 'StartTime' => ['title' => '降价开始时间', 'description' => '降价开始时间', 'type' => 'string'],
+ 'IsShow' => ['title' => '是否展示降价幅度', 'description' => '是否展示降价幅度', 'type' => 'boolean'],
],
],
- 'LxRequestId' => [
- 'title' => '调用的凌霄requestId',
- 'description' => '调用的凌霄requestId',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
+ 'LxRequestId' => ['title' => '调用的凌霄requestId', 'description' => '调用的凌霄requestId', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
],
],
],
@@ -2496,13 +1286,8 @@
],
'QueryRenewInstancePrice' => [
'summary' => '您可以查询续费一个实例的价格。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2515,10 +1300,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '88391',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
@@ -2529,28 +1311,9 @@
'description' => '查询续费工作空间价格的请求信息。',
'type' => 'object',
'properties' => [
- 'Region' => [
- 'title' => '地域id',
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- 'InstanceId' => [
- 'title' => '实例id',
- 'description' => '工作空间ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sc_flinkserverless_public_cn-******',
- ],
- 'Duration' => [
- 'title' => '订购周期数量',
- 'description' => '订购周期数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'Region' => ['title' => '地域id', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ 'InstanceId' => ['title' => '实例id', 'description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverless_public_cn-******'],
+ 'Duration' => ['title' => '订购周期数量', 'description' => '订购周期数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
'PricingCycle' => [
'title' => '订购周期',
'description' => '订购周期。取值支持Month和Year。',
@@ -2558,12 +1321,7 @@
'required' => true,
'example' => 'Month',
'default' => 'Month',
- 'enum' => [
- 'Year',
- 'Month',
- 'Day',
- 'Hour',
- ],
+ 'enum' => ['Year', 'Month', 'Day', 'Hour'],
],
],
'required' => true,
@@ -2577,99 +1335,37 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '查询是否成功。取值如下:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '查询是否成功。取值如下:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
'PriceInfo' => [
'title' => '价格信息,包括价格和优惠规则。',
'description' => '价格信息,包括价格和优惠规则。',
'type' => 'object',
'properties' => [
- 'Currency' => [
- 'title' => '货币单位。',
- 'description' => '货币单位。',
- 'type' => 'string',
- 'example' => 'CNY',
- ],
- 'DiscountAmount' => [
- 'title' => '折扣',
- 'description' => '折扣金额。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '655.2',
- ],
- 'OriginalAmount' => [
- 'title' => '原价',
- 'description' => '原价。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '4368',
- ],
- 'TradeAmount' => [
- 'title' => '最终价,为原价减去折扣。',
- 'description' => '最终价,为原价减去折扣金额。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '3712.8',
- ],
- 'Code' => [
- 'title' => '错误码',
- 'description' => '错误码。',
- 'type' => 'string',
- 'example' => 'ORDER.INST_HAS_UNPAID_ORDER',
- ],
- 'Message' => [
- 'title' => '错误信息',
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => '存在未支付订单,请先支付或取消原有订单。',
- ],
+ 'Currency' => ['title' => '货币单位。', 'description' => '货币单位。', 'type' => 'string', 'example' => 'CNY'],
+ 'DiscountAmount' => ['title' => '折扣', 'description' => '折扣金额。', 'type' => 'number', 'format' => 'float', 'example' => '655.2'],
+ 'OriginalAmount' => ['title' => '原价', 'description' => '原价。', 'type' => 'number', 'format' => 'float', 'example' => '4368'],
+ 'TradeAmount' => ['title' => '最终价,为原价减去折扣。', 'description' => '最终价,为原价减去折扣金额。', 'type' => 'number', 'format' => 'float', 'example' => '3712.8'],
+ 'Code' => ['title' => '错误码', 'description' => '错误码。', 'type' => 'string', 'example' => 'ORDER.INST_HAS_UNPAID_ORDER'],
+ 'Message' => ['title' => '错误信息', 'description' => '错误信息。', 'type' => 'string', 'example' => '存在未支付订单,请先支付或取消原有订单。'],
'OptionalPromotions' => [
'description' => '优惠券信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'PromotionDesc' => [
- 'title' => '优惠券描述',
- 'description' => '优惠券描述。',
- 'type' => 'string',
- 'example' => '¥1,391.5优惠券 (有效期至 03/23/2022)',
- ],
- 'PromotionName' => [
- 'title' => '优惠券名称',
- 'description' => '优惠券名称。',
- 'type' => 'string',
- 'example' => '¥1,391.5优惠券',
- ],
- 'PromotionOptionNo' => [
- 'title' => '优惠券编号',
- 'description' => '优惠券编号。',
- 'type' => 'string',
- 'example' => '500011220010099',
- ],
- 'Selected' => [
- 'description' => '是否选用优惠券。取值如下:'."\n"
- ."\n"
- .'- true:选用。'."\n"
- ."\n"
- .'- false:未选用。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'PromotionDesc' => ['title' => '优惠券描述', 'description' => '优惠券描述。', 'type' => 'string', 'example' => '¥1,391.5优惠券 (有效期至 03/23/2022)'],
+ 'PromotionName' => ['title' => '优惠券名称', 'description' => '优惠券名称。', 'type' => 'string', 'example' => '¥1,391.5优惠券'],
+ 'PromotionOptionNo' => ['title' => '优惠券编号', 'description' => '优惠券编号。', 'type' => 'string', 'example' => '500011220010099'],
+ 'Selected' => ['description' => '是否选用优惠券。取值如下:'."\n"
+ ."\n"
+ .'- true:选用。'."\n"
+ ."\n"
+ .'- false:未选用。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -2680,80 +1376,28 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Description' => [
- 'title' => '活动规则描述。',
- 'description' => '活动规则描述。',
- 'type' => 'string',
- 'example' => '买满1年,立享官网价格8.5折优惠。',
- ],
- 'RuleId' => [
- 'title' => '活动ID。',
- 'description' => '活动ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1020071005141834',
- ],
+ 'Description' => ['title' => '活动规则描述。', 'description' => '活动规则描述。', 'type' => 'string', 'example' => '买满1年,立享官网价格8.5折优惠。'],
+ 'RuleId' => ['title' => '活动ID。', 'description' => '活动ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1020071005141834'],
],
],
],
- 'StandPrice' => [
- 'title' => '官网折扣价/直销合同折扣价',
- 'description' => '官网折扣价/直销合同折扣价',
- 'type' => 'string',
- ],
- 'StandDiscountPrice' => [
- 'title' => '基于官网折扣的优惠价格',
- 'description' => '基于官网折扣的优惠价格',
- 'type' => 'string',
- ],
- 'IsContractActivity' => [
- 'title' => '是否命中大客优惠',
- 'description' => '是否命中大客优惠',
- 'type' => 'boolean',
- ],
+ 'StandPrice' => ['title' => '官网折扣价/直销合同折扣价', 'description' => '官网折扣价/直销合同折扣价', 'type' => 'string'],
+ 'StandDiscountPrice' => ['title' => '基于官网折扣的优惠价格', 'description' => '基于官网折扣的优惠价格', 'type' => 'string'],
+ 'IsContractActivity' => ['title' => '是否命中大客优惠', 'description' => '是否命中大客优惠', 'type' => 'boolean'],
'DepreciateInfo' => [
'title' => '降价信息',
'description' => '降价信息',
'type' => 'object',
'properties' => [
- 'OriginalStandAmount' => [
- 'title' => '原始官网价总价',
- 'description' => '原始官网价总价',
- 'type' => 'string',
- ],
- 'CheapStandAmount' => [
- 'title' => '降价后官网价总价',
- 'description' => '降价后官网价总价',
- 'type' => 'string',
- ],
- 'CheapRate' => [
- 'title' => '降价比例',
- 'description' => '降价比例',
- 'type' => 'string',
- ],
- 'MonthPrice' => [
- 'title' => '折合月价',
- 'description' => '折合月价',
- 'type' => 'string',
- ],
- 'StartTime' => [
- 'title' => '降价开始时间',
- 'description' => '降价开始时间',
- 'type' => 'string',
- ],
- 'IsShow' => [
- 'title' => '是否展示降价幅度',
- 'description' => '是否展示降价幅度',
- 'type' => 'boolean',
- ],
+ 'OriginalStandAmount' => ['title' => '原始官网价总价', 'description' => '原始官网价总价', 'type' => 'string'],
+ 'CheapStandAmount' => ['title' => '降价后官网价总价', 'description' => '降价后官网价总价', 'type' => 'string'],
+ 'CheapRate' => ['title' => '降价比例', 'description' => '降价比例', 'type' => 'string'],
+ 'MonthPrice' => ['title' => '折合月价', 'description' => '折合月价', 'type' => 'string'],
+ 'StartTime' => ['title' => '降价开始时间', 'description' => '降价开始时间', 'type' => 'string'],
+ 'IsShow' => ['title' => '是否展示降价幅度', 'description' => '是否展示降价幅度', 'type' => 'boolean'],
],
],
- 'LxRequestId' => [
- 'title' => '调用的凌霄requestId',
- 'description' => '调用的凌霄requestId',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
+ 'LxRequestId' => ['title' => '调用的凌霄requestId', 'description' => '调用的凌霄requestId', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
],
],
],
@@ -2765,13 +1409,8 @@
],
'QueryConvertInstancePrice' => [
'summary' => '您可以查询转换实例时的价格。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2784,10 +1423,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '90957',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
@@ -2798,18 +1434,8 @@
'description' => '查询转换工作空间时所需的请求参数。',
'type' => 'object',
'properties' => [
- 'Region' => [
- 'description' => '工作空间所属的地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- 'InstanceId' => [
- 'description' => '工作空间ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sc_flinkserverlesspost_public_cn-******',
- ],
+ 'Region' => ['description' => '工作空间所属的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ 'InstanceId' => ['description' => '工作空间ID。', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverlesspost_public_cn-******'],
'PricingCycle' => [
'title' => '订购周期',
'description' => '订购周期。取值支持Day、Month、Year。'."\n",
@@ -2817,32 +1443,14 @@
'required' => true,
'example' => 'Month',
'default' => 'Month',
- 'enum' => [
- 'Year',
- 'Month',
- 'Day',
- 'Hour',
- ],
- ],
- 'Duration' => [
- 'title' => '订购周期数量',
- 'description' => '订购周期数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- 'IsAutoRenew' => [
- 'title' => '是否自动续费',
- 'description' => '是否自动续费,取值如下:'."\n"
- ."\n"
- .'- true:自动续费。'."\n"
- ."\n"
- .'- false:手续续费。',
- 'type' => 'boolean',
- 'required' => true,
- 'example' => 'true',
- ],
+ 'enum' => ['Year', 'Month', 'Day', 'Hour'],
+ ],
+ 'Duration' => ['title' => '订购周期数量', 'description' => '订购周期数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ 'IsAutoRenew' => ['title' => '是否自动续费', 'description' => '是否自动续费,取值如下:'."\n"
+ ."\n"
+ .'- true:自动续费。'."\n"
+ ."\n"
+ .'- false:手续续费。', 'type' => 'boolean', 'required' => true, 'example' => 'true'],
'NamespaceResourceSpecs' => [
'title' => '项目空间资源规格。',
'description' => '项目空间资源规格信息。',
@@ -2850,36 +1458,16 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Namespace' => [
- 'title' => 'namespace名称,',
- 'description' => '项目空间名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ns-1',
- ],
+ 'Namespace' => ['title' => 'namespace名称,', 'description' => '项目空间名称。', 'type' => 'string', 'required' => true, 'example' => 'ns-1'],
'ResourceSpec' => [
'title' => '资源规格。',
'description' => '资源规格。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'title' => 'cpu数量。',
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- 'MemoryGB' => [
- 'title' => '内存大小。',
- 'description' => '内存大小。单位:GB。'."\n"
- ."\n"
- .'> 内存大小必须为CPU数量大小的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '4',
- ],
+ 'Cpu' => ['title' => 'cpu数量。', 'description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ 'MemoryGB' => ['title' => '内存大小。', 'description' => '内存大小。单位:GB。'."\n"
+ ."\n"
+ .'> 内存大小必须为CPU数量大小的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '4'],
],
'required' => true,
],
@@ -2900,99 +1488,37 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '查询是否成功,取值如下:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- ."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '查询是否成功,取值如下:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ ."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
'PriceInfo' => [
'title' => '价格信息,包括价格和优惠规则。',
'description' => '价格信息,包括价格和优惠规则。',
'type' => 'object',
'properties' => [
- 'Currency' => [
- 'title' => '货币单位。',
- 'description' => '货币单位。',
- 'type' => 'string',
- 'example' => 'CNY',
- ],
- 'DiscountAmount' => [
- 'title' => '折扣',
- 'description' => '折扣金额。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '655.2',
- ],
- 'OriginalAmount' => [
- 'title' => '原价',
- 'description' => '原价。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '4368',
- ],
- 'TradeAmount' => [
- 'title' => '最终价,为原价减去折扣。',
- 'description' => '最终价,为原价减去折扣金额。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '3712.8',
- ],
- 'Code' => [
- 'title' => '错误码',
- 'description' => '错误码。',
- 'type' => 'string',
- 'example' => 'ORDER.INST_HAS_UNPAID_ORDER',
- ],
- 'Message' => [
- 'title' => '错误信息',
- 'description' => '错误信息。',
- 'type' => 'string',
- 'example' => '存在未支付订单,请先支付或取消原有订单。',
- ],
+ 'Currency' => ['title' => '货币单位。', 'description' => '货币单位。', 'type' => 'string', 'example' => 'CNY'],
+ 'DiscountAmount' => ['title' => '折扣', 'description' => '折扣金额。', 'type' => 'number', 'format' => 'float', 'example' => '655.2'],
+ 'OriginalAmount' => ['title' => '原价', 'description' => '原价。', 'type' => 'number', 'format' => 'float', 'example' => '4368'],
+ 'TradeAmount' => ['title' => '最终价,为原价减去折扣。', 'description' => '最终价,为原价减去折扣金额。', 'type' => 'number', 'format' => 'float', 'example' => '3712.8'],
+ 'Code' => ['title' => '错误码', 'description' => '错误码。', 'type' => 'string', 'example' => 'ORDER.INST_HAS_UNPAID_ORDER'],
+ 'Message' => ['title' => '错误信息', 'description' => '错误信息。', 'type' => 'string', 'example' => '存在未支付订单,请先支付或取消原有订单。'],
'OptionalPromotions' => [
'description' => '优惠券信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'PromotionDesc' => [
- 'title' => '优惠券描述',
- 'description' => '优惠券描述。',
- 'type' => 'string',
- 'example' => '¥1,391.5优惠券 (有效期至 03/23/2022)',
- ],
- 'PromotionName' => [
- 'title' => '优惠券名称',
- 'description' => '优惠券名称。',
- 'type' => 'string',
- 'example' => '¥1,391.5优惠券',
- ],
- 'PromotionOptionNo' => [
- 'title' => '优惠券编号',
- 'description' => '优惠券编号。',
- 'type' => 'string',
- 'example' => '500011220010099',
- ],
- 'Selected' => [
- 'description' => '是否选用优惠券,取值如下:'."\n"
- ."\n"
- .'- true:选用。'."\n"
- ."\n"
- .'- false:未选用。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'PromotionDesc' => ['title' => '优惠券描述', 'description' => '优惠券描述。', 'type' => 'string', 'example' => '¥1,391.5优惠券 (有效期至 03/23/2022)'],
+ 'PromotionName' => ['title' => '优惠券名称', 'description' => '优惠券名称。', 'type' => 'string', 'example' => '¥1,391.5优惠券'],
+ 'PromotionOptionNo' => ['title' => '优惠券编号', 'description' => '优惠券编号。', 'type' => 'string', 'example' => '500011220010099'],
+ 'Selected' => ['description' => '是否选用优惠券,取值如下:'."\n"
+ ."\n"
+ .'- true:选用。'."\n"
+ ."\n"
+ .'- false:未选用。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -3003,80 +1529,28 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Description' => [
- 'title' => '活动规则描述。',
- 'description' => '活动规则描述。',
- 'type' => 'string',
- 'example' => '买满1年,立享官网价格8.5折优惠。',
- ],
- 'RuleId' => [
- 'title' => '活动ID。',
- 'description' => '活动ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1020071005141834',
- ],
+ 'Description' => ['title' => '活动规则描述。', 'description' => '活动规则描述。', 'type' => 'string', 'example' => '买满1年,立享官网价格8.5折优惠。'],
+ 'RuleId' => ['title' => '活动ID。', 'description' => '活动ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1020071005141834'],
],
],
],
- 'StandPrice' => [
- 'title' => '官网折扣价/直销合同折扣价',
- 'description' => '官网折扣价/直销合同折扣价',
- 'type' => 'string',
- ],
- 'StandDiscountPrice' => [
- 'title' => '基于官网折扣的优惠价格',
- 'description' => '基于官网折扣的优惠价格',
- 'type' => 'string',
- ],
- 'IsContractActivity' => [
- 'title' => '是否命中大客优惠',
- 'description' => '是否命中大客优惠',
- 'type' => 'boolean',
- ],
+ 'StandPrice' => ['title' => '官网折扣价/直销合同折扣价', 'description' => '官网折扣价/直销合同折扣价', 'type' => 'string'],
+ 'StandDiscountPrice' => ['title' => '基于官网折扣的优惠价格', 'description' => '基于官网折扣的优惠价格', 'type' => 'string'],
+ 'IsContractActivity' => ['title' => '是否命中大客优惠', 'description' => '是否命中大客优惠', 'type' => 'boolean'],
'DepreciateInfo' => [
'title' => '降价信息',
'description' => '降价信息',
'type' => 'object',
'properties' => [
- 'OriginalStandAmount' => [
- 'title' => '原始官网价总价',
- 'description' => '原始官网价总价',
- 'type' => 'string',
- ],
- 'CheapStandAmount' => [
- 'title' => '降价后官网价总价',
- 'description' => '降价后官网价总价',
- 'type' => 'string',
- ],
- 'CheapRate' => [
- 'title' => '降价比例',
- 'description' => '降价比例',
- 'type' => 'string',
- ],
- 'MonthPrice' => [
- 'title' => '折合月价',
- 'description' => '折合月价',
- 'type' => 'string',
- ],
- 'StartTime' => [
- 'title' => '降价开始时间',
- 'description' => '降价开始时间',
- 'type' => 'string',
- ],
- 'IsShow' => [
- 'title' => '是否展示降价幅度',
- 'description' => '是否展示降价幅度',
- 'type' => 'boolean',
- ],
+ 'OriginalStandAmount' => ['title' => '原始官网价总价', 'description' => '原始官网价总价', 'type' => 'string'],
+ 'CheapStandAmount' => ['title' => '降价后官网价总价', 'description' => '降价后官网价总价', 'type' => 'string'],
+ 'CheapRate' => ['title' => '降价比例', 'description' => '降价比例', 'type' => 'string'],
+ 'MonthPrice' => ['title' => '折合月价', 'description' => '折合月价', 'type' => 'string'],
+ 'StartTime' => ['title' => '降价开始时间', 'description' => '降价开始时间', 'type' => 'string'],
+ 'IsShow' => ['title' => '是否展示降价幅度', 'description' => '是否展示降价幅度', 'type' => 'boolean'],
],
],
- 'LxRequestId' => [
- 'title' => '调用的凌霄requestId',
- 'description' => '调用的凌霄requestId',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
+ 'LxRequestId' => ['title' => '调用的凌霄requestId', 'description' => '调用的凌霄requestId', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
],
],
],
@@ -3088,13 +1562,8 @@
],
'DescribeSupportedZones' => [
'summary' => '您可以获取支持购买的可用区信息。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3107,30 +1576,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '101076',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'title' => 'regionId',
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['title' => 'regionId', 'description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'],
],
[
'name' => 'ArchitectureType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
],
'responses' => [
@@ -3138,29 +1595,15 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '23A9C718-DDAB-1696-B025-18FBC830F7C5',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功,取值如下:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '23A9C718-DDAB-1696-B025-18FBC830F7C5'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功,取值如下:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
'ZoneIds' => [
'description' => '可用区信息。',
'type' => 'array',
- 'items' => [
- 'description' => '可用区。',
- 'type' => 'string',
- 'example' => 'cn-beijing-g',
- ],
+ 'items' => ['description' => '可用区。', 'type' => 'string', 'example' => 'cn-beijing-g'],
],
],
],
@@ -3171,13 +1614,8 @@
],
'DescribeSupportedRegions' => [
'summary' => '您可以获取支持购买的地域信息。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3190,10 +1628,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '101073',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [],
'responses' => [
@@ -3201,39 +1636,19 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'B21DC47E-8928-199A-9F32-36D45E4693B4',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功,取值如下:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => 'B21DC47E-8928-199A-9F32-36D45E4693B4'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功,取值如下:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
'Regions' => [
'description' => '地域信息。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Region' => [
- 'title' => 'regionId',
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-beijing',
- ],
- 'RegionName' => [
- 'title' => 'region名称',
- 'description' => '地域名称。',
- 'type' => 'string',
- 'example' => '华北2 (北京)',
- ],
+ 'Region' => ['title' => 'regionId', 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-beijing'],
+ 'RegionName' => ['title' => 'region名称', 'description' => '地域名称。', 'type' => 'string', 'example' => '华北2 (北京)'],
],
],
],
@@ -3246,14 +1661,8 @@
],
'ListTagResources' => [
'summary' => '您可以调用ListTagResources查询资源标签。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3264,44 +1673,23 @@
'systemTags' => [
'operationType' => 'list',
'abilityTreeCode' => '133931',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'title' => '下一个查询开始Token',
- 'description' => '下一个查询开始的Token。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'yt656',
- ],
+ 'schema' => ['title' => '下一个查询开始Token', 'description' => '下一个查询开始的Token。', 'type' => 'string', 'required' => false, 'example' => 'yt656'],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'title' => '地域',
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['title' => '地域', 'description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => '资源类型,固定值vvpinstance。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vvpinstance',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => '资源类型,固定值vvpinstance。', 'type' => 'string', 'required' => true, 'example' => 'vvpinstance'],
],
[
'name' => 'ResourceId',
@@ -3311,12 +1699,7 @@
'title' => '资源ID,最多 50个子项',
'description' => '资源ID,最多50个子项。',
'type' => 'array',
- 'items' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'f-cn-tyts',
- ],
+ 'items' => ['description' => '实例ID。', 'type' => 'string', 'required' => false, 'example' => 'f-cn-tyts'],
'required' => false,
'maxItems' => 51,
],
@@ -3332,20 +1715,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'title' => '标签键',
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
- 'Value' => [
- 'title' => '标签值',
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tag',
- ],
+ 'Key' => ['title' => '标签键', 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ 'Value' => ['title' => '标签值', 'description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'tag'],
],
'required' => false,
],
@@ -3361,26 +1732,10 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => 'requestID。',
- 'type' => 'string',
- 'example' => '27AE00',
- ],
- 'TagReponseId' => [
- 'description' => 'tag请求ID。',
- 'type' => 'string',
- 'example' => '87AE00',
- ],
- 'NextToken' => [
- 'description' => '下一个查询开始的Token。',
- 'type' => 'string',
- 'example' => '27AE00',
- ],
+ 'Success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => 'requestID。', 'type' => 'string', 'example' => '27AE00'],
+ 'TagReponseId' => ['description' => 'tag请求ID。', 'type' => 'string', 'example' => '87AE00'],
+ 'NextToken' => ['description' => '下一个查询开始的Token。', 'type' => 'string', 'example' => '27AE00'],
'TagResources' => [
'title' => '资源列表',
'description' => '资源列表。',
@@ -3388,30 +1743,10 @@
'items' => [
'type' => 'object',
'properties' => [
- 'ResourceType' => [
- 'title' => '资源类型',
- 'description' => '资源类型。',
- 'type' => 'string',
- 'example' => 'vvpinstance',
- ],
- 'TagValue' => [
- 'title' => '标签值',
- 'description' => '标签值。',
- 'type' => 'string',
- 'example' => 'tag',
- ],
- 'ResourceId' => [
- 'title' => '资源ID',
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'f-cn-tyts',
- ],
- 'TagKey' => [
- 'title' => '标签键',
- 'description' => '标签键。',
- 'type' => 'string',
- 'example' => 'test',
- ],
+ 'ResourceType' => ['title' => '资源类型', 'description' => '资源类型。', 'type' => 'string', 'example' => 'vvpinstance'],
+ 'TagValue' => ['title' => '标签值', 'description' => '标签值。', 'type' => 'string', 'example' => 'tag'],
+ 'ResourceId' => ['title' => '资源ID', 'description' => '资源ID。', 'type' => 'string', 'example' => 'f-cn-tyts'],
+ 'TagKey' => ['title' => '标签键', 'description' => '标签键。', 'type' => 'string', 'example' => 'test'],
],
],
],
@@ -3424,14 +1759,8 @@
],
'UntagResources' => [
'summary' => '您可以调用UntagResources删除资源标签。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3444,44 +1773,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '133930',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'title' => '地域',
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['title' => '地域', 'description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => '资源类型,固定值为vvpinstance。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vvpinstance',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => '资源类型,固定值为vvpinstance。', 'type' => 'string', 'required' => true, 'example' => 'vvpinstance'],
],
[
'name' => 'All',
'in' => 'query',
- 'schema' => [
- 'title' => '是否全部删除,只针对TagKey.N为空时有效。 取值范围: true false True False 默认是 false',
- 'description' => '是否全部删除资源标签,只针对TagKey为空时有效。默认是false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['title' => '是否全部删除,只针对TagKey.N为空时有效。 取值范围: true false True False 默认是 false', 'description' => '是否全部删除资源标签,只针对TagKey为空时有效。默认是false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ResourceId',
@@ -3491,12 +1799,7 @@
'title' => '资源ID,最多50个子项',
'description' => '资源ID,最多50个子项。',
'type' => 'array',
- 'items' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'f-cn-tgy67',
- ],
+ 'items' => ['description' => '资源ID。', 'type' => 'string', 'required' => false, 'example' => 'f-cn-tgy67'],
'required' => true,
'maxItems' => 51,
],
@@ -3509,12 +1812,7 @@
'title' => '标签键,最多20个子项',
'description' => '标签键,最多20个子项。',
'type' => 'array',
- 'items' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'items' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'test'],
'required' => false,
'maxItems' => 21,
],
@@ -3527,31 +1825,11 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '27AE00',
- ],
- 'Success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'TagResponseId' => [
- 'description' => 'tag请求ID。',
- 'type' => 'string',
- 'example' => '154FT',
- ],
- 'Message' => [
- 'description' => '请求信息。',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Code' => [
- 'description' => '返回码。',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '27AE00'],
+ 'Success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'TagResponseId' => ['description' => 'tag请求ID。', 'type' => 'string', 'example' => '154FT'],
+ 'Message' => ['description' => '请求信息。', 'type' => 'string', 'example' => '""'],
+ 'Code' => ['description' => '返回码。', 'type' => 'string', 'example' => '200'],
],
],
],
@@ -3561,14 +1839,8 @@
],
'TagResources' => [
'summary' => '您可以调用TagResources创建资源标签。',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3580,33 +1852,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '133929',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'title' => '地域',
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['title' => '地域', 'description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => '资源类型,固定值为vvpinstance。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vvpinstance',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => '资源类型,固定值为vvpinstance。', 'type' => 'string', 'required' => true, 'example' => 'vvpinstance'],
],
[
'name' => 'ResourceId',
@@ -3616,12 +1873,7 @@
'title' => '资源ID,最多 50个子项',
'description' => '资源ID,最多50个子项。',
'type' => 'array',
- 'items' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'f-cn-7e22rg',
- ],
+ 'items' => ['description' => '资源ID。', 'type' => 'string', 'required' => false, 'example' => 'f-cn-7e22rg'],
'required' => true,
'maxItems' => 51,
],
@@ -3637,20 +1889,8 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'title' => '标签键',
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
- 'Value' => [
- 'title' => '标签值',
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tag',
- ],
+ 'Key' => ['title' => '标签键', 'description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ 'Value' => ['title' => '标签值', 'description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'tag'],
],
'required' => false,
],
@@ -3664,31 +1904,11 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'CBC799-****',
- ],
- 'Success' => [
- 'description' => '请求是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'TagResponseId' => [
- 'description' => 'tag请求ID。',
- 'type' => 'string',
- 'example' => '154FT',
- ],
- 'Message' => [
- 'description' => '请求信息。',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Code' => [
- 'description' => '返回码。',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'CBC799-****'],
+ 'Success' => ['description' => '请求是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'TagResponseId' => ['description' => 'tag请求ID。', 'type' => 'string', 'example' => '154FT'],
+ 'Message' => ['description' => '请求信息。', 'type' => 'string', 'example' => '""'],
+ 'Code' => ['description' => '返回码。', 'type' => 'string', 'example' => '200'],
],
],
],
@@ -3698,13 +1918,8 @@
],
'ConvertPrepayInstance' => [
'summary' => '包年包月转按量付费',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3715,10 +1930,7 @@
'systemTags' => [
'operationType' => 'update',
'abilityTreeCode' => '150081',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
@@ -3728,14 +1940,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Region' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'InstanceId' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Region' => ['type' => 'string', 'required' => true],
+ 'InstanceId' => ['type' => 'string', 'required' => true],
],
'required' => true,
],
@@ -3747,20 +1953,9 @@
'title' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'type' => 'boolean',
- ],
- 'OrderId' => [
- 'title' => '订单id',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'RequestId' => ['title' => '请求id', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'type' => 'boolean'],
+ 'OrderId' => ['title' => '订单id', 'type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -3768,13 +1963,8 @@
],
'QueryConvertPrepayInstancePrice' => [
'summary' => '包年包月转按量付费询价',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3787,10 +1977,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '150082',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
@@ -3800,14 +1987,8 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'Region' => [
- 'type' => 'string',
- 'required' => true,
- ],
- 'InstanceId' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Region' => ['type' => 'string', 'required' => true],
+ 'InstanceId' => ['type' => 'string', 'required' => true],
],
'required' => true,
],
@@ -3819,75 +2000,27 @@
'title' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'type' => 'boolean',
- ],
+ 'RequestId' => ['title' => '请求id', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'type' => 'boolean'],
'PriceInfo' => [
'title' => '价格信息,包括价格和优惠规则。',
'type' => 'object',
'properties' => [
- 'Currency' => [
- 'title' => '货币单位。',
- 'type' => 'string',
- 'example' => 'CNY',
- ],
- 'DiscountAmount' => [
- 'title' => '折扣',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '655.2',
- ],
- 'OriginalAmount' => [
- 'title' => '原价',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '4368',
- ],
- 'TradeAmount' => [
- 'title' => '最终价,为原价减去折扣。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '3712.8',
- ],
- 'Code' => [
- 'title' => '错误码',
- 'type' => 'string',
- 'example' => 'ORDER.INST_HAS_UNPAID_ORDER',
- ],
- 'Message' => [
- 'title' => '错误信息',
- 'type' => 'string',
- 'example' => '存在未支付订单,请先支付或取消原有订单',
- ],
+ 'Currency' => ['title' => '货币单位。', 'type' => 'string', 'example' => 'CNY'],
+ 'DiscountAmount' => ['title' => '折扣', 'type' => 'number', 'format' => 'float', 'example' => '655.2'],
+ 'OriginalAmount' => ['title' => '原价', 'type' => 'number', 'format' => 'float', 'example' => '4368'],
+ 'TradeAmount' => ['title' => '最终价,为原价减去折扣。', 'type' => 'number', 'format' => 'float', 'example' => '3712.8'],
+ 'Code' => ['title' => '错误码', 'type' => 'string', 'example' => 'ORDER.INST_HAS_UNPAID_ORDER'],
+ 'Message' => ['title' => '错误信息', 'type' => 'string', 'example' => '存在未支付订单,请先支付或取消原有订单'],
'OptionalPromotions' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'PromotionDesc' => [
- 'title' => '优惠券描述',
- 'type' => 'string',
- 'example' => '¥1,391.5 优惠券 (有效期至 03/23/2022)',
- ],
- 'PromotionName' => [
- 'title' => '优惠券名称',
- 'type' => 'string',
- 'example' => '¥1,391.5 优惠券',
- ],
- 'PromotionOptionNo' => [
- 'title' => '优惠券编号',
- 'type' => 'string',
- 'example' => '500011220010099',
- ],
- 'Selected' => [
- 'type' => 'boolean',
- ],
+ 'PromotionDesc' => ['title' => '优惠券描述', 'type' => 'string', 'example' => '¥1,391.5 优惠券 (有效期至 03/23/2022)'],
+ 'PromotionName' => ['title' => '优惠券名称', 'type' => 'string', 'example' => '¥1,391.5 优惠券'],
+ 'PromotionOptionNo' => ['title' => '优惠券编号', 'type' => 'string', 'example' => '500011220010099'],
+ 'Selected' => ['type' => 'boolean'],
],
],
],
@@ -3897,67 +2030,27 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Description' => [
- 'title' => '活动规则描述。',
- 'type' => 'string',
- 'example' => '买满1年,立享官网价格8.5折优惠。',
- ],
- 'RuleId' => [
- 'title' => '活动ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '587',
- ],
+ 'Description' => ['title' => '活动规则描述。', 'type' => 'string', 'example' => '买满1年,立享官网价格8.5折优惠。'],
+ 'RuleId' => ['title' => '活动ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '587'],
],
],
],
- 'StandPrice' => [
- 'title' => '官网折扣价/直销合同折扣价',
- 'type' => 'string',
- ],
- 'StandDiscountPrice' => [
- 'title' => '基于官网折扣的优惠价格',
- 'type' => 'string',
- ],
- 'IsContractActivity' => [
- 'title' => '是否命中大客优惠',
- 'type' => 'boolean',
- ],
+ 'StandPrice' => ['title' => '官网折扣价/直销合同折扣价', 'type' => 'string'],
+ 'StandDiscountPrice' => ['title' => '基于官网折扣的优惠价格', 'type' => 'string'],
+ 'IsContractActivity' => ['title' => '是否命中大客优惠', 'type' => 'boolean'],
'DepreciateInfo' => [
'title' => '降价信息',
'type' => 'object',
'properties' => [
- 'OriginalStandAmount' => [
- 'title' => '原始官网价总价',
- 'type' => 'string',
- ],
- 'CheapStandAmount' => [
- 'title' => '降价后官网价总价',
- 'type' => 'string',
- ],
- 'CheapRate' => [
- 'title' => '降价比例',
- 'type' => 'string',
- ],
- 'MonthPrice' => [
- 'title' => '折合月价',
- 'type' => 'string',
- ],
- 'StartTime' => [
- 'title' => '降价开始时间',
- 'type' => 'string',
- ],
- 'IsShow' => [
- 'title' => '是否展示降价幅度',
- 'type' => 'boolean',
- ],
+ 'OriginalStandAmount' => ['title' => '原始官网价总价', 'type' => 'string'],
+ 'CheapStandAmount' => ['title' => '降价后官网价总价', 'type' => 'string'],
+ 'CheapRate' => ['title' => '降价比例', 'type' => 'string'],
+ 'MonthPrice' => ['title' => '折合月价', 'type' => 'string'],
+ 'StartTime' => ['title' => '降价开始时间', 'type' => 'string'],
+ 'IsShow' => ['title' => '是否展示降价幅度', 'type' => 'boolean'],
],
],
- 'LxRequestId' => [
- 'title' => '调用的凌霄requestId',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
+ 'LxRequestId' => ['title' => '调用的凌霄requestId', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
],
],
],
@@ -3968,14 +2061,8 @@
],
'ChangeResourceGroup' => [
'summary' => '修改资源组',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3988,44 +2075,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '156646',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
],
'parameters' => [
[
'name' => 'ResourceId',
'in' => 'query',
- 'schema' => [
- 'title' => '资源Id',
- 'description' => '资源Id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-7e22rg',
- ],
+ 'schema' => ['title' => '资源Id', 'description' => '资源Id', 'type' => 'string', 'required' => true, 'example' => 'f-cn-7e22rg'],
],
[
'name' => 'ResourceRegionId',
'in' => 'query',
- 'schema' => [
- 'title' => '地域Id',
- 'description' => '地域Id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'us-east-1',
- ],
+ 'schema' => ['title' => '地域Id', 'description' => '地域Id', 'type' => 'string', 'required' => true, 'example' => 'us-east-1'],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'title' => '目标资源组',
- 'description' => '目标资源组',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'rg-acfmxbavps3rpiy',
- ],
+ 'schema' => ['title' => '目标资源组', 'description' => '目标资源组', 'type' => 'string', 'required' => true, 'example' => 'rg-acfmxbavps3rpiy'],
],
],
'responses' => [
@@ -4035,46 +2101,20 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => 'B21DC47E-8928-199A-9F32-36D45E4693B4',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'B21DC47E-8928-199A-9F32-36D45E4693B4'],
],
],
],
],
'errorCodes' => [
400 => [
- [
- 'errorCode' => 'NoPermission.ChangeResourceGroup',
- 'errorMessage' => 'You are not authorized to change resourcegroup',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceRegionId',
- 'errorMessage' => 'The ResourceRegionId parameters that are required for processing this request are missing',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceId',
- 'errorMessage' => 'The ResourceId parameters that are required for processing this request are missing',
- ],
- [
- 'errorCode' => 'MissingParameter.ResourceGroupId',
- 'errorMessage' => 'The ResourceGroupId parameters that are required for processing this request are missing',
- ],
- [
- 'errorCode' => 'InvalidResourceGroup',
- 'errorMessage' => 'The specified ResourceGroupId is invalid',
- ],
- [
- 'errorCode' => 'SystemError',
- 'errorMessage' => 'A system error occurred while processing your request',
- ],
- [
- 'errorCode' => 'ResourceNotFound',
- 'errorMessage' => ' The specified resource is not found',
- ],
+ ['errorCode' => 'NoPermission.ChangeResourceGroup', 'errorMessage' => 'You are not authorized to change resourcegroup'],
+ ['errorCode' => 'MissingParameter.ResourceRegionId', 'errorMessage' => 'The ResourceRegionId parameters that are required for processing this request are missing'],
+ ['errorCode' => 'MissingParameter.ResourceId', 'errorMessage' => 'The ResourceId parameters that are required for processing this request are missing'],
+ ['errorCode' => 'MissingParameter.ResourceGroupId', 'errorMessage' => 'The ResourceGroupId parameters that are required for processing this request are missing'],
+ ['errorCode' => 'InvalidResourceGroup', 'errorMessage' => 'The specified ResourceGroupId is invalid'],
+ ['errorCode' => 'SystemError', 'errorMessage' => 'A system error occurred while processing your request'],
+ ['errorCode' => 'ResourceNotFound', 'errorMessage' => ' The specified resource is not found'],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B21DC47E-8928-199A-9F32-36D45E4693B4\\"\\n}","type":"json"}]',
@@ -4083,205 +2123,24 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'foasconsole.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'foasconsole.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'foasconsole.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'foasconsole.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'foasconsole.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'foasconsole.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'foasconsole.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'foasconsole.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'foasconsole.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'foasconsole.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote-nebula-1',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'foasconsole.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'foasconsole.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'foasconsole.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'foasconsole.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'foasconsole.cn-shenzhen-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'foasconsole.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'foasconsole.cn-chengdu.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'foasconsole.ap-southeast-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-shenzhen', 'endpoint' => 'foasconsole.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'cn-wulanchabu', 'endpoint' => 'foasconsole.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'endpoint' => 'foasconsole.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'endpoint' => 'foasconsole.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'endpoint' => 'foasconsole.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'endpoint' => 'foasconsole.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'endpoint' => 'foasconsole.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'endpoint' => 'foasconsole.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'endpoint' => 'foasconsole.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'foasconsole.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'endpoint' => 'foasconsole.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'endpoint' => 'foasconsole.us-west-1.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'endpoint' => 'foasconsole.us-east-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'endpoint' => 'foasconsole.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'endpoint' => 'foasconsole.eu-west-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'foasconsole.cn-shanghai-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'foasconsole.cn-shenzhen-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'foasconsole.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'endpoint' => 'foasconsole.cn-qingdao.aliyuncs.com'],
],
];
diff --git a/data/zh_cn/foasconsole/2021-10-28/api-docs.php b/data/zh_cn/foasconsole/2021-10-28/api-docs.php
index f3e9be8..9bf8357 100644
--- a/data/zh_cn/foasconsole/2021-10-28/api-docs.php
+++ b/data/zh_cn/foasconsole/2021-10-28/api-docs.php
@@ -1,65 +1,24 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'foasconsole',
- 'version' => '2021-10-28',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'foasconsole', 'version' => '2021-10-28'],
'directories' => [
[
- 'id' => 187194,
- 'title' => '工作空间',
+ 'children' => ['ModifyElasticResourceSpec', 'ConvertHybridInstance', 'QueryConvertPrepayInstancePrice', 'QueryConvertInstancePrice', 'QueryCreateInstancePrice', 'QueryModifyInstancePrice', 'QueryRenewInstancePrice', 'DescribeSupportedZones', 'DescribeSupportedRegions', 'ConvertInstance'],
'type' => 'directory',
- 'children' => [
- 'ModifyInstanceSpec',
- 'ModifyElasticResourceSpec',
- 'ConvertHybridInstance',
- 'QueryConvertPrepayInstancePrice',
- 'ModifyPrepayInstanceSpec',
- 'QueryConvertInstancePrice',
- 'QueryCreateInstancePrice',
- 'QueryModifyInstancePrice',
- 'QueryRenewInstancePrice',
- 'DescribeSupportedZones',
- 'DescribeSupportedRegions',
- 'CreateInstance',
- 'RenewInstance',
- 'DescribeInstances',
- 'DeleteInstance',
- 'ConvertInstance',
- ],
+ 'title' => '工作空间',
+ 'id' => 150738,
],
[
- 'id' => 187189,
- 'title' => '项目空间',
+ 'children' => ['ModifyNamespaceSpecV2', 'DescribeNamespaces', 'ModifyPrepayNamespaceSpec'],
'type' => 'directory',
- 'children' => [
- 'ModifyNamespaceSpecV2',
- 'DescribeNamespaces',
- 'ModifyPrepayNamespaceSpec',
- 'DeleteNamespace',
- 'CreateNamespace',
- ],
+ 'title' => '项目空间',
+ 'id' => 150732,
],
[
- 'id' => 187185,
- 'title' => '资源标签',
+ 'children' => ['ConvertPrepayInstance', 'ModifyInstanceVswitch', 'CreateInstance', 'CreateNamespace', 'DeleteInstance', 'DeleteNamespace', 'DescribeInstances', 'ListTagResources', 'ModifyInstanceSpec', 'ModifyPrepayInstanceSpec', 'RenewInstance', 'TagResources', 'UntagResources'],
'type' => 'directory',
- 'children' => [
- 'ListTagResources',
- 'TagResources',
- 'TagResources',
- 'UntagResources',
- ],
- ],
- [
- 'id' => 272392,
'title' => '其他',
- 'type' => 'directory',
- 'children' => [
- 'ConvertPrepayInstance',
- 'ModifyInstanceVswitch',
- ],
+ 'id' => 150754,
],
],
'components' => [
@@ -67,431 +26,84 @@
'ClusterStage' => [
'type' => 'object',
'properties' => [
- 'Message' => [
- 'type' => 'string',
- ],
- 'CurrentStage' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'Status' => [
- 'type' => 'string',
- ],
+ 'Message' => ['type' => 'string'],
+ 'CurrentStage' => ['type' => 'integer', 'format' => 'int32'],
+ 'Status' => ['type' => 'string'],
'TotalStageWithWeight' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/StageWithWeight',
- ],
+ 'items' => ['$ref' => '#/components/schemas/StageWithWeight'],
],
],
],
'ClusterState' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'type' => 'string',
- ],
- 'SubStatus' => [
- 'type' => 'string',
- ],
- 'ClusterStage' => [
- '$ref' => '#/components/schemas/ClusterStage',
- ],
+ 'Status' => ['type' => 'string'],
+ 'SubStatus' => ['type' => 'string'],
+ 'ClusterStage' => ['$ref' => '#/components/schemas/ClusterStage'],
],
],
'FlussInstance' => [
'type' => 'object',
'properties' => [
- 'RegionId' => [
- 'type' => 'string',
- ],
- 'InstanceId' => [
- 'type' => 'string',
- ],
- 'InstanceName' => [
- 'type' => 'string',
- ],
- 'Uid' => [
- 'type' => 'string',
- ],
- 'VpcId' => [
- 'type' => 'string',
- ],
- 'OrderState' => [
- 'type' => 'string',
- ],
- 'ConsoleUrl' => [
- 'type' => 'string',
- ],
- 'TabletServerModel' => [
- 'type' => 'string',
- ],
- 'TabletServerNum' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'TabletServerType' => [
- 'type' => 'string',
- ],
- 'DiskSize' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ResourceCreateTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ResourceExpiredTime' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'ClusterStatus' => [
- 'type' => 'string',
- ],
+ 'RegionId' => ['type' => 'string'],
+ 'InstanceId' => ['type' => 'string'],
+ 'InstanceName' => ['type' => 'string'],
+ 'Uid' => ['type' => 'string'],
+ 'VpcId' => ['type' => 'string'],
+ 'OrderState' => ['type' => 'string'],
+ 'ConsoleUrl' => ['type' => 'string'],
+ 'TabletServerModel' => ['type' => 'string'],
+ 'TabletServerNum' => ['type' => 'integer', 'format' => 'int64'],
+ 'TabletServerType' => ['type' => 'string'],
+ 'DiskSize' => ['type' => 'integer', 'format' => 'int64'],
+ 'ResourceCreateTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'ResourceExpiredTime' => ['type' => 'integer', 'format' => 'int64'],
+ 'ClusterStatus' => ['type' => 'string'],
+ 'ClusterState' => ['$ref' => '#/components/schemas/ClusterState'],
'VSwitches' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/FlussVswitch',
- ],
- ],
- 'ClusterState' => [
- '$ref' => '#/components/schemas/ClusterState',
+ 'items' => ['$ref' => '#/components/schemas/FlussVswitch'],
],
+ 'TieringPreCu' => ['type' => 'integer', 'format' => 'int64'],
+ 'TieringPostCu' => ['type' => 'integer', 'format' => 'int64'],
+ 'Ha' => ['type' => 'boolean'],
+ ],
+ ],
+ 'FlussResourceSpec' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SlaveModel' => ['type' => 'string'],
+ 'SlaveNum' => ['type' => 'integer', 'format' => 'int64'],
+ 'DiskSizeInGB' => ['type' => 'integer', 'format' => 'int64'],
+ 'TieringPreCu' => ['type' => 'integer', 'format' => 'int64'],
+ 'TieringPostCu' => ['type' => 'integer', 'format' => 'int64'],
],
],
'FlussVswitch' => [
'type' => 'object',
'properties' => [
- 'ZoneId' => [
- 'type' => 'string',
- ],
+ 'ZoneId' => ['type' => 'string'],
'VSwitchIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
'StageWithWeight' => [
'type' => 'object',
'properties' => [
- 'StepIndex' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'StepName' => [
- 'type' => 'string',
- ],
- 'Weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'StepIndex' => ['type' => 'integer', 'format' => 'int32'],
+ 'StepName' => ['type' => 'string'],
+ 'Weight' => ['type' => 'integer', 'format' => 'int32'],
],
],
],
],
'apis' => [
- 'ModifyInstanceSpec' => [
- 'summary' => '调用本API可对工作空间进行扩容或缩容操作。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '200890',
- 'abilityTreeNodes' => [
- 'FEATUREscTKD5I3',
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'Region',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '地域id',
- 'description' => '地域id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- ],
- [
- 'name' => 'InstanceId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
- ],
- ],
- [
- 'name' => 'ResourceSpec',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '资源规格。',
- 'type' => 'object',
- 'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。'."\n"
- .'> 内存大小必须为CPU数量的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '40',
- ],
- ],
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Ha',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '工作空间是否存在同城高可用资源。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- ],
- [
- 'name' => 'HaVSwitchIds',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '同城高可用备可用区vswitch组。',
- 'type' => 'array',
- 'items' => [
- 'description' => '同城高可用备可用区vswitch。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"vsw-j6cft0ogy3agwdi3w8h21\\"]',
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'HaResourceSpec',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '同城高可用资源描述。',
- 'type' => 'object',
- 'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。'."\n"
- ."\n"
- .'>内存大小必须为CPU数量的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '40',
- ],
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'UsePromotionCode',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PromotionCode',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => '响应结果。',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'OrderId' => [
- 'title' => '订单id',
- 'description' => '订单id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '211473228320700',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"OrderId\\": 211473228320700,\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '修改工作空间资源',
- 'description' => '请确保在使用该接口前,已充分了解实时计算Flink产品的[收费方式](https://help.aliyun.com/zh/flink/user-guide/reconfigure-resources?spm=a2c4g.11186623.0.0.6ebd18ea0MCC3t#task-2507532)和价格。',
- ],
- 'ModifyElasticResourceSpec' => [
- 'summary' => '对混合计费的实例,可修改按量部分最大可使用的上限资源。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '248562',
- 'abilityTreeNodes' => [
- 'FEATUREscTKD5I3',
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'Region',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '地域id',
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- ],
- [
- 'name' => 'InstanceId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sc_flinkserverless_public_cn-7e22ae****',
- ],
- ],
- [
- 'name' => 'ResourceSpec',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '按量可使用资源规格上限。',
- 'type' => 'object',
- 'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。'."\n"
- .'> 内存大小必须为CPU数量的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '40',
- ],
- ],
- 'required' => true,
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => '响应结构。',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'B21DC47E-8928-199A-9F32-36D45E4****',
- ],
- 'OrderId' => [
- 'title' => '订单id',
- 'description' => '订单ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '21147322832****',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B21DC47E-8928-199A-9F32-36D45E4****\\",\\n \\"OrderId\\": 0,\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '修改混合计费实例按量上限',
- 'description' => '请确保在使用该接口前,已充分了解实时计算Flink产品的[收费方式](https://help.aliyun.com/zh/flink/user-guide/reconfigure-resources?spm=a2c4g.11186623.0.0.6ebd18ea0MCC3t#task-2507532)和价格。',
- ],
'ConvertHybridInstance' => [
- 'summary' => '调用本API可将现在包年包月的实例变更为混合计费的实例。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -504,31 +116,19 @@
'riskType' => 'high',
'chargeType' => 'paid',
'abilityTreeCode' => '246084',
- 'abilityTreeNodes' => [
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscTKD5I3'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sc_flinkserverless_public_cn-7e22*****',
- ],
+ 'schema' => ['description' => '订单实例ID。', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverless_public_cn-7e22*****'],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-shenzhen',
- ],
+ 'schema' => ['description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen'],
],
[
'name' => 'ResourceSpec',
@@ -538,22 +138,10 @@
'description' => '混合计费按量付费部分可使用的最大资源规格。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。单位为GB。'."\n"
- ."\n"
- .'> 内存大小必须为CPU数量的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '40GB',
- ],
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ 'MemoryGB' => ['description' => '内存大小。单位为GB。'."\n"
+ ."\n"
+ .'> 内存大小必须为CPU数量的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '40GB'],
],
'required' => true,
],
@@ -566,481 +154,53 @@
'description' => '响应数据。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF042*****',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF042*****'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'OrderInfo' => [
'description' => '订单信息。',
'type' => 'object',
'properties' => [
- 'OrderId' => [
- 'title' => '订单id',
- 'description' => '订单ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2104063546****',
- ],
- 'InstanceId' => [
- 'title' => '实例id',
- 'description' => '混合计费包年包月部分的实例ID。',
- 'type' => 'string',
- 'example' => 'f-cn-zvp2q*****',
- ],
- 'ElasticInstanceId' => [
- 'description' => '混合计费按量付费部分的实例ID。',
- 'type' => 'string',
- 'example' => 'f-cn-asd***',
- ],
+ 'OrderId' => ['title' => '订单id', 'description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '2104063546****'],
+ 'InstanceId' => ['title' => '实例id', 'description' => '混合计费包年包月部分的实例ID。', 'type' => 'string', 'example' => 'f-cn-zvp2q*****'],
+ 'ElasticInstanceId' => ['description' => '混合计费按量付费部分的实例ID。', 'type' => 'string', 'example' => 'f-cn-asd***'],
],
],
- 'ErrCode' => [
- 'description' => '错误码。',
- 'type' => 'string',
- 'example' => '000000',
- ],
+ 'ErrCode' => ['description' => '错误码。', 'type' => 'string', 'example' => '000000'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF042*****\\",\\n \\"Success\\": true,\\n \\"OrderInfo\\": {\\n \\"OrderId\\": 0,\\n \\"InstanceId\\": \\"f-cn-zvp2q*****\\",\\n \\"ElasticInstanceId\\": \\"f-cn-asd***\\"\\n },\\n \\"ErrCode\\": \\"000000\\"\\n}","type":"json"}]',
'title' => '开通混合计费',
+ 'summary' => '调用本API可将现在包年包月的实例变更为混合计费的实例。',
'description' => '**请确保在使用该接口前,已充分了解Flink全托管产品混合计费的收费方式和[价格](https://help.aliyun.com/zh/flink/product-overview/hybrid-pricing?spm=a2c4g.11186623.help-menu-45029.d_0_2_1_3.7faa56e4V8YDHy&scm=20140722.H_2854295._.OR_help-T_cn~zh-V_1)。**',
- ],
- 'QueryConvertPrepayInstancePrice' => [
- 'summary' => '调用本API可以查看您的Flink实例从包年包月模式转为按量付费模式后,预计退款的金额,转为按量付费后将按小时计量您的使用情况并产生账单。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '212998',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'Region',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- ],
- [
- 'name' => 'InstanceId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj4****',
- ],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConvertHybridInstance'],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => '响应信息。',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426****',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'PriceInfo' => [
- 'title' => '价格信息,包括价格和优惠规则。',
- 'description' => '价格信息,包括价格和优惠规则。',
- 'type' => 'object',
- 'properties' => [
- 'Currency' => [
- 'title' => '货币单位。',
- 'description' => '货币单位。',
- 'type' => 'string',
- 'example' => 'CNY',
- ],
- 'DiscountAmount' => [
- 'title' => '折扣',
- 'description' => '折扣',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '655.2',
- ],
- 'OriginalAmount' => [
- 'title' => '原价',
- 'description' => '原价',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '4368',
- ],
- 'TradeAmount' => [
- 'title' => '最终价,为原价减去折扣。',
- 'description' => '最终价,为原价减去折扣。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '3712.8',
- ],
- 'Code' => [
- 'title' => '错误码',
- 'description' => '错误码',
- 'type' => 'string',
- 'example' => 'ORDER.INST_HAS_UNPAID_ORDER',
- ],
- 'Message' => [
- 'title' => '错误信息',
- 'description' => '错误信息',
- 'type' => 'string',
- 'example' => '存在未支付订单,请先支付或取消原有订单',
- ],
- 'OptionalPromotions' => [
- 'description' => '优惠券组信息。',
- 'type' => 'array',
- 'items' => [
- 'description' => '优惠券信息。',
- 'type' => 'object',
- 'properties' => [
- 'PromotionName' => [
- 'title' => '优惠券名称',
- 'description' => '优惠券名称',
- 'type' => 'string',
- 'example' => '¥1,391.5 优惠券',
- ],
- 'PromotionDesc' => [
- 'title' => '优惠券描述',
- 'description' => '优惠券描述',
- 'type' => 'string',
- 'example' => '¥1,391.5 优惠券 (有效期至 03/23/2022)',
- ],
- 'PromotionOptionNo' => [
- 'title' => '优惠券编号',
- 'description' => '优惠券编号',
- 'type' => 'string',
- 'example' => '500011220***',
- ],
- 'Selected' => [
- 'description' => '是否选用优惠券,取值如下:'."\n"
- ."\n"
- .'- true:选用。'."\n"
- ."\n"
- .'- false:未选用。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- 'Rules' => [
- 'title' => '活动规则。',
- 'description' => '活动规则。',
- 'type' => 'array',
- 'items' => [
- 'description' => '活动规则',
- 'type' => 'object',
- 'properties' => [
- 'Description' => [
- 'title' => '活动规则描述。',
- 'description' => '活动规则描述。',
- 'type' => 'string',
- 'example' => '买满1年,立享官网价格8.5折优惠。',
- ],
- 'RuleId' => [
- 'title' => '活动ID。',
- 'description' => '活动ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '587',
- ],
- ],
- ],
- ],
- 'StandPrice' => [
- 'title' => '官网折扣价/直销合同折扣价',
- 'description' => '官网折扣价/直销合同折扣价',
- 'type' => 'string',
- 'example' => '32432',
- ],
- 'StandDiscountPrice' => [
- 'title' => '基于官网折扣的优惠价格',
- 'description' => '基于官网折扣的优惠价格',
- 'type' => 'string',
- 'example' => '21321',
- ],
- 'IsContractActivity' => [
- 'title' => '是否命中大客优惠',
- 'description' => '是否命中大客优惠',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'DepreciateInfo' => [
- 'title' => '降价信息',
- 'description' => '降价信息',
- 'type' => 'object',
- 'properties' => [
- 'OriginalStandAmount' => [
- 'title' => '原始官网价总价',
- 'description' => '原始官网价总价',
- 'type' => 'string',
- 'example' => '10000',
- ],
- 'CheapStandAmount' => [
- 'title' => '降价后官网价总价',
- 'description' => '降价后官网价总价',
- 'type' => 'string',
- 'example' => '8000',
- ],
- 'CheapRate' => [
- 'title' => '降价比例',
- 'description' => '降价比例',
- 'type' => 'string',
- 'example' => '20%',
- ],
- 'MonthPrice' => [
- 'title' => '折合月价',
- 'description' => '折合月价',
- 'type' => 'string',
- 'example' => '4000',
- ],
- 'StartTime' => [
- 'title' => '降价开始时间',
- 'description' => '降价开始时间',
- 'type' => 'string',
- 'example' => '2023-03-31T16:00:00Z',
- ],
- 'IsShow' => [
- 'title' => '是否展示降价幅度',
- 'description' => '是否展示降价幅度',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- 'LxRequestId' => [
- 'title' => '调用的凌霄requestId',
- 'description' => '调用的凌霄requestId',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426****\\",\\n \\"Success\\": true,\\n \\"PriceInfo\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"DiscountAmount\\": 655.2,\\n \\"OriginalAmount\\": 4368,\\n \\"TradeAmount\\": 3712.8,\\n \\"Code\\": \\"ORDER.INST_HAS_UNPAID_ORDER\\",\\n \\"Message\\": \\"存在未支付订单,请先支付或取消原有订单\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionName\\": \\"¥1,391.5 优惠券\\",\\n \\"PromotionDesc\\": \\"¥1,391.5 优惠券 (有效期至 03/23/2022)\\",\\n \\"PromotionOptionNo\\": \\"500011220***\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 587\\n }\\n ],\\n \\"StandPrice\\": \\"32432\\",\\n \\"StandDiscountPrice\\": \\"21321\\",\\n \\"IsContractActivity\\": true,\\n \\"DepreciateInfo\\": {\\n \\"OriginalStandAmount\\": \\"10000\\",\\n \\"CheapStandAmount\\": \\"8000\\",\\n \\"CheapRate\\": \\"20%\\",\\n \\"MonthPrice\\": \\"4000\\",\\n \\"StartTime\\": \\"2023-03-31T16:00:00Z\\",\\n \\"IsShow\\": true\\n },\\n \\"LxRequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询包年包月转按量付费价格',
- ],
- 'ModifyPrepayInstanceSpec' => [
- 'summary' => '修改包年包月的flink全托管实例计算资源的规格大小,调整后规格小于当前使用规格将进行缩容操作,调整后规格大于当前使用规格将进行扩容操作。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'write',
- 'deprecated' => true,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '103205',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'Region',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '地域id',
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- ],
- [
- 'name' => 'InstanceId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
- ],
- ],
- [
- 'name' => 'ResourceSpec',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '资源规格信息。',
- 'type' => 'object',
- 'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。'."\n"
- .'> 内存大小必须为CPU数量的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '4',
- ],
- ],
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Ha',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- 'default' => 'false',
- ],
- ],
- [
- 'name' => 'HaZoneId',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'HaVSwitchIds',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'required' => false,
- ],
- ],
+ 'ramActions' => [
[
- 'name' => 'HaResourceSpec',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'Cpu' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- 'MemoryGB' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- 'required' => false,
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'OrderId' => [
- 'title' => '订单id',
- 'description' => '订单id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '210406354690749',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'stream:ConvertHybridInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
],
],
],
],
- 'staticInfo' => [
- 'substitutions' => [
- 'foasconsole::2021-10-28::ModifyInstanceSpec',
- ],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"OrderId\\": 210406354690749,\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '修改工作空间计算资源',
- 'description' => '**请确保在使用该接口前,已充分了解Flink全托管产品的收费方式和[价格](https://help.aliyun.com/zh/flink/product-overview/subscription)。**',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF042*****\\",\\n \\"Success\\": true,\\n \\"OrderInfo\\": {\\n \\"OrderId\\": 0,\\n \\"InstanceId\\": \\"f-cn-zvp2q*****\\",\\n \\"ElasticInstanceId\\": \\"f-cn-asd***\\"\\n },\\n \\"ErrCode\\": \\"000000\\"\\n}","type":"json"}]',
],
- 'QueryConvertInstancePrice' => [
- 'summary' => '您可以通过本API来查询按量付费实例转包年包月价格。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ConvertInstance' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -1049,110 +209,63 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '104063',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeCode' => '104041',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
- 'schema' => [
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
],
[
'name' => 'InstanceId',
'in' => 'formData',
- 'schema' => [
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
- ],
+ 'schema' => ['description' => '订单实例ID。', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06'],
],
[
'name' => 'PricingCycle',
'in' => 'formData',
- 'schema' => [
- 'title' => '订购周期',
- 'description' => '订购周期,仅支持按年(Year)和月(Month)订购。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Month',
- ],
+ 'schema' => ['title' => '订购周期', 'description' => '订购周期', 'type' => 'string', 'required' => true, 'example' => 'Month'],
],
[
'name' => 'Duration',
'in' => 'formData',
- 'schema' => [
- 'title' => '订购周期数量',
- 'description' => '订购周期数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['title' => '订购周期数量', 'description' => '订购周期数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'IsAutoRenew',
'in' => 'formData',
- 'schema' => [
- 'title' => '是否自动续费',
- 'description' => '是否自动续费',
- 'type' => 'boolean',
- 'required' => true,
- 'example' => 'true',
- ],
+ 'schema' => ['title' => '是否自动续费', 'description' => '是否自动续费', 'type' => 'boolean', 'required' => true, 'example' => 'true'],
],
[
'name' => 'NamespaceResourceSpecs',
'in' => 'formData',
'style' => 'json',
'schema' => [
+ 'title' => '项目空间资源规格。',
'description' => '项目空间资源规格。',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
'ResourceSpec' => [
- 'description' => '项目空间资源规格。',
+ 'title' => '资源规格。',
+ 'description' => '资源规格。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '6',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。单位:GB。'."\n"
- ."\n"
- .'> 内存大小必须为CPU数量大小的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '24',
- ],
+ 'Cpu' => ['title' => 'cpu数量。', 'description' => 'cpu数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ 'MemoryGB' => ['title' => '内存大小。', 'description' => '内存大小。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '4'],
],
'required' => true,
],
- 'Namespace' => [
- 'description' => '项目空间名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'lm-test-default',
- ],
+ 'Namespace' => ['title' => 'namespace名称,', 'description' => 'namespace名称。', 'type' => 'string', 'required' => true, 'example' => 'ns-1'],
],
'required' => true,
+ 'description' => '',
],
'required' => true,
],
@@ -1160,18 +273,12 @@
[
'name' => 'UsePromotionCode',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean'],
],
[
'name' => 'PromotionCode',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -1181,1527 +288,108 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'PriceInfo' => [
- 'title' => '价格信息,包括价格和优惠规则。',
- 'description' => '价格信息,包括价格和优惠规则。',
- 'type' => 'object',
- 'properties' => [
- 'Currency' => [
- 'title' => '货币单位。',
- 'description' => '货币单位。',
- 'type' => 'string',
- 'example' => 'CNY',
- ],
- 'DiscountAmount' => [
- 'title' => '折扣',
- 'description' => '折扣',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '655.2',
- ],
- 'OriginalAmount' => [
- 'title' => '原价',
- 'description' => '原价',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '4368',
- ],
- 'TradeAmount' => [
- 'title' => '最终价,为原价减去折扣。',
- 'description' => '最终价,为原价减去折扣。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '3712.8',
- ],
- 'Code' => [
- 'title' => '错误码',
- 'description' => '错误码',
- 'type' => 'string',
- 'example' => 'ORDER.INST_HAS_UNPAID_ORDER',
- ],
- 'Message' => [
- 'title' => '错误信息',
- 'description' => '错误信息',
- 'type' => 'string',
- 'example' => '存在未支付订单,请先支付或取消原有订单',
- ],
- 'OptionalPromotions' => [
- 'description' => '优惠券信息。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'PromotionName' => [
- 'title' => '优惠券名称',
- 'description' => '优惠券名称',
- 'type' => 'string',
- 'example' => '¥1,391.5 优惠券',
- ],
- 'PromotionDesc' => [
- 'title' => '优惠券描述',
- 'description' => '优惠券描述',
- 'type' => 'string',
- 'example' => '¥1,391.5 优惠券(有效期至 03/23/2022)',
- ],
- 'PromotionOptionNo' => [
- 'title' => '优惠券编号',
- 'description' => '优惠券编号',
- 'type' => 'string',
- 'example' => '500011220010099',
- ],
- 'Selected' => [
- 'description' => '是否选用优惠券,取值如下:'."\n"
- ."\n"
- .'- true:选用。'."\n"
- ."\n"
- .'- false:未选用。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- 'Rules' => [
- 'title' => '活动规则。',
- 'description' => '活动规则。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Description' => [
- 'title' => '活动规则描述。',
- 'description' => '活动规则描述。',
- 'type' => 'string',
- 'example' => '买满1年,立享官网价格8.5折优惠。',
- ],
- 'RuleId' => [
- 'title' => '活动ID。',
- 'description' => '活动ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '587',
- ],
- ],
- ],
- ],
- 'StandPrice' => [
- 'title' => '官网折扣价/直销合同折扣价',
- 'description' => '官网折扣价/直销合同折扣价',
- 'type' => 'string',
- 'example' => '32432',
- ],
- 'StandDiscountPrice' => [
- 'title' => '基于官网折扣的优惠价格',
- 'description' => '基于官网折扣的优惠价格',
- 'type' => 'string',
- 'example' => '21321',
- ],
- 'IsContractActivity' => [
- 'title' => '是否命中大客优惠',
- 'description' => '是否命中大客优惠',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'DepreciateInfo' => [
- 'title' => '降价信息',
- 'description' => '降价信息',
- 'type' => 'object',
- 'properties' => [
- 'OriginalStandAmount' => [
- 'title' => '原始官网价总价',
- 'description' => '原始官网价总价',
- 'type' => 'string',
- 'example' => '12000',
- ],
- 'CheapStandAmount' => [
- 'title' => '降价后官网价总价',
- 'description' => '降价后官网价总价',
- 'type' => 'string',
- 'example' => '8000',
- ],
- 'CheapRate' => [
- 'title' => '降价比例',
- 'description' => '降价比例',
- 'type' => 'string',
- 'example' => '34%',
- ],
- 'MonthPrice' => [
- 'title' => '折合月价',
- 'description' => '折合月价',
- 'type' => 'string',
- 'example' => '1000',
- ],
- 'StartTime' => [
- 'title' => '降价开始时间',
- 'description' => '降价开始时间',
- 'type' => 'string',
- 'example' => '2024-08-21T02:06:00Z',
- ],
- 'IsShow' => [
- 'title' => '是否展示降价幅度',
- 'description' => '是否展示降价幅度',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- ],
- ],
- 'LxRequestId' => [
- 'title' => '调用的凌霄requestId',
- 'description' => '调用的凌霄requestId',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- ],
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求id。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'OrderId' => ['title' => '订单id', 'description' => '订单id。', 'type' => 'integer', 'format' => 'int64', 'example' => '211473228320700'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"PriceInfo\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"DiscountAmount\\": 655.2,\\n \\"OriginalAmount\\": 4368,\\n \\"TradeAmount\\": 3712.8,\\n \\"Code\\": \\"ORDER.INST_HAS_UNPAID_ORDER\\",\\n \\"Message\\": \\"存在未支付订单,请先支付或取消原有订单\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionName\\": \\"¥1,391.5 优惠券\\",\\n \\"PromotionDesc\\": \\"¥1,391.5 优惠券(有效期至 03/23/2022)\\",\\n \\"PromotionOptionNo\\": \\"500011220010099\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 587\\n }\\n ],\\n \\"StandPrice\\": \\"32432\\",\\n \\"StandDiscountPrice\\": \\"21321\\",\\n \\"IsContractActivity\\": true,\\n \\"DepreciateInfo\\": {\\n \\"OriginalStandAmount\\": \\"12000\\",\\n \\"CheapStandAmount\\": \\"8000\\",\\n \\"CheapRate\\": \\"34%\\",\\n \\"MonthPrice\\": \\"1000\\",\\n \\"StartTime\\": \\"2024-08-21T02:06:00Z\\",\\n \\"IsShow\\": false\\n },\\n \\"LxRequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询按量付费转包年包月价格',
- ],
- 'QueryCreateInstancePrice' => [
- 'summary' => '获取本账号购买工作空间的价格。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'paid',
- 'abilityTreeCode' => '104066',
- 'abilityTreeNodes' => [
- 'FEATUREscTKD5I3',
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'InstanceName',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '工作空间名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rtc-e2e-test-post',
- ],
- ],
- [
- 'name' => 'ChargeType',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '付费类型,取值如下:'."\n"
- ."\n"
- .'- POST:按量付费。'."\n"
- .'- PRE:包年包月。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'PRE',
- 'enum' => [
- 'PRE',
- 'POST',
- ],
- ],
- ],
- [
- 'name' => 'Region',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- ],
- [
- 'name' => 'VpcId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '用户的VPC ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vpc-2ze9xoh8qyt1rnxfmfcdi',
- ],
- ],
- [
- 'name' => 'VSwitchIds',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '虚拟交换机ID组。',
- 'type' => 'array',
- 'items' => [
- 'description' => '虚拟交换机ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vsw-uf6kkcjvzyayv5je6t72s',
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ResourceSpec',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '资源规格。',
- 'type' => 'object',
- 'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '4',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。'."\n"
- .'> 内存大小必须为CPU数量的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '16',
- ],
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PricingCycle',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '订购周期,包年包月实例仅支持按年(Year)和月(Month)订购,按量付费实例选择小时(Hour)。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Month' => 'Month',
- 'Year' => 'Year',
- 'Hour' => 'Hour',
- ],
- 'example' => 'Month',
- 'enum' => [
- 'Year',
- 'Month',
- 'Day',
- 'Hour',
- ],
- ],
- ],
- [
- 'name' => 'Duration',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '订购周期数量。'."\n"
- .'> 当ChargeType配置为PRE时,Duration参数必填。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'AutoRenew',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '是否自动续费。取值:'."\n"
- ."\n"
- .'- **true**:自动续费'."\n"
- .'- **false**:不自动续费(默认)'."\n"
- ."\n"
- .'>按量付费时,该参数无效。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- ],
- [
- 'name' => 'Storage',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '存储信息。',
- 'type' => 'object',
- 'properties' => [
- 'Oss' => [
- 'description' => 'OSS存储信息。',
- 'type' => 'object',
- 'properties' => [
- 'Bucket' => [
- 'description' => 'OSS的Bucket名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'quicktracing',
- ],
- ],
- 'required' => false,
- ],
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'UsePromotionCode',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '是否使用优惠券。取值如下:'."\n"
- ."\n"
- .'- true:使用。'."\n"
- .'- false:不使用。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- ],
- [
- 'name' => 'PromotionCode',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '优惠券code',
- 'description' => '优惠券code',
- 'type' => 'string',
- 'required' => false,
- 'example' => '500041860100636',
- ],
- ],
- [
- 'name' => 'Extra',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '优惠券code',
- 'description' => '扩展保留字段。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '“”',
- ],
- ],
- [
- 'name' => 'ArchitectureType',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '优惠券code',
- 'description' => '处理器架构。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'X86',
- ],
- ],
- [
- 'name' => 'Ha',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '是否选择同城高可用资源。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => 'false',
- ],
- ],
- [
- 'name' => 'HaResourceSpec',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '同城高可用资源描述。',
- 'type' => 'object',
- 'properties' => [
- 'Cpu' => [
- 'description' => '同城高可用CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
- 'MemoryGB' => [
- 'description' => '同城高可用内存大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '80',
- ],
- ],
- 'required' => false,
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功',
- 'type' => 'boolean',
- ],
- 'PriceInfo' => [
- 'title' => '价格信息,包括价格和优惠规则。',
- 'description' => '价格信息,包括价格和优惠规则。',
- 'type' => 'object',
- 'properties' => [
- 'Currency' => [
- 'title' => '货币单位。',
- 'description' => '货币单位。',
- 'type' => 'string',
- 'example' => 'CNY',
- ],
- 'DiscountAmount' => [
- 'title' => '折扣',
- 'description' => '折扣',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '655.2',
- ],
- 'OriginalAmount' => [
- 'title' => '原价',
- 'description' => '原价',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '4368',
- ],
- 'TradeAmount' => [
- 'title' => '最终价,为原价减去折扣。',
- 'description' => '最终价,为原价减去折扣。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '3712.8',
- ],
- 'Code' => [
- 'title' => '错误码',
- 'description' => '错误码',
- 'type' => 'string',
- 'example' => 'ORDER.INST_HAS_UNPAID_ORDER',
- ],
- 'Message' => [
- 'title' => '错误信息',
- 'description' => '错误信息',
- 'type' => 'string',
- 'example' => '存在未支付订单,请先支付或取消原有订单',
- ],
- 'OptionalPromotions' => [
- 'description' => '优惠券组信息。',
- 'type' => 'array',
- 'items' => [
- 'description' => '优惠券信息。',
- 'type' => 'object',
- 'properties' => [
- 'PromotionName' => [
- 'title' => '优惠券名称',
- 'description' => '优惠券名称',
- 'type' => 'string',
- 'example' => '¥1,391.5 优惠券',
- ],
- 'PromotionDesc' => [
- 'title' => '优惠券描述',
- 'description' => '优惠券描述',
- 'type' => 'string',
- 'example' => '¥1,391.5 优惠券(有效期至 03/23/2022)',
- ],
- 'PromotionOptionNo' => [
- 'title' => '优惠券编号',
- 'description' => '优惠券编号',
- 'type' => 'string',
- 'example' => '500011220010099',
- ],
- 'Selected' => [
- 'description' => '是否选中优惠券。取值如下:'."\n"
- .'- true:选中。'."\n"
- .'- false:未选中。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- 'Rules' => [
- 'title' => '活动规则。',
- 'description' => '活动规则。',
- 'type' => 'array',
- 'items' => [
- 'description' => '活动规则。',
- 'type' => 'object',
- 'properties' => [
- 'Description' => [
- 'title' => '活动规则描述。',
- 'description' => '活动规则描述。',
- 'type' => 'string',
- 'example' => '买满1年,立享官网价格8.5折优惠。',
- ],
- 'RuleId' => [
- 'title' => '活动ID。',
- 'description' => '活动ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '587',
- ],
- ],
- ],
- ],
- 'StandPrice' => [
- 'title' => '官网折扣价/直销合同折扣价',
- 'description' => '官网折扣价/直销合同折扣价',
- 'type' => 'string',
- ],
- 'StandDiscountPrice' => [
- 'title' => '基于官网折扣的优惠价格',
- 'description' => '基于官网折扣的优惠价格',
- 'type' => 'string',
- ],
- 'IsContractActivity' => [
- 'title' => '是否命中大客优惠',
- 'description' => '是否命中大客优惠',
- 'type' => 'boolean',
- ],
- 'DepreciateInfo' => [
- 'title' => '降价信息',
- 'description' => '降价信息',
- 'type' => 'object',
- 'properties' => [
- 'OriginalStandAmount' => [
- 'title' => '原始官网价总价',
- 'description' => '原始官网价总价',
- 'type' => 'string',
- ],
- 'CheapStandAmount' => [
- 'title' => '降价后官网价总价',
- 'description' => '降价后官网价总价',
- 'type' => 'string',
- ],
- 'CheapRate' => [
- 'title' => '降价比例',
- 'description' => '降价比例',
- 'type' => 'string',
- ],
- 'MonthPrice' => [
- 'title' => '折合月价',
- 'description' => '折合月价',
- 'type' => 'string',
- ],
- 'StartTime' => [
- 'title' => '降价开始时间',
- 'description' => '降价开始时间',
- 'type' => 'string',
- ],
- 'IsShow' => [
- 'title' => '是否展示降价幅度',
- 'description' => '是否展示降价幅度',
- 'type' => 'boolean',
- ],
- ],
- ],
- 'LxRequestId' => [
- 'title' => '调用的凌霄requestId',
- 'description' => '调用的凌霄requestId',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"PriceInfo\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"DiscountAmount\\": 655.2,\\n \\"OriginalAmount\\": 4368,\\n \\"TradeAmount\\": 3712.8,\\n \\"Code\\": \\"ORDER.INST_HAS_UNPAID_ORDER\\",\\n \\"Message\\": \\"存在未支付订单,请先支付或取消原有订单\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionName\\": \\"¥1,391.5 优惠券\\",\\n \\"PromotionDesc\\": \\"¥1,391.5 优惠券(有效期至 03/23/2022)\\",\\n \\"PromotionOptionNo\\": \\"500011220010099\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 587\\n }\\n ],\\n \\"StandPrice\\": \\"\\",\\n \\"StandDiscountPrice\\": \\"\\",\\n \\"IsContractActivity\\": true,\\n \\"DepreciateInfo\\": {\\n \\"OriginalStandAmount\\": \\"\\",\\n \\"CheapStandAmount\\": \\"\\",\\n \\"CheapRate\\": \\"\\",\\n \\"MonthPrice\\": \\"\\",\\n \\"StartTime\\": \\"\\",\\n \\"IsShow\\": true\\n },\\n \\"LxRequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询工作空间价格',
- ],
- 'QueryModifyInstancePrice' => [
- 'summary' => '您可以查询实例升降配时的价格。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '104067',
- 'abilityTreeNodes' => [
- 'FEATUREscTKD5I3',
+ 'title' => '按量付费转包年包月',
+ 'summary' => '您可以将按量付费的工作空间转换为包年包月的工作空间。',
+ 'description' => '**请确保在使用该接口前,已充分了解Flink全托管产品的收费方式和[价格](https://help.aliyun.com/zh/flink/product-overview/switch-from-pay-as-you-go-to-subscription)。**',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConvertInstance'],
],
],
- 'parameters' => [
- [
- 'name' => 'Region',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '地域id',
- 'description' => '地域id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
- ],
- [
- 'name' => 'InstanceId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '订单实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
- ],
- ],
- [
- 'name' => 'ResourceSpec',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '资源规格。',
- 'type' => 'object',
- 'properties' => [
- 'Cpu' => [
- 'description' => '变配后CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '变配后内存大小。'."\n"
- ."\n"
- .'>内存大小必须为CPU数量的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '40',
- ],
- ],
- 'required' => true,
- ],
- ],
- [
- 'name' => 'Ha',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '是否选择同城高可用资源。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => 'false',
- ],
- ],
- [
- 'name' => 'HaVSwitchIds',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '同城高可用备可用区vswitch组。',
- 'type' => 'array',
- 'items' => [
- 'description' => '同城高可用备可用区vswitch。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"vsw-bp1qh4w76fg38oe91d3bj\\"]',
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'HaResourceSpec',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '同城高可用资源描述。',
- 'type' => 'object',
- 'properties' => [
- 'Cpu' => [
- 'description' => '同城高可用CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '20',
- ],
- 'MemoryGB' => [
- 'description' => '同城高可用内存大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '80',
- ],
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'UsePromotionCode',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
+ 'ramActions' => [
[
- 'name' => 'PromotionCode',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'PriceInfo' => [
- 'title' => '价格信息,包括价格和优惠规则。',
- 'description' => '价格信息,包括价格和优惠规则。',
- 'type' => 'object',
- 'properties' => [
- 'Currency' => [
- 'title' => '货币单位。',
- 'description' => '货币单位。',
- 'type' => 'string',
- 'example' => 'CNY',
- ],
- 'DiscountAmount' => [
- 'title' => '折扣',
- 'description' => '折扣',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '655.2',
- ],
- 'OriginalAmount' => [
- 'title' => '原价',
- 'description' => '原价',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '4368',
- ],
- 'TradeAmount' => [
- 'title' => '最终价,为原价减去折扣。',
- 'description' => '最终价,为原价减去折扣。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '3712.8',
- ],
- 'Code' => [
- 'title' => '错误码',
- 'description' => '错误码',
- 'type' => 'string',
- 'example' => 'ORDER.INST_HAS_UNPAID_ORDER',
- ],
- 'Message' => [
- 'title' => '错误信息',
- 'description' => '错误信息',
- 'type' => 'string',
- 'example' => '存在未支付订单,请先支付或取消原有订单',
- ],
- 'OptionalPromotions' => [
- 'description' => '优惠券组信息。',
- 'type' => 'array',
- 'items' => [
- 'description' => '优惠券信息。',
- 'type' => 'object',
- 'properties' => [
- 'PromotionName' => [
- 'title' => '优惠券名称',
- 'description' => '优惠券名称',
- 'type' => 'string',
- 'example' => '¥1,391.5 优惠券',
- ],
- 'PromotionDesc' => [
- 'title' => '优惠券描述',
- 'description' => '优惠券描述',
- 'type' => 'string',
- 'example' => '¥1,391.5 优惠券(有效期至 03/23/2022)',
- ],
- 'PromotionOptionNo' => [
- 'title' => '优惠券编号',
- 'description' => '优惠券编号',
- 'type' => 'string',
- 'example' => '500011220010099',
- ],
- 'Selected' => [
- 'description' => '是否选用优惠券。取值如下:'."\n"
- ."\n"
- .'- true:选用。'."\n"
- ."\n"
- .'- false:未选用。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- 'Rules' => [
- 'title' => '活动规则。',
- 'description' => '活动规则组。',
- 'type' => 'array',
- 'items' => [
- 'description' => '活动规则。',
- 'type' => 'object',
- 'properties' => [
- 'Description' => [
- 'title' => '活动规则描述。',
- 'description' => '活动规则描述。',
- 'type' => 'string',
- 'example' => '买满1年,立享官网价格8.5折优惠。',
- ],
- 'RuleId' => [
- 'title' => '活动ID。',
- 'description' => '活动ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '587',
- ],
- ],
- ],
- ],
- 'StandPrice' => [
- 'title' => '官网折扣价/直销合同折扣价',
- 'description' => '官网折扣价/直销合同折扣价',
- 'type' => 'string',
- 'example' => '0.5',
- ],
- 'StandDiscountPrice' => [
- 'title' => '基于官网折扣的优惠价格',
- 'description' => '基于官网折扣的优惠价格',
- 'type' => 'string',
- 'example' => '1231',
- ],
- 'IsContractActivity' => [
- 'title' => '是否命中大客优惠',
- 'description' => '是否命中大客优惠',
- 'type' => 'boolean',
- 'example' => '是',
- ],
- 'DepreciateInfo' => [
- 'title' => '降价信息',
- 'description' => '降价信息',
- 'type' => 'object',
- 'properties' => [
- 'OriginalStandAmount' => [
- 'title' => '原始官网价总价',
- 'description' => '原始官网价总价',
- 'type' => 'string',
- 'example' => '12000',
- ],
- 'CheapStandAmount' => [
- 'title' => '降价后官网价总价',
- 'description' => '降价后官网价总价',
- 'type' => 'string',
- 'example' => '6000',
- ],
- 'CheapRate' => [
- 'title' => '降价比例',
- 'description' => '降价比例',
- 'type' => 'string',
- 'example' => '0.5',
- ],
- 'MonthPrice' => [
- 'title' => '折合月价',
- 'description' => '折合月价',
- 'type' => 'string',
- 'example' => '0.6',
- ],
- 'StartTime' => [
- 'title' => '降价开始时间',
- 'description' => '降价开始时间',
- 'type' => 'string',
- 'example' => '2023-10-04T21:10:26+08:00',
- ],
- 'IsShow' => [
- 'title' => '是否展示降价幅度',
- 'description' => '是否展示降价幅度',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- ],
- ],
- 'LxRequestId' => [
- 'title' => '调用的凌霄requestId',
- 'description' => '调用的凌霄requestId',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- ],
- ],
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ConvertVvpInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"PriceInfo\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"DiscountAmount\\": 655.2,\\n \\"OriginalAmount\\": 4368,\\n \\"TradeAmount\\": 3712.8,\\n \\"Code\\": \\"ORDER.INST_HAS_UNPAID_ORDER\\",\\n \\"Message\\": \\"存在未支付订单,请先支付或取消原有订单\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionName\\": \\"¥1,391.5 优惠券\\",\\n \\"PromotionDesc\\": \\"¥1,391.5 优惠券(有效期至 03/23/2022)\\",\\n \\"PromotionOptionNo\\": \\"500011220010099\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 587\\n }\\n ],\\n \\"StandPrice\\": \\"0.5\\",\\n \\"StandDiscountPrice\\": \\"1231\\",\\n \\"IsContractActivity\\": true,\\n \\"DepreciateInfo\\": {\\n \\"OriginalStandAmount\\": \\"12000\\",\\n \\"CheapStandAmount\\": \\"6000\\",\\n \\"CheapRate\\": \\"0.5\\",\\n \\"MonthPrice\\": \\"0.6\\",\\n \\"StartTime\\": \\"2023-10-04T21:10:26+08:00\\",\\n \\"IsShow\\": false\\n },\\n \\"LxRequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询变配价格',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"OrderId\\": 211473228320700\\n}","type":"json"}]',
],
- 'QueryRenewInstancePrice' => [
- 'summary' => '您可以查询续费一个包年包月工作空间的价格。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ConvertPrepayInstance' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '104068',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeCode' => '212995',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
- 'schema' => [
- 'title' => '地域id',
- 'description' => '地域id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
],
[
'name' => 'InstanceId',
'in' => 'formData',
- 'schema' => [
- 'title' => '实例id',
- 'description' => '实例id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sc_flinkserverless_public_cn-7e22ae5sess',
- ],
- ],
- [
- 'name' => 'Duration',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '订购周期数量',
- 'description' => '订购周期数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'PricingCycle',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '订购周期',
- 'description' => '订购周期',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Month',
- 'enum' => [
- 'Year',
- 'Month',
- 'Day',
- 'Hour',
- ],
- ],
- ],
- [
- 'name' => 'UsePromotionCode',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'PromotionCode',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['description' => '订单实例ID', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj*****'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
+ 'description' => '响应数据。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'PriceInfo' => [
- 'title' => '价格信息,包括价格和优惠规则。',
- 'description' => '价格信息,包括价格和优惠规则。',
- 'type' => 'object',
- 'properties' => [
- 'Currency' => [
- 'title' => '货币单位。',
- 'description' => '货币单位。',
- 'type' => 'string',
- 'example' => 'CNY',
- ],
- 'DiscountAmount' => [
- 'title' => '折扣',
- 'description' => '折扣',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '655.2',
- ],
- 'OriginalAmount' => [
- 'title' => '原价',
- 'description' => '原价',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '4368',
- ],
- 'TradeAmount' => [
- 'title' => '最终价,为原价减去折扣。',
- 'description' => '最终价,为原价减去折扣。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '3712.8',
- ],
- 'Code' => [
- 'title' => '错误码',
- 'description' => '错误码',
- 'type' => 'string',
- 'example' => 'ORDER.INST_HAS_UNPAID_ORDER',
- ],
- 'Message' => [
- 'title' => '错误信息',
- 'description' => '错误信息',
- 'type' => 'string',
- 'example' => '存在未支付订单,请先支付或取消原有订单',
- ],
- 'OptionalPromotions' => [
- 'description' => '优惠券组信息。',
- 'type' => 'array',
- 'items' => [
- 'description' => '优惠券信息。',
- 'type' => 'object',
- 'properties' => [
- 'PromotionName' => [
- 'title' => '优惠券名称',
- 'description' => '优惠券名称',
- 'type' => 'string',
- 'example' => '¥1,391.5 优惠券',
- ],
- 'PromotionDesc' => [
- 'title' => '优惠券描述',
- 'description' => '优惠券描述',
- 'type' => 'string',
- 'example' => '¥1,391.5 优惠券(有效期至 03/23/2022)',
- ],
- 'PromotionOptionNo' => [
- 'title' => '优惠券编号',
- 'description' => '优惠券编号',
- 'type' => 'string',
- 'example' => '500011220010099',
- ],
- 'Selected' => [
- 'description' => '是否选用优惠券。取值如下:'."\n"
- ."\n"
- .'- true:选用。'."\n"
- ."\n"
- .'- false:未选用。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- 'Rules' => [
- 'title' => '活动规则。',
- 'description' => '活动规则组。',
- 'type' => 'array',
- 'items' => [
- 'description' => '活动规则',
- 'type' => 'object',
- 'properties' => [
- 'Description' => [
- 'title' => '活动规则描述。',
- 'description' => '活动规则描述。',
- 'type' => 'string',
- 'example' => '买满1年,立享官网价格8.5折优惠。',
- ],
- 'RuleId' => [
- 'title' => '活动ID。',
- 'description' => '活动ID。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '587',
- ],
- ],
- ],
- ],
- 'StandPrice' => [
- 'title' => '官网折扣价/直销合同折扣价',
- 'description' => '官网折扣价/直销合同折扣价',
- 'type' => 'string',
- 'example' => '32432',
- ],
- 'StandDiscountPrice' => [
- 'title' => '基于官网折扣的优惠价格',
- 'description' => '基于官网折扣的优惠价格',
- 'type' => 'string',
- 'example' => '21321',
- ],
- 'IsContractActivity' => [
- 'title' => '是否命中大客优惠',
- 'description' => '是否命中大客优惠',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'DepreciateInfo' => [
- 'title' => '降价信息',
- 'description' => '降价信息',
- 'type' => 'object',
- 'properties' => [
- 'OriginalStandAmount' => [
- 'title' => '原始官网价总价',
- 'description' => '原始官网价总价',
- 'type' => 'string',
- 'example' => '12000',
- ],
- 'CheapStandAmount' => [
- 'title' => '降价后官网价总价',
- 'description' => '降价后官网价总价',
- 'type' => 'string',
- 'example' => '8000',
- ],
- 'CheapRate' => [
- 'title' => '降价比例',
- 'description' => '降价比例',
- 'type' => 'string',
- 'example' => '34%',
- ],
- 'MonthPrice' => [
- 'title' => '折合月价',
- 'description' => '折合月价',
- 'type' => 'string',
- 'example' => '1000',
- ],
- 'StartTime' => [
- 'title' => '降价开始时间',
- 'description' => '降价开始时间',
- 'type' => 'string',
- 'example' => '2023-03-31T16:00:00Z',
- ],
- 'IsShow' => [
- 'title' => '是否展示降价幅度',
- 'description' => '是否展示降价幅度',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- 'LxRequestId' => [
- 'title' => '调用的凌霄requestId',
- 'description' => '调用的凌霄requestId',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- ],
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426****'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否转换成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'OrderId' => ['title' => '订单id', 'description' => '订单id。', 'type' => 'integer', 'format' => 'int64', 'example' => '2104063546*****'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"PriceInfo\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"DiscountAmount\\": 655.2,\\n \\"OriginalAmount\\": 4368,\\n \\"TradeAmount\\": 3712.8,\\n \\"Code\\": \\"ORDER.INST_HAS_UNPAID_ORDER\\",\\n \\"Message\\": \\"存在未支付订单,请先支付或取消原有订单\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionName\\": \\"¥1,391.5 优惠券\\",\\n \\"PromotionDesc\\": \\"¥1,391.5 优惠券(有效期至 03/23/2022)\\",\\n \\"PromotionOptionNo\\": \\"500011220010099\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 587\\n }\\n ],\\n \\"StandPrice\\": \\"32432\\",\\n \\"StandDiscountPrice\\": \\"21321\\",\\n \\"IsContractActivity\\": true,\\n \\"DepreciateInfo\\": {\\n \\"OriginalStandAmount\\": \\"12000\\",\\n \\"CheapStandAmount\\": \\"8000\\",\\n \\"CheapRate\\": \\"34%\\",\\n \\"MonthPrice\\": \\"1000\\",\\n \\"StartTime\\": \\"2023-03-31T16:00:00Z\\",\\n \\"IsShow\\": true\\n },\\n \\"LxRequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询工作空间续费价格',
- ],
- 'DescribeSupportedZones' => [
- 'summary' => '您可以获取支持购买的可用区信息。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '104071',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '包年包月转按量付费',
+ 'summary' => '调用本API可将您包年包月的实例转化为按量付费。',
+ 'description' => '请确保在使用该接口前,已充分了解阿里云实时计算Flink产品的[收费方式和价格](https://help.aliyun.com/zh/flink/product-overview/switch-from-subscription-to-pay-as-you-go?spm=a2c4g.11186623.0.0.51f74f50TffU4r)',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConvertPrepayInstance'],
],
],
- 'parameters' => [
- [
- 'name' => 'Region',
- 'in' => 'query',
- 'schema' => [
- 'title' => 'regionId',
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-beijing',
- ],
- ],
+ 'ramActions' => [
[
- 'name' => 'ArchitectureType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '处理器架构。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'X86' => 'X86',
- 'ARM' => 'ARM',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ConvertVvpInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
],
- 'example' => 'X86',
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '23A9C718-DDAB-1696-B025-18FBC830F7C5',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'TotalCount' => [
- 'description' => '可用区个数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '8',
- ],
- 'TotalPage' => [
- 'description' => '总页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageIndex' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '每页包含的条目数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'ZoneIds' => [
- 'description' => '可用区信息。',
- 'type' => 'array',
- 'items' => [
- 'description' => '可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-beijing-g',
- ],
- ],
- ],
- ],
- ],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"23A9C718-DDAB-1696-B025-18FBC830F7C5\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 8,\\n \\"TotalPage\\": 1,\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"ZoneIds\\": [\\n \\"cn-beijing-g\\"\\n ]\\n}","type":"json"}]',
- 'title' => '获取Flink全托管支持的可用区',
- ],
- 'DescribeSupportedRegions' => [
- 'summary' => '您可以获取支持购买的地域信息。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '104070',
- 'abilityTreeNodes' => [
- 'FEATUREscG9QB5P',
- ],
- 'tenantRelevance' => 'publicInformation',
- ],
- 'parameters' => [],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'B21DC47E-8928-199A-9F32-36D45E4693B4',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功,取值如下:'."\n"
- ."\n"
- .'- true:成功'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'TotalCount' => [
- 'description' => '返回的地域数量',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '10',
- ],
- 'TotalPage' => [
- 'description' => '总页数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'PageIndex' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '每页包含的地域数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'Regions' => [
- 'description' => '地域信息列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '地域信息。',
- 'type' => 'object',
- 'properties' => [
- 'Description' => [
- 'description' => '描述',
- 'type' => 'string',
- 'example' => '“”',
- ],
- 'Extra' => [
- 'title' => 'region的附加信息,对于sdk调用后端不返回该值',
- 'description' => '扩展字段。',
- 'type' => 'string',
- 'example' => '“”',
- ],
- 'RegionName' => [
- 'title' => 'region名称',
- 'description' => '地域名称',
- 'type' => 'string',
- 'example' => '华北2(北京)',
- ],
- 'Region' => [
- 'title' => 'regionId',
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-beijing',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B21DC47E-8928-199A-9F32-36D45E4693B4\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 10,\\n \\"TotalPage\\": 2,\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"Regions\\": [\\n {\\n \\"Description\\": \\"“”\\",\\n \\"Extra\\": \\"“”\\",\\n \\"RegionName\\": \\"华北2(北京)\\",\\n \\"Region\\": \\"cn-beijing\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '获取Flink全托管支持购买的地域',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426****\\",\\n \\"Success\\": true,\\n \\"OrderId\\": 0\\n}","type":"json"}]',
],
'CreateInstance' => [
- 'summary' => '创建一个包年包月或者按量付费flink全托管工作空间。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2714,20 +402,13 @@
'riskType' => 'high',
'chargeType' => 'paid',
'abilityTreeCode' => '103204',
- 'abilityTreeNodes' => [
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscTKD5I3'],
],
'parameters' => [
[
'name' => 'InstanceName',
'in' => 'formData',
- 'schema' => [
- 'description' => '工作空间名称。以小写英文字母开头,包含小写字母、数字、中划线,且不能用中划线结尾。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'rtc-e2e-test-pre',
- ],
+ 'schema' => ['description' => '工作空间名称。以小写英文字母开头,包含小写字母、数字、中划线,且不能用中划线结尾。', 'type' => 'string', 'required' => true, 'example' => 'rtc-e2e-test-pre'],
],
[
'name' => 'ChargeType',
@@ -2739,31 +420,18 @@
'type' => 'string',
'required' => true,
'example' => 'PRE',
- 'enum' => [
- 'PRE',
- 'POST',
- ],
+ 'enum' => ['PRE', 'POST'],
],
],
[
'name' => 'Region',
'in' => 'formData',
- 'schema' => [
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
],
[
'name' => 'VpcId',
'in' => 'formData',
- 'schema' => [
- 'description' => '专有网络VPC ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vpc-2ze9xoh8qyt1rnxfmfcdi',
- ],
+ 'schema' => ['description' => '专有网络VPC ID。', 'type' => 'string', 'required' => true, 'example' => 'vpc-2ze9xoh8qyt1rnxfmfcdi'],
],
[
'name' => 'VSwitchIds',
@@ -2772,12 +440,7 @@
'schema' => [
'description' => '虚拟交换机ID组。',
'type' => 'array',
- 'items' => [
- 'description' => '虚拟交换机ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vsw-m5esz02px6qxiu28x7c2i',
- ],
+ 'items' => ['description' => '虚拟交换机ID。', 'type' => 'string', 'required' => true, 'example' => 'vsw-m5esz02px6qxiu28x7c2i'],
'required' => true,
],
],
@@ -2791,23 +454,11 @@
.'> 当ChargeType配置为PRE时,资源规格参数必填。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。'."\n"
- .'> - 在包年包月的工作空间下,CPU数量必填。在按量付费的工作空间下,可以不用填写CPU数量。- 创建的目标项目空间的CPU数量要小于工作空间中剩余CPU数量(工作空间购买的总CPU数量减去其他项目空间已分配CPU数量),否则会报错。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '30',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。单位为GB。'."\n"
- ."\n"
- .'> 内存大小必须为CPU数量的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '120',
- ],
+ 'Cpu' => ['description' => 'CPU数量。'."\n"
+ .'> - 在包年包月的工作空间下,CPU数量必填。在按量付费的工作空间下,可以不用填写CPU数量。- 创建的目标项目空间的CPU数量要小于工作空间中剩余CPU数量(工作空间购买的总CPU数量减去其他项目空间已分配CPU数量),否则会报错。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30'],
+ 'MemoryGB' => ['description' => '内存大小。单位为GB。'."\n"
+ ."\n"
+ .'> 内存大小必须为CPU数量的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '120'],
],
'required' => false,
],
@@ -2825,41 +476,25 @@
'type' => 'string',
'required' => false,
'example' => 'Month',
- 'enum' => [
- 'Year',
- 'Month',
- 'Day',
- 'Hour',
- ],
+ 'enum' => ['Year', 'Month', 'Day', 'Hour'],
],
],
[
'name' => 'Duration',
'in' => 'formData',
- 'schema' => [
- 'description' => '订购周期数量。'."\n"
- ."\n"
- .'> 当ChargeType配置为PRE时,Duration参数必填。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '订购周期数量。'."\n"
+ ."\n"
+ .'> 当ChargeType配置为PRE时,Duration参数必填。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'AutoRenew',
'in' => 'formData',
- 'schema' => [
- 'description' => '是否自动续费。取值:'."\n"
- ."\n"
- .'- **true**:自动续费'."\n"
- .'- **false**:不自动续费(默认)'."\n"
- ."\n"
- .'>按量付费时,该参数无效。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否自动续费。取值:'."\n"
+ ."\n"
+ .'- **true**:自动续费'."\n"
+ .'- **false**:不自动续费(默认)'."\n"
+ ."\n"
+ .'>按量付费时,该参数无效。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'Storage',
@@ -2873,23 +508,13 @@
'description' => 'OSS存储。',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => '绑定OSS的Bucket名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'oss-flink-cn-shanghai-260343971602724445',
- ],
+ 'Bucket' => ['description' => '绑定OSS的Bucket名称。', 'type' => 'string', 'required' => false, 'example' => 'oss-flink-cn-shanghai-260343971602724445'],
],
'required' => false,
],
- 'FullyManaged' => [
- 'description' => '是否选择全托管存储,全托管存储和绑定oss bucket的方式仅能选择一种。'."\n"
- .'- true:使用。'."\n"
- .'- false:不使用。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'FullyManaged' => ['description' => '是否选择全托管存储,全托管存储和绑定oss bucket的方式仅能选择一种。'."\n"
+ .'- true:使用。'."\n"
+ .'- false:不使用。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
'required' => true,
],
@@ -2897,47 +522,24 @@
[
'name' => 'UsePromotionCode',
'in' => 'formData',
- 'schema' => [
- 'description' => '是否使用优惠券。取值如下:'."\n"
- .'- true:使用。'."\n"
- .'- false:不使用。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => '是否使用优惠券。取值如下:'."\n"
+ .'- true:使用。'."\n"
+ .'- false:不使用。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
[
'name' => 'PromotionCode',
'in' => 'formData',
- 'schema' => [
- 'title' => '优惠券code',
- 'description' => '优惠券code。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '500043499350689',
- ],
+ 'schema' => ['title' => '优惠券code', 'description' => '优惠券code。', 'type' => 'string', 'required' => false, 'example' => '500043499350689'],
],
[
'name' => 'ResourceGroupId',
'in' => 'formData',
- 'schema' => [
- 'title' => '优惠券code',
- 'description' => '资源组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rg-acfmxbavps3rpiy',
- ],
+ 'schema' => ['title' => '优惠券code', 'description' => '资源组ID。', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxbavps3rpiy'],
],
[
'name' => 'Extra',
'in' => 'formData',
- 'schema' => [
- 'title' => '优惠券code',
- 'description' => '扩展字段。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '“”',
- ],
+ 'schema' => ['title' => '优惠券code', 'description' => '扩展字段。', 'type' => 'string', 'required' => false, 'example' => '“”'],
],
[
'name' => 'ArchitectureType',
@@ -2947,23 +549,14 @@
'description' => '处理器架构。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'X86' => 'X86',
- 'ARM' => 'ARM',
- ],
+ 'enumValueTitles' => ['X86' => 'X86', 'ARM' => 'ARM'],
'example' => 'X86',
],
],
[
'name' => 'Ha',
'in' => 'formData',
- 'schema' => [
- 'description' => '是否选择同城高可用资源。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => '是否选择同城高可用资源。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false'],
],
[
'name' => 'HaVSwitchIds',
@@ -2972,12 +565,7 @@
'schema' => [
'description' => '同城高可用备可用区vswitch组。',
'type' => 'array',
- 'items' => [
- 'description' => '同城高可用备可用区vswitch组。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"vsw-2ze78bg1iewkwk25dylxi\\"]',
- ],
+ 'items' => ['description' => '同城高可用备可用区vswitch组。', 'type' => 'string', 'required' => false, 'example' => '[\\"vsw-2ze78bg1iewkwk25dylxi\\"]'],
'required' => false,
],
],
@@ -2989,20 +577,8 @@
'description' => '同城高可用资源描述。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => '同城高可用CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '同城高可用内存大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '40',
- ],
+ 'Cpu' => ['description' => '同城高可用CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ 'MemoryGB' => ['description' => '同城高可用内存大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '40'],
],
'required' => false,
],
@@ -3014,10 +590,7 @@
'description' => '监控报警服务类型,可以选择arms或云监控。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'TAIHAO' => 'TAIHAO',
- 'ARMS' => 'ARMS',
- ],
+ 'enumValueTitles' => ['TAIHAO' => 'TAIHAO', 'ARMS' => 'ARMS'],
'example' => 'TAIHAO',
],
],
@@ -3033,20 +606,8 @@
'description' => '标签。',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'title' => '标签值',
- 'description' => '标签值',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tag',
- ],
- 'Key' => [
- 'title' => '标签键',
- 'description' => '标签键',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'Value' => ['title' => '标签值', 'description' => '标签值', 'type' => 'string', 'required' => false, 'example' => 'tag'],
+ 'Key' => ['title' => '标签键', 'description' => '标签键', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
'required' => false,
],
@@ -3061,67 +622,49 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求id。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
'OrderInfo' => [
'description' => '订单信息。',
'type' => 'object',
'properties' => [
- 'OrderId' => [
- 'title' => '订单id',
- 'description' => '订单id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '210406354694567',
- ],
- 'InstanceId' => [
- 'title' => '实例id',
- 'description' => '订单实例id。',
- 'type' => 'string',
- 'example' => 'f-cn-zvp2q0zik06',
- ],
- 'StorageOrderId' => [
- 'title' => '存储订单id',
- 'description' => '存储订单id',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '240353501970749',
- ],
- 'StorageInstanceId' => [
- 'title' => '存储实例id',
- 'description' => '存储实例id',
- 'type' => 'string',
- 'example' => 'sc_flinkstorage_public_cn-w*****'."\n",
- ],
+ 'OrderId' => ['title' => '订单id', 'description' => '订单id。', 'type' => 'integer', 'format' => 'int64', 'example' => '210406354694567'],
+ 'InstanceId' => ['title' => '实例id', 'description' => '订单实例id。', 'type' => 'string', 'example' => 'f-cn-zvp2q0zik06'],
+ 'StorageOrderId' => ['title' => '存储订单id', 'description' => '存储订单id', 'type' => 'integer', 'format' => 'int64', 'example' => '240353501970749'],
+ 'StorageInstanceId' => ['title' => '存储实例id', 'description' => '存储实例id', 'type' => 'string', 'example' => 'sc_flinkstorage_public_cn-w*****'."\n"],
],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"OrderInfo\\": {\\n \\"OrderId\\": 210406354694567,\\n \\"InstanceId\\": \\"f-cn-zvp2q0zik06\\",\\n \\"StorageOrderId\\": 240353501970749,\\n \\"StorageInstanceId\\": \\"sc_flinkstorage_public_cn-w*****\\\\n\\"\\n }\\n}","type":"json"}]',
'title' => '创建flink全托管工作空间',
+ 'summary' => '创建一个包年包月或者按量付费flink全托管工作空间。',
'description' => '**请确保在使用该接口前,已充分了解Flink全托管产品的收费方式和[价格](https://help.aliyun.com/zh/flink/product-overview/billing-overview)**',
- ],
- 'RenewInstance' => [
- 'summary' => '续费一个包年包月flink全托管工作空间。',
- 'methods' => [
- 'post',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateInstance'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'stream:CreateVvpInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"OrderInfo\\": {\\n \\"OrderId\\": 210406354694567,\\n \\"InstanceId\\": \\"f-cn-zvp2q0zik06\\",\\n \\"StorageOrderId\\": 240353501970749,\\n \\"StorageInstanceId\\": \\"sc_flinkstorage_public_cn-w*****\\\\n\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateNamespace' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3130,124 +673,222 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '103206',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeCode' => '103226',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
- 'schema' => [
- 'title' => '地域id',
- 'description' => '地域id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen'],
],
[
'name' => 'InstanceId',
'in' => 'formData',
- 'schema' => [
- 'title' => '实例id',
- 'description' => '实例id',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sc_flinkserverless_public_cn-7e22ae5sess',
- ],
+ 'schema' => ['description' => '订单实例ID。', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06'],
],
[
- 'name' => 'Duration',
+ 'name' => 'Namespace',
'in' => 'formData',
- 'schema' => [
- 'title' => '订购周期数量',
- 'description' => '订购周期数量',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'namespace名称。', 'type' => 'string', 'required' => true, 'example' => 'di-593440390152545'],
],
[
- 'name' => 'PricingCycle',
+ 'name' => 'ResourceSpec',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '订购周期',
- 'description' => '订购周期',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Month',
- 'enum' => [
- 'Year',
- 'Month',
- 'Day',
- 'Hour',
+ 'description' => '资源规格。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30'],
+ 'MemoryGB' => ['description' => '内存大小。单位为GB。'."\n"
+ ."\n"
+ .'> 内存数量必须为CPU数量的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '120'],
],
+ 'required' => false,
],
],
[
- 'name' => 'UsePromotionCode',
+ 'name' => 'Ha',
'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'required' => false, 'default' => 'false', 'description' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'type' => 'boolean',
- 'required' => false,
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功。', 'type' => 'boolean', 'example' => '是否成功'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '创建项目空间',
+ 'summary' => '在flink全托管实例中下创建项目空间。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateNamespace'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PromotionCode',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'stream:CreateVvpNamespace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'DeleteInstance' => [
+ 'summary' => '释放按量付费的flink全托管工作空间。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '103202',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Region',
'in' => 'formData',
+ 'schema' => ['description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '订单实例ID。', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'type' => 'string',
- 'required' => false,
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功。', 'type' => 'boolean', 'example' => 'True'],
+ ],
+ 'description' => '',
],
],
],
+ 'title' => '释放按量付费Flink全托管工作空间',
+ 'description' => '**请确保在使用该接口前,已充分了解Flink全托管产品的收费方式和[价格](https://help.aliyun.com/zh/flink/product-overview/refund-policy)**',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteInstance'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'stream:DeleteVvpInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'DeleteNamespace' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '103227',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Region',
+ 'in' => 'formData',
+ 'schema' => ['description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '订单实例ID。', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06'],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'namespace名称。', 'type' => 'string', 'required' => true, 'example' => 'di-593439443804417'],
+ ],
+ ],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'OrderId' => [
- 'title' => 'orderId',
- 'description' => 'orderId',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '210406354690749',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功。', 'type' => 'boolean', 'example' => '是否成功'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"OrderId\\": 210406354690749,\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '续费flink全托管工作空间',
- 'description' => '**请确保在使用该接口前,已充分了解flink全托管产品的收费方式和[价格](https://help.aliyun.com/zh/flink/product-overview/renewal-policy)**',
- ],
- 'DescribeInstances' => [
- 'summary' => '查询一个或多个flink全托管工作空间的详细信息。',
- 'methods' => [
- 'get',
+ 'title' => '删除项目空间',
+ 'summary' => '删除项目空间。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNamespace'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'stream:DeleteVvpNamespace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'DescribeInstances' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -3260,52 +901,28 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '103207',
- 'abilityTreeNodes' => [
- 'FEATUREscG9QB5P',
- ],
+ 'abilityTreeNodes' => ['FEATUREscG9QB5P'],
],
'parameters' => [
[
'name' => 'PageIndex',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数,最大值为100行。默认值:10。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页行数,最大值为100行。默认值:10。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'f-cn-wwo36qj4g06',
- ],
+ 'schema' => ['description' => '订单实例ID。', 'type' => 'string', 'required' => false, 'example' => 'f-cn-wwo36qj4g06'],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-shenzhen',
- ],
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen'],
],
[
'name' => 'ChargeType',
@@ -3316,22 +933,13 @@
'type' => 'string',
'required' => false,
'example' => 'PRE',
- 'enum' => [
- 'PRE',
- 'POST',
- ],
+ 'enum' => ['PRE', 'POST'],
],
],
[
'name' => 'Elastic',
'in' => 'query',
- 'schema' => [
- 'title' => '是否是混合计费',
- 'description' => '是否是混合计费',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['type' => 'boolean', 'example' => 'true'],
],
[
'name' => 'Tags',
@@ -3344,67 +952,36 @@
'description' => '实例标签',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '标签的值。'."\n"
- .'长度限制为 64 Unicode 字符。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ys',
- ],
- 'Key' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'Value' => ['description' => '标签的值。'."\n"
+ .'长度限制为 64 Unicode 字符。', 'type' => 'string', 'required' => false, 'example' => 'ys'],
+ 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
'required' => false,
],
'required' => false,
- 'example' => 'true',
],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => ''],
],
[
'name' => 'ArchitectureType',
'in' => 'query',
- 'schema' => [
- 'title' => '架构类型',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'X86',
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'example' => 'X86', 'description' => ''],
],
[
'name' => 'InstanceName',
'in' => 'query',
'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '实例名称',
- 'description' => '实例名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'e2e-test',
- ],
+ 'schema' => ['type' => 'string', 'example' => 'e2e-test'],
],
[
'name' => 'NamespaceName',
'in' => 'query',
'allowEmptyValue' => false,
- 'schema' => [
- 'title' => 'namespace名称',
- 'description' => 'namespace名称',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'e2e-test-default',
- ],
+ 'schema' => ['type' => 'string', 'example' => 'e2e-test-default'],
],
],
'responses' => [
@@ -3412,42 +989,14 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'TotalCount' => [
- 'description' => '总实例数目',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '15',
- ],
- 'TotalPage' => [
- 'description' => '总页数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'PageIndex' => [
- 'description' => '当前页码',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '分页属性,每页多少实例',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'C8DF2A5B-6FBA-5651-A3D4-960F3664****',
- ],
- 'Success' => [
- 'description' => '是否成功,取值如下:'."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'TotalCount' => ['description' => '总实例数目', 'type' => 'integer', 'format' => 'int64', 'example' => '15'],
+ 'TotalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'PageIndex' => ['description' => '当前页码', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '分页属性,每页多少实例', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C8DF2A5B-6FBA-5651-A3D4-960F3664****'],
+ 'Success' => ['description' => '是否成功,取值如下:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
'Instances' => [
'description' => '实例组详情',
'type' => 'array',
@@ -3455,94 +1004,49 @@
'description' => '实例详情',
'type' => 'object',
'properties' => [
- 'ResourceGroupId' => [
- 'type' => 'string',
- ],
- 'MonitorType' => [
- 'type' => 'string',
- ],
+ 'ResourceGroupId' => ['type' => 'string', 'description' => ''],
+ 'MonitorType' => ['type' => 'string', 'description' => ''],
'HaResourceSpec' => [
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'MemoryGB' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
+ 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
],
+ 'description' => '',
],
- 'ResourceCreateTime' => [
- 'description' => '实例创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1629879567394',
- ],
- 'Elastic' => [
- 'type' => 'boolean',
- ],
- 'HaZoneId' => [
- 'type' => 'string',
- ],
+ 'ResourceCreateTime' => ['description' => '实例创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1629879567394'],
+ 'Elastic' => ['type' => 'boolean', 'description' => ''],
+ 'HaZoneId' => ['type' => 'string', 'description' => ''],
'VSwitchInfo' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Description' => [
- 'type' => 'string',
- ],
- 'VpcId' => [
- 'type' => 'string',
- ],
- 'ZoneId' => [
- 'type' => 'string',
- ],
- 'VSwitchCidr' => [
- 'type' => 'string',
- ],
- 'VSwitchId' => [
- 'type' => 'string',
- ],
- 'AvailableIpAddressCount' => [
- 'type' => 'string',
- ],
- 'VSwitchName' => [
- 'type' => 'string',
- ],
- 'RegionId' => [
- 'type' => 'string',
- ],
- ],
+ 'Description' => ['type' => 'string', 'description' => ''],
+ 'VpcId' => ['type' => 'string', 'description' => ''],
+ 'ZoneId' => ['type' => 'string', 'description' => ''],
+ 'VSwitchCidr' => ['type' => 'string', 'description' => ''],
+ 'VSwitchId' => ['type' => 'string', 'description' => ''],
+ 'AvailableIpAddressCount' => ['type' => 'string', 'description' => ''],
+ 'VSwitchName' => ['type' => 'string', 'description' => ''],
+ 'RegionId' => ['type' => 'string', 'description' => ''],
+ ],
+ 'description' => '',
],
+ 'description' => '',
],
- 'Ha' => [
- 'type' => 'boolean',
- ],
+ 'Ha' => ['type' => 'boolean', 'description' => ''],
'VpcInfo' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'VpcId' => [
- 'type' => 'string',
- ],
- 'CidrBlock' => [
- 'type' => 'string',
- ],
- 'VpcName' => [
- 'type' => 'string',
- ],
- 'RegionId' => [
- 'type' => 'string',
- ],
+ 'Status' => ['type' => 'string', 'description' => ''],
+ 'Description' => ['type' => 'string', 'description' => ''],
+ 'VpcId' => ['type' => 'string', 'description' => ''],
+ 'CidrBlock' => ['type' => 'string', 'description' => ''],
+ 'VpcName' => ['type' => 'string', 'description' => ''],
+ 'RegionId' => ['type' => 'string', 'description' => ''],
],
+ 'description' => '',
],
'Tags' => [
'title' => '资源列表',
@@ -3552,160 +1056,84 @@
'description' => '标签',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'title' => '标签值',
- 'description' => '标签值',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Key' => [
- 'title' => '标签键',
- 'description' => '标签键',
- 'type' => 'string',
- 'example' => 'flink',
- ],
+ 'Value' => ['title' => '标签值', 'description' => '标签值', 'type' => 'string', 'example' => 'test'],
+ 'Key' => ['title' => '标签键', 'description' => '标签键', 'type' => 'string', 'example' => 'flink'],
],
],
],
- 'ArchitectureType' => [
- 'type' => 'string',
- ],
+ 'ArchitectureType' => ['type' => 'string', 'description' => ''],
'ClusterState' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'type' => 'string',
- ],
- 'CreateTimeout' => [
- 'type' => 'boolean',
- ],
+ 'Status' => ['type' => 'string', 'description' => ''],
+ 'CreateTimeout' => ['type' => 'boolean', 'description' => ''],
'ClusterStage' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'ClusterId' => [
- 'type' => 'string',
- ],
- 'CurrentStage' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'Status' => ['type' => 'string', 'description' => ''],
+ 'Message' => ['type' => 'string', 'description' => ''],
+ 'ClusterId' => ['type' => 'string', 'description' => ''],
+ 'CurrentStage' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
'TotalStageWithWeight' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'StepIndex' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'StepName' => [
- 'type' => 'string',
- ],
- 'Weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'StepIndex' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
+ 'StepName' => ['type' => 'string', 'description' => ''],
+ 'Weight' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
],
+ 'description' => '',
],
+ 'description' => '',
],
],
+ 'description' => '',
],
- 'VpcCidr' => [
- 'type' => 'string',
- ],
- 'ClusterId' => [
- 'type' => 'string',
- ],
- 'SubStatus' => [
- 'type' => 'string',
- ],
- 'Url' => [
- 'type' => 'string',
- ],
+ 'VpcCidr' => ['type' => 'string', 'description' => ''],
+ 'ClusterId' => ['type' => 'string', 'description' => ''],
+ 'SubStatus' => ['type' => 'string', 'description' => ''],
+ 'Url' => ['type' => 'string', 'description' => ''],
'UserSlbDto' => [
'type' => 'object',
'properties' => [
- 'SlbId' => [
- 'type' => 'string',
- ],
- 'SlbIp' => [
- 'type' => 'string',
- ],
- 'ExistSlb' => [
- 'type' => 'boolean',
- ],
+ 'SlbId' => ['type' => 'string', 'description' => ''],
+ 'SlbIp' => ['type' => 'string', 'description' => ''],
+ 'ExistSlb' => ['type' => 'boolean', 'description' => ''],
'UserSlbListeners' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'ListenersStatus' => [
- 'type' => 'string',
- ],
- 'Port' => [
- 'type' => 'string',
- ],
+ 'ListenersStatus' => ['type' => 'string', 'description' => ''],
+ 'Port' => ['type' => 'string', 'description' => ''],
],
+ 'description' => '',
],
+ 'description' => '',
],
- 'SlbStatus' => [
- 'type' => 'string',
- ],
+ 'SlbStatus' => ['type' => 'string', 'description' => ''],
],
+ 'description' => '',
],
],
+ 'description' => '',
],
- 'ZoneId' => [
- 'description' => '实例所属的可用区ID。',
- 'type' => 'string',
- 'example' => 'cn-beijing-g',
- ],
+ 'ZoneId' => ['description' => '实例所属的可用区ID。', 'type' => 'string', 'example' => 'cn-beijing-g'],
'VSwitchIds' => [
'description' => '虚拟交换机ID组。',
'type' => 'array',
- 'items' => [
- 'description' => '虚拟交换机ID。',
- 'type' => 'string',
- 'example' => 'vsw-2ze6yqnc19*****psjj0j',
- ],
- ],
- 'InstanceId' => [
- 'description' => '实例ID。',
- 'type' => 'string',
- 'example' => 'f-cn-zvp2q0z****',
- ],
- 'ResourceExpiredTime' => [
- 'title' => '超期时间',
- 'description' => '超期时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1637337600000',
- ],
- 'AskClusterId' => [
- 'type' => 'string',
+ 'items' => ['description' => '虚拟交换机ID。', 'type' => 'string', 'example' => 'vsw-2ze6yqnc19*****psjj0j'],
],
+ 'InstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'f-cn-zvp2q0z****'],
+ 'ResourceExpiredTime' => ['title' => '超期时间', 'description' => '超期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1637337600000'],
+ 'AskClusterId' => ['type' => 'string', 'description' => ''],
'ResourceSpec' => [
'description' => '资源规格信息',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '设置的内存数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '40',
- ],
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'MemoryGB' => ['description' => '设置的内存数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '40'],
],
],
'HaVSwitchInfo' => [
@@ -3713,347 +1141,599 @@
'items' => [
'type' => 'object',
'properties' => [
- 'Description' => [
- 'type' => 'string',
- ],
- 'VpcId' => [
- 'type' => 'string',
- ],
- 'ZoneId' => [
- 'type' => 'string',
- ],
- 'VSwitchCidr' => [
- 'type' => 'string',
- ],
- 'VSwitchId' => [
- 'type' => 'string',
- ],
- 'AvailableIpAddressCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'VSwitchName' => [
- 'type' => 'string',
- ],
- 'RegionId' => [
- 'type' => 'string',
- ],
- ],
+ 'Description' => ['type' => 'string', 'description' => ''],
+ 'VpcId' => ['type' => 'string', 'description' => ''],
+ 'ZoneId' => ['type' => 'string', 'description' => ''],
+ 'VSwitchCidr' => ['type' => 'string', 'description' => ''],
+ 'VSwitchId' => ['type' => 'string', 'description' => ''],
+ 'AvailableIpAddressCount' => ['type' => 'integer', 'format' => 'int64', 'description' => ''],
+ 'VSwitchName' => ['type' => 'string', 'description' => ''],
+ 'RegionId' => ['type' => 'string', 'description' => ''],
+ ],
+ 'description' => '',
],
+ 'description' => '',
],
'HaVSwitchIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string', 'description' => ''],
+ 'description' => '',
],
'ClusterUsedStorage' => [
'type' => 'object',
'properties' => [
- 'ClusterId' => [
- 'type' => 'string',
- ],
- 'UsedStorage' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
+ 'ClusterId' => ['type' => 'string', 'description' => ''],
+ 'UsedStorage' => ['type' => 'number', 'format' => 'float', 'description' => ''],
],
+ 'description' => '',
],
- 'InstanceName' => [
- 'description' => '工作空间名称。',
- 'type' => 'string',
- 'example' => 'vvp1',
- ],
+ 'InstanceName' => ['description' => '工作空间名称。', 'type' => 'string', 'example' => 'vvp1'],
'HostAliases' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Ip' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Ip' => ['type' => 'string', 'required' => true, 'description' => ''],
'HostNames' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string', 'description' => ''],
'required' => true,
+ 'description' => '',
],
],
+ 'description' => '',
],
'required' => true,
+ 'description' => '',
],
- 'Uid' => [
- 'description' => '实例所属用户ID。',
- 'type' => 'string',
- 'example' => '183899668736****',
- ],
+ 'Uid' => ['description' => '实例所属用户ID。', 'type' => 'string', 'example' => '183899668736****'],
'ClusterUsedResources' => [
'type' => 'object',
'properties' => [
- 'ElasticUsedMemory' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'ClusterId' => [
- 'type' => 'string',
- ],
- 'ElasticUsedCpu' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'UsedCpu' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'GuaranteedUsedResource' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'GuaranteedUsedCpu' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'HaUsedCpu' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'UsedMemory' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'UsedResource' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'Ha' => [
- 'type' => 'boolean',
- ],
- 'HaUsedMemory' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'HaUsedResource' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'ElasticUsedResource' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'GuaranteedUsedMemory' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
+ 'ElasticUsedMemory' => ['type' => 'number', 'format' => 'float', 'description' => ''],
+ 'ClusterId' => ['type' => 'string', 'description' => ''],
+ 'ElasticUsedCpu' => ['type' => 'number', 'format' => 'float', 'description' => ''],
+ 'UsedCpu' => ['type' => 'number', 'format' => 'float', 'description' => ''],
+ 'GuaranteedUsedResource' => ['type' => 'number', 'format' => 'float', 'description' => ''],
+ 'GuaranteedUsedCpu' => ['type' => 'number', 'format' => 'float', 'description' => ''],
+ 'HaUsedCpu' => ['type' => 'number', 'format' => 'float', 'description' => ''],
+ 'UsedMemory' => ['type' => 'number', 'format' => 'float', 'description' => ''],
+ 'UsedResource' => ['type' => 'number', 'format' => 'float', 'description' => ''],
+ 'Ha' => ['type' => 'boolean', 'description' => ''],
+ 'HaUsedMemory' => ['type' => 'number', 'format' => 'float', 'description' => ''],
+ 'HaUsedResource' => ['type' => 'number', 'format' => 'float', 'description' => ''],
+ 'ElasticUsedResource' => ['type' => 'number', 'format' => 'float', 'description' => ''],
+ 'GuaranteedUsedMemory' => ['type' => 'number', 'format' => 'float', 'description' => ''],
],
+ 'description' => '',
],
'ElasticResourceSpec' => [
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'MemoryGB' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
+ 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
],
+ 'description' => '',
],
'Storage' => [
'description' => '存储信息。',
'type' => 'object',
'properties' => [
- 'FullyManaged' => [
- 'type' => 'boolean',
- ],
- 'SupportMigrationProgressDetection' => [
- 'type' => 'boolean',
- ],
- 'OrderState' => [
- 'type' => 'string',
- ],
- 'SupportCreateFullyManagedStorage' => [
- 'type' => 'boolean',
- ],
+ 'FullyManaged' => ['type' => 'boolean', 'description' => ''],
+ 'SupportMigrationProgressDetection' => ['type' => 'boolean', 'description' => ''],
+ 'OrderState' => ['type' => 'string', 'description' => ''],
+ 'SupportCreateFullyManagedStorage' => ['type' => 'boolean', 'description' => ''],
'Oss' => [
'description' => 'OSS存储信息。',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => 'OSS的Bucket名称。',
- 'type' => 'string',
- 'example' => 'oss_flink',
- ],
+ 'Bucket' => ['description' => 'OSS的Bucket名称。', 'type' => 'string', 'example' => 'oss_flink'],
],
],
],
],
- 'VpcId' => [
- 'description' => '专有网络id',
- 'type' => 'string',
- 'example' => 'vpc-2ze9*******nxfmfcdi',
- ],
- 'ResourceId' => [
- 'description' => '资源ID。',
- 'type' => 'string',
- 'example' => 'b3690a1655****',
- ],
- 'ChargeType' => [
- 'description' => '付费类型,取值如下:'."\n"
- .'- POST:按量付费'."\n"
- .'- PRE:包年包月',
- 'type' => 'string',
- 'example' => 'PRE',
- ],
- 'Ansm' => [
- 'type' => 'boolean',
- ],
- 'Region' => [
- 'description' => '实例所属地区',
- 'type' => 'string',
- 'example' => 'cn-beijing',
- ],
- 'ElasticOrderState' => [
- 'type' => 'string',
+ 'VpcId' => ['description' => '专有网络id', 'type' => 'string', 'example' => 'vpc-2ze9*******nxfmfcdi'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'b3690a1655****'],
+ 'ChargeType' => ['description' => '付费类型,取值如下:'."\n"
+ .'- POST:按量付费'."\n"
+ .'- PRE:包年包月', 'type' => 'string', 'example' => 'PRE'],
+ 'Ansm' => ['type' => 'boolean', 'description' => ''],
+ 'Region' => ['description' => '实例所属地区', 'type' => 'string', 'example' => 'cn-beijing'],
+ 'ElasticOrderState' => ['type' => 'string', 'description' => ''],
+ 'ElasticInstanceId' => ['type' => 'string', 'example' => 'f-cn-e3afbd321'],
+ 'OssInfo' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Endpoint' => ['type' => 'string', 'description' => ''],
+ 'AccessId' => ['type' => 'string', 'description' => ''],
+ 'Bucket' => ['type' => 'string', 'description' => ''],
+ 'BucketVersioningStatus' => ['type' => 'string', 'description' => ''],
+ 'AccessKey' => ['type' => 'string', 'description' => ''],
+ ],
+ 'description' => '',
+ ],
+ 'OrderState' => ['description' => '订单状态,取值如下:'."\n"
+ .'- NOT_INIT:下单还未部署组件。'."\n"
+ .'- NORMAL:正常状态。'."\n"
+ .'- CEASE:过期状态。'."\n"
+ .'- RELEASE:超期状态。', 'type' => 'string', 'example' => 'NORMAL'],
+ 'ClusterStatus' => ['description' => '集群状态,取值如下:'."\n"
+ .'- CREATING:创建中。'."\n"
+ .'- RUNNING:运行中。'."\n"
+ .'- DISABLE:无效。'."\n"
+ .'- DELETING:删除中。'."\n"
+ .'- DELETED:已删除。', 'type' => 'string', 'example' => 'RUNNING'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
+ ],
+ 'title' => '查看已购买Flink全托管工作空间',
+ 'summary' => '查询一个或多个flink全托管工作空间的详细信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstances'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'stream:DescribeVvpInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 15,\\n \\"TotalPage\\": 2,\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"C8DF2A5B-6FBA-5651-A3D4-960F3664****\\",\\n \\"Success\\": true,\\n \\"Instances\\": [\\n {\\n \\"ResourceGroupId\\": \\"\\",\\n \\"MonitorType\\": \\"\\",\\n \\"HaResourceSpec\\": {\\n \\"Cpu\\": 0,\\n \\"MemoryGB\\": 0\\n },\\n \\"ResourceCreateTime\\": 1629879567394,\\n \\"Elastic\\": true,\\n \\"HaZoneId\\": \\"\\",\\n \\"VSwitchInfo\\": [\\n {\\n \\"Description\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"ZoneId\\": \\"\\",\\n \\"VSwitchCidr\\": \\"\\",\\n \\"VSwitchId\\": \\"\\",\\n \\"AvailableIpAddressCount\\": \\"\\",\\n \\"VSwitchName\\": \\"\\",\\n \\"RegionId\\": \\"\\"\\n }\\n ],\\n \\"Ha\\": true,\\n \\"VpcInfo\\": {\\n \\"Status\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"CidrBlock\\": \\"\\",\\n \\"VpcName\\": \\"\\",\\n \\"RegionId\\": \\"\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"test\\",\\n \\"Key\\": \\"flink\\"\\n }\\n ],\\n \\"ArchitectureType\\": \\"\\",\\n \\"ClusterState\\": {\\n \\"Status\\": \\"\\",\\n \\"CreateTimeout\\": true,\\n \\"ClusterStage\\": {\\n \\"Status\\": \\"\\",\\n \\"Message\\": \\"\\",\\n \\"ClusterId\\": \\"\\",\\n \\"CurrentStage\\": 0,\\n \\"TotalStageWithWeight\\": [\\n {\\n \\"StepIndex\\": 0,\\n \\"StepName\\": \\"\\",\\n \\"Weight\\": 0\\n }\\n ]\\n },\\n \\"VpcCidr\\": \\"\\",\\n \\"ClusterId\\": \\"\\",\\n \\"SubStatus\\": \\"\\",\\n \\"Url\\": \\"\\",\\n \\"UserSlbDto\\": {\\n \\"SlbId\\": \\"\\",\\n \\"SlbIp\\": \\"\\",\\n \\"ExistSlb\\": true,\\n \\"UserSlbListeners\\": [\\n {\\n \\"ListenersStatus\\": \\"\\",\\n \\"Port\\": \\"\\"\\n }\\n ],\\n \\"SlbStatus\\": \\"\\"\\n }\\n },\\n \\"ZoneId\\": \\"cn-beijing-g\\",\\n \\"VSwitchIds\\": [\\n \\"vsw-2ze6yqnc19*****psjj0j\\"\\n ],\\n \\"InstanceId\\": \\"f-cn-zvp2q0z****\\",\\n \\"ResourceExpiredTime\\": 1637337600000,\\n \\"AskClusterId\\": \\"\\",\\n \\"ResourceSpec\\": {\\n \\"Cpu\\": 10,\\n \\"MemoryGB\\": 40\\n },\\n \\"HaVSwitchInfo\\": [\\n {\\n \\"Description\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"ZoneId\\": \\"\\",\\n \\"VSwitchCidr\\": \\"\\",\\n \\"VSwitchId\\": \\"\\",\\n \\"AvailableIpAddressCount\\": 0,\\n \\"VSwitchName\\": \\"\\",\\n \\"RegionId\\": \\"\\"\\n }\\n ],\\n \\"HaVSwitchIds\\": [\\n \\"\\"\\n ],\\n \\"ClusterUsedStorage\\": {\\n \\"ClusterId\\": \\"\\",\\n \\"UsedStorage\\": 0\\n },\\n \\"InstanceName\\": \\"vvp1\\",\\n \\"HostAliases\\": [\\n {\\n \\"Ip\\": \\"\\",\\n \\"HostNames\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"Uid\\": \\"183899668736****\\",\\n \\"ClusterUsedResources\\": {\\n \\"ElasticUsedMemory\\": 0,\\n \\"ClusterId\\": \\"\\",\\n \\"ElasticUsedCpu\\": 0,\\n \\"UsedCpu\\": 0,\\n \\"GuaranteedUsedResource\\": 0,\\n \\"GuaranteedUsedCpu\\": 0,\\n \\"HaUsedCpu\\": 0,\\n \\"UsedMemory\\": 0,\\n \\"UsedResource\\": 0,\\n \\"Ha\\": true,\\n \\"HaUsedMemory\\": 0,\\n \\"HaUsedResource\\": 0,\\n \\"ElasticUsedResource\\": 0,\\n \\"GuaranteedUsedMemory\\": 0\\n },\\n \\"ElasticResourceSpec\\": {\\n \\"Cpu\\": 0,\\n \\"MemoryGB\\": 0\\n },\\n \\"Storage\\": {\\n \\"FullyManaged\\": true,\\n \\"SupportMigrationProgressDetection\\": true,\\n \\"OrderState\\": \\"\\",\\n \\"SupportCreateFullyManagedStorage\\": true,\\n \\"Oss\\": {\\n \\"Bucket\\": \\"oss_flink\\"\\n }\\n },\\n \\"VpcId\\": \\"vpc-2ze9*******nxfmfcdi\\",\\n \\"ResourceId\\": \\"b3690a1655****\\",\\n \\"ChargeType\\": \\"PRE\\",\\n \\"Ansm\\": true,\\n \\"Region\\": \\"cn-beijing\\",\\n \\"ElasticOrderState\\": \\"\\",\\n \\"ElasticInstanceId\\": \\"f-cn-e3afbd321\\",\\n \\"OssInfo\\": {\\n \\"Endpoint\\": \\"\\",\\n \\"AccessId\\": \\"\\",\\n \\"Bucket\\": \\"\\",\\n \\"BucketVersioningStatus\\": \\"\\",\\n \\"AccessKey\\": \\"\\"\\n },\\n \\"OrderState\\": \\"NORMAL\\",\\n \\"ClusterStatus\\": \\"RUNNING\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeNamespaces' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '103229',
+ 'abilityTreeNodes' => ['FEATUREscG9QB5P'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Region',
+ 'in' => 'query',
+ 'schema' => ['title' => 'regionId', 'description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => ['title' => '实例id', 'description' => '订单实例ID。', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06'],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => ['title' => '命名空间名称', 'description' => '项目空间名称。', 'type' => 'string', 'required' => false, 'example' => 'di-590843445844225'],
+ ],
+ [
+ 'name' => 'Tags',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '标签列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => ['description' => '标签值。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ 'Key' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'Flink'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'PageIndex',
+ 'in' => 'query',
+ 'schema' => ['title' => '当前页数', 'description' => '当前页数', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['title' => '每页大小', 'description' => '每页大小', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ ],
+ [
+ 'name' => 'Ha',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['type' => 'boolean', 'required' => false, 'description' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功,取值如下:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'TotalCount' => ['description' => '总条数', 'type' => 'integer', 'format' => 'int64', 'example' => '5'],
+ 'TotalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'PageIndex' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '设置的每页行数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'Namespaces' => [
+ 'description' => '项目空间列表',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '项目空间的信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => '项目空间的状态,取值如下:'."\n"
+ .'- CREATING:正在创建。'."\n"
+ .'- DELETING:正在删除。'."\n"
+ .'- MODIFYING:正在修改资源规格。'."\n"
+ .'- SUCCESS:上一个操作执行成功。'."\n"
+ .'- FAILED:上一个操作执行失败。', 'type' => 'string', 'example' => 'SUCCESS'],
+ 'GmtCreate' => ['description' => '创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1629879567394'],
+ 'ElasticResourceSpec' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
+ 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
+ ],
+ 'description' => '',
],
- 'ElasticInstanceId' => [
- 'title' => '弹性订单id',
- 'description' => '弹性订单id',
- 'type' => 'string',
- 'example' => 'f-cn-e3afbd321',
+ 'GmtModified' => ['description' => '修改时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1629879567394'],
+ 'ResourceSpec' => [
+ 'description' => '资源规格信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'MemoryGB' => ['description' => '内存大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '40'],
+ ],
],
- 'OssInfo' => [
+ 'ResourceUsed' => [
+ 'description' => '已使用的资源。',
'type' => 'object',
'properties' => [
- 'Endpoint' => [
- 'type' => 'string',
- ],
- 'AccessId' => [
- 'type' => 'string',
- ],
- 'Bucket' => [
- 'type' => 'string',
- ],
- 'BucketVersioningStatus' => [
- 'type' => 'string',
- ],
- 'AccessKey' => [
- 'type' => 'string',
- ],
+ 'Cu' => ['type' => 'number', 'format' => 'float', 'description' => ''],
+ 'Cpu' => ['description' => '已使用的CPU数量。', 'type' => 'number', 'format' => 'float', 'example' => '2'],
+ 'MemoryGB' => ['description' => '已使用的内存数量。', 'type' => 'number', 'format' => 'float', 'example' => '4'],
],
],
- 'OrderState' => [
- 'description' => '订单状态,取值如下:'."\n"
- .'- NOT_INIT:下单还未部署组件。'."\n"
- .'- NORMAL:正常状态。'."\n"
- .'- CEASE:过期状态。'."\n"
- .'- RELEASE:超期状态。',
- 'type' => 'string',
- 'example' => 'NORMAL',
+ 'Ha' => ['type' => 'boolean', 'description' => ''],
+ 'GuaranteedResourceSpec' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
+ 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
+ ],
+ 'description' => '',
],
- 'ClusterStatus' => [
- 'description' => '集群状态,取值如下:'."\n"
- .'- CREATING:创建中。'."\n"
- .'- RUNNING:运行中。'."\n"
- .'- DISABLE:无效。'."\n"
- .'- DELETING:删除中。'."\n"
- .'- DELETED:已删除。',
- 'type' => 'string',
- 'example' => 'RUNNING',
+ 'Namespace' => ['description' => '项目空间的名称。', 'type' => 'string', 'example' => 'ns-1'],
+ 'Tags' => [
+ 'title' => '资源列表',
+ 'description' => '标签列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => ['title' => '标签值', 'description' => '标签值', 'type' => 'string', 'example' => 'test'],
+ 'Key' => ['title' => '标签键', 'description' => '标签键', 'type' => 'string', 'example' => 'flink'],
+ ],
+ ],
],
],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 15,\\n \\"TotalPage\\": 2,\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"C8DF2A5B-6FBA-5651-A3D4-960F3664****\\",\\n \\"Success\\": true,\\n \\"Instances\\": [\\n {\\n \\"ResourceGroupId\\": \\"\\",\\n \\"MonitorType\\": \\"\\",\\n \\"HaResourceSpec\\": {\\n \\"Cpu\\": 0,\\n \\"MemoryGB\\": 0\\n },\\n \\"ResourceCreateTime\\": 1629879567394,\\n \\"Elastic\\": true,\\n \\"HaZoneId\\": \\"\\",\\n \\"VSwitchInfo\\": [\\n {\\n \\"Description\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"ZoneId\\": \\"\\",\\n \\"VSwitchCidr\\": \\"\\",\\n \\"VSwitchId\\": \\"\\",\\n \\"AvailableIpAddressCount\\": \\"\\",\\n \\"VSwitchName\\": \\"\\",\\n \\"RegionId\\": \\"\\"\\n }\\n ],\\n \\"Ha\\": true,\\n \\"VpcInfo\\": {\\n \\"Status\\": \\"\\",\\n \\"Description\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"CidrBlock\\": \\"\\",\\n \\"VpcName\\": \\"\\",\\n \\"RegionId\\": \\"\\"\\n },\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"test\\",\\n \\"Key\\": \\"flink\\"\\n }\\n ],\\n \\"ArchitectureType\\": \\"\\",\\n \\"ClusterState\\": {\\n \\"Status\\": \\"\\",\\n \\"CreateTimeout\\": true,\\n \\"ClusterStage\\": {\\n \\"Status\\": \\"\\",\\n \\"Message\\": \\"\\",\\n \\"ClusterId\\": \\"\\",\\n \\"CurrentStage\\": 0,\\n \\"TotalStageWithWeight\\": [\\n {\\n \\"StepIndex\\": 0,\\n \\"StepName\\": \\"\\",\\n \\"Weight\\": 0\\n }\\n ]\\n },\\n \\"VpcCidr\\": \\"\\",\\n \\"ClusterId\\": \\"\\",\\n \\"SubStatus\\": \\"\\",\\n \\"Url\\": \\"\\",\\n \\"UserSlbDto\\": {\\n \\"SlbId\\": \\"\\",\\n \\"SlbIp\\": \\"\\",\\n \\"ExistSlb\\": true,\\n \\"UserSlbListeners\\": [\\n {\\n \\"ListenersStatus\\": \\"\\",\\n \\"Port\\": \\"\\"\\n }\\n ],\\n \\"SlbStatus\\": \\"\\"\\n }\\n },\\n \\"ZoneId\\": \\"cn-beijing-g\\",\\n \\"VSwitchIds\\": [\\n \\"vsw-2ze6yqnc19*****psjj0j\\"\\n ],\\n \\"InstanceId\\": \\"f-cn-zvp2q0z****\\",\\n \\"ResourceExpiredTime\\": 1637337600000,\\n \\"AskClusterId\\": \\"\\",\\n \\"ResourceSpec\\": {\\n \\"Cpu\\": 10,\\n \\"MemoryGB\\": 40\\n },\\n \\"HaVSwitchInfo\\": [\\n {\\n \\"Description\\": \\"\\",\\n \\"VpcId\\": \\"\\",\\n \\"ZoneId\\": \\"\\",\\n \\"VSwitchCidr\\": \\"\\",\\n \\"VSwitchId\\": \\"\\",\\n \\"AvailableIpAddressCount\\": 0,\\n \\"VSwitchName\\": \\"\\",\\n \\"RegionId\\": \\"\\"\\n }\\n ],\\n \\"HaVSwitchIds\\": [\\n \\"\\"\\n ],\\n \\"ClusterUsedStorage\\": {\\n \\"ClusterId\\": \\"\\",\\n \\"UsedStorage\\": 0\\n },\\n \\"InstanceName\\": \\"vvp1\\",\\n \\"HostAliases\\": [\\n {\\n \\"Ip\\": \\"\\",\\n \\"HostNames\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"Uid\\": \\"183899668736****\\",\\n \\"ClusterUsedResources\\": {\\n \\"ElasticUsedMemory\\": 0,\\n \\"ClusterId\\": \\"\\",\\n \\"ElasticUsedCpu\\": 0,\\n \\"UsedCpu\\": 0,\\n \\"GuaranteedUsedResource\\": 0,\\n \\"GuaranteedUsedCpu\\": 0,\\n \\"HaUsedCpu\\": 0,\\n \\"UsedMemory\\": 0,\\n \\"UsedResource\\": 0,\\n \\"Ha\\": true,\\n \\"HaUsedMemory\\": 0,\\n \\"HaUsedResource\\": 0,\\n \\"ElasticUsedResource\\": 0,\\n \\"GuaranteedUsedMemory\\": 0\\n },\\n \\"ElasticResourceSpec\\": {\\n \\"Cpu\\": 0,\\n \\"MemoryGB\\": 0\\n },\\n \\"Storage\\": {\\n \\"FullyManaged\\": true,\\n \\"SupportMigrationProgressDetection\\": true,\\n \\"OrderState\\": \\"\\",\\n \\"SupportCreateFullyManagedStorage\\": true,\\n \\"Oss\\": {\\n \\"Bucket\\": \\"oss_flink\\"\\n }\\n },\\n \\"VpcId\\": \\"vpc-2ze9*******nxfmfcdi\\",\\n \\"ResourceId\\": \\"b3690a1655****\\",\\n \\"ChargeType\\": \\"PRE\\",\\n \\"Ansm\\": true,\\n \\"Region\\": \\"cn-beijing\\",\\n \\"ElasticOrderState\\": \\"\\",\\n \\"ElasticInstanceId\\": \\"f-cn-e3afbd321\\",\\n \\"OssInfo\\": {\\n \\"Endpoint\\": \\"\\",\\n \\"AccessId\\": \\"\\",\\n \\"Bucket\\": \\"\\",\\n \\"BucketVersioningStatus\\": \\"\\",\\n \\"AccessKey\\": \\"\\"\\n },\\n \\"OrderState\\": \\"NORMAL\\",\\n \\"ClusterStatus\\": \\"RUNNING\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查看已购买Flink全托管工作空间',
- ],
- 'DeleteInstance' => [
- 'summary' => '释放按量付费的flink全托管工作空间。',
- 'methods' => [
- 'post',
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => '查看项目空间详情',
+ 'summary' => '您可以调用DescribeNamespaces查询某实例下的项目空间信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNamespaces'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'stream:DescribeVvpNamespaces',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 5,\\n \\"TotalPage\\": 2,\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"Namespaces\\": [\\n {\\n \\"Status\\": \\"SUCCESS\\",\\n \\"GmtCreate\\": 1629879567394,\\n \\"ElasticResourceSpec\\": {\\n \\"Cpu\\": 0,\\n \\"MemoryGB\\": 0\\n },\\n \\"GmtModified\\": 1629879567394,\\n \\"ResourceSpec\\": {\\n \\"Cpu\\": 10,\\n \\"MemoryGB\\": 40\\n },\\n \\"ResourceUsed\\": {\\n \\"Cu\\": 0,\\n \\"Cpu\\": 2,\\n \\"MemoryGB\\": 4\\n },\\n \\"Ha\\": true,\\n \\"GuaranteedResourceSpec\\": {\\n \\"Cpu\\": 0,\\n \\"MemoryGB\\": 0\\n },\\n \\"Namespace\\": \\"ns-1\\",\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"test\\",\\n \\"Key\\": \\"flink\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeSupportedRegions' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '103202',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
+ 'abilityTreeCode' => '104070',
+ 'abilityTreeNodes' => ['FEATUREscG9QB5P'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => 'B21DC47E-8928-199A-9F32-36D45E4693B4'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功,取值如下:'."\n"
+ ."\n"
+ .'- true:成功'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'TotalCount' => ['description' => '返回的地域数量', 'type' => 'integer', 'format' => 'int64', 'example' => '10'],
+ 'TotalPage' => ['description' => '总页数', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'PageIndex' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '每页包含的地域数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'Regions' => [
+ 'description' => '地域信息列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '地域信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['description' => '描述', 'type' => 'string', 'example' => '“”'],
+ 'Extra' => ['title' => 'region的附加信息,对于sdk调用后端不返回该值', 'description' => '扩展字段。', 'type' => 'string', 'example' => '“”'],
+ 'RegionName' => ['title' => 'region名称', 'description' => '地域名称', 'type' => 'string', 'example' => '华北2(北京)'],
+ 'Region' => ['title' => 'regionId', 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-beijing'],
+ ],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '获取Flink全托管支持购买的地域',
+ 'summary' => '您可以获取支持购买的地域信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSupportedRegions'],
],
],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B21DC47E-8928-199A-9F32-36D45E4693B4\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 10,\\n \\"TotalPage\\": 2,\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"Regions\\": [\\n {\\n \\"Description\\": \\"“”\\",\\n \\"Extra\\": \\"“”\\",\\n \\"RegionName\\": \\"华北2(北京)\\",\\n \\"Region\\": \\"cn-beijing\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'DescribeSupportedZones' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '104071',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
+ ],
'parameters' => [
[
'name' => 'Region',
- 'in' => 'formData',
+ 'in' => 'query',
+ 'schema' => ['title' => 'regionId', 'description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'],
+ ],
+ [
+ 'name' => 'ArchitectureType',
+ 'in' => 'query',
'schema' => [
- 'description' => '地域。',
+ 'description' => '处理器架构。',
'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
+ 'required' => false,
+ 'enumValueTitles' => ['X86' => 'X86', 'ARM' => 'ARM'],
+ 'example' => 'X86',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '23A9C718-DDAB-1696-B025-18FBC830F7C5'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'TotalCount' => ['description' => '可用区个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '8'],
+ 'TotalPage' => ['description' => '总页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageIndex' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PageSize' => ['description' => '每页包含的条目数', 'type' => 'integer', 'format' => 'int32', 'example' => '10'],
+ 'ZoneIds' => [
+ 'description' => '可用区信息。',
+ 'type' => 'array',
+ 'items' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-beijing-g'],
+ ],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'title' => '获取Flink全托管支持的可用区',
+ 'summary' => '您可以获取支持购买的可用区信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSupportedZones'],
+ ],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"23A9C718-DDAB-1696-B025-18FBC830F7C5\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 8,\\n \\"TotalPage\\": 1,\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"ZoneIds\\": [\\n \\"cn-beijing-g\\"\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListTagResources' => [
+ 'summary' => '您可以调用ListTagResources查询资源标签。您可以通过标签的value查询key值,或者通过key值查询value,也可以获取您在flink全托管工作空间上使用的所有标签信息。',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'InstanceId',
- 'in' => 'formData',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '146254',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => ['title' => '下一个查询开始Token', 'description' => '下一个查询开始的Token。', 'type' => 'string', 'required' => false, 'example' => '27AE00'],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['title' => '地域', 'description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['title' => '资源类型', 'description' => '资源类型,固定值vvpinstance。', 'type' => 'string', 'required' => true, 'example' => 'vvpinstance'],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'style' => 'repeatList',
'schema' => [
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
+ 'title' => '资源ID,最多 50个子项',
+ 'description' => '订单实例ID组。',
+ 'type' => 'array',
+ 'items' => ['description' => '订单实例ID。', 'type' => 'string', 'required' => false, 'example' => 'f-cn-7pp2m9w7s06'],
+ 'required' => false,
+ 'maxItems' => 51,
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'title' => '标签列表,最多包含20个子项',
+ 'description' => '标签列表,最多包含20个子项',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签键值对数组。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['title' => '标签键', 'description' => '标签键', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ 'Value' => ['title' => '标签值', 'description' => '标签值', 'type' => 'string', 'required' => false, 'example' => 'tag'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'True',
+ 'Success' => ['description' => '是否成功,取值如下:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0E5D17CE-BD83-5DC9-8CD2-3C40C2F7A135'],
+ 'TagReponseId' => ['description' => 'tag请求ID。', 'type' => 'string', 'example' => '87AE00'],
+ 'NextToken' => ['description' => '下一个查询开始的Token。', 'type' => 'string', 'example' => '27AE00'],
+ 'TagResources' => [
+ 'title' => '资源列表',
+ 'description' => '资源绑定的标签列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '标签资源组。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceType' => ['title' => '资源类型', 'description' => '资源类型,固定值为vvpinstance。', 'type' => 'string', 'example' => 'vvpinstance'],
+ 'TagValue' => ['title' => '标签值', 'description' => '标签值', 'type' => 'string', 'example' => 'tag'],
+ 'ResourceId' => ['title' => '资源ID', 'description' => '订单实例ID。', 'type' => 'string', 'example' => 'f-cn-tyts'],
+ 'TagKey' => ['title' => '标签键', 'description' => '标签键', 'type' => 'string', 'example' => 'test'],
+ ],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '释放按量付费Flink全托管工作空间',
- 'description' => '**请确保在使用该接口前,已充分了解Flink全托管产品的收费方式和[价格](https://help.aliyun.com/zh/flink/product-overview/refund-policy)**',
- ],
- 'ConvertInstance' => [
- 'summary' => '您可以将按量付费的工作空间转换为包年包月的工作空间。',
- 'methods' => [
- 'post',
+ 'title' => '查看Flink全托管工作空间标签列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'stream:QueryTagVvpResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"0E5D17CE-BD83-5DC9-8CD2-3C40C2F7A135\\",\\n \\"TagReponseId\\": \\"87AE00\\",\\n \\"NextToken\\": \\"27AE00\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceType\\": \\"vvpinstance\\",\\n \\"TagValue\\": \\"tag\\",\\n \\"ResourceId\\": \\"f-cn-tyts\\",\\n \\"TagKey\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ModifyElasticResourceSpec' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4065,127 +1745,244 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '104041',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeCode' => '248562',
+ 'abilityTreeNodes' => ['FEATUREscTKD5I3'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
- 'schema' => [
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['title' => '地域id', 'description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
],
[
'name' => 'InstanceId',
'in' => 'formData',
- 'schema' => [
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
- ],
+ 'schema' => ['description' => '订单实例ID。', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverless_public_cn-7e22ae****'],
],
[
- 'name' => 'PricingCycle',
+ 'name' => 'ResourceSpec',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '订购周期',
- 'description' => '订购周期',
- 'type' => 'string',
+ 'description' => '按量可使用资源规格上限。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ 'MemoryGB' => ['description' => '内存大小。'."\n"
+ .'> 内存大小必须为CPU数量的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '40'],
+ ],
'required' => true,
- 'example' => 'Month',
],
],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '响应结构。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => 'B21DC47E-8928-199A-9F32-36D45E4****'],
+ 'OrderId' => ['title' => '订单id', 'description' => '订单ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '21147322832****'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
+ ],
+ 'title' => '修改混合计费实例按量上限',
+ 'summary' => '对混合计费的实例,可修改按量部分最大可使用的上限资源。',
+ 'description' => '请确保在使用该接口前,已充分了解实时计算Flink产品的[收费方式](https://help.aliyun.com/zh/flink/user-guide/reconfigure-resources?spm=a2c4g.11186623.0.0.6ebd18ea0MCC3t#task-2507532)和价格。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyElasticResourceSpec'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Duration',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpInstanceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B21DC47E-8928-199A-9F32-36D45E4****\\",\\n \\"OrderId\\": 0,\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'ModifyInstanceSpec' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '200890',
+ 'abilityTreeNodes' => ['FEATUREscTKD5I3'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Region',
'in' => 'formData',
+ 'schema' => ['title' => '地域id', 'description' => '地域id', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '订单实例ID。', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06'],
+ ],
+ [
+ 'name' => 'ResourceSpec',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '订购周期数量',
- 'description' => '订购周期数量',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => '资源规格。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ 'MemoryGB' => ['description' => '内存大小。'."\n"
+ .'> 内存大小必须为CPU数量的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '40'],
+ ],
'required' => true,
- 'example' => '1',
],
],
[
- 'name' => 'IsAutoRenew',
+ 'name' => 'Ha',
'in' => 'formData',
+ 'schema' => ['description' => '工作空间是否存在同城高可用资源。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ [
+ 'name' => 'HaVSwitchIds',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '是否自动续费',
- 'description' => '是否自动续费',
- 'type' => 'boolean',
- 'required' => true,
- 'example' => 'true',
+ 'description' => '同城高可用备可用区vswitch组。',
+ 'type' => 'array',
+ 'items' => ['description' => '同城高可用备可用区vswitch。', 'type' => 'string', 'required' => false, 'example' => '[\\"vsw-j6cft0ogy3agwdi3w8h21\\"]'],
+ 'required' => false,
],
],
[
- 'name' => 'NamespaceResourceSpecs',
+ 'name' => 'HaResourceSpec',
'in' => 'formData',
'style' => 'json',
'schema' => [
- 'title' => '项目空间资源规格。',
- 'description' => '项目空间资源规格。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ResourceSpec' => [
- 'title' => '资源规格。',
- 'description' => '资源规格。',
- 'type' => 'object',
- 'properties' => [
- 'Cpu' => [
- 'title' => 'cpu数量。',
- 'description' => 'cpu数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- 'MemoryGB' => [
- 'title' => '内存大小。',
- 'description' => '内存大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '4',
- ],
- ],
- 'required' => true,
- ],
- 'Namespace' => [
- 'title' => 'namespace名称,',
- 'description' => 'namespace名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ns-1',
- ],
- ],
- 'required' => true,
+ 'description' => '同城高可用资源描述。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ 'MemoryGB' => ['description' => '内存大小。'."\n"
+ ."\n"
+ .'>内存大小必须为CPU数量的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '40'],
],
- 'required' => true,
+ 'required' => false,
],
],
[
'name' => 'UsePromotionCode',
'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'required' => false, 'description' => ''],
+ ],
+ [
+ 'name' => 'PromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'type' => 'boolean',
+ 'title' => 'Schema of Response',
+ 'description' => '响应结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '请求id', 'description' => '请求id。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'OrderId' => ['title' => '订单id', 'description' => '订单id。', 'type' => 'integer', 'format' => 'int64', 'example' => '211473228320700'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功。', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '修改工作空间资源',
+ 'summary' => '调用本API可对工作空间进行扩容或缩容操作。',
+ 'description' => '请确保在使用该接口前,已充分了解实时计算Flink产品的[收费方式](https://help.aliyun.com/zh/flink/user-guide/reconfigure-resources?spm=a2c4g.11186623.0.0.6ebd18ea0MCC3t#task-2507532)和价格。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpInstanceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"OrderId\\": 211473228320700,\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'ModifyInstanceVswitch' => [
+ 'summary' => '修改Flink工作空间可使用的虚拟交换机。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '213064',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '订单实例ID。', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverless_public_cn-7e22ae****'],
+ ],
+ [
+ 'name' => 'VSwitchIds',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '修改后要使用的虚拟交换机ID组。',
+ 'type' => 'array',
+ 'items' => ['description' => '虚拟交换机ID。', 'type' => 'string', 'required' => false, 'example' => 'vsw-m5esz02px6qxiu28x****'],
'required' => false,
],
],
[
- 'name' => 'PromotionCode',
+ 'name' => 'HaVSwitchIds',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'description' => '同城高可用备可用区vswitch组。如果您的工作空间开启了同城高可用时必须传入。',
+ 'type' => 'array',
+ 'items' => ['description' => '同城高可用备可用区vswitch组。', 'type' => 'string', 'required' => false, 'example' => '[\\"vsw-2ze78bg1iewk***dylxi\\"]'],
'required' => false,
],
],
@@ -4194,44 +1991,43 @@
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
+ 'description' => '响应数据。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'OrderId' => [
- 'title' => '订单id',
- 'description' => '订单id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '211473228320700',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426****'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否执行成功。', 'type' => 'boolean', 'example' => 'true'],
+ 'Result' => ['description' => '返回结果信息。', 'type' => 'string', 'example' => 'F2C5B6A8-DD04-51F5-AAD5-BA2FE6FD****'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"OrderId\\": 211473228320700\\n}","type":"json"}]',
- 'title' => '按量付费转包年包月',
- 'description' => '**请确保在使用该接口前,已充分了解Flink全托管产品的收费方式和[价格](https://help.aliyun.com/zh/flink/product-overview/switch-from-pay-as-you-go-to-subscription)。**',
- ],
- 'ModifyNamespaceSpecV2' => [
- 'summary' => '修改按量和包年包月、混合计费工作空间下项目空间的资源配置。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['noSubstitutionReason' => '暂无替代API,请关注后续API最新发布。', 'returnType' => 'synchronous'],
+ 'title' => '修改实例的交换机',
+ 'description' => '请确保在使用该接口前,已充分了解实时计算Flink产品对[修改虚拟交换机](https://help.aliyun.com/zh/flink/user-guide/modify-a-vswitch?scm=20140722.S_help%40%40%E6%96%87%E6%A1%A3%40%40169603.S_BB1%40bl%2BBB2%40bl%2BRQW%40ag0%2Bhot%2Bos0.ID_169603-RL_%E8%99%9A%E6%8B%9F%E4%BA%A4%E6%8D%A2%E6%9C%BA-LOC_doc%7EUND%7Eab-OR_ser-PAR1_2102029b17409830823921371df365-V_4-P0_0-P1_0&spm=a2c4g.11174283.help-search.i0)的相关限制。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceVswitch'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyInstanceVswitch',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426****\\",\\n \\"Success\\": true,\\n \\"Result\\": \\"F2C5B6A8-DD04-51F5-AAD5-BA2FE6FD****\\"\\n}","type":"json"}]',
+ ],
+ 'ModifyNamespaceSpecV2' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -4244,40 +2040,23 @@
'riskType' => 'high',
'chargeType' => 'free',
'abilityTreeCode' => '246122',
- 'abilityTreeNodes' => [
- 'FEATUREscG9QB5P',
- ],
+ 'abilityTreeNodes' => ['FEATUREscG9QB5P'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
- 'schema' => [
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
],
[
'name' => 'InstanceId',
'in' => 'formData',
- 'schema' => [
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj****',
- ],
+ 'schema' => ['description' => '订单实例ID。', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj****'],
],
[
'name' => 'Namespace',
'in' => 'formData',
- 'schema' => [
- 'description' => '项目空间名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'di-5934394438****',
- ],
+ 'schema' => ['description' => '项目空间名称。', 'type' => 'string', 'required' => true, 'example' => 'di-5934394438****'],
],
[
'name' => 'GuaranteedResourceSpec',
@@ -4287,22 +2066,10 @@
'description' => '项目空间下分配的包年包月资源的大小。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。单位:GB。'."\n"
- ."\n"
- .'> 内存大小必须为CPU数量大小的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '40',
- ],
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ 'MemoryGB' => ['description' => '内存大小。单位:GB。'."\n"
+ ."\n"
+ .'> 内存大小必须为CPU数量大小的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '40'],
],
'required' => false,
],
@@ -4315,22 +2082,10 @@
'description' => '项目空间下分配的按量部分资源上限。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '6',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。单位为GB。'."\n"
- ."\n"
- .'> 内存数量必须为CPU数量的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '52',
- ],
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '6'],
+ 'MemoryGB' => ['description' => '内存大小。单位为GB。'."\n"
+ ."\n"
+ .'> 内存数量必须为CPU数量的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '52'],
],
'required' => false,
],
@@ -4338,12 +2093,7 @@
[
'name' => 'Ha',
'in' => 'query',
- 'schema' => [
- 'description' => '项目空间是否为同城高可用。',
- 'type' => 'boolean',
- 'required' => true,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => '项目空间是否为同城高可用。', 'type' => 'boolean', 'required' => true, 'example' => 'false'],
],
],
'responses' => [
@@ -4353,340 +2103,163 @@
'description' => '响应数据。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '23A9C718-DDAB-1696-B025-18FBC83****',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否执行成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求ID。', 'type' => 'string', 'example' => '23A9C718-DDAB-1696-B025-18FBC83****'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否执行成功。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"23A9C718-DDAB-1696-B025-18FBC83****\\",\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '修改项目空间的资源配置',
+ 'summary' => '修改按量和包年包月、混合计费工作空间下项目空间的资源配置。',
'description' => '>调用该接口时,需要注意以下几点: - 订单状态必须是正常状态,即OrderType=NORMAL。- 降配时,填写的资源规格数量不可小于已使用的资源规格数量。变更前后的项目资源规格详情请通过[DescribeNamespaces](https://help.aliyun.com/document_detail/323441.html)。',
- ],
- 'DescribeNamespaces' => [
- 'summary' => '您可以调用DescribeNamespaces查询某实例下的项目空间信息。',
- 'methods' => [
- 'get',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNamespaceSpecV2'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpNamespaceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpNamespace', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}/vvpnamespace/{#Namespace}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"23A9C718-DDAB-1696-B025-18FBC83****\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'ModifyPrepayInstanceSpec' => [
+ 'summary' => '修改包年包月的flink全托管实例计算资源的规格大小,调整后规格小于当前使用规格将进行缩容操作,调整后规格大于当前使用规格将进行扩容操作。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
+ 'operationType' => 'write',
+ 'deprecated' => true,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '103229',
- 'abilityTreeNodes' => [
- 'FEATUREscG9QB5P',
- ],
+ 'abilityTreeCode' => '103205',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'Region',
- 'in' => 'query',
- 'schema' => [
- 'title' => 'regionId',
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'in' => 'formData',
+ 'schema' => ['title' => '地域id', 'description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
],
[
'name' => 'InstanceId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '实例id',
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
- ],
- ],
- [
- 'name' => 'Namespace',
- 'in' => 'query',
- 'schema' => [
- 'title' => '命名空间名称',
- 'description' => '项目空间名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'di-590843445844225',
- ],
+ 'in' => 'formData',
+ 'schema' => ['description' => '订单实例ID。', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06'],
],
[
- 'name' => 'Tags',
- 'in' => 'query',
+ 'name' => 'ResourceSpec',
+ 'in' => 'formData',
'style' => 'json',
'schema' => [
- 'description' => '标签列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '标签。',
- 'type' => 'object',
- 'properties' => [
- 'Value' => [
- 'description' => '标签值。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
- 'Key' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Flink',
- ],
- ],
- 'required' => false,
+ 'description' => '资源规格信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ 'MemoryGB' => ['description' => '内存大小。'."\n"
+ .'> 内存大小必须为CPU数量的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '4'],
],
- 'required' => false,
+ 'required' => true,
],
],
[
- 'name' => 'PageIndex',
- 'in' => 'query',
- 'schema' => [
- 'title' => '当前页数',
- 'description' => '当前页数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'name' => 'Ha',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'required' => false, 'default' => 'false', 'description' => ''],
],
[
- 'name' => 'PageSize',
- 'in' => 'query',
+ 'name' => 'HaZoneId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => ''],
+ ],
+ [
+ 'name' => 'HaVSwitchIds',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '每页大小',
- 'description' => '每页大小',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'required' => false, 'description' => ''],
'required' => false,
- 'example' => '10',
+ 'description' => '',
],
],
[
- 'name' => 'Ha',
- 'in' => 'query',
- 'allowEmptyValue' => true,
+ 'name' => 'HaResourceSpec',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'type' => 'boolean',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'description' => ''],
+ 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'description' => ''],
+ ],
'required' => false,
+ 'description' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功,取值如下:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'TotalCount' => [
- 'description' => '总条数',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '5',
- ],
- 'TotalPage' => [
- 'description' => '总页数',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'PageIndex' => [
- 'description' => '当前页数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PageSize' => [
- 'description' => '设置的每页行数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'Namespaces' => [
- 'description' => '项目空间列表',
- 'type' => 'array',
- 'items' => [
- 'description' => '项目空间的信息。',
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => '项目空间的状态,取值如下:'."\n"
- .'- CREATING:正在创建。'."\n"
- .'- DELETING:正在删除。'."\n"
- .'- MODIFYING:正在修改资源规格。'."\n"
- .'- SUCCESS:上一个操作执行成功。'."\n"
- .'- FAILED:上一个操作执行失败。',
- 'type' => 'string',
- 'example' => 'SUCCESS',
- ],
- 'GmtCreate' => [
- 'description' => '创建时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1629879567394',
- ],
- 'ElasticResourceSpec' => [
- 'type' => 'object',
- 'properties' => [
- 'Cpu' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'MemoryGB' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- ],
- 'GmtModified' => [
- 'description' => '修改时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1629879567394',
- ],
- 'ResourceSpec' => [
- 'description' => '资源规格信息',
- 'type' => 'object',
- 'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '40',
- ],
- ],
- ],
- 'ResourceUsed' => [
- 'description' => '已使用的资源。',
- 'type' => 'object',
- 'properties' => [
- 'Cu' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'Cpu' => [
- 'description' => '已使用的CPU数量。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '2',
- ],
- 'MemoryGB' => [
- 'description' => '已使用的内存数量。',
- 'type' => 'number',
- 'format' => 'float',
- 'example' => '4',
- ],
- ],
- ],
- 'Ha' => [
- 'type' => 'boolean',
- ],
- 'GuaranteedResourceSpec' => [
- 'type' => 'object',
- 'properties' => [
- 'Cpu' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'MemoryGB' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- ],
- 'Namespace' => [
- 'description' => '项目空间的名称。',
- 'type' => 'string',
- 'example' => 'ns-1',
- ],
- 'Tags' => [
- 'title' => '资源列表',
- 'description' => '标签列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '标签',
- 'type' => 'object',
- 'properties' => [
- 'Value' => [
- 'title' => '标签值',
- 'description' => '标签值',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Key' => [
- 'title' => '标签键',
- 'description' => '标签键',
- 'type' => 'string',
- 'example' => 'flink',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'OrderId' => ['title' => '订单id', 'description' => '订单id', 'type' => 'integer', 'format' => 'int64', 'example' => '210406354690749'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 5,\\n \\"TotalPage\\": 2,\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"Namespaces\\": [\\n {\\n \\"Status\\": \\"SUCCESS\\",\\n \\"GmtCreate\\": 1629879567394,\\n \\"ElasticResourceSpec\\": {\\n \\"Cpu\\": 0,\\n \\"MemoryGB\\": 0\\n },\\n \\"GmtModified\\": 1629879567394,\\n \\"ResourceSpec\\": {\\n \\"Cpu\\": 10,\\n \\"MemoryGB\\": 40\\n },\\n \\"ResourceUsed\\": {\\n \\"Cu\\": 0,\\n \\"Cpu\\": 2,\\n \\"MemoryGB\\": 4\\n },\\n \\"Ha\\": true,\\n \\"GuaranteedResourceSpec\\": {\\n \\"Cpu\\": 0,\\n \\"MemoryGB\\": 0\\n },\\n \\"Namespace\\": \\"ns-1\\",\\n \\"Tags\\": [\\n {\\n \\"Value\\": \\"test\\",\\n \\"Key\\": \\"flink\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查看项目空间详情',
- ],
- 'ModifyPrepayNamespaceSpec' => [
- 'summary' => '修改包年包月实例下项目空间的规格。',
- 'methods' => [
- 'post',
+ 'staticInfo' => [
+ 'substitutions' => ['foasconsole::2021-10-28::ModifyInstanceSpec'],
+ ],
+ 'title' => '修改工作空间计算资源',
+ 'description' => '**请确保在使用该接口前,已充分了解Flink全托管产品的收费方式和[价格](https://help.aliyun.com/zh/flink/product-overview/subscription)。**',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPrepayInstanceSpec'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpPrepayInstanceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"OrderId\\": 210406354690749,\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'ModifyPrepayNamespaceSpec' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4699,40 +2272,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '103228',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
- 'schema' => [
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-shenzhen',
- ],
+ 'schema' => ['description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen'],
],
[
'name' => 'InstanceId',
'in' => 'formData',
- 'schema' => [
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
- ],
+ 'schema' => ['description' => '订单实例ID。', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06'],
],
[
'name' => 'Namespace',
'in' => 'formData',
- 'schema' => [
- 'description' => '项目空间名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'di-593440219799842',
- ],
+ 'schema' => ['description' => '项目空间名称。', 'type' => 'string', 'required' => true, 'example' => 'di-593440219799842'],
],
[
'name' => 'ResourceSpec',
@@ -4742,22 +2298,10 @@
'description' => '项目空间资源详情',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。单位:GB。'."\n"
- ."\n"
- .'> 内存大小必须为CPU数量大小的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '4',
- ],
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ 'MemoryGB' => ['description' => '内存大小。单位:GB。'."\n"
+ ."\n"
+ .'> 内存大小必须为CPU数量大小的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '4'],
],
'required' => true,
],
@@ -4768,41 +2312,44 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求id。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功,取值如下:'."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['title' => '请求id', 'description' => '请求id。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功,取值如下:'."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
],
+ 'description' => '',
],
],
],
'staticInfo' => [
- 'substitutions' => [
- 'foasconsole::2021-10-28::ModifyNamespaceSpec',
- ],
+ 'substitutions' => ['foasconsole::2021-10-28::ModifyNamespaceSpec'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","type":"json"}]',
'title' => '修改项目空间资源',
- ],
- 'DeleteNamespace' => [
- 'summary' => '删除项目空间。',
- 'methods' => [
- 'post',
+ 'summary' => '修改包年包月实例下项目空间的规格。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPrepayNamespaceSpec'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpPrepayNamespaceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'QueryConvertInstancePrice' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4811,124 +2358,359 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '103227',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeCode' => '104063',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
- 'schema' => [
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
],
[
'name' => 'InstanceId',
'in' => 'formData',
- 'schema' => [
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
- ],
+ 'schema' => ['description' => '订单实例ID。', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06'],
],
[
- 'name' => 'Namespace',
+ 'name' => 'PricingCycle',
'in' => 'formData',
+ 'schema' => ['title' => '订购周期', 'description' => '订购周期,仅支持按年(Year)和月(Month)订购。', 'type' => 'string', 'required' => true, 'example' => 'Month'],
+ ],
+ [
+ 'name' => 'Duration',
+ 'in' => 'formData',
+ 'schema' => ['title' => '订购周期数量', 'description' => '订购周期数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'IsAutoRenew',
+ 'in' => 'formData',
+ 'schema' => ['title' => '是否自动续费', 'description' => '是否自动续费', 'type' => 'boolean', 'required' => true, 'example' => 'true'],
+ ],
+ [
+ 'name' => 'NamespaceResourceSpecs',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'description' => 'namespace名称。',
- 'type' => 'string',
+ 'description' => '项目空间资源规格。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceSpec' => [
+ 'description' => '项目空间资源规格。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '6'],
+ 'MemoryGB' => ['description' => '内存大小。单位:GB。'."\n"
+ ."\n"
+ .'> 内存大小必须为CPU数量大小的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '24'],
+ ],
+ 'required' => true,
+ ],
+ 'Namespace' => ['description' => '项目空间名称。', 'type' => 'string', 'required' => true, 'example' => 'lm-test-default'],
+ ],
+ 'required' => true,
+ 'description' => '',
+ ],
'required' => true,
- 'example' => 'di-593439443804417',
],
],
+ [
+ 'name' => 'UsePromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean'],
+ ],
+ [
+ 'name' => 'PromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string'],
+ ],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => '是否成功',
+ 'RequestId' => ['title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'PriceInfo' => [
+ 'title' => '价格信息,包括价格和优惠规则。',
+ 'description' => '价格信息,包括价格和优惠规则。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Currency' => ['title' => '货币单位。', 'description' => '货币单位。', 'type' => 'string', 'example' => 'CNY'],
+ 'DiscountAmount' => ['title' => '折扣', 'description' => '折扣', 'type' => 'number', 'format' => 'float', 'example' => '655.2'],
+ 'OriginalAmount' => ['title' => '原价', 'description' => '原价', 'type' => 'number', 'format' => 'float', 'example' => '4368'],
+ 'TradeAmount' => ['title' => '最终价,为原价减去折扣。', 'description' => '最终价,为原价减去折扣。', 'type' => 'number', 'format' => 'float', 'example' => '3712.8'],
+ 'Code' => ['title' => '错误码', 'description' => '错误码', 'type' => 'string', 'example' => 'ORDER.INST_HAS_UNPAID_ORDER'],
+ 'Message' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => '存在未支付订单,请先支付或取消原有订单'],
+ 'OptionalPromotions' => [
+ 'description' => '优惠券信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PromotionName' => ['title' => '优惠券名称', 'description' => '优惠券名称', 'type' => 'string', 'example' => '¥1,391.5 优惠券'],
+ 'PromotionDesc' => ['title' => '优惠券描述', 'description' => '优惠券描述', 'type' => 'string', 'example' => '¥1,391.5 优惠券(有效期至 03/23/2022)'],
+ 'PromotionOptionNo' => ['title' => '优惠券编号', 'description' => '优惠券编号', 'type' => 'string', 'example' => '500011220010099'],
+ 'Selected' => ['description' => '是否选用优惠券,取值如下:'."\n"
+ ."\n"
+ .'- true:选用。'."\n"
+ ."\n"
+ .'- false:未选用。', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'Rules' => [
+ 'title' => '活动规则。',
+ 'description' => '活动规则。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['title' => '活动规则描述。', 'description' => '活动规则描述。', 'type' => 'string', 'example' => '买满1年,立享官网价格8.5折优惠。'],
+ 'RuleId' => ['title' => '活动ID。', 'description' => '活动ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '587'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'StandPrice' => ['title' => '官网折扣价/直销合同折扣价', 'description' => '官网折扣价/直销合同折扣价', 'type' => 'string', 'example' => '32432'],
+ 'StandDiscountPrice' => ['title' => '基于官网折扣的优惠价格', 'description' => '基于官网折扣的优惠价格', 'type' => 'string', 'example' => '21321'],
+ 'IsContractActivity' => ['title' => '是否命中大客优惠', 'description' => '是否命中大客优惠', 'type' => 'boolean', 'example' => 'true'],
+ 'DepreciateInfo' => [
+ 'title' => '降价信息',
+ 'description' => '降价信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'OriginalStandAmount' => ['title' => '原始官网价总价', 'description' => '原始官网价总价', 'type' => 'string', 'example' => '12000'],
+ 'CheapStandAmount' => ['title' => '降价后官网价总价', 'description' => '降价后官网价总价', 'type' => 'string', 'example' => '8000'],
+ 'CheapRate' => ['title' => '降价比例', 'description' => '降价比例', 'type' => 'string', 'example' => '34%'],
+ 'MonthPrice' => ['title' => '折合月价', 'description' => '折合月价', 'type' => 'string', 'example' => '1000'],
+ 'StartTime' => ['title' => '降价开始时间', 'description' => '降价开始时间', 'type' => 'string', 'example' => '2024-08-21T02:06:00Z'],
+ 'IsShow' => ['title' => '是否展示降价幅度', 'description' => '是否展示降价幅度', 'type' => 'boolean', 'example' => 'false'],
+ ],
+ ],
+ 'LxRequestId' => ['type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '删除项目空间',
- ],
- 'CreateNamespace' => [
- 'summary' => '在flink全托管实例中下创建项目空间。',
- 'methods' => [
- 'post',
+ 'title' => '查询按量付费转包年包月价格',
+ 'summary' => '您可以通过本API来查询按量付费实例转包年包月价格。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryConvertInstancePrice'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'stream:QueryConvertVvpPostpayInstancePrice',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"PriceInfo\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"DiscountAmount\\": 655.2,\\n \\"OriginalAmount\\": 4368,\\n \\"TradeAmount\\": 3712.8,\\n \\"Code\\": \\"ORDER.INST_HAS_UNPAID_ORDER\\",\\n \\"Message\\": \\"存在未支付订单,请先支付或取消原有订单\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionName\\": \\"¥1,391.5 优惠券\\",\\n \\"PromotionDesc\\": \\"¥1,391.5 优惠券(有效期至 03/23/2022)\\",\\n \\"PromotionOptionNo\\": \\"500011220010099\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 587\\n }\\n ],\\n \\"StandPrice\\": \\"32432\\",\\n \\"StandDiscountPrice\\": \\"21321\\",\\n \\"IsContractActivity\\": true,\\n \\"DepreciateInfo\\": {\\n \\"OriginalStandAmount\\": \\"12000\\",\\n \\"CheapStandAmount\\": \\"8000\\",\\n \\"CheapRate\\": \\"34%\\",\\n \\"MonthPrice\\": \\"1000\\",\\n \\"StartTime\\": \\"2024-08-21T02:06:00Z\\",\\n \\"IsShow\\": false\\n },\\n \\"LxRequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'QueryConvertPrepayInstancePrice' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '103226',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeCode' => '212998',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
+ 'schema' => ['description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '订单实例ID。', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-shenzhen',
+ 'title' => 'Schema of Response',
+ 'description' => '响应信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426****'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'PriceInfo' => [
+ 'title' => '价格信息,包括价格和优惠规则。',
+ 'description' => '价格信息,包括价格和优惠规则。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Currency' => ['title' => '货币单位。', 'description' => '货币单位。', 'type' => 'string', 'example' => 'CNY'],
+ 'DiscountAmount' => ['title' => '折扣', 'description' => '折扣', 'type' => 'number', 'format' => 'float', 'example' => '655.2'],
+ 'OriginalAmount' => ['title' => '原价', 'description' => '原价', 'type' => 'number', 'format' => 'float', 'example' => '4368'],
+ 'TradeAmount' => ['title' => '最终价,为原价减去折扣。', 'description' => '最终价,为原价减去折扣。', 'type' => 'number', 'format' => 'float', 'example' => '3712.8'],
+ 'Code' => ['title' => '错误码', 'description' => '错误码', 'type' => 'string', 'example' => 'ORDER.INST_HAS_UNPAID_ORDER'],
+ 'Message' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => '存在未支付订单,请先支付或取消原有订单'],
+ 'OptionalPromotions' => [
+ 'description' => '优惠券组信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '优惠券信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'PromotionName' => ['title' => '优惠券名称', 'description' => '优惠券名称', 'type' => 'string', 'example' => '¥1,391.5 优惠券'],
+ 'PromotionDesc' => ['title' => '优惠券描述', 'description' => '优惠券描述', 'type' => 'string', 'example' => '¥1,391.5 优惠券 (有效期至 03/23/2022)'],
+ 'PromotionOptionNo' => ['title' => '优惠券编号', 'description' => '优惠券编号', 'type' => 'string', 'example' => '500011220***'],
+ 'Selected' => ['description' => '是否选用优惠券,取值如下:'."\n"
+ ."\n"
+ .'- true:选用。'."\n"
+ ."\n"
+ .'- false:未选用。', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ ],
+ ],
+ 'Rules' => [
+ 'title' => '活动规则。',
+ 'description' => '活动规则。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '活动规则',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['title' => '活动规则描述。', 'description' => '活动规则描述。', 'type' => 'string', 'example' => '买满1年,立享官网价格8.5折优惠。'],
+ 'RuleId' => ['title' => '活动ID。', 'description' => '活动ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '587'],
+ ],
+ ],
+ ],
+ 'StandPrice' => ['title' => '官网折扣价/直销合同折扣价', 'description' => '官网折扣价/直销合同折扣价', 'type' => 'string', 'example' => '32432'],
+ 'StandDiscountPrice' => ['title' => '基于官网折扣的优惠价格', 'description' => '基于官网折扣的优惠价格', 'type' => 'string', 'example' => '21321'],
+ 'IsContractActivity' => ['title' => '是否命中大客优惠', 'description' => '是否命中大客优惠', 'type' => 'boolean', 'example' => 'true'],
+ 'DepreciateInfo' => [
+ 'title' => '降价信息',
+ 'description' => '降价信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'OriginalStandAmount' => ['title' => '原始官网价总价', 'description' => '原始官网价总价', 'type' => 'string', 'example' => '10000'],
+ 'CheapStandAmount' => ['title' => '降价后官网价总价', 'description' => '降价后官网价总价', 'type' => 'string', 'example' => '8000'],
+ 'CheapRate' => ['title' => '降价比例', 'description' => '降价比例', 'type' => 'string', 'example' => '20%'],
+ 'MonthPrice' => ['title' => '折合月价', 'description' => '折合月价', 'type' => 'string', 'example' => '4000'],
+ 'StartTime' => ['title' => '降价开始时间', 'description' => '降价开始时间', 'type' => 'string', 'example' => '2023-03-31T16:00:00Z'],
+ 'IsShow' => ['title' => '是否展示降价幅度', 'description' => '是否展示降价幅度', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ ],
+ 'LxRequestId' => ['type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ ],
+ ],
+ ],
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询包年包月转按量付费价格',
+ 'summary' => '调用本API可以查看您的Flink实例从包年包月模式转为按量付费模式后,预计退款的金额,转为按量付费后将按小时计量您的使用情况并产生账单。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryConvertPrepayInstancePrice'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'InstanceId',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'stream:QueryConvertVvpPrepayInstancePrice',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426****\\",\\n \\"Success\\": true,\\n \\"PriceInfo\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"DiscountAmount\\": 655.2,\\n \\"OriginalAmount\\": 4368,\\n \\"TradeAmount\\": 3712.8,\\n \\"Code\\": \\"ORDER.INST_HAS_UNPAID_ORDER\\",\\n \\"Message\\": \\"存在未支付订单,请先支付或取消原有订单\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionName\\": \\"¥1,391.5 优惠券\\",\\n \\"PromotionDesc\\": \\"¥1,391.5 优惠券 (有效期至 03/23/2022)\\",\\n \\"PromotionOptionNo\\": \\"500011220***\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 587\\n }\\n ],\\n \\"StandPrice\\": \\"32432\\",\\n \\"StandDiscountPrice\\": \\"21321\\",\\n \\"IsContractActivity\\": true,\\n \\"DepreciateInfo\\": {\\n \\"OriginalStandAmount\\": \\"10000\\",\\n \\"CheapStandAmount\\": \\"8000\\",\\n \\"CheapRate\\": \\"20%\\",\\n \\"MonthPrice\\": \\"4000\\",\\n \\"StartTime\\": \\"2023-03-31T16:00:00Z\\",\\n \\"IsShow\\": true\\n },\\n \\"LxRequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'QueryCreateInstancePrice' => [
+ 'summary' => '获取本账号购买工作空间的价格。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'none',
+ 'riskType' => 'none',
+ 'chargeType' => 'paid',
+ 'abilityTreeCode' => '104066',
+ 'abilityTreeNodes' => ['FEATUREscTKD5I3'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'InstanceName',
+ 'in' => 'formData',
+ 'schema' => ['description' => '工作空间名称。', 'type' => 'string', 'required' => false, 'example' => 'rtc-e2e-test-post'],
+ ],
+ [
+ 'name' => 'ChargeType',
'in' => 'formData',
'schema' => [
- 'description' => '订单实例ID。',
+ 'description' => '付费类型,取值如下:'."\n"
+ ."\n"
+ .'- POST:按量付费。'."\n"
+ .'- PRE:包年包月。',
'type' => 'string',
'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
+ 'example' => 'PRE',
+ 'enum' => ['PRE', 'POST'],
],
],
[
- 'name' => 'Namespace',
+ 'name' => 'Region',
+ 'in' => 'formData',
+ 'schema' => ['description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ ],
+ [
+ 'name' => 'VpcId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '用户的VPC ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-2ze9xoh8qyt1rnxfmfcdi'],
+ ],
+ [
+ 'name' => 'VSwitchIds',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'description' => 'namespace名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'di-593440390152545',
+ 'description' => '虚拟交换机ID组。',
+ 'type' => 'array',
+ 'items' => ['description' => '虚拟交换机ID。', 'type' => 'string', 'required' => false, 'example' => 'vsw-uf6kkcjvzyayv5je6t72s'],
+ 'required' => false,
],
],
[
@@ -4939,172 +2721,436 @@
'description' => '资源规格。',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => 'CPU数量。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '30',
- ],
- 'MemoryGB' => [
- 'description' => '内存大小。单位为GB。'."\n"
- ."\n"
- .'> 内存数量必须为CPU数量的4倍。',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'Cpu' => ['description' => 'CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4'],
+ 'MemoryGB' => ['description' => '内存大小。'."\n"
+ .'> 内存大小必须为CPU数量的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '16'],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'PricingCycle',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '订购周期,包年包月实例仅支持按年(Year)和月(Month)订购,按量付费实例选择小时(Hour)。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Month' => 'Month', 'Year' => 'Year', 'Hour' => 'Hour'],
+ 'example' => 'Month',
+ 'enum' => ['Year', 'Month', 'Day', 'Hour'],
+ ],
+ ],
+ [
+ 'name' => 'Duration',
+ 'in' => 'formData',
+ 'schema' => ['description' => '订购周期数量。'."\n"
+ .'> 当ChargeType配置为PRE时,Duration参数必填。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'AutoRenew',
+ 'in' => 'formData',
+ 'schema' => ['description' => '是否自动续费。取值:'."\n"
+ ."\n"
+ .'- **true**:自动续费'."\n"
+ .'- **false**:不自动续费(默认)'."\n"
+ ."\n"
+ .'>按量付费时,该参数无效。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ [
+ 'name' => 'Storage',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '存储信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Oss' => [
+ 'description' => 'OSS存储信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Bucket' => ['description' => 'OSS的Bucket名称。', 'type' => 'string', 'required' => false, 'example' => 'quicktracing'],
+ ],
'required' => false,
- 'example' => '120',
],
],
'required' => false,
],
],
[
+ 'name' => 'UsePromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['description' => '是否使用优惠券。取值如下:'."\n"
+ ."\n"
+ .'- true:使用。'."\n"
+ .'- false:不使用。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ [
+ 'name' => 'PromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['title' => '优惠券code', 'description' => '优惠券code', 'type' => 'string', 'required' => false, 'example' => '500041860100636'],
+ ],
+ [
+ 'name' => 'Extra',
+ 'in' => 'formData',
+ 'schema' => ['title' => '优惠券code', 'description' => '扩展保留字段。', 'type' => 'string', 'required' => false, 'example' => '“”'],
+ ],
+ [
+ 'name' => 'ArchitectureType',
+ 'in' => 'formData',
+ 'schema' => ['title' => '优惠券code', 'description' => '处理器架构。', 'type' => 'string', 'required' => false, 'example' => 'X86'],
+ ],
+ [
'name' => 'Ha',
'in' => 'formData',
+ 'schema' => ['description' => '是否选择同城高可用资源。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false'],
+ ],
+ [
+ 'name' => 'HaResourceSpec',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'type' => 'boolean',
+ 'description' => '同城高可用资源描述。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => '同城高可用CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
+ 'MemoryGB' => ['description' => '同城高可用内存大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80'],
+ ],
'required' => false,
- 'default' => 'false',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否成功。',
- 'type' => 'boolean',
- 'example' => '是否成功',
+ 'RequestId' => ['title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功', 'type' => 'boolean'],
+ 'PriceInfo' => [
+ 'title' => '价格信息,包括价格和优惠规则。',
+ 'description' => '价格信息,包括价格和优惠规则。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Currency' => ['title' => '货币单位。', 'description' => '货币单位。', 'type' => 'string', 'example' => 'CNY'],
+ 'DiscountAmount' => ['title' => '折扣', 'description' => '折扣', 'type' => 'number', 'format' => 'float', 'example' => '655.2'],
+ 'OriginalAmount' => ['title' => '原价', 'description' => '原价', 'type' => 'number', 'format' => 'float', 'example' => '4368'],
+ 'TradeAmount' => ['title' => '最终价,为原价减去折扣。', 'description' => '最终价,为原价减去折扣。', 'type' => 'number', 'format' => 'float', 'example' => '3712.8'],
+ 'Code' => ['title' => '错误码', 'description' => '错误码', 'type' => 'string', 'example' => 'ORDER.INST_HAS_UNPAID_ORDER'],
+ 'Message' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => '存在未支付订单,请先支付或取消原有订单'],
+ 'OptionalPromotions' => [
+ 'description' => '优惠券组信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '优惠券信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'PromotionName' => ['title' => '优惠券名称', 'description' => '优惠券名称', 'type' => 'string', 'example' => '¥1,391.5 优惠券'],
+ 'PromotionDesc' => ['title' => '优惠券描述', 'description' => '优惠券描述', 'type' => 'string', 'example' => '¥1,391.5 优惠券(有效期至 03/23/2022)'],
+ 'PromotionOptionNo' => ['title' => '优惠券编号', 'description' => '优惠券编号', 'type' => 'string', 'example' => '500011220010099'],
+ 'Selected' => ['description' => '是否选中优惠券。取值如下:'."\n"
+ .'- true:选中。'."\n"
+ .'- false:未选中。', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ ],
+ ],
+ 'Rules' => [
+ 'title' => '活动规则。',
+ 'description' => '活动规则。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '活动规则。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['title' => '活动规则描述。', 'description' => '活动规则描述。', 'type' => 'string', 'example' => '买满1年,立享官网价格8.5折优惠。'],
+ 'RuleId' => ['title' => '活动ID。', 'description' => '活动ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '587'],
+ ],
+ ],
+ ],
+ 'StandPrice' => ['title' => '官网折扣价/直销合同折扣价', 'description' => '官网折扣价/直销合同折扣价', 'type' => 'string'],
+ 'StandDiscountPrice' => ['title' => '基于官网折扣的优惠价格', 'description' => '基于官网折扣的优惠价格', 'type' => 'string'],
+ 'IsContractActivity' => ['title' => '是否命中大客优惠', 'description' => '是否命中大客优惠', 'type' => 'boolean'],
+ 'DepreciateInfo' => [
+ 'title' => '降价信息',
+ 'description' => '降价信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'OriginalStandAmount' => ['title' => '原始官网价总价', 'description' => '原始官网价总价', 'type' => 'string'],
+ 'CheapStandAmount' => ['title' => '降价后官网价总价', 'description' => '降价后官网价总价', 'type' => 'string'],
+ 'CheapRate' => ['title' => '降价比例', 'description' => '降价比例', 'type' => 'string'],
+ 'MonthPrice' => ['title' => '折合月价', 'description' => '折合月价', 'type' => 'string'],
+ 'StartTime' => ['title' => '降价开始时间', 'description' => '降价开始时间', 'type' => 'string'],
+ 'IsShow' => ['title' => '是否展示降价幅度', 'description' => '是否展示降价幅度', 'type' => 'boolean'],
+ ],
+ ],
+ 'LxRequestId' => ['title' => '调用的凌霄requestId', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => '创建项目空间',
- ],
- 'ListTagResources' => [
- 'summary' => '您可以调用ListTagResources查询资源标签。您可以通过标签的value查询key值,或者通过key值查询value,也可以获取您在flink全托管工作空间上使用的所有标签信息。',
- 'methods' => [
- 'get',
- 'post',
+ 'title' => '查询工作空间价格',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryCreateInstancePrice'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'stream:QueryCreateVvpInstancePrice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"PriceInfo\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"DiscountAmount\\": 655.2,\\n \\"OriginalAmount\\": 4368,\\n \\"TradeAmount\\": 3712.8,\\n \\"Code\\": \\"ORDER.INST_HAS_UNPAID_ORDER\\",\\n \\"Message\\": \\"存在未支付订单,请先支付或取消原有订单\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionName\\": \\"¥1,391.5 优惠券\\",\\n \\"PromotionDesc\\": \\"¥1,391.5 优惠券(有效期至 03/23/2022)\\",\\n \\"PromotionOptionNo\\": \\"500011220010099\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 587\\n }\\n ],\\n \\"StandPrice\\": \\"\\",\\n \\"StandDiscountPrice\\": \\"\\",\\n \\"IsContractActivity\\": true,\\n \\"DepreciateInfo\\": {\\n \\"OriginalStandAmount\\": \\"\\",\\n \\"CheapStandAmount\\": \\"\\",\\n \\"CheapRate\\": \\"\\",\\n \\"MonthPrice\\": \\"\\",\\n \\"StartTime\\": \\"\\",\\n \\"IsShow\\": true\\n },\\n \\"LxRequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'QueryModifyInstancePrice' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '146254',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeCode' => '104067',
+ 'abilityTreeNodes' => ['FEATUREscTKD5I3'],
],
'parameters' => [
[
- 'name' => 'NextToken',
- 'in' => 'query',
- 'schema' => [
- 'title' => '下一个查询开始Token',
- 'description' => '下一个查询开始的Token。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '27AE00',
- ],
+ 'name' => 'Region',
+ 'in' => 'formData',
+ 'schema' => ['title' => '地域id', 'description' => '地域id', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
],
[
- 'name' => 'RegionId',
- 'in' => 'query',
+ 'name' => 'InstanceId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '订单实例ID', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06'],
+ ],
+ [
+ 'name' => 'ResourceSpec',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '地域',
- 'description' => '地域ID。',
- 'type' => 'string',
+ 'description' => '资源规格。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => '变配后CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ 'MemoryGB' => ['description' => '变配后内存大小。'."\n"
+ ."\n"
+ .'>内存大小必须为CPU数量的4倍。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '40'],
+ ],
'required' => true,
- 'example' => 'cn-beijing',
],
],
[
- 'name' => 'ResourceType',
- 'in' => 'query',
+ 'name' => 'Ha',
+ 'in' => 'formData',
+ 'schema' => ['description' => '是否选择同城高可用资源。', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'default' => 'false'],
+ ],
+ [
+ 'name' => 'HaVSwitchIds',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '资源类型',
- 'description' => '资源类型,固定值vvpinstance。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vvpinstance',
+ 'description' => '同城高可用备可用区vswitch组。',
+ 'type' => 'array',
+ 'items' => ['description' => '同城高可用备可用区vswitch。', 'type' => 'string', 'required' => false, 'example' => '[\\"vsw-bp1qh4w76fg38oe91d3bj\\"]'],
+ 'required' => false,
],
],
[
- 'name' => 'ResourceId',
- 'in' => 'query',
- 'style' => 'repeatList',
+ 'name' => 'HaResourceSpec',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '资源ID,最多 50个子项',
- 'description' => '订单实例ID组。',
- 'type' => 'array',
- 'items' => [
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'f-cn-7pp2m9w7s06',
+ 'description' => '同城高可用资源描述。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => '同城高可用CPU数量。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20'],
+ 'MemoryGB' => ['description' => '同城高可用内存大小。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80'],
],
'required' => false,
- 'maxItems' => 51,
],
],
[
- 'name' => 'Tag',
- 'in' => 'query',
- 'style' => 'repeatList',
+ 'name' => 'UsePromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'required' => false, 'description' => ''],
+ ],
+ [
+ 'name' => 'PromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '标签列表,最多包含20个子项',
- 'description' => '标签列表,最多包含20个子项',
- 'type' => 'array',
- 'items' => [
- 'description' => '标签键值对数组。',
- 'type' => 'object',
- 'properties' => [
- 'Key' => [
- 'title' => '标签键',
- 'description' => '标签键',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
- 'Value' => [
- 'title' => '标签值',
- 'description' => '标签值',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tag',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'PriceInfo' => [
+ 'title' => '价格信息,包括价格和优惠规则。',
+ 'description' => '价格信息,包括价格和优惠规则。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Currency' => ['title' => '货币单位。', 'description' => '货币单位。', 'type' => 'string', 'example' => 'CNY'],
+ 'DiscountAmount' => ['title' => '折扣', 'description' => '折扣', 'type' => 'number', 'format' => 'float', 'example' => '655.2'],
+ 'OriginalAmount' => ['title' => '原价', 'description' => '原价', 'type' => 'number', 'format' => 'float', 'example' => '4368'],
+ 'TradeAmount' => ['title' => '最终价,为原价减去折扣。', 'description' => '最终价,为原价减去折扣。', 'type' => 'number', 'format' => 'float', 'example' => '3712.8'],
+ 'Code' => ['title' => '错误码', 'description' => '错误码', 'type' => 'string', 'example' => 'ORDER.INST_HAS_UNPAID_ORDER'],
+ 'Message' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => '存在未支付订单,请先支付或取消原有订单'],
+ 'OptionalPromotions' => [
+ 'description' => '优惠券组信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '优惠券信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'PromotionName' => ['title' => '优惠券名称', 'description' => '优惠券名称', 'type' => 'string', 'example' => '¥1,391.5 优惠券'],
+ 'PromotionDesc' => ['title' => '优惠券描述', 'description' => '优惠券描述', 'type' => 'string', 'example' => '¥1,391.5 优惠券(有效期至 03/23/2022)'],
+ 'PromotionOptionNo' => ['title' => '优惠券编号', 'description' => '优惠券编号', 'type' => 'string', 'example' => '500011220010099'],
+ 'Selected' => ['description' => '是否选用优惠券。取值如下:'."\n"
+ ."\n"
+ .'- true:选用。'."\n"
+ ."\n"
+ .'- false:未选用。', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ ],
+ ],
+ 'Rules' => [
+ 'title' => '活动规则。',
+ 'description' => '活动规则组。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '活动规则。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['title' => '活动规则描述。', 'description' => '活动规则描述。', 'type' => 'string', 'example' => '买满1年,立享官网价格8.5折优惠。'],
+ 'RuleId' => ['title' => '活动ID。', 'description' => '活动ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '587'],
+ ],
+ ],
+ ],
+ 'StandPrice' => ['title' => '官网折扣价/直销合同折扣价', 'description' => '官网折扣价/直销合同折扣价', 'type' => 'string', 'example' => '0.5'],
+ 'StandDiscountPrice' => ['title' => '基于官网折扣的优惠价格', 'description' => '基于官网折扣的优惠价格', 'type' => 'string', 'example' => '1231'],
+ 'IsContractActivity' => ['title' => '是否命中大客优惠', 'description' => '是否命中大客优惠', 'type' => 'boolean', 'example' => '是'],
+ 'DepreciateInfo' => [
+ 'title' => '降价信息',
+ 'description' => '降价信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'OriginalStandAmount' => ['title' => '原始官网价总价', 'description' => '原始官网价总价', 'type' => 'string', 'example' => '12000'],
+ 'CheapStandAmount' => ['title' => '降价后官网价总价', 'description' => '降价后官网价总价', 'type' => 'string', 'example' => '6000'],
+ 'CheapRate' => ['title' => '降价比例', 'description' => '降价比例', 'type' => 'string', 'example' => '0.5'],
+ 'MonthPrice' => ['title' => '折合月价', 'description' => '折合月价', 'type' => 'string', 'example' => '0.6'],
+ 'StartTime' => ['title' => '降价开始时间', 'description' => '降价开始时间', 'type' => 'string', 'example' => '2023-10-04T21:10:26+08:00'],
+ 'IsShow' => ['title' => '是否展示降价幅度', 'description' => '是否展示降价幅度', 'type' => 'boolean', 'example' => 'false'],
+ ],
+ ],
+ 'LxRequestId' => ['type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
],
],
- 'required' => false,
],
- 'required' => false,
- 'maxItems' => 21,
],
],
],
+ 'title' => '查询变配价格',
+ 'summary' => '您可以查询实例升降配时的价格。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryModifyInstancePrice'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'stream:QueryModifyVvpInstancePrice',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"PriceInfo\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"DiscountAmount\\": 655.2,\\n \\"OriginalAmount\\": 4368,\\n \\"TradeAmount\\": 3712.8,\\n \\"Code\\": \\"ORDER.INST_HAS_UNPAID_ORDER\\",\\n \\"Message\\": \\"存在未支付订单,请先支付或取消原有订单\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionName\\": \\"¥1,391.5 优惠券\\",\\n \\"PromotionDesc\\": \\"¥1,391.5 优惠券(有效期至 03/23/2022)\\",\\n \\"PromotionOptionNo\\": \\"500011220010099\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 587\\n }\\n ],\\n \\"StandPrice\\": \\"0.5\\",\\n \\"StandDiscountPrice\\": \\"1231\\",\\n \\"IsContractActivity\\": true,\\n \\"DepreciateInfo\\": {\\n \\"OriginalStandAmount\\": \\"12000\\",\\n \\"CheapStandAmount\\": \\"6000\\",\\n \\"CheapRate\\": \\"0.5\\",\\n \\"MonthPrice\\": \\"0.6\\",\\n \\"StartTime\\": \\"2023-10-04T21:10:26+08:00\\",\\n \\"IsShow\\": false\\n },\\n \\"LxRequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'QueryRenewInstancePrice' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '104068',
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Region',
+ 'in' => 'formData',
+ 'schema' => ['title' => '地域id', 'description' => '地域id', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'formData',
+ 'schema' => ['title' => '实例id', 'description' => '实例id', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverless_public_cn-7e22ae5sess'],
+ ],
+ [
+ 'name' => 'Duration',
+ 'in' => 'formData',
+ 'schema' => ['title' => '订购周期数量', 'description' => '订购周期数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PricingCycle',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '订购周期',
+ 'description' => '订购周期',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'Month',
+ 'enum' => ['Year', 'Month', 'Day', 'Hour'],
+ ],
+ ],
+ [
+ 'name' => 'UsePromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean'],
+ ],
+ [
+ 'name' => 'PromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string'],
+ ],
+ ],
'responses' => [
200 => [
'schema' => [
@@ -5112,81 +3158,192 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'Success' => [
- 'description' => '是否成功,取值如下:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '0E5D17CE-BD83-5DC9-8CD2-3C40C2F7A135',
- ],
- 'TagReponseId' => [
- 'description' => 'tag请求ID。',
- 'type' => 'string',
- 'example' => '87AE00',
- ],
- 'NextToken' => [
- 'description' => '下一个查询开始的Token。',
- 'type' => 'string',
- 'example' => '27AE00',
- ],
- 'TagResources' => [
- 'title' => '资源列表',
- 'description' => '资源绑定的标签列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '标签资源组。',
- 'type' => 'object',
- 'properties' => [
- 'ResourceType' => [
- 'title' => '资源类型',
- 'description' => '资源类型,固定值为vvpinstance。',
- 'type' => 'string',
- 'example' => 'vvpinstance',
- ],
- 'TagValue' => [
- 'title' => '标签值',
- 'description' => '标签值',
- 'type' => 'string',
- 'example' => 'tag',
+ 'RequestId' => ['title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ 'PriceInfo' => [
+ 'title' => '价格信息,包括价格和优惠规则。',
+ 'description' => '价格信息,包括价格和优惠规则。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Currency' => ['title' => '货币单位。', 'description' => '货币单位。', 'type' => 'string', 'example' => 'CNY'],
+ 'DiscountAmount' => ['title' => '折扣', 'description' => '折扣', 'type' => 'number', 'format' => 'float', 'example' => '655.2'],
+ 'OriginalAmount' => ['title' => '原价', 'description' => '原价', 'type' => 'number', 'format' => 'float', 'example' => '4368'],
+ 'TradeAmount' => ['title' => '最终价,为原价减去折扣。', 'description' => '最终价,为原价减去折扣。', 'type' => 'number', 'format' => 'float', 'example' => '3712.8'],
+ 'Code' => ['title' => '错误码', 'description' => '错误码', 'type' => 'string', 'example' => 'ORDER.INST_HAS_UNPAID_ORDER'],
+ 'Message' => ['title' => '错误信息', 'description' => '错误信息', 'type' => 'string', 'example' => '存在未支付订单,请先支付或取消原有订单'],
+ 'OptionalPromotions' => [
+ 'description' => '优惠券组信息。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '优惠券信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'PromotionName' => ['title' => '优惠券名称', 'description' => '优惠券名称', 'type' => 'string', 'example' => '¥1,391.5 优惠券'],
+ 'PromotionDesc' => ['title' => '优惠券描述', 'description' => '优惠券描述', 'type' => 'string', 'example' => '¥1,391.5 优惠券(有效期至 03/23/2022)'],
+ 'PromotionOptionNo' => ['title' => '优惠券编号', 'description' => '优惠券编号', 'type' => 'string', 'example' => '500011220010099'],
+ 'Selected' => ['description' => '是否选用优惠券。取值如下:'."\n"
+ ."\n"
+ .'- true:选用。'."\n"
+ ."\n"
+ .'- false:未选用。', 'type' => 'boolean', 'example' => 'true'],
+ ],
],
- 'ResourceId' => [
- 'title' => '资源ID',
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'example' => 'f-cn-tyts',
+ ],
+ 'Rules' => [
+ 'title' => '活动规则。',
+ 'description' => '活动规则组。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '活动规则',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['title' => '活动规则描述。', 'description' => '活动规则描述。', 'type' => 'string', 'example' => '买满1年,立享官网价格8.5折优惠。'],
+ 'RuleId' => ['title' => '活动ID。', 'description' => '活动ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '587'],
+ ],
],
- 'TagKey' => [
- 'title' => '标签键',
- 'description' => '标签键',
- 'type' => 'string',
- 'example' => 'test',
+ ],
+ 'StandPrice' => ['title' => '官网折扣价/直销合同折扣价', 'description' => '官网折扣价/直销合同折扣价', 'type' => 'string', 'example' => '32432'],
+ 'StandDiscountPrice' => ['title' => '基于官网折扣的优惠价格', 'description' => '基于官网折扣的优惠价格', 'type' => 'string', 'example' => '21321'],
+ 'IsContractActivity' => ['title' => '是否命中大客优惠', 'description' => '是否命中大客优惠', 'type' => 'boolean', 'example' => 'true'],
+ 'DepreciateInfo' => [
+ 'title' => '降价信息',
+ 'description' => '降价信息',
+ 'type' => 'object',
+ 'properties' => [
+ 'OriginalStandAmount' => ['title' => '原始官网价总价', 'description' => '原始官网价总价', 'type' => 'string', 'example' => '12000'],
+ 'CheapStandAmount' => ['title' => '降价后官网价总价', 'description' => '降价后官网价总价', 'type' => 'string', 'example' => '8000'],
+ 'CheapRate' => ['title' => '降价比例', 'description' => '降价比例', 'type' => 'string', 'example' => '34%'],
+ 'MonthPrice' => ['title' => '折合月价', 'description' => '折合月价', 'type' => 'string', 'example' => '1000'],
+ 'StartTime' => ['title' => '降价开始时间', 'description' => '降价开始时间', 'type' => 'string', 'example' => '2023-03-31T16:00:00Z'],
+ 'IsShow' => ['title' => '是否展示降价幅度', 'description' => '是否展示降价幅度', 'type' => 'boolean', 'example' => 'true'],
],
],
+ 'LxRequestId' => ['type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"0E5D17CE-BD83-5DC9-8CD2-3C40C2F7A135\\",\\n \\"TagReponseId\\": \\"87AE00\\",\\n \\"NextToken\\": \\"27AE00\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceType\\": \\"vvpinstance\\",\\n \\"TagValue\\": \\"tag\\",\\n \\"ResourceId\\": \\"f-cn-tyts\\",\\n \\"TagKey\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查看Flink全托管工作空间标签列表',
+ 'title' => '查询工作空间续费价格',
+ 'summary' => '您可以查询续费一个包年包月工作空间的价格。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryRenewInstancePrice'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'stream:QueryRenewVvpInstancePrice',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"PriceInfo\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"DiscountAmount\\": 655.2,\\n \\"OriginalAmount\\": 4368,\\n \\"TradeAmount\\": 3712.8,\\n \\"Code\\": \\"ORDER.INST_HAS_UNPAID_ORDER\\",\\n \\"Message\\": \\"存在未支付订单,请先支付或取消原有订单\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionName\\": \\"¥1,391.5 优惠券\\",\\n \\"PromotionDesc\\": \\"¥1,391.5 优惠券(有效期至 03/23/2022)\\",\\n \\"PromotionOptionNo\\": \\"500011220010099\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 587\\n }\\n ],\\n \\"StandPrice\\": \\"32432\\",\\n \\"StandDiscountPrice\\": \\"21321\\",\\n \\"IsContractActivity\\": true,\\n \\"DepreciateInfo\\": {\\n \\"OriginalStandAmount\\": \\"12000\\",\\n \\"CheapStandAmount\\": \\"8000\\",\\n \\"CheapRate\\": \\"34%\\",\\n \\"MonthPrice\\": \\"1000\\",\\n \\"StartTime\\": \\"2023-03-31T16:00:00Z\\",\\n \\"IsShow\\": true\\n },\\n \\"LxRequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\"\\n }\\n}","type":"json"}]',
],
- 'TagResources' => [
- 'summary' => '您可以调用本API创建资源标签。',
- 'methods' => [
- 'post',
- 'get',
+ 'RenewInstance' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '103206',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Region',
+ 'in' => 'formData',
+ 'schema' => ['title' => '地域id', 'description' => '地域id', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'formData',
+ 'schema' => ['title' => '实例id', 'description' => '实例id', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverless_public_cn-7e22ae5sess'],
+ ],
+ [
+ 'name' => 'Duration',
+ 'in' => 'formData',
+ 'schema' => ['title' => '订购周期数量', 'description' => '订购周期数量', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PricingCycle',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '订购周期',
+ 'description' => '订购周期',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'Month',
+ 'enum' => ['Year', 'Month', 'Day', 'Hour'],
+ ],
+ ],
+ [
+ 'name' => 'UsePromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean'],
+ ],
+ [
+ 'name' => 'PromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => '请求id', 'description' => '请求id', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'OrderId' => ['title' => 'orderId', 'description' => 'orderId', 'type' => 'integer', 'format' => 'int64', 'example' => '210406354690749'],
+ 'Success' => ['title' => '是否成功', 'description' => '是否成功', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '续费flink全托管工作空间',
+ 'summary' => '续费一个包年包月flink全托管工作空间。',
+ 'description' => '**请确保在使用该接口前,已充分了解flink全托管产品的收费方式和[价格](https://help.aliyun.com/zh/flink/product-overview/renewal-policy)**',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenewInstance'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:RenewVvpInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"OrderId\\": 210406354690749,\\n \\"Success\\": true\\n}","type":"json"}]',
+ ],
+ 'TagResources' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5198,32 +3355,18 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '146252',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'title' => '地域',
- 'description' => '地域',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['title' => '地域', 'description' => '地域', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => '资源类型,固定值为vvpinstance。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vvpinstance',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => '资源类型,固定值为vvpinstance。', 'type' => 'string', 'required' => true, 'example' => 'vvpinstance'],
],
[
'name' => 'ResourceId',
@@ -5233,12 +3376,7 @@
'title' => '资源ID,最多 50个子项',
'description' => '订单实例ID列表',
'type' => 'array',
- 'items' => [
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'f-cn-7e22rg',
- ],
+ 'items' => ['description' => '订单实例ID。', 'type' => 'string', 'required' => false, 'example' => 'f-cn-7e22rg'],
'required' => true,
'maxItems' => 51,
],
@@ -5255,20 +3393,8 @@
'description' => '资源标签',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'title' => '标签值',
- 'description' => '标签值',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tag',
- ],
- 'Key' => [
- 'title' => '标签键',
- 'description' => '标签键',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'Value' => ['title' => '标签值', 'description' => '标签值', 'type' => 'string', 'required' => false, 'example' => 'tag'],
+ 'Key' => ['title' => '标签键', 'description' => '标签键', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
'required' => false,
],
@@ -5282,51 +3408,45 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'description' => '是否成功,取值如下:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'TagResponseId' => [
- 'description' => 'tag请求ID。',
- 'type' => 'string',
- 'example' => '154FT',
- ],
- 'Message' => [
- 'description' => '请求信息。',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Code' => [
- 'description' => '返回码。',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['description' => '是否成功,取值如下:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'TagResponseId' => ['description' => 'tag请求ID。', 'type' => 'string', 'example' => '154FT'],
+ 'Message' => ['description' => '请求信息。', 'type' => 'string', 'example' => '""'],
+ 'Code' => ['description' => '返回码。', 'type' => 'string', 'example' => '200'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"TagResponseId\\": \\"154FT\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]',
'title' => '创建资源标签',
- ],
- 'UntagResources' => [
- 'summary' => '您可以调用UntagResources删除资源标签。',
- 'methods' => [
- 'post',
- 'get',
+ 'summary' => '您可以调用本API创建资源标签。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:TagVvpResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"TagResponseId\\": \\"154FT\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]',
+ ],
+ 'UntagResources' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5339,43 +3459,23 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '146253',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'title' => '地域',
- 'description' => '地域',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['title' => '地域', 'description' => '地域', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => '资源类型,固定值为vvpinstance。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vvpinstance',
- ],
+ 'schema' => ['title' => '资源类型', 'description' => '资源类型,固定值为vvpinstance。', 'type' => 'string', 'required' => true, 'example' => 'vvpinstance'],
],
[
'name' => 'All',
'in' => 'query',
- 'schema' => [
- 'title' => '是否全部删除,只针对TagKey.N为空时有效。 取值范围: true false True False 默认是 false',
- 'description' => '是否全部删除资源标签,只针对TagKey为空时有效。默认是false。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['title' => '是否全部删除,只针对TagKey.N为空时有效。 取值范围: true false True False 默认是 false', 'description' => '是否全部删除资源标签,只针对TagKey为空时有效。默认是false。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
],
[
'name' => 'ResourceId',
@@ -5385,12 +3485,7 @@
'title' => '资源ID,最多50个子项',
'description' => '订单实例ID组。',
'type' => 'array',
- 'items' => [
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'f-cn-tgy67',
- ],
+ 'items' => ['description' => '订单实例ID。', 'type' => 'string', 'required' => false, 'example' => 'f-cn-tgy67'],
'required' => true,
'maxItems' => 51,
],
@@ -5403,12 +3498,7 @@
'title' => '标签键,最多20个子项',
'description' => '标签键组,最多20个子项',
'type' => 'array',
- 'items' => [
- 'description' => '标签键。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'items' => ['description' => '标签键。', 'type' => 'string', 'required' => false, 'example' => 'test'],
'required' => false,
'maxItems' => 21,
],
@@ -5421,429 +3511,433 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'F59597FC-CD05-536D-B75B-6F45B8CC8539',
- ],
- 'Success' => [
- 'description' => '是否成功,取值如下:'."\n"
- ."\n"
- .'- true:成功。'."\n"
- .'- false:失败。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'TagResponseId' => [
- 'description' => 'tag请求ID。',
- 'type' => 'string',
- 'example' => '154FT',
- ],
- 'Message' => [
- 'description' => '返回信息',
- 'type' => 'string',
- 'example' => '""',
- ],
- 'Code' => [
- 'description' => '返回码。',
- 'type' => 'string',
- 'example' => '200',
- ],
+ 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F59597FC-CD05-536D-B75B-6F45B8CC8539'],
+ 'Success' => ['description' => '是否成功,取值如下:'."\n"
+ ."\n"
+ .'- true:成功。'."\n"
+ .'- false:失败。', 'type' => 'boolean', 'example' => 'true'],
+ 'TagResponseId' => ['description' => 'tag请求ID。', 'type' => 'string', 'example' => '154FT'],
+ 'Message' => ['description' => '返回信息', 'type' => 'string', 'example' => '""'],
+ 'Code' => ['description' => '返回码。', 'type' => 'string', 'example' => '200'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F59597FC-CD05-536D-B75B-6F45B8CC8539\\",\\n \\"Success\\": true,\\n \\"TagResponseId\\": \\"154FT\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]',
'title' => '删除资源标签',
+ 'summary' => '您可以调用UntagResources删除资源标签。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:UnTagVvpResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F59597FC-CD05-536D-B75B-6F45B8CC8539\\",\\n \\"Success\\": true,\\n \\"TagResponseId\\": \\"154FT\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]',
],
- 'ConvertPrepayInstance' => [
- 'summary' => '调用本API可将您包年包月的实例转化为按量付费。',
- 'methods' => [
- 'post',
+ ],
+ 'endpoints' => [
+ ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.cn-qingdao.aliyuncs.com', 'endpoint' => 'foasconsole.cn-qingdao.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'foasconsole.cn-wulanchabu.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.cn-beijing.aliyuncs.com', 'endpoint' => 'foasconsole.cn-beijing.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.cn-shanghai.aliyuncs.com', 'endpoint' => 'foasconsole.cn-shanghai.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.cn-hongkong.aliyuncs.com', 'endpoint' => 'foasconsole.cn-hongkong.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'foasconsole.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.cn-shenzhen.aliyuncs.com', 'endpoint' => 'foasconsole.cn-shenzhen.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.ap-northeast-1.aliyuncs.com', 'endpoint' => 'foasconsole.ap-northeast-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.ap-southeast-1.aliyuncs.com', 'endpoint' => 'foasconsole.ap-southeast-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.ap-southeast-3.aliyuncs.com', 'endpoint' => 'foasconsole.ap-southeast-3.aliyuncs.com', 'vpc' => 'foasconsole-vpc.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.ap-southeast-5.aliyuncs.com', 'endpoint' => 'foasconsole.ap-southeast-5.aliyuncs.com', 'vpc' => 'foasconsole-vpc.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.cn-hangzhou.aliyuncs.com', 'endpoint' => 'foasconsole.cn-hangzhou.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'foasconsole.us-east-1.aliyuncs.com', 'endpoint' => 'foasconsole.us-east-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.us-east-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'foasconsole.eu-west-1.aliyuncs.com', 'endpoint' => 'foasconsole.eu-west-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.eu-west-1.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'foasconsole.us-west-1.aliyuncs.com', 'endpoint' => 'foasconsole.us-west-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.us-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'foasconsole.eu-central-1.aliyuncs.com', 'endpoint' => 'foasconsole.eu-central-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'foasconsole.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'foasconsole.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-shenzhen-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'foasconsole.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'foasconsole.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-shanghai-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'foasconsole.aliyuncs.com', 'endpoint' => 'foasconsole.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-north-2-gov-1.aliyuncs.com'],
+ ],
+ 'errorCodes' => [
+ ['code' => '000000', 'message' => 'System successfully returned. Check the message.', 'http_code' => 200, 'description' => '系统正常返回,检查返回信息'],
+ ['code' => '500', 'message' => 'System internal error.', 'http_code' => 500, 'description' => '系统内部错误'],
+ ['code' => '902012', 'message' => 'Zone left resource is not enough.', 'http_code' => 200, 'description' => '可用区剩余资源不足'],
+ ['code' => '902017', 'message' => 'Cluster name already had been used.', 'http_code' => 200, 'description' => '集群名字已经被使用'],
+ ['code' => '902020', 'message' => 'Zone ID is illegal.', 'http_code' => 200, 'description' => '可用区ID不合法'],
+ ['code' => '903021', 'message' => 'The specified instance is not found.', 'http_code' => 200, 'description' => '找不到集群实例'],
+ ['code' => '903023', 'message' => 'The order type does not support high availability.', 'http_code' => 200, 'description' => '订单类型不支持高可用'],
+ ['code' => '903043', 'message' => 'Workspace is not ready for operating.', 'http_code' => 200, 'description' => '工作空间有资源调整正在生效,暂时不可以操作'],
+ ['code' => '903062', 'message' => 'The instance does not belong to this region.', 'http_code' => 200, 'description' => '集群实例不属于这个地域'],
+ ['code' => '903065', 'message' => 'You do not have the ram permission to operate.', 'http_code' => 200, 'description' => '你没有相关ram权限策略进行操作'],
+ ['code' => '903081', 'message' => 'You do not authorize asi default role.', 'http_code' => 200, 'description' => '没有授予平台默认角色权限'],
+ ['code' => '903084', 'message' => 'The oss bucket storage class must be standard.', 'http_code' => 200, 'description' => '对象存储OSS存储类型必须是标准存储'],
+ ['code' => '910100', 'message' => 'System internal error.', 'http_code' => 200, 'description' => '系统内部错误'],
+ ],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNamespace'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSupportedZones'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryModifyInstancePrice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateInstance'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryConvertInstancePrice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyElasticResourceSpec'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPrepayNamespaceSpec'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryRenewInstancePrice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryConvertPrepayInstancePrice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceVswitch'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConvertInstance'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryCreateInstancePrice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConvertHybridInstance'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPrepayInstanceSpec'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenewInstance'],
+ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstances'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNamespaces'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConvertPrepayInstance'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateNamespace'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteInstance'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSupportedRegions'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNamespaceSpecV2'],
+ ],
+ ],
+ 'ram' => [
+ 'productCode' => 'RealtimeCompute',
+ 'productName' => '实时计算 Flink版',
+ 'ramCodes' => ['stream', 'fluss'],
+ 'ramLevel' => '资源级',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'QueryConvertPrepayInstancePrice',
+ 'description' => '查询包年包月转按量付费价格',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'stream:QueryConvertVvpPrepayInstancePrice',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'ConvertHybridInstance',
+ 'description' => '开通混合计费',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'stream:ConvertHybridInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'CreateInstance',
+ 'description' => '创建flink全托管工作空间',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'stream:CreateVvpInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'ConvertPrepayInstance',
+ 'description' => '包年包月转按量付费',
'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '212995',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
+ 'ramAction' => [
+ 'action' => 'stream:ConvertVvpInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Region',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '地域。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
+ [
+ 'apiName' => 'RenewInstance',
+ 'description' => '续费flink全托管工作空间',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:RenewVvpInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
],
],
- [
- 'name' => 'InstanceId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '订单实例ID',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj*****',
+ ],
+ [
+ 'apiName' => 'QueryModifyInstancePrice',
+ 'description' => '查询变配价格',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'stream:QueryModifyVvpInstancePrice',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => '响应数据。',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求id',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426****',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否转换成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'OrderId' => [
- 'title' => '订单id',
- 'description' => '订单id。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2104063546*****',
- ],
- ],
+ [
+ 'apiName' => 'DescribeNamespaces',
+ 'description' => '查看项目空间详情',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'stream:DescribeVvpNamespaces',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'ConvertInstance',
+ 'description' => '按量付费转包年包月',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ConvertVvpInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426****\\",\\n \\"Success\\": true,\\n \\"OrderId\\": 0\\n}","type":"json"}]',
- 'title' => '包年包月转按量付费',
- 'description' => '请确保在使用该接口前,已充分了解阿里云实时计算Flink产品的[收费方式和价格](https://help.aliyun.com/zh/flink/product-overview/switch-from-subscription-to-pay-as-you-go?spm=a2c4g.11186623.0.0.51f74f50TffU4r)',
- ],
- 'ModifyInstanceVswitch' => [
- 'summary' => '修改Flink工作空间可使用的虚拟交换机。',
- 'methods' => [
- 'post',
+ [
+ 'apiName' => 'UntagResources',
+ 'description' => '删除资源标签',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:UnTagVvpResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'DeleteNamespace',
+ 'description' => '删除项目空间',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'stream:DeleteVvpNamespace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'ModifyPrepayInstanceSpec',
+ 'description' => '修改工作空间计算资源',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpPrepayInstanceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
],
],
- 'operationType' => 'write',
- 'deprecated' => true,
- 'systemTags' => [
+ [
+ 'apiName' => 'ModifyElasticResourceSpec',
+ 'description' => '修改混合计费实例按量上限',
'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '213064',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpInstanceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'InstanceId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '订单实例ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sc_flinkserverless_public_cn-7e22ae****',
+ [
+ 'apiName' => 'ModifyNamespaceSpecV2',
+ 'description' => '修改项目空间的资源配置',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpNamespaceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpNamespace', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}/vvpnamespace/{#Namespace}'],
],
],
- [
- 'name' => 'VSwitchIds',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '修改后要使用的虚拟交换机ID组。',
- 'type' => 'array',
- 'items' => [
- 'description' => '虚拟交换机ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vsw-m5esz02px6qxiu28x****',
- ],
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'ModifyPrepayNamespaceSpec',
+ 'description' => '修改项目空间资源',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpPrepayNamespaceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'HaVSwitchIds',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '同城高可用备可用区vswitch组。如果您的工作空间开启了同城高可用时必须传入。',
- 'type' => 'array',
- 'items' => [
- 'description' => '同城高可用备可用区vswitch组。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"vsw-2ze78bg1iewk***dylxi\\"]',
- ],
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'ListTagResources',
+ 'description' => '查看Flink全托管工作空间标签列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'stream:QueryTagVvpResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => '响应数据。',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426****',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '是否执行成功。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'Result' => [
- 'description' => '返回结果信息。',
- 'type' => 'string',
- 'example' => 'F2C5B6A8-DD04-51F5-AAD5-BA2FE6FD****',
- ],
- ],
+ [
+ 'apiName' => 'DescribeInstances',
+ 'description' => '查看已购买Flink全托管工作空间',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'stream:DescribeVvpInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
],
],
],
- 'staticInfo' => [
- 'noSubstitutionReason' => '暂无替代API,请关注后续API最新发布。',
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'ModifyInstanceSpec',
+ 'description' => '修改工作空间资源',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpInstanceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateNamespace',
+ 'description' => '创建项目空间',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'stream:CreateVvpNamespace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryConvertInstancePrice',
+ 'description' => '查询按量付费转包年包月价格',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'stream:QueryConvertVvpPostpayInstancePrice',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'TagResources',
+ 'description' => '创建资源标签',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:TagVvpResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryRenewInstancePrice',
+ 'description' => '查询工作空间续费价格',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'stream:QueryRenewVvpInstancePrice',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryCreateInstancePrice',
+ 'description' => '查询工作空间价格',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'stream:QueryCreateVvpInstancePrice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteInstance',
+ 'description' => '释放按量付费Flink全托管工作空间',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'stream:DeleteVvpInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyInstanceVswitch',
+ 'description' => '修改实例的交换机',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyInstanceVswitch',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426****\\",\\n \\"Success\\": true,\\n \\"Result\\": \\"F2C5B6A8-DD04-51F5-AAD5-BA2FE6FD****\\"\\n}","type":"json"}]',
- 'title' => '修改实例的交换机',
- 'description' => '请确保在使用该接口前,已充分了解实时计算Flink产品对[修改虚拟交换机](https://help.aliyun.com/zh/flink/user-guide/modify-a-vswitch?scm=20140722.S_help%40%40%E6%96%87%E6%A1%A3%40%40169603.S_BB1%40bl%2BBB2%40bl%2BRQW%40ag0%2Bhot%2Bos0.ID_169603-RL_%E8%99%9A%E6%8B%9F%E4%BA%A4%E6%8D%A2%E6%9C%BA-LOC_doc%7EUND%7Eab-OR_ser-PAR1_2102029b17409830823921371df365-V_4-P0_0-P1_0&spm=a2c4g.11174283.help-search.i0)的相关限制。',
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'foasconsole.cn-zhangjiakou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'foasconsole.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'foasconsole.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'foasconsole.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'foasconsole.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-3',
- 'endpoint' => 'foasconsole.ap-southeast-3.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-1',
- 'endpoint' => 'foasconsole.ap-northeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-central-1',
- 'endpoint' => 'foasconsole.eu-central-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-finance-1',
- 'endpoint' => 'foasconsole.cn-shanghai-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-north-2-gov-1',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-northeast-2-pop',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-5',
- 'endpoint' => 'foasconsole.ap-southeast-5.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-finance-pop',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-gov-1',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing-nu16-b01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-edge-1',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-fujian',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-haidian-cm12-c01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-bj-b01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-prod-1',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-1',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-2',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-internal-test-3',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou-test-306',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong-finance-pop',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-huhehaote-nebula-1',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-qingdao-nebula',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et15-b01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-et2-b01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-inner',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai-internal-test-1',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-inner',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-st4-d01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-su18-b01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wuhan',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-yushanfang',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangbei-na61-b01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhangjiakou-na62-a01',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-zhengzhou-nebula-1',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1',
- 'endpoint' => 'foasconsole.eu-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'eu-west-1-oxs',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'rus-west-1-pop',
- 'endpoint' => 'foasconsole.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-east-1',
- 'endpoint' => 'foasconsole.us-east-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-west-1',
- 'endpoint' => 'foasconsole.us-west-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'foasconsole.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen-finance-1',
- 'endpoint' => 'foasconsole.cn-shenzhen-finance-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'foasconsole.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-chengdu',
- 'endpoint' => 'foasconsole.cn-chengdu.aliyuncs.com',
],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'foasconsole.ap-southeast-1.aliyuncs.com',
+ 'resourceTypes' => [
+ ['validationType' => 'always', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'VvpNamespace', 'arn' => 'acs:stream:*:{#accountId}:vvpinstance/{#InstanceId}/vvpnamespace/{#Namespace}'],
+ ['validationType' => 'always', 'resourceType' => 'VvpNamespace', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}/vvpnamespace/{#Namespace}'],
+ ['validationType' => 'always', 'resourceType' => 'VvpNamespace', 'arn' => 'acs:stream:*:{#accountId}:vvpinstance/{#InstanceId}'],
],
],
];