diff options
Diffstat (limited to 'data/en_us/foasconsole')
| -rw-r--r-- | data/en_us/foasconsole/2019-06-01/api-docs.php | 4063 | ||||
| -rw-r--r-- | data/en_us/foasconsole/2021-10-28/api-docs.php | 5395 |
2 files changed, 9458 insertions, 0 deletions
diff --git a/data/en_us/foasconsole/2019-06-01/api-docs.php b/data/en_us/foasconsole/2019-06-01/api-docs.php new file mode 100644 index 0000000..7fce743 --- /dev/null +++ b/data/en_us/foasconsole/2019-06-01/api-docs.php @@ -0,0 +1,4063 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'foasconsole', + 'version' => '2019-06-01', + ], + 'directories' => [ + [ + 'id' => 93127, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateNamespace', + 'DeleteNamespace', + 'ModifyPrepayNamespaceSpec', + 'DescribeNamespaces', + ], + ], + [ + 'id' => 93132, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateInstance', + 'RenewInstance', + 'DeleteInstance', + 'ModifyPrepayInstanceSpec', + 'ConvertInstance', + 'DescribeInstances', + ], + ], + [ + 'id' => 93139, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'QueryCreateInstancePrice', + 'QueryModifyInstancePrice', + 'QueryRenewInstancePrice', + 'QueryConvertInstancePrice', + ], + ], + [ + 'id' => 93144, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'DescribeSupportedZones', + 'DescribeSupportedRegions', + ], + ], + [ + 'id' => 187207, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'ListTagResources', + 'UntagResources', + 'TagResources', + 'ConvertPrepayInstance', + 'QueryConvertPrepayInstancePrice', + ], + ], + [ + 'id' => 0, + 'title' => '其它', + 'type' => 'directory', + 'children' => [ + 'ChangeResourceGroup', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'CreateNamespace' => [ + 'summary' => '创建命名空间', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'abilityTreeCode' => '45895', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'CreateNamespaceRequest', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Region' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + 'InstanceId' => [ + 'description' => '', + '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' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '40', + ], + ], + 'required' => false, + ], + 'Ha' => [ + 'type' => 'boolean', + 'default' => 'false', + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<CreateNamespaceResponse>\\n <RequestId>67F33190-946B-1105-B6A1-E2DF0426DD51</RequestId>\\n <Success>true</Success>\\n</CreateNamespaceResponse>","errorExample":""}]', + ], + 'DeleteNamespace' => [ + 'summary' => '删除namespace', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + ], + 'parameters' => [ + [ + 'name' => 'DeleteNamespaceRequest', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Region' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'sc_flinkserverlesspost_public_cn-0ju2bj2****', + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ns-1', + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteNamespaceResponse>\\n <RequestId>67F33190-946B-1105-B6A1-E2DF0426DD51</RequestId>\\n <Success>true</Success>\\n</DeleteNamespaceResponse>","errorExample":""}]', + ], + 'ModifyPrepayNamespaceSpec' => [ + 'summary' => '修改namespace资源分配', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => true, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '45980', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'ModifyPrepayNamespaceSpecRequest', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Region' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + 'InstanceId' => [ + 'description' => '', + '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' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '40', + ], + ], + 'required' => true, + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + '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":""}]', + ], + 'DescribeNamespaces' => [ + 'summary' => 'namespace列表', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '45983', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'DescribeNamespacesRequest', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Region' => [ + 'title' => 'regionId', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + 'InstanceId' => [ + 'title' => '实例id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '223493C7-FCA9-13D4-B75B-AF8B32F4****', + ], + 'Namespace' => [ + 'title' => '命名空间名称', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ns-1', + ], + 'PageIndex' => [ + 'title' => '当前页数', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'PageSize' => [ + 'title' => '每页大小', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'Tags' => [ + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'flink', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + 'Ha' => [ + 'type' => 'boolean', + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + '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', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ns-1', + ], + 'Status' => [ + 'description' => '', + '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' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '40', + ], + ], + ], + 'ResourceUsed' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '2.5', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '6.6', + ], + 'Cu' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '1.6', + ], + ], + ], + 'Tags' => [ + 'title' => '资源列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '标签键', + 'description' => '', + 'type' => 'string', + 'example' => 'flink', + ], + 'Value' => [ + 'title' => '标签值', + 'description' => '', + 'type' => 'string', + 'example' => 'test', + ], + ], + ], + ], + 'Ha' => [ + 'type' => 'boolean', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 15,\\n \\"TotalPage\\": 2,\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"Namespaces\\": [\\n {\\n \\"Namespace\\": \\"ns-1\\",\\n \\"Status\\": \\"SUCCESS\\",\\n \\"GmtCreate\\": 1629879567394,\\n \\"GmtModified\\": 1629879567394,\\n \\"ResourceSpec\\": {\\n \\"Cpu\\": 10,\\n \\"MemoryGB\\": 40\\n },\\n \\"ResourceUsed\\": {\\n \\"Cpu\\": 2.5,\\n \\"MemoryGB\\": 6.6,\\n \\"Cu\\": 1.6\\n },\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"flink\\",\\n \\"Value\\": \\"test\\"\\n }\\n ],\\n \\"Ha\\": true\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeNamespacesResponse>\\n <RequestId>67F33190-946B-1105-B6A1-E2DF0426DD51</RequestId>\\n <Success>true</Success>\\n <TotalCount>15</TotalCount>\\n <TotalPage>2</TotalPage>\\n <PageIndex>1</PageIndex>\\n <PageSize>10</PageSize>\\n <Namespaces>\\n <Namespace>ns-1</Namespace>\\n <Status>SUCCESS</Status>\\n <GmtCreate>1629879567394</GmtCreate>\\n <GmtModified>1629879567394</GmtModified>\\n <ResourceSpec>\\n <Cpu>10</Cpu>\\n <MemoryGB>40</MemoryGB>\\n </ResourceSpec>\\n <ResourceUsed>\\n <Cpu>2.5</Cpu>\\n <MemoryGB>6.6</MemoryGB>\\n <Cu>1.6</Cu>\\n </ResourceUsed>\\n <Tags>\\n <Key>flink</Key>\\n <Value>test</Value>\\n </Tags>\\n </Namespaces>\\n</DescribeNamespacesResponse>","errorExample":""}]', + ], + 'CreateInstance' => [ + 'summary' => '创建实例', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '44259', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'CreateInstanceRequest', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceName' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'vvp1', + ], + 'ChargeType' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'PRE', + 'enum' => [ + 'PRE', + 'POST', + ], + ], + 'Region' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + 'ZoneId' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing-g', + ], + 'VpcId' => [ + 'description' => 'VPC ID。', + 'type' => 'string', + 'required' => true, + 'example' => 'vpc-2ze9*******nxfmfcdi', + ], + 'VSwitchIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'vsw-xzes****bkmuirxxpoxxv', + ], + 'required' => true, + ], + 'ResourceSpec' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '40', + ], + ], + 'required' => false, + ], + 'PricingCycle' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Month', + 'default' => 'Month', + 'enum' => [ + 'Year', + 'Month', + 'Day', + 'Hour', + ], + ], + 'Duration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'AutoRenew' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'Storage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Oss' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Bucket' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'oss_flink', + ], + ], + 'required' => true, + ], + ], + 'required' => true, + ], + 'UsePromotionCode' => [ + 'title' => '是否使用优惠券', + 'description' => '', + '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', + 'enum' => [ + 'X86', + 'ARM', + ], + ], + 'Ha' => [ + 'type' => 'boolean', + 'default' => 'false', + ], + 'HaZoneId' => [ + 'type' => 'string', + ], + 'HaVSwitchIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'HaResourceSpec' => [ + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'MonitorType' => [ + 'type' => 'string', + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'OrderInfo' => [ + 'title' => '订单信息', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OrderId' => [ + 'title' => '订单id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '210406354694567', + ], + 'InstanceId' => [ + 'title' => '实例id', + 'description' => '', + 'type' => 'string', + 'example' => '8D2D5BBF-C302-1A21-80E1-27799802****', + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"OrderInfo\\": {\\n \\"OrderId\\": 210406354694567,\\n \\"InstanceId\\": \\"8D2D5BBF-C302-1A21-80E1-27799802****\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"<CreateInstanceResponse>\\n <RequestId>67F33190-946B-1105-B6A1-E2DF0426DD51</RequestId>\\n <Success>true</Success>\\n <OrderInfo>\\n <OrderId>210406354694567</OrderId>\\n <InstanceId>8D2D5BBF-C302-1A21-80E1-27799802****</InstanceId>\\n </OrderInfo>\\n</CreateInstanceResponse>","errorExample":""}]', + ], + 'RenewInstance' => [ + 'summary' => '续费', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '44666', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'RenewInstanceRequest', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Region' => [ + 'title' => '地域id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + 'InstanceId' => [ + 'title' => '实例id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'sc_flinkserverless_public_cn-7e22ae5****', + ], + 'Duration' => [ + 'title' => '订购周期数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + 'PricingCycle' => [ + 'title' => '订购周期', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'Month', + 'enum' => [ + 'Year', + 'Month', + 'Day', + 'Hour', + ], + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'OrderId' => [ + 'title' => 'orderId', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '210406354690749', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"OrderId\\": 210406354690749,\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<RenewInstanceResponse>\\n <RequestId>67F33190-946B-1105-B6A1-E2DF0426DD51</RequestId>\\n <OrderId>210406354690749</OrderId>\\n <Success>true</Success>\\n</RenewInstanceResponse>","errorExample":""}]', + ], + 'DeleteInstance' => [ + 'summary' => '释放按量付费的实例', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '44626', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'DeleteInstanceRequest', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Region' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => '223493C7-FCA9-13D4-B75B-AF8B32F4****', + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","errorExample":""},{"type":"xml","example":"<DeleteInstanceResponse>\\n <RequestId>67F33190-946B-1105-B6A1-E2DF0426DD51</RequestId>\\n <Success>true</Success>\\n</DeleteInstanceResponse>","errorExample":""}]', + ], + 'ModifyPrepayInstanceSpec' => [ + 'summary' => '扩容/缩容', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => true, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '44639', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'ModifyPrepayInstanceSpecRequest', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Region' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'sc_flinkserverlesspost_public_cn-0ju2bj2i104', + ], + 'ResourceSpec' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '40', + ], + ], + 'required' => true, + ], + 'Ha' => [ + 'type' => 'boolean', + 'default' => 'false', + ], + 'HaZoneId' => [ + 'type' => 'string', + ], + 'HaVSwitchIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'HaResourceSpec' => [ + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'OrderId' => [ + 'title' => '订单id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '210406354690749', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + '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":""}]', + ], + 'ConvertInstance' => [ + 'summary' => '按量付费转包年包月', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '90948', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'ConvertPostpayInstanceRequest', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Region' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'sc_flinkserverlesspost_public_cn-*******', + ], + 'PricingCycle' => [ + 'title' => '订购周期', + 'description' => '', + 'type' => 'string', + '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' => '', + 'type' => 'boolean', + 'required' => true, + 'example' => 'true', + ], + 'NamespaceResourceSpecs' => [ + 'title' => '项目空间资源规格。', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Namespace' => [ + 'title' => 'namespace名称,', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ns-1', + ], + 'ResourceSpec' => [ + 'title' => '资源规格。', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'title' => 'cpu数量。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + 'MemoryGB' => [ + 'title' => '内存大小。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '4', + ], + ], + 'required' => true, + ], + ], + 'required' => true, + ], + 'required' => true, + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'OrderId' => [ + 'title' => '订单id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '211473228320700', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"OrderId\\": 211473228320700\\n}","errorExample":""},{"type":"xml","example":"<ConvertInstanceResponse>\\n <RequestId>67F33190-946B-1105-B6A1-E2DF0426DD51</RequestId>\\n <Success>true</Success>\\n <OrderId>211473228320700</OrderId>\\n</ConvertInstanceResponse>","errorExample":""}]', + ], + 'DescribeInstances' => [ + 'summary' => '扩容/缩容', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '44648', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'DescribeInstancesRequest', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PageIndex' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '223493C7-FCA9-13D4-B75B-AF8B32F4****', + ], + 'Region' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + 'ChargeType' => [ + 'title' => '付款类型', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PRE', + 'enum' => [ + 'PRE', + 'POST', + ], + ], + 'Tags' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + '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-***', + ], + 'ArchitectureType' => [ + 'type' => 'string', + 'enum' => [ + 'X86', + 'ARM', + ], + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + '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' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'description' => '', + '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' => '', + 'type' => 'string', + 'example' => 'cn-beijing', + ], + 'ZoneId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-beijing-g', + ], + 'VpcId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'vpc-2ze9*******nxfmfcdi', + ], + 'VSwitchIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'vsw-2ze6yqnc19*****psjj0j', + ], + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'sc_flinkserverlesspost_public_cn-0ju2bj2****', + ], + 'ChargeType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'PRE', + ], + 'InstanceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'vvp1', + ], + 'Uid' => [ + 'description' => '', + 'type' => 'string', + 'example' => '183899668736****', + ], + 'OrderState' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NORMAL', + ], + 'ResourceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'b3690a1655da47', + ], + 'Storage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Oss' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Bucket' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'oss_flink', + ], + ], + ], + ], + ], + 'ResourceSpec' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '40', + ], + ], + ], + 'ClusterStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'RUNNING', + ], + 'Tags' => [ + 'title' => '资源列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '标签键', + 'description' => '', + 'type' => 'string', + 'example' => 'flink', + ], + 'Value' => [ + 'title' => '标签值', + 'description' => '', + 'type' => 'string', + 'example' => 'test', + ], + ], + ], + ], + 'AskClusterId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'c20c******404', + ], + 'ResourceGroupId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'rg-***', + ], + 'HostAliases' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Ip' => [ + 'type' => 'string', + 'required' => true, + ], + 'HostNames' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + 'required' => true, + ], + ], + ], + 'required' => true, + ], + 'ArchitectureType' => [ + 'type' => 'string', + ], + 'Ha' => [ + 'type' => 'boolean', + ], + 'HaZoneId' => [ + 'type' => 'string', + ], + 'HaVSwitchIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'HaResourceSpec' => [ + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'MonitorType' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 15,\\n \\"TotalPage\\": 2,\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 2,\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"Instances\\": [\\n {\\n \\"ResourceCreateTime\\": 1629879567394,\\n \\"ResourceExpiredTime\\": 1637337600000,\\n \\"Region\\": \\"cn-beijing\\",\\n \\"ZoneId\\": \\"cn-beijing-g\\",\\n \\"VpcId\\": \\"vpc-2ze9*******nxfmfcdi\\",\\n \\"VSwitchIds\\": [\\n \\"vsw-2ze6yqnc19*****psjj0j\\"\\n ],\\n \\"InstanceId\\": \\"sc_flinkserverlesspost_public_cn-0ju2bj2****\\",\\n \\"ChargeType\\": \\"PRE\\",\\n \\"InstanceName\\": \\"vvp1\\",\\n \\"Uid\\": \\"183899668736****\\",\\n \\"OrderState\\": \\"NORMAL\\",\\n \\"ResourceId\\": \\"b3690a1655da47\\",\\n \\"Storage\\": {\\n \\"Oss\\": {\\n \\"Bucket\\": \\"oss_flink\\"\\n }\\n },\\n \\"ResourceSpec\\": {\\n \\"Cpu\\": 10,\\n \\"MemoryGB\\": 40\\n },\\n \\"ClusterStatus\\": \\"RUNNING\\",\\n \\"Tags\\": [\\n {\\n \\"Key\\": \\"flink\\",\\n \\"Value\\": \\"test\\"\\n }\\n ],\\n \\"AskClusterId\\": \\"c20c******404\\",\\n \\"ResourceGroupId\\": \\"rg-***\\",\\n \\"HostAliases\\": [\\n {\\n \\"Ip\\": \\"\\",\\n \\"HostNames\\": [\\n \\"\\"\\n ]\\n }\\n ],\\n \\"ArchitectureType\\": \\"\\",\\n \\"Ha\\": true,\\n \\"HaZoneId\\": \\"\\",\\n \\"HaVSwitchIds\\": [\\n \\"\\"\\n ],\\n \\"HaResourceSpec\\": {\\n \\"Cpu\\": 0,\\n \\"MemoryGB\\": 0\\n },\\n \\"MonitorType\\": \\"\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeInstancesResponse>\\n <TotalCount>15</TotalCount>\\n <TotalPage>2</TotalPage>\\n <PageIndex>1</PageIndex>\\n <PageSize>2</PageSize>\\n <RequestId>67F33190-946B-1105-B6A1-E2DF0426DD51</RequestId>\\n <Success>true</Success>\\n <Instances>\\n <ResourceCreateTime>1629879567394</ResourceCreateTime>\\n <ResourceExpiredTime>1637337600000</ResourceExpiredTime>\\n <Region>cn-beijing</Region>\\n <ZoneId>cn-beijing-g</ZoneId>\\n <VpcId>vpc-2ze9*******nxfmfcdi</VpcId>\\n <VSwitchIds>vsw-2ze6yqnc19*****psjj0j</VSwitchIds>\\n <InstanceId>sc_flinkserverlesspost_public_cn-0ju2bj2****</InstanceId>\\n <ChargeType>PRE</ChargeType>\\n <InstanceName>vvp1</InstanceName>\\n <Uid>183899668736****</Uid>\\n <OrderState>NORMAL</OrderState>\\n <ResourceId>b3690a1655da47</ResourceId>\\n <Storage>\\n <Oss>\\n <Bucket>oss_flink</Bucket>\\n </Oss>\\n </Storage>\\n <ResourceSpec>\\n <Cpu>10</Cpu>\\n <MemoryGB>40</MemoryGB>\\n </ResourceSpec>\\n <ClusterStatus>RUNNING</ClusterStatus>\\n <Tags>\\n <Key>flink</Key>\\n <Value>test</Value>\\n </Tags>\\n <AskClusterId>c20c******404</AskClusterId>\\n <ResourceGroupId>rg-***</ResourceGroupId>\\n </Instances>\\n</DescribeInstancesResponse>","errorExample":""}]', + ], + 'QueryCreateInstancePrice' => [ + 'summary' => '获取创建实例的价格', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '86969', + 'abilityTreeNodes' => [ + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'CreateInstanceRequest', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'InstanceName' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'vvp1', + ], + 'ChargeType' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'PRE', + 'enum' => [ + 'PRE', + 'POST', + ], + ], + 'Region' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + 'ZoneId' => [ + 'description' => '', + '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' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-xzesxxxpbkmuirxxpoxxv', + ], + 'required' => false, + ], + 'ResourceSpec' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '40', + ], + ], + 'required' => false, + ], + 'PricingCycle' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Month', + 'default' => 'Month', + 'enum' => [ + 'Year', + 'Month', + 'Day', + 'Hour', + ], + ], + 'Duration' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'AutoRenew' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + 'Storage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Oss' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Bucket' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'oss_flink', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + 'UsePromotionCode' => [ + 'title' => '是否使用优惠券', + 'description' => '', + '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', + 'enum' => [ + 'X86', + 'ARM', + ], + ], + 'Ha' => [ + 'type' => 'boolean', + 'default' => 'false', + ], + 'HaResourceSpec' => [ + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + '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' => [ + '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' => '', + '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' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '102007100514****', + ], + ], + ], + ], + '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', + ], + ], + ], + 'LxRequestId' => [ + 'title' => '调用的凌霄requestId', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","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 \\"PromotionDesc\\": \\"¥1,391.5优惠券(有效期至03/23/2022)\\",\\n \\"PromotionName\\": \\"¥1,391.5优惠券\\",\\n \\"PromotionOptionNo\\": \\"50001122001****\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 0\\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}","errorExample":""},{"type":"xml","example":"<QueryCreateInstancePriceResponse>\\n <RequestId>67F33190-946B-1105-B6A1-E2DF0426DD51</RequestId>\\n <Success>true</Success>\\n <PriceInfo>\\n <Currency>CNY</Currency>\\n <DiscountAmount>655.2</DiscountAmount>\\n <OriginalAmount>4368</OriginalAmount>\\n <TradeAmount>3712.8</TradeAmount>\\n <Code>ORDER.INST_HAS_UNPAID_ORDER</Code>\\n <Message>存在未支付订单,请先支付或取消原有订单。</Message>\\n <OptionalPromotions>\\n <PromotionDesc>¥1,391.5优惠券(有效期至03/23/2022)</PromotionDesc>\\n <PromotionName>¥1,391.5优惠券</PromotionName>\\n <PromotionOptionNo>50001122001****</PromotionOptionNo>\\n <Selected>true</Selected>\\n </OptionalPromotions>\\n <Rules>\\n <Description>买满1年,立享官网价格8.5折优惠。</Description>\\n </Rules>\\n </PriceInfo>\\n</QueryCreateInstancePriceResponse>","errorExample":""}]', + ], + 'QueryModifyInstancePrice' => [ + 'summary' => '查询付费类型为包年包月的实例修改资源规格的价格', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '88699', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'ModifyPrepayInstanceSpecRequest', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Region' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'sc_flinkserverless_public_cn-******', + ], + 'ResourceSpec' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '40', + ], + ], + 'required' => true, + ], + 'Ha' => [ + 'type' => 'boolean', + 'default' => 'false', + ], + 'HaZoneId' => [ + 'type' => 'string', + ], + 'HaVSwitchIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'HaResourceSpec' => [ + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + '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' => [ + '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' => '', + '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' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1020071005141834', + ], + ], + ], + ], + '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', + ], + ], + ], + 'LxRequestId' => [ + 'title' => '调用的凌霄requestId', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","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 \\"PromotionDesc\\": \\"¥1,391.5优惠券 (有效期至 03/23/2022)\\",\\n \\"PromotionName\\": \\"¥1,391.5优惠券\\",\\n \\"PromotionOptionNo\\": \\"500011220010099\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 1020071005141834\\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}","errorExample":""},{"type":"xml","example":"<QueryModifyInstancePriceResponse>\\n <RequestId>67F33190-946B-1105-B6A1-E2DF0426DD51</RequestId>\\n <Success>true</Success>\\n <PriceInfo>\\n <Currency>CNY</Currency>\\n <DiscountAmount>655.2</DiscountAmount>\\n <OriginalAmount>4368</OriginalAmount>\\n <TradeAmount>3712.8</TradeAmount>\\n <Code>ORDER.INST_HAS_UNPAID_ORDER</Code>\\n <Message>存在未支付订单,请先支付或取消原有订单。</Message>\\n <OptionalPromotions>\\n <PromotionDesc>¥1,391.5优惠券 (有效期至 03/23/2022)</PromotionDesc>\\n <PromotionName>¥1,391.5优惠券</PromotionName>\\n <PromotionOptionNo>500011220010099</PromotionOptionNo>\\n <Selected>true</Selected>\\n </OptionalPromotions>\\n <Rules>\\n <Description>买满1年,立享官网价格8.5折优惠。</Description>\\n <RuleId>1020071005141834</RuleId>\\n </Rules>\\n </PriceInfo>\\n</QueryModifyInstancePriceResponse>","errorExample":""}]', + ], + 'QueryRenewInstancePrice' => [ + 'summary' => '查询付费类型为包年包月的实例续费价格', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '88391', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'RenewInstanceRequest', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Region' => [ + 'title' => '地域id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + 'InstanceId' => [ + 'title' => '实例id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'sc_flinkserverless_public_cn-******', + ], + 'Duration' => [ + 'title' => '订购周期数量', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + 'PricingCycle' => [ + 'title' => '订购周期', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'Month', + 'default' => 'Month', + 'enum' => [ + 'Year', + 'Month', + 'Day', + 'Hour', + ], + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + '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' => [ + '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' => '', + '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' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1020071005141834', + ], + ], + ], + ], + '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', + ], + ], + ], + 'LxRequestId' => [ + 'title' => '调用的凌霄requestId', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","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 \\"PromotionDesc\\": \\"¥1,391.5优惠券 (有效期至 03/23/2022)\\",\\n \\"PromotionName\\": \\"¥1,391.5优惠券\\",\\n \\"PromotionOptionNo\\": \\"500011220010099\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 1020071005141834\\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}","errorExample":""},{"type":"xml","example":"<QueryRenewInstancePriceResponse>\\n <RequestId>67F33190-946B-1105-B6A1-E2DF0426DD51</RequestId>\\n <Success>true</Success>\\n <PriceInfo>\\n <Currency>CNY</Currency>\\n <DiscountAmount>655.2</DiscountAmount>\\n <OriginalAmount>4368</OriginalAmount>\\n <TradeAmount>3712.8</TradeAmount>\\n <Code>ORDER.INST_HAS_UNPAID_ORDER</Code>\\n <Message>存在未支付订单,请先支付或取消原有订单。</Message>\\n <OptionalPromotions>\\n <PromotionDesc>¥1,391.5优惠券 (有效期至 03/23/2022)</PromotionDesc>\\n <PromotionName>¥1,391.5优惠券</PromotionName>\\n <PromotionOptionNo>500011220010099</PromotionOptionNo>\\n <Selected>true</Selected>\\n </OptionalPromotions>\\n <Rules>\\n <Description>买满1年,立享官网价格8.5折优惠。</Description>\\n <RuleId>1020071005141834</RuleId>\\n </Rules>\\n </PriceInfo>\\n</QueryRenewInstancePriceResponse>","errorExample":""}]', + ], + 'QueryConvertInstancePrice' => [ + 'summary' => '按量付费转包年包月询价', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '90957', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'ConvertPostpayInstanceRequest', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Region' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'sc_flinkserverlesspost_public_cn-******', + ], + 'PricingCycle' => [ + 'title' => '订购周期', + 'description' => '', + 'type' => 'string', + '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' => '', + 'type' => 'boolean', + 'required' => true, + 'example' => 'true', + ], + 'NamespaceResourceSpecs' => [ + 'title' => '项目空间资源规格。', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Namespace' => [ + 'title' => 'namespace名称,', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ns-1', + ], + 'ResourceSpec' => [ + 'title' => '资源规格。', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'title' => 'cpu数量。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + 'MemoryGB' => [ + 'title' => '内存大小。', + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '4', + ], + ], + 'required' => true, + ], + ], + 'required' => true, + ], + 'required' => true, + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + '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' => [ + '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' => '', + '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' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1020071005141834', + ], + ], + ], + ], + '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', + ], + ], + ], + 'LxRequestId' => [ + 'title' => '调用的凌霄requestId', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","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 \\"PromotionDesc\\": \\"¥1,391.5优惠券 (有效期至 03/23/2022)\\",\\n \\"PromotionName\\": \\"¥1,391.5优惠券\\",\\n \\"PromotionOptionNo\\": \\"500011220010099\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 1020071005141834\\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}","errorExample":""},{"type":"xml","example":"<QueryConvertInstancePriceResponse>\\n <RequestId>67F33190-946B-1105-B6A1-E2DF0426DD51</RequestId>\\n <Success>true</Success>\\n <PriceInfo>\\n <Currency>CNY</Currency>\\n <DiscountAmount>655.2</DiscountAmount>\\n <OriginalAmount>4368</OriginalAmount>\\n <TradeAmount>3712.8</TradeAmount>\\n <Code>ORDER.INST_HAS_UNPAID_ORDER</Code>\\n <Message>存在未支付订单,请先支付或取消原有订单。</Message>\\n <OptionalPromotions>\\n <PromotionDesc>¥1,391.5优惠券 (有效期至 03/23/2022)</PromotionDesc>\\n <PromotionName>¥1,391.5优惠券</PromotionName>\\n <PromotionOptionNo>500011220010099</PromotionOptionNo>\\n <Selected>true</Selected>\\n </OptionalPromotions>\\n <Rules>\\n <Description>买满1年,立享官网价格8.5折优惠。</Description>\\n <RuleId>1020071005141834</RuleId>\\n </Rules>\\n </PriceInfo>\\n</QueryConvertInstancePriceResponse>","errorExample":""}]', + ], + 'DescribeSupportedZones' => [ + 'summary' => '获取支持的zoneId列表', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '101076', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => [ + 'title' => 'regionId', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'ArchitectureType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '23A9C718-DDAB-1696-B025-18FBC830F7C5', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'ZoneIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-beijing-g', + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"23A9C718-DDAB-1696-B025-18FBC830F7C5\\",\\n \\"Success\\": true,\\n \\"ZoneIds\\": [\\n \\"cn-beijing-g\\"\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeSupportedZonesResponse>\\n <RequestId>23A9C718-DDAB-1696-B025-18FBC830F7C5</RequestId>\\n <Success>true</Success>\\n <ZoneIds>cn-beijing-g</ZoneIds>\\n</DescribeSupportedZonesResponse>","errorExample":""}]', + ], + 'DescribeSupportedRegions' => [ + 'summary' => '获取支持的region列表', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '101073', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => 'B21DC47E-8928-199A-9F32-36D45E4693B4', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Regions' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Region' => [ + 'title' => 'regionId', + 'description' => '', + 'type' => 'string', + 'example' => 'cn-beijing', + ], + 'RegionName' => [ + 'title' => 'region名称', + 'description' => '', + 'type' => 'string', + 'example' => '华北2 (北京)', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B21DC47E-8928-199A-9F32-36D45E4693B4\\",\\n \\"Success\\": true,\\n \\"Regions\\": [\\n {\\n \\"Region\\": \\"cn-beijing\\",\\n \\"RegionName\\": \\"华北2 (北京)\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"<DescribeSupportedRegionsResponse>\\n <RequestId>B21DC47E-8928-199A-9F32-36D45E4693B4</RequestId>\\n <Success>true</Success>\\n <Regions>\\n <Region>cn-beijing</Region>\\n <RegionName>华北2 (北京)</RegionName>\\n </Regions>\\n</DescribeSupportedRegionsResponse>","errorExample":""}]', + ], + 'ListTagResources' => [ + 'summary' => '列举flinkasi标签', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'abilityTreeCode' => '133931', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'NextToken', + 'in' => 'query', + 'schema' => [ + 'title' => '下一个查询开始Token', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'yt656', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'title' => '地域', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'title' => '资源类型', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'vvpinstance', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '资源ID,最多 50个子项', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'f-cn-tyts', + ], + 'required' => false, + 'maxItems' => 51, + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '标签列表,最多包含20个子项', + 'description' => '', + 'type' => 'array', + 'items' => [ + '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' => [ + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'RequestId' => [ + 'description' => 'requestID。', + 'type' => 'string', + 'example' => '27AE00', + ], + 'TagReponseId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '87AE00', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => '27AE00', + ], + 'TagResources' => [ + 'title' => '资源列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ResourceType' => [ + 'title' => '资源类型', + 'description' => '', + 'type' => 'string', + 'example' => 'vvpinstance', + ], + 'TagValue' => [ + 'title' => '标签值', + 'description' => '', + 'type' => 'string', + 'example' => 'tag', + ], + 'ResourceId' => [ + 'title' => '资源ID', + 'description' => '', + 'type' => 'string', + 'example' => 'f-cn-tyts', + ], + 'TagKey' => [ + 'title' => '标签键', + 'description' => '', + 'type' => 'string', + 'example' => 'test', + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"27AE00\\",\\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}","errorExample":""},{"type":"xml","example":"<ListTagResourcesResponse>\\n <Success>true</Success>\\n <RequestId>27AE00</RequestId>\\n <TagReponseId>87AE00</TagReponseId>\\n <NextToken>27AE00</NextToken>\\n <TagResources>\\n <ResourceType>vvpinstance</ResourceType>\\n <TagValue>tag</TagValue>\\n <ResourceId>f-cn-tyts</ResourceId>\\n <TagKey>test</TagKey>\\n </TagResources>\\n</ListTagResourcesResponse>","errorExample":""}]', + ], + 'UntagResources' => [ + 'summary' => 'flinkasi去标签', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '133930', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'title' => '地域', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'title' => '资源类型', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'vvpinstance', + ], + ], + [ + 'name' => 'All', + 'in' => 'query', + 'schema' => [ + 'title' => '是否全部删除,只针对TagKey.N为空时有效。 取值范围: true false True False 默认是 false', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '资源ID,最多50个子项', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'f-cn-tgy67', + ], + 'required' => true, + 'maxItems' => 51, + ], + ], + [ + 'name' => 'TagKey', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '标签键,最多20个子项', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'required' => false, + 'maxItems' => 21, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '27AE00', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TagResponseId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '154FT', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '""', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"27AE00\\",\\n \\"Success\\": true,\\n \\"TagResponseId\\": \\"154FT\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<UntagResourcesResponse>\\n <RequestId>27AE00</RequestId>\\n <Success>true</Success>\\n <TagResponseId>154FT</TagResponseId>\\n <Message>\\"\\"</Message>\\n <Code>200</Code>\\n</UntagResourcesResponse>","errorExample":""}]', + ], + 'TagResources' => [ + 'summary' => '打标签接口', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '133929', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'title' => '地域', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'title' => '资源类型', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'vvpinstance', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '资源ID,最多 50个子项', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'f-cn-7e22rg', + ], + 'required' => true, + 'maxItems' => 51, + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '标签列表,最多包含20个子项', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'title' => '标签键', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'Value' => [ + 'title' => '标签值', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'tag', + ], + ], + 'required' => false, + ], + 'required' => true, + 'maxItems' => 21, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TagResponseId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '154FT', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '""', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBC799-****\\",\\n \\"Success\\": true,\\n \\"TagResponseId\\": \\"154FT\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Code\\": \\"200\\"\\n}","errorExample":""},{"type":"xml","example":"<TagResourcesResponse>\\n <RequestId>27AE00</RequestId>\\n <Success>true</Success>\\n <TagResponseId>154FT</TagResponseId>\\n <Message>\\"\\"</Message>\\n <Code>200</Code>\\n</TagResourcesResponse>","errorExample":""}]', + ], + 'ConvertPrepayInstance' => [ + 'summary' => '包年包月转按量付费', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'abilityTreeCode' => '150081', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'ConvertPrepayInstanceRequest', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Region' => [ + 'type' => 'string', + 'required' => true, + ], + 'InstanceId' => [ + 'type' => 'string', + 'required' => true, + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + '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', + ], + ], + ], + ], + ], + ], + 'QueryConvertPrepayInstancePrice' => [ + 'summary' => '包年包月转按量付费询价', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '150082', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'ConvertPrepayInstanceRequest', + 'in' => 'formData', + 'style' => 'flat', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Region' => [ + 'type' => 'string', + 'required' => true, + ], + 'InstanceId' => [ + 'type' => 'string', + 'required' => true, + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + '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' => '存在未支付订单,请先支付或取消原有订单', + ], + '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', + ], + ], + ], + ], + 'Rules' => [ + 'title' => '活动规则。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + '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', + ], + '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', + ], + ], + ], + 'LxRequestId' => [ + 'title' => '调用的凌霄requestId', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => null, + ], + 'ChangeResourceGroup' => [ + 'summary' => '资源转组', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '156646', + 'abilityTreeNodes' => [ + 'FEATUREscYN6NTL', + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'schema' => [ + 'title' => '资源Id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'f-cn-7e22rg', + ], + ], + [ + 'name' => 'ResourceRegionId', + 'in' => 'query', + 'schema' => [ + 'title' => '地域Id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'us-east-1', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'title' => '目标资源组', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'rg-acfmxbavps3rpiy', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => 'Id of the request', + 'type' => 'string', + 'example' => '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', + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B21DC47E-8928-199A-9F32-36D45E4693B4\\"\\n}","type":"json"}]', + ], + ], + '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', + ], + ], +]; diff --git a/data/en_us/foasconsole/2021-10-28/api-docs.php b/data/en_us/foasconsole/2021-10-28/api-docs.php new file mode 100644 index 0000000..3547266 --- /dev/null +++ b/data/en_us/foasconsole/2021-10-28/api-docs.php @@ -0,0 +1,5395 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'foasconsole', + 'version' => '2021-10-28', + ], + 'directories' => [ + [ + 'id' => 187194, + 'title' => 'Work space', + 'type' => 'directory', + 'children' => [ + 'ModifyInstanceSpec', + 'ModifyElasticResourceSpec', + 'ConvertHybridInstance', + 'QueryConvertPrepayInstancePrice', + 'ModifyPrepayInstanceSpec', + 'QueryConvertInstancePrice', + 'QueryCreateInstancePrice', + 'QueryModifyInstancePrice', + 'QueryRenewInstancePrice', + 'DescribeSupportedZones', + 'DescribeSupportedRegions', + 'CreateInstance', + 'RenewInstance', + 'DescribeInstances', + 'DeleteInstance', + 'ConvertInstance', + ], + ], + [ + 'id' => 187189, + 'title' => 'Project Space', + 'type' => 'directory', + 'children' => [ + 'ModifyNamespaceSpecV2', + 'DescribeNamespaces', + 'ModifyPrepayNamespaceSpec', + 'DeleteNamespace', + 'CreateNamespace', + ], + ], + [ + 'id' => 187185, + 'title' => 'Resource Tags', + 'type' => 'directory', + 'children' => [ + 'ListTagResources', + 'TagResources', + 'TagResources', + 'UntagResources', + ], + ], + [ + 'id' => 272392, + 'title' => 'Others', + 'type' => 'directory', + 'children' => [ + 'ConvertPrepayInstance', + 'ModifyInstanceVswitch', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'ModifyInstanceSpec' => [ + 'summary' => 'Scale in or out a workspace to reconfigure resources for the workspace.', + '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' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'f-cn-wwo36qj4g06', + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + 'MemoryGB' => [ + 'description' => '', + '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' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '[\\"vsw-j6cft0ogy3agwdi3w8h21\\"]', + ], + 'required' => false, + ], + ], + [ + 'name' => 'HaResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '40', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'UsePromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + ], + ], + [ + 'name' => 'PromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'OrderId' => [ + 'title' => '订单id', + 'description' => '', + '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' => 'ModifyInstanceSpec', + ], + 'ModifyElasticResourceSpec' => [ + 'summary' => '对按量弹性实例修改resource quota', + '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' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'sc_flinkserverless_public_cn-7e22ae5sess', + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + 'MemoryGB' => [ + 'description' => '', + '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' => '', + 'type' => 'string', + 'example' => 'B21DC47E-8928-199A-9F32-36D45E4693B4', + ], + 'OrderId' => [ + 'title' => '订单id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '211473228320700', + ], + '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"}]', + ], + 'ConvertHybridInstance' => [ + 'summary' => '开通弹性计算', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeCode' => '246084', + 'abilityTreeNodes' => [ + 'FEATUREscTKD5I3', + ], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'sc_flinkserverless_public_cn-7e22ae5sess', + ], + ], + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-shenzhen', + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '40GB', + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'OrderInfo' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OrderId' => [ + 'title' => '订单id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '210406354694567', + ], + 'InstanceId' => [ + 'title' => '实例id', + 'description' => '', + 'type' => 'string', + 'example' => 'f-cn-zvp2q0zik06', + ], + 'ElasticInstanceId' => [ + 'description' => '', + 'type' => 'string', + ], + ], + ], + 'ErrCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '000000', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + '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"}]', + ], + 'QueryConvertPrepayInstancePrice' => [ + 'summary' => 'Obtains the estimated refund after the billing method of your Realtime Compute for Apache Flink workspace is changed from subscription to pay-as-you-go. After you change the billing method of your workspace to pay-as-you-go, bills are generated on an hourly basis.', + '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' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'f-cn-wwo36qj4g06', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + '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' => '', + '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' => '', + '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', + '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' => 'QueryConvertPrepayInstancePrice', + ], + 'ModifyPrepayInstanceSpec' => [ + 'summary' => 'Modifies the configuration of the computing resources of a subscription fully managed Flink workspace. If the number of computing resources after the modification is less than the current number of computing resources, the scale-in operation is performed. If the number of computing resources after the modification is larger than the current number of computing resources, the scale-out operation is performed.', + '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' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'f-cn-wwo36qj4g06', + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '4', + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'Ha', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'default' => 'false', + ], + ], + [ + 'name' => 'HaZoneId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'HaVSwitchIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'HaResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'OrderId' => [ + 'title' => '订单id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '210406354690749', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + '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' => 'ModifyPrepayInstanceSpec', + ], + 'QueryConvertInstancePrice' => [ + 'summary' => 'Queries the fee of switching the billing method of a workspace from pay-as-you-go to subscription.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '104063', + 'abilityTreeNodes' => [ + 'FEATUREscWKZGIA', + ], + ], + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'f-cn-wwo36qj4g06', + ], + ], + [ + 'name' => 'PricingCycle', + 'in' => 'formData', + 'schema' => [ + 'title' => '订购周期', + 'description' => '', + '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' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ResourceSpec' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '6', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '24', + ], + ], + 'required' => true, + ], + 'Namespace' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'lm-test-default', + ], + ], + 'required' => true, + ], + 'required' => true, + ], + ], + [ + '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' => '', + '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' => '', + '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' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '587', + ], + ], + ], + ], + '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', + ], + ], + ], + '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 \\"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' => 'QueryConvertInstancePrice', + ], + 'QueryCreateInstancePrice' => [ + 'summary' => 'Queries the fee of creating a workspace.', + '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' => '', + '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' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'vpc-2ze9xoh8qyt1rnxfmfcdi', + ], + ], + [ + 'name' => 'VSwitchIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-uf6kkcjvzyayv5je6t72s', + ], + 'required' => false, + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '4', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '16', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'PricingCycle', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Month' => 'Month', + 'Year' => 'Year', + 'Hour' => 'Hour', + ], + 'example' => 'Month', + 'enum' => [ + 'Year', + 'Month', + 'Day', + 'Hour', + ], + ], + ], + [ + 'name' => 'Duration', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'AutoRenew', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'Storage', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Oss' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Bucket' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'quicktracing', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'UsePromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + ], + ], + [ + 'name' => 'PromotionCode', + 'in' => 'formData', + 'schema' => [ + 'title' => '优惠券code', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '500041860100636', + ], + ], + [ + 'name' => 'Extra', + 'in' => 'formData', + 'schema' => [ + 'title' => '优惠券code', + 'type' => 'string', + ], + ], + [ + 'name' => 'ArchitectureType', + 'in' => 'formData', + 'schema' => [ + 'title' => '优惠券code', + 'type' => 'string', + ], + ], + [ + 'name' => 'Ha', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'default' => 'false', + ], + ], + [ + 'name' => 'HaResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + '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' => '', + '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' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '587', + ], + ], + ], + ], + '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', + ], + ], + ], + '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 \\"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' => 'QueryCreateInstancePrice', + ], + 'QueryModifyInstancePrice' => [ + 'summary' => 'Queries the fee of modifying the resource configuration of a workspace.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '104067', + 'abilityTreeNodes' => [ + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'title' => '地域id', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'f-cn-wwo36qj4g06', + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '40', + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'Ha', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'default' => 'false', + ], + ], + [ + 'name' => 'HaVSwitchIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'HaResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + [ + 'name' => 'UsePromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + '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' => '', + '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' => '', + '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' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '587', + ], + ], + ], + ], + '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', + ], + ], + ], + '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 \\"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' => 'QueryModifyInstancePrice', + ], + 'QueryRenewInstancePrice' => [ + 'summary' => 'Queries the fee of renewing a subscription workspace.', + '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' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '实例id', + 'description' => '', + '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' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + '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' => '', + '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' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '587', + ], + ], + ], + ], + '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', + ], + ], + ], + '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 \\"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' => 'QueryRenewInstancePrice', + ], + 'DescribeSupportedZones' => [ + 'summary' => 'Obtains the zones that are supported by Realtime Compute for Apache Flink.', + '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' => 'query', + 'schema' => [ + 'title' => 'regionId', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'ArchitectureType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + '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' => '', + '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' => 'DescribeSupportedZones', + ], + 'DescribeSupportedRegions' => [ + 'summary' => 'Queries the regions that are available in which Realtime Compute for Apache Flink is supported.', + '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' => '', + 'type' => 'string', + 'example' => 'B21DC47E-8928-199A-9F32-36D45E4693B4', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + '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' => [ + 'type' => 'string', + ], + 'Extra' => [ + 'title' => 'region的附加信息,对于sdk调用后端不返回该值', + 'type' => 'string', + ], + 'RegionName' => [ + 'title' => 'region名称', + 'description' => '', + 'type' => 'string', + 'example' => '华北2 (北京)', + ], + 'Region' => [ + 'title' => 'regionId', + 'description' => '', + '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' => 'DescribeSupportedRegions', + ], + 'CreateInstance' => [ + 'summary' => 'Creates a subscription workspace or a pay-as-you-go workspace of Realtime Compute for Apache Flink.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeCode' => '103204', + 'abilityTreeNodes' => [ + 'FEATUREscTKD5I3', + ], + ], + 'parameters' => [ + [ + 'name' => 'InstanceName', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'rtc-e2e-test-pre', + ], + ], + [ + 'name' => 'ChargeType', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + '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' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'vpc-2ze9xoh8qyt1rnxfmfcdi', + ], + ], + [ + 'name' => 'VSwitchIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'vsw-m5esz02px6qxiu28x7c2i', + ], + 'required' => true, + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '30', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '120', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'PricingCycle', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Month', + 'enum' => [ + 'Year', + 'Month', + 'Day', + 'Hour', + ], + ], + ], + [ + 'name' => 'Duration', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + ], + [ + 'name' => 'AutoRenew', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'true', + ], + ], + [ + 'name' => 'Storage', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Oss' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Bucket' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'oss-flink-cn-shanghai-260343971602724445', + ], + ], + 'required' => false, + ], + 'FullyManaged' => [ + 'type' => 'boolean', + ], + ], + 'required' => true, + ], + ], + [ + 'name' => 'UsePromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + ], + ], + [ + 'name' => 'PromotionCode', + 'in' => 'formData', + 'schema' => [ + 'title' => '优惠券code', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '500043499350689', + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => [ + 'title' => '优惠券code', + 'type' => 'string', + ], + ], + [ + 'name' => 'Extra', + 'in' => 'formData', + 'schema' => [ + 'title' => '优惠券code', + 'type' => 'string', + ], + ], + [ + 'name' => 'ArchitectureType', + 'in' => 'formData', + 'schema' => [ + 'title' => '优惠券code', + 'type' => 'string', + ], + ], + [ + 'name' => 'Ha', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'default' => 'false', + ], + ], + [ + 'name' => 'HaVSwitchIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + [ + 'name' => 'HaResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + [ + 'name' => 'MonitorType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'Tag', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'title' => '标签列表,最多包含20个子项', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'title' => '标签值', + 'type' => 'string', + ], + 'Key' => [ + 'title' => '标签键', + 'type' => 'string', + ], + ], + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'OrderInfo' => [ + 'title' => '', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OrderId' => [ + 'title' => '订单id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '210406354694567', + ], + 'InstanceId' => [ + 'title' => '实例id', + 'description' => '', + 'type' => 'string', + 'example' => 'f-cn-zvp2q0zik06', + ], + 'StorageOrderId' => [ + 'title' => '存储订单id', + 'type' => 'integer', + 'format' => 'int64', + ], + 'StorageInstanceId' => [ + 'title' => '存储实例id', + 'type' => 'string', + ], + ], + ], + ], + ], + ], + ], + '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' => 'CreateInstance', + ], + 'RenewInstance' => [ + 'summary' => 'Renews a subscription workspace of Realtime Compute for Apache Flink.', + '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' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'title' => '实例id', + 'description' => '', + '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' => '', + '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', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"OrderId\\": 210406354690749,\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'RenewInstance', + ], + 'DescribeInstances' => [ + 'summary' => 'Queries the details of one or more Realtime Compute for Apache Flink workspaces.', + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '103207', + 'abilityTreeNodes' => [ + 'FEATUREscG9QB5P', + ], + ], + 'parameters' => [ + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '2', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '10', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'f-cn-wwo36qj4g06', + ], + ], + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-shenzhen', + ], + ], + [ + 'name' => 'ChargeType', + 'in' => 'query', + 'schema' => [ + 'title' => '付款类型', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'PRE', + 'enum' => [ + 'PRE', + 'POST', + ], + ], + ], + [ + 'name' => 'Elastic', + 'in' => 'query', + 'schema' => [ + 'title' => '是否是混合计费', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ys', + ], + 'Key' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + ], + ], + [ + 'name' => 'ArchitectureType', + 'in' => 'query', + 'schema' => [ + 'title' => '架构类型', + 'type' => 'string', + 'example' => 'X86', + ], + ], + [ + 'name' => 'InstanceName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => '实例名称', + 'type' => 'string', + 'example' => 'e2e-test', + ], + ], + [ + 'name' => 'NamespaceName', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => [ + 'title' => 'namespace名称', + 'type' => 'string', + 'example' => 'e2e-test-default', + ], + ], + ], + 'responses' => [ + 200 => [ + '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' => '', + 'type' => 'string', + 'example' => 'C8DF2A5B-6FBA-5651-A3D4-960F36640E6B', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'Instances' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ResourceGroupId' => [ + 'type' => 'string', + ], + 'MonitorType' => [ + 'type' => 'string', + ], + 'HaResourceSpec' => [ + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'ResourceCreateTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1629879567394', + ], + 'Elastic' => [ + 'type' => 'boolean', + ], + 'HaZoneId' => [ + 'type' => 'string', + ], + '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', + ], + ], + ], + ], + 'Ha' => [ + 'type' => 'boolean', + ], + 'VpcInfo' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'type' => 'string', + ], + 'Description' => [ + 'type' => 'string', + ], + 'VpcId' => [ + 'type' => 'string', + ], + 'CidrBlock' => [ + 'type' => 'string', + ], + 'VpcName' => [ + 'type' => 'string', + ], + 'RegionId' => [ + 'type' => 'string', + ], + ], + ], + 'Tags' => [ + 'title' => '资源列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'title' => '标签值', + 'description' => '', + 'type' => 'string', + 'example' => 'test', + ], + 'Key' => [ + 'title' => '标签键', + 'description' => '', + 'type' => 'string', + 'example' => 'flink', + ], + ], + ], + ], + 'ArchitectureType' => [ + 'type' => 'string', + ], + 'ClusterState' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'type' => 'string', + ], + 'CreateTimeout' => [ + 'type' => 'boolean', + ], + 'ClusterStage' => [ + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'type' => 'string', + ], + 'Message' => [ + 'type' => 'string', + ], + 'ClusterId' => [ + 'type' => 'string', + ], + 'CurrentStage' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'TotalStageWithWeight' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'StepIndex' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'StepName' => [ + 'type' => 'string', + ], + 'Weight' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + ], + ], + 'VpcCidr' => [ + 'type' => 'string', + ], + 'ClusterId' => [ + 'type' => 'string', + ], + 'SubStatus' => [ + 'type' => 'string', + ], + 'Url' => [ + 'type' => 'string', + ], + 'UserSlbDto' => [ + 'type' => 'object', + 'properties' => [ + 'SlbId' => [ + 'type' => 'string', + ], + 'SlbIp' => [ + 'type' => 'string', + ], + 'ExistSlb' => [ + 'type' => 'boolean', + ], + 'UserSlbListeners' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ListenersStatus' => [ + 'type' => 'string', + ], + 'Port' => [ + 'type' => 'string', + ], + ], + ], + ], + 'SlbStatus' => [ + 'type' => 'string', + ], + ], + ], + ], + ], + 'ZoneId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-beijing-g', + ], + 'VSwitchIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'vsw-2ze6yqnc19*****psjj0j', + ], + ], + 'InstanceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'f-cn-zvp2q0zik06', + ], + 'ResourceExpiredTime' => [ + 'title' => '超期时间', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '1637337600000', + ], + 'AskClusterId' => [ + 'type' => 'string', + ], + 'ResourceSpec' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '10', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '40', + ], + ], + ], + 'HaVSwitchInfo' => [ + 'type' => 'array', + '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', + ], + ], + ], + ], + 'HaVSwitchIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + 'ClusterUsedStorage' => [ + 'type' => 'object', + 'properties' => [ + 'ClusterId' => [ + 'type' => 'string', + ], + 'UsedStorage' => [ + 'type' => 'number', + 'format' => 'float', + ], + ], + ], + 'InstanceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'vvp1', + ], + 'HostAliases' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Ip' => [ + 'type' => 'string', + 'required' => true, + ], + 'HostNames' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + 'required' => true, + ], + ], + ], + 'required' => true, + ], + 'Uid' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1838996687368452', + ], + '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', + ], + ], + ], + 'ElasticResourceSpec' => [ + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + 'Storage' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'FullyManaged' => [ + 'type' => 'boolean', + ], + 'SupportMigrationProgressDetection' => [ + 'type' => 'boolean', + ], + 'OrderState' => [ + 'type' => 'string', + ], + 'SupportCreateFullyManagedStorage' => [ + 'type' => 'boolean', + ], + 'Oss' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Bucket' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'oss_flink', + ], + ], + ], + ], + ], + 'VpcId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'vpc-2ze9*******nxfmfcdi', + ], + 'ResourceId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'b3690a1655da47', + ], + 'ChargeType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'PRE', + ], + 'Ansm' => [ + 'type' => 'boolean', + ], + 'Region' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-beijing', + ], + 'ElasticOrderState' => [ + 'type' => 'string', + ], + 'ElasticInstanceId' => [ + 'title' => '弹性订单id', + 'type' => 'string', + 'example' => 'f-cn-e3afbd321', + ], + 'OssInfo' => [ + 'type' => 'object', + 'properties' => [ + 'Endpoint' => [ + 'type' => 'string', + ], + 'AccessId' => [ + 'type' => 'string', + ], + 'Bucket' => [ + 'type' => 'string', + ], + 'BucketVersioningStatus' => [ + 'type' => 'string', + ], + 'AccessKey' => [ + 'type' => 'string', + ], + ], + ], + 'OrderState' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'NORMAL', + ], + 'ClusterStatus' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'RUNNING', + ], + ], + ], + ], + ], + ], + ], + ], + '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' => 'DescribeInstances', + ], + 'DeleteInstance' => [ + 'summary' => 'Deletes a pay-as-you-go workspace of Realtime Compute for Apache 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' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'f-cn-wwo36qj4g06', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'True', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'DeleteInstance', + ], + 'ConvertInstance' => [ + 'summary' => 'Changes the billing method of a workspace from pay-as-you-go to subscription.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '104041', + 'abilityTreeNodes' => [ + 'FEATUREscWKZGIA', + ], + ], + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'f-cn-wwo36qj4g06', + ], + ], + [ + 'name' => 'PricingCycle', + 'in' => 'formData', + 'schema' => [ + 'title' => '订购周期', + 'description' => '', + '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' => [ + 'title' => '项目空间资源规格。', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ResourceSpec' => [ + 'title' => '资源规格。', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'title' => 'cpu数量。', + 'description' => '', + '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' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'ns-1', + ], + ], + 'required' => true, + ], + 'required' => true, + ], + ], + [ + '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' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'OrderId' => [ + 'title' => '订单id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '211473228320700', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"OrderId\\": 211473228320700\\n}","type":"json"}]', + 'title' => 'ConvertInstance', + ], + 'ModifyNamespaceSpecV2' => [ + 'summary' => '修改namespace资源,包含按量和包年包月、混合计费', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '246122', + 'abilityTreeNodes' => [ + 'FEATUREscG9QB5P', + ], + ], + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'f-cn-wwo36qj4g06', + ], + ], + [ + 'name' => 'Namespace', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'di-593439443804417', + ], + ], + [ + 'name' => 'GuaranteedResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '10', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '40', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'ElasticResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '6', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '52', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'Ha', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => true, + 'example' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '23A9C718-DDAB-1696-B025-18FBC830F7C5', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"23A9C718-DDAB-1696-B025-18FBC83****\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'DescribeNamespaces' => [ + 'summary' => 'Queries the information about a namespace that belongs to a workspace.', + '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' => '', + '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', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + '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' => '', + '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' => '', + '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' => '', + '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', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + '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' => 'DescribeNamespaces', + ], + 'ModifyPrepayNamespaceSpec' => [ + 'summary' => 'Modifies the resource configurations of a namespace in a subscription workspace.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => true, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '103228', + 'abilityTreeNodes' => [ + 'FEATUREscWKZGIA', + ], + ], + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-shenzhen', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'f-cn-wwo36qj4g06', + ], + ], + [ + 'name' => 'Namespace', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'di-593440219799842', + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '1', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + 'example' => '4', + ], + ], + 'required' => true, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'substitutions' => [ + 'foasconsole::2021-10-28::ModifyNamespaceSpec', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'ModifyPrepayNamespaceSpec', + ], + 'DeleteNamespace' => [ + 'summary' => 'Deletes a namespace.', + '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' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'f-cn-wwo36qj4g06', + ], + ], + [ + 'name' => 'Namespace', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'di-593439443804417', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => '是否成功', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'DeleteNamespace', + ], + 'CreateNamespace' => [ + 'summary' => 'Creates a namespace in a Realtime Compute for Apache Flink workspace.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '103226', + 'abilityTreeNodes' => [ + 'FEATUREscWKZGIA', + ], + ], + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-shenzhen', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'f-cn-wwo36qj4g06', + ], + ], + [ + 'name' => 'Namespace', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'di-593440390152545', + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '30', + ], + 'MemoryGB' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '120', + ], + ], + 'required' => false, + ], + ], + [ + 'name' => 'Ha', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'default' => 'false', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => '是否成功', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","type":"json"}]', + 'title' => 'CreateNamespace', + ], + 'ListTagResources' => [ + 'summary' => 'Queries the tags of specified resources. You can query the key of a tag by tag value, or query the value of a tag by tag key. You can also obtain information about all tags that you use in a workspace in the console of fully managed Flink.', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + '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' => '', + 'type' => 'string', + 'required' => false, + 'example' => '27AE00', + ], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'title' => '地域', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'title' => '资源类型', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'vvpinstance', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '资源ID,最多 50个子项', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'f-cn-7pp2m9w7s06', + ], + 'required' => false, + 'maxItems' => 51, + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '标签列表,最多包含20个子项', + 'description' => '', + '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' => [ + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '0E5D17CE-BD83-5DC9-8CD2-3C40C2F7A135', + ], + 'TagReponseId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '87AE00', + ], + 'NextToken' => [ + 'description' => '', + 'type' => 'string', + 'example' => '27AE00', + ], + 'TagResources' => [ + 'title' => '资源列表', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ResourceType' => [ + 'title' => '资源类型', + 'description' => '', + 'type' => 'string', + 'example' => 'vvpinstance', + ], + 'TagValue' => [ + 'title' => '标签值', + 'description' => '', + 'type' => 'string', + 'example' => 'tag', + ], + 'ResourceId' => [ + 'title' => '资源ID', + 'description' => '', + 'type' => 'string', + 'example' => 'f-cn-tyts', + ], + 'TagKey' => [ + 'title' => '标签键', + 'description' => '', + 'type' => 'string', + 'example' => 'test', + ], + ], + ], + ], + ], + ], + ], + ], + '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' => 'ListTagResources', + ], + 'TagResources' => [ + 'summary' => 'Adds tags to specified resources.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '146252', + 'abilityTreeNodes' => [ + 'FEATUREscWKZGIA', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'title' => '地域', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'title' => '资源类型', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'vvpinstance', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '资源ID,最多 50个子项', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'f-cn-7e22rg', + ], + 'required' => true, + 'maxItems' => 51, + ], + ], + [ + 'name' => 'Tag', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '标签列表,最多包含20个子项', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Value' => [ + 'title' => '标签值', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'tag', + ], + 'Key' => [ + 'title' => '标签键', + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + ], + 'required' => false, + ], + 'required' => true, + 'maxItems' => 21, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TagResponseId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '154FT', + ], + 'Message' => [ + 'description' => '', + 'type' => 'string', + 'example' => '""', + ], + 'Code' => [ + 'description' => '', + 'type' => 'string', + 'example' => '200', + ], + ], + ], + ], + ], + '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' => 'TagResources', + ], + 'UntagResources' => [ + 'summary' => 'Removes tags from specified resources.', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '146253', + 'abilityTreeNodes' => [ + 'FEATUREscWKZGIA', + ], + ], + 'parameters' => [ + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => [ + 'title' => '地域', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'title' => '资源类型', + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'vvpinstance', + ], + ], + [ + 'name' => 'All', + 'in' => 'query', + 'schema' => [ + 'title' => '是否全部删除,只针对TagKey.N为空时有效。 取值范围: true false True False 默认是 false', + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'example' => 'false', + ], + ], + [ + 'name' => 'ResourceId', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '资源ID,最多50个子项', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'f-cn-tgy67', + ], + 'required' => true, + 'maxItems' => 51, + ], + ], + [ + 'name' => 'TagKey', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'title' => '标签键,最多20个子项', + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'test', + ], + 'required' => false, + 'maxItems' => 21, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'F59597FC-CD05-536D-B75B-6F45B8CC8539', + ], + 'Success' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'TagResponseId' => [ + 'description' => '', + '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' => 'UntagResources', + ], + 'ConvertPrepayInstance' => [ + 'summary' => 'Changes the billing method of a workspace from subscription to pay-as-you-go.', + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '212995', + 'abilityTreeNodes' => [ + 'FEATUREscWKZGIA', + ], + ], + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'cn-beijing', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'f-cn-wwo36qj4g06', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + 'type' => 'string', + 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', + ], + 'Success' => [ + 'title' => '是否成功', + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'OrderId' => [ + 'title' => '订单id', + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '210406354690749', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426****\\",\\n \\"Success\\": true,\\n \\"OrderId\\": 0\\n}","type":"json"}]', + 'title' => 'ConvertPrepayInstance', + ], + 'ModifyInstanceVswitch' => [ + 'summary' => '修改集群交换机', + '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' => '', + 'type' => 'string', + 'required' => true, + 'example' => 'sc_flinkserverless_public_cn-7e22ae****', + ], + ], + [ + 'name' => 'VSwitchIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'vsw-m5esz02px6qxiu28x****', + ], + 'required' => false, + ], + ], + [ + 'name' => 'HaVSwitchIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => '[\\"vsw-2ze78bg1iewk***dylxi\\"]', + ], + 'required' => false, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => '请求id', + 'description' => '', + '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****', + ], + ], + ], + ], + ], + 'staticInfo' => [ + 'noSubstitutionReason' => '暂无替代API,请关注后续API最新发布。', + 'returnType' => 'synchronous', + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426****\\",\\n \\"Success\\": true,\\n \\"Result\\": \\"F2C5B6A8-DD04-51F5-AAD5-BA2FE6FD****\\"\\n}","type":"json"}]', + ], + ], + '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', + ], + ], +]; |
