'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":"\\n 67F33190-946B-1105-B6A1-E2DF0426DD51\\n true\\n","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":"\\n 67F33190-946B-1105-B6A1-E2DF0426DD51\\n true\\n","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":"\\n 67F33190-946B-1105-B6A1-E2DF0426DD51\\n true\\n","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":"\\n 67F33190-946B-1105-B6A1-E2DF0426DD51\\n true\\n 15\\n 2\\n 1\\n 10\\n \\n ns-1\\n SUCCESS\\n 1629879567394\\n 1629879567394\\n \\n 10\\n 40\\n \\n \\n 2.5\\n 6.6\\n 1.6\\n \\n \\n flink\\n test\\n \\n \\n","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":"\\n 67F33190-946B-1105-B6A1-E2DF0426DD51\\n true\\n \\n 210406354694567\\n 8D2D5BBF-C302-1A21-80E1-27799802****\\n \\n","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":"\\n 67F33190-946B-1105-B6A1-E2DF0426DD51\\n 210406354690749\\n true\\n","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":"\\n 67F33190-946B-1105-B6A1-E2DF0426DD51\\n true\\n","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":"\\n 67F33190-946B-1105-B6A1-E2DF0426DD51\\n 210406354690749\\n true\\n","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":"\\n 67F33190-946B-1105-B6A1-E2DF0426DD51\\n true\\n 211473228320700\\n","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":"\\n 15\\n 2\\n 1\\n 2\\n 67F33190-946B-1105-B6A1-E2DF0426DD51\\n true\\n \\n 1629879567394\\n 1637337600000\\n cn-beijing\\n cn-beijing-g\\n vpc-2ze9*******nxfmfcdi\\n vsw-2ze6yqnc19*****psjj0j\\n sc_flinkserverlesspost_public_cn-0ju2bj2****\\n PRE\\n vvp1\\n 183899668736****\\n NORMAL\\n b3690a1655da47\\n \\n \\n oss_flink\\n \\n \\n \\n 10\\n 40\\n \\n RUNNING\\n \\n flink\\n test\\n \\n c20c******404\\n rg-***\\n \\n","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":"\\n 67F33190-946B-1105-B6A1-E2DF0426DD51\\n true\\n \\n CNY\\n 655.2\\n 4368\\n 3712.8\\n ORDER.INST_HAS_UNPAID_ORDER\\n 存在未支付订单,请先支付或取消原有订单。\\n \\n ¥1,391.5优惠券(有效期至03/23/2022)\\n ¥1,391.5优惠券\\n 50001122001****\\n true\\n \\n \\n 买满1年,立享官网价格8.5折优惠。\\n \\n \\n","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":"\\n 67F33190-946B-1105-B6A1-E2DF0426DD51\\n true\\n \\n CNY\\n 655.2\\n 4368\\n 3712.8\\n ORDER.INST_HAS_UNPAID_ORDER\\n 存在未支付订单,请先支付或取消原有订单。\\n \\n ¥1,391.5优惠券 (有效期至 03/23/2022)\\n ¥1,391.5优惠券\\n 500011220010099\\n true\\n \\n \\n 买满1年,立享官网价格8.5折优惠。\\n 1020071005141834\\n \\n \\n","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":"\\n 67F33190-946B-1105-B6A1-E2DF0426DD51\\n true\\n \\n CNY\\n 655.2\\n 4368\\n 3712.8\\n ORDER.INST_HAS_UNPAID_ORDER\\n 存在未支付订单,请先支付或取消原有订单。\\n \\n ¥1,391.5优惠券 (有效期至 03/23/2022)\\n ¥1,391.5优惠券\\n 500011220010099\\n true\\n \\n \\n 买满1年,立享官网价格8.5折优惠。\\n 1020071005141834\\n \\n \\n","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":"\\n 67F33190-946B-1105-B6A1-E2DF0426DD51\\n true\\n \\n CNY\\n 655.2\\n 4368\\n 3712.8\\n ORDER.INST_HAS_UNPAID_ORDER\\n 存在未支付订单,请先支付或取消原有订单。\\n \\n ¥1,391.5优惠券 (有效期至 03/23/2022)\\n ¥1,391.5优惠券\\n 500011220010099\\n true\\n \\n \\n 买满1年,立享官网价格8.5折优惠。\\n 1020071005141834\\n \\n \\n","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":"\\n 23A9C718-DDAB-1696-B025-18FBC830F7C5\\n true\\n cn-beijing-g\\n","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":"\\n B21DC47E-8928-199A-9F32-36D45E4693B4\\n true\\n \\n cn-beijing\\n 华北2 (北京)\\n \\n","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":"\\n true\\n 27AE00\\n 87AE00\\n 27AE00\\n \\n vvpinstance\\n tag\\n f-cn-tyts\\n test\\n \\n","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":"\\n 27AE00\\n true\\n 154FT\\n \\"\\"\\n 200\\n","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":"\\n 27AE00\\n true\\n 154FT\\n \\"\\"\\n 200\\n","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-shenzhen', 'endpoint' => 'foasconsole.cn-shenzhen.aliyuncs.com'],
['regionId' => 'cn-wulanchabu', 'endpoint' => 'foasconsole.cn-wulanchabu.aliyuncs.com'],
['regionId' => 'cn-beijing', 'endpoint' => 'foasconsole.cn-beijing.aliyuncs.com'],
['regionId' => 'ap-northeast-1', 'endpoint' => 'foasconsole.ap-northeast-1.aliyuncs.com'],
['regionId' => 'cn-shanghai', 'endpoint' => 'foasconsole.cn-shanghai.aliyuncs.com'],
['regionId' => 'cn-hongkong', 'endpoint' => 'foasconsole.cn-hongkong.aliyuncs.com'],
['regionId' => 'ap-southeast-1', 'endpoint' => 'foasconsole.ap-southeast-1.aliyuncs.com'],
['regionId' => 'ap-southeast-3', 'endpoint' => 'foasconsole.ap-southeast-3.aliyuncs.com'],
['regionId' => 'ap-southeast-5', 'endpoint' => 'foasconsole.ap-southeast-5.aliyuncs.com'],
['regionId' => 'cn-zhangjiakou', 'endpoint' => 'foasconsole.cn-zhangjiakou.aliyuncs.com'],
['regionId' => 'cn-hangzhou', 'endpoint' => 'foasconsole.cn-hangzhou.aliyuncs.com'],
['regionId' => 'us-west-1', 'endpoint' => 'foasconsole.us-west-1.aliyuncs.com'],
['regionId' => 'us-east-1', 'endpoint' => 'foasconsole.us-east-1.aliyuncs.com'],
['regionId' => 'eu-central-1', 'endpoint' => 'foasconsole.eu-central-1.aliyuncs.com'],
['regionId' => 'eu-west-1', 'endpoint' => 'foasconsole.eu-west-1.aliyuncs.com'],
['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'foasconsole.cn-shanghai-finance-1.aliyuncs.com'],
['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'foasconsole.cn-shenzhen-finance-1.aliyuncs.com'],
['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'foasconsole.aliyuncs.com'],
['regionId' => 'cn-qingdao', 'endpoint' => 'foasconsole.cn-qingdao.aliyuncs.com'],
],
];