summaryrefslogtreecommitdiff
path: root/data/en_us/foasconsole/2021-10-28
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/en_us/foasconsole/2021-10-28
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/en_us/foasconsole/2021-10-28')
-rw-r--r--data/en_us/foasconsole/2021-10-28/api-docs.php7199
1 files changed, 3045 insertions, 4154 deletions
diff --git a/data/en_us/foasconsole/2021-10-28/api-docs.php b/data/en_us/foasconsole/2021-10-28/api-docs.php
index 3547266..4d12c7c 100644
--- a/data/en_us/foasconsole/2021-10-28/api-docs.php
+++ b/data/en_us/foasconsole/2021-10-28/api-docs.php
@@ -1,362 +1,124 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'foasconsole',
- 'version' => '2021-10-28',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'foasconsole', 'version' => '2021-10-28'],
'directories' => [
[
- 'id' => 187194,
- 'title' => 'Work space',
+ 'children' => ['ModifyElasticResourceSpec', 'ConvertHybridInstance', 'QueryConvertPrepayInstancePrice', 'QueryConvertInstancePrice', 'QueryCreateInstancePrice', 'QueryModifyInstancePrice', 'QueryRenewInstancePrice', 'DescribeSupportedZones', 'DescribeSupportedRegions', 'ConvertInstance'],
'type' => 'directory',
- 'children' => [
- 'ModifyInstanceSpec',
- 'ModifyElasticResourceSpec',
- 'ConvertHybridInstance',
- 'QueryConvertPrepayInstancePrice',
- 'ModifyPrepayInstanceSpec',
- 'QueryConvertInstancePrice',
- 'QueryCreateInstancePrice',
- 'QueryModifyInstancePrice',
- 'QueryRenewInstancePrice',
- 'DescribeSupportedZones',
- 'DescribeSupportedRegions',
- 'CreateInstance',
- 'RenewInstance',
- 'DescribeInstances',
- 'DeleteInstance',
- 'ConvertInstance',
- ],
+ 'title' => 'Workspace',
],
[
- 'id' => 187189,
- 'title' => 'Project Space',
+ 'children' => ['ModifyNamespaceSpecV2', 'DescribeNamespaces', 'ModifyPrepayNamespaceSpec'],
'type' => 'directory',
- 'children' => [
- 'ModifyNamespaceSpecV2',
- 'DescribeNamespaces',
- 'ModifyPrepayNamespaceSpec',
- 'DeleteNamespace',
- 'CreateNamespace',
- ],
+ 'title' => 'Project space',
],
[
- 'id' => 187185,
- 'title' => 'Resource Tags',
+ 'children' => ['ConvertPrepayInstance', 'ModifyInstanceVswitch'],
'type' => 'directory',
- 'children' => [
- 'ListTagResources',
- 'TagResources',
- 'TagResources',
- 'UntagResources',
- ],
+ 'title' => 'Other',
],
[
- 'id' => 272392,
+ 'children' => ['CreateInstance', 'CreateNamespace', 'DeleteInstance', 'DeleteNamespace', 'DescribeInstances', 'ListTagResources', 'ModifyInstanceSpec', 'ModifyPrepayInstanceSpec', 'RenewInstance', 'TagResources', 'UntagResources'],
'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' => '',
+ 'schemas' => [
+ 'ClusterStage' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Message' => ['type' => 'string'],
+ 'CurrentStage' => ['type' => 'integer', 'format' => 'int32'],
+ 'Status' => ['type' => 'string'],
+ 'TotalStageWithWeight' => [
'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,
+ 'items' => ['$ref' => '#/components/schemas/StageWithWeight'],
+ ],
+ ],
+ ],
+ 'ClusterState' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['type' => 'string'],
+ 'SubStatus' => ['type' => 'string'],
+ 'ClusterStage' => ['$ref' => '#/components/schemas/ClusterStage'],
+ ],
+ ],
+ 'FlussInstance' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RegionId' => ['description' => 'The ID of the region.', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'InstanceName' => ['description' => 'The instance name.', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'Uid' => ['description' => 'The Alibaba Cloud account ID (UID).', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'VpcId' => ['description' => 'The VPC ID.', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'OrderState' => ['description' => 'The order state.', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'ConsoleUrl' => ['description' => 'The URL of the instance management console.', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'TabletServerModel' => ['description' => 'The tablet server model.', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'TabletServerNum' => ['description' => 'The number of tablet servers.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'],
+ 'TabletServerType' => ['description' => 'The tablet server type.', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'DiskSize' => ['description' => 'The disk size, in GB.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'],
+ 'ResourceCreateTime' => ['description' => 'The creation time of the resource, as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'],
+ 'ResourceExpiredTime' => ['description' => 'The expiration time of the resource, as a UNIX timestamp in milliseconds.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'],
+ 'ClusterStatus' => ['description' => 'The cluster status.', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'ClusterState' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/ClusterState'],
+ 'VSwitches' => [
+ 'type' => 'array',
+ 'items' => ['description' => '', 'title' => '', 'example' => '', '$ref' => '#/components/schemas/FlussVswitch'],
+ 'description' => 'The VSwitch details.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'TieringPreCu' => ['description' => 'The number of compute units (CUs) for pre-tiering.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'],
+ 'TieringPostCu' => ['description' => 'The number of compute units (CUs) for post-tiering.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'],
+ 'Ha' => ['description' => 'Specifies whether high availability (HA) is enabled.', 'type' => 'boolean', 'title' => '', 'example' => ''],
+ ],
+ 'description' => 'Properties of the Fluss instance.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'FlussResourceSpec' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SlaveModel' => ['description' => 'Instance type of the slave nodes.', 'type' => 'string', 'title' => '', 'example' => ''],
+ 'SlaveNum' => ['description' => 'Number of slave nodes.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'],
+ 'DiskSizeInGB' => ['description' => 'Disk size per node, in GB.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'],
+ 'TieringPreCu' => ['description' => 'Number of compute units (CUs) for the pre-tiering stage.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'],
+ 'TieringPostCu' => ['description' => 'Number of CUs for the post-tiering stage.', 'type' => 'integer', 'title' => '', 'example' => '', 'format' => 'int64'],
+ ],
+ 'description' => 'Resource specifications for the job.',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'FlussVswitch' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ZoneId' => ['type' => 'string'],
+ 'VSwitchIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
],
],
- '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',
- ],
- ],
- ],
+ 'StageWithWeight' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'StepIndex' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'StepName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'Weight' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B21DC47E-8928-199A-9F32-36D45E4****\\",\\n \\"OrderId\\": 0,\\n \\"Success\\": true\\n}","type":"json"}]',
],
+ ],
+ 'apis' => [
'ConvertHybridInstance' => [
- 'summary' => '开通弹性计算',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'summary' => 'You can call this API to convert subscription instances to hybrid-billing instances.',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -369,524 +131,223 @@
'riskType' => 'high',
'chargeType' => 'paid',
'abilityTreeCode' => '246084',
- 'abilityTreeNodes' => [
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeNodes' => ['FEATUREscTKD5I3'],
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sc_flinkserverless_public_cn-7e22ae5sess',
- ],
+ 'schema' => ['description' => 'Order instance ID.', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverless_public_cn-7e22*****', 'title' => ''],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-shenzhen',
- ],
+ 'schema' => ['description' => 'Region.', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen', 'title' => ''],
],
[
'name' => 'ResourceSpec',
'in' => 'query',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'Maximum resource specifications available for the pay-as-you-go part of hybrid billing.',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '40GB',
- ],
+ 'Cpu' => ['description' => 'Number of CPUs.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''],
+ 'MemoryGB' => ['description' => 'Memory size in GB.'."\n"
+ ."\n"
+ .'> Memory size must be 4 times the number of CPUs.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '40GB', 'title' => ''],
],
'required' => true,
+ 'title' => '',
+ 'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => '',
+ 'title' => '',
+ 'description' => 'Response data.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => '67F33190-946B-1105-B6A1-E2DF042*****'],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
'OrderInfo' => [
- 'description' => '',
+ 'description' => 'Order information.',
'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',
- ],
+ 'OrderId' => ['description' => 'Order ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2104063546****'],
+ 'InstanceId' => ['description' => 'Instance ID of the subscription part for hybrid billing.', 'type' => 'string', 'title' => '', 'example' => 'f-cn-zvp2q*****'],
+ 'ElasticInstanceId' => ['description' => 'Instance ID of the pay-as-you-go part for hybrid billing.', 'type' => 'string', 'example' => 'f-cn-asd***', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
- 'ErrCode' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '000000',
- ],
+ 'ErrCode' => ['description' => 'Error code.', 'type' => 'string', 'example' => '000000', 'title' => ''],
],
+ 'example' => '',
],
],
],
- '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',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Enable Hybrid Billing',
+ 'description' => '**Before using this API, ensure you fully understand the billing methods and [pricing](https://help.aliyun.com/zh/flink/product-overview/hybrid-pricing?spm=a2c4g.11186623.help-menu-45029.d_0_2_1_3.7faa56e4V8YDHy\\&scm=20140722.H_2854295._.OR_help-T_cn~zh-V_1) for Flink fully managed hybrid-billing products.**',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConvertHybridInstance'],
],
],
- 'parameters' => [
+ 'ramActions' => [
[
- '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',
- ],
- ],
- ],
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'stream:ConvertHybridInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
],
],
],
],
- '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"}]',
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
],
- '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',
+ 'translator' => 'machine',
],
- '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',
- ],
+ 'ConvertInstance' => [
+ 'summary' => 'You can convert a pay-as-you-go workspace to a subscription workspace.',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'deprecated' => true,
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '103205',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeCode' => '104041',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
- 'schema' => [
- 'title' => '地域id',
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['description' => 'The region.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
- ],
+ 'schema' => ['description' => 'The order instance ID.', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06', 'title' => ''],
],
[
- 'name' => 'ResourceSpec',
+ 'name' => 'PricingCycle',
'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,
- ],
+ 'schema' => ['description' => 'The subscription cycle.', 'type' => 'string', 'required' => true, 'example' => 'Month', 'title' => ''],
],
[
- 'name' => 'Ha',
+ 'name' => 'Duration',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => 'The number of subscription cycles.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
],
[
- 'name' => 'HaZoneId',
+ 'name' => 'IsAutoRenew',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => 'Whether auto-renewal is enabled.', 'type' => 'boolean', 'required' => true, 'example' => 'true', 'title' => ''],
],
[
- 'name' => 'HaVSwitchIds',
+ 'name' => 'NamespaceResourceSpecs',
'in' => 'formData',
'style' => 'json',
'schema' => [
+ 'title' => '',
+ 'description' => 'The resource specifications for project namespaces.',
'type' => 'array',
'items' => [
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceSpec' => [
+ 'title' => '',
+ 'description' => 'The resource specification.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => 'The number of CPUs.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
+ 'MemoryGB' => ['description' => 'The memory size in GB.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '4', 'title' => ''],
+ ],
+ 'required' => true,
+ 'example' => '',
+ ],
+ 'Namespace' => ['description' => 'The namespace name.', 'type' => 'string', 'required' => true, 'example' => 'ns-1', 'title' => ''],
+ ],
+ 'required' => true,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
+ 'required' => true,
+ 'example' => '',
],
],
[
- 'name' => 'HaResourceSpec',
+ 'name' => 'UsePromotionCode',
'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'Cpu' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'MemoryGB' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- ],
+ 'schema' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'PromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
+ 'title' => '',
'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',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', 'title' => ''],
+ 'Success' => ['description' => 'Whether the operation succeeded.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ 'OrderId' => ['description' => 'The order ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '211473228320700'],
],
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'substitutions' => [
- 'foasconsole::2021-10-28::ModifyInstanceSpec',
+ 'title' => 'Switch from Pay-as-you-go to Subscription',
+ 'description' => '**Before you use this API, make sure that you fully understand the billing model and [pricing](https://help.aliyun.com/zh/flink/product-overview/switch-from-pay-as-you-go-to-subscription) of Alibaba Cloud Fully Managed Flink.**',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConvertInstance'],
],
],
- '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',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ConvertVvpInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"OrderId\\": 211473228320700\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'ConvertPrepayInstance' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -895,385 +356,126 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '104063',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeCode' => '212995',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''],
],
[
'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',
- ],
+ 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj*****', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
+ 'title' => '',
+ 'description' => 'Response data.',
'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',
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426****', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the conversion succeeded.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ 'OrderId' => ['description' => 'Order ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '2104063546*****'],
],
+ 'example' => '',
],
],
],
- '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',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Switch from subscription to pay-as-you-go',
+ 'summary' => 'Call this API to convert a subscription instance to a pay-as-you-go instance.',
+ 'description' => 'Before you call this operation, review the [billing methods and pricing](https://help.aliyun.com/zh/flink/product-overview/switch-from-subscription-to-pay-as-you-go?spm=a2c4g.11186623.0.0.51f74f50TffU4r) for Alibaba Cloud Realtime Compute for Apache Flink.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConvertPrepayInstance'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ConvertVvpInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426****\\",\\n \\"Success\\": true,\\n \\"OrderId\\": 0\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'CreateInstance' => [
+ 'summary' => 'Creates a subscription or pay-as-you-go fully managed Flink workspace.',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
+ 'operationType' => 'create',
+ 'riskType' => 'high',
'chargeType' => 'paid',
- 'abilityTreeCode' => '104066',
- 'abilityTreeNodes' => [
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeCode' => '103204',
+ 'abilityTreeNodes' => ['FEATUREscTKD5I3'],
],
'parameters' => [
[
'name' => 'InstanceName',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'rtc-e2e-test-post',
- ],
+ 'schema' => ['description' => 'The name of the workspace. The name must start with a lowercase letter, can contain lowercase letters, digits, and hyphens (-), and cannot end with a hyphen.', 'type' => 'string', 'required' => true, 'example' => 'rtc-e2e-test-pre', 'title' => ''],
],
[
'name' => 'ChargeType',
'in' => 'formData',
'schema' => [
- 'description' => '',
+ 'description' => 'The billing method. Valid values:'."\n"
+ ."\n"
+ .'- POST: pay-as-you-go'."\n"
+ ."\n"
+ .'- PRE: subscription',
'type' => 'string',
'required' => true,
+ 'enum' => ['PRE', 'POST'],
'example' => 'PRE',
- 'enum' => [
- 'PRE',
- 'POST',
- ],
+ 'title' => '',
],
],
[
'name' => 'Region',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['description' => 'The region.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''],
],
[
'name' => 'VpcId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vpc-2ze9xoh8qyt1rnxfmfcdi',
- ],
+ 'schema' => ['description' => 'The ID of the Virtual Private Cloud (VPC).', 'type' => 'string', 'required' => true, 'example' => 'vpc-2ze9xoh8qyt1rnxfmfcdi', 'title' => ''],
],
[
'name' => 'VSwitchIds',
'in' => 'formData',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'The IDs of the vSwitches.',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vsw-uf6kkcjvzyayv5je6t72s',
- ],
- 'required' => false,
+ 'items' => ['description' => 'A vSwitch ID.', 'type' => 'string', 'required' => true, 'example' => 'vsw-m5esz02px6qxiu28x7c2i', 'title' => ''],
+ 'required' => true,
+ 'title' => '',
+ 'example' => '',
],
],
[
@@ -1281,944 +483,300 @@
'in' => 'formData',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'The resource specifications.'."\n"
+ ."\n"
+ .'> This parameter is required when you set ChargeType to PRE.',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '4',
- ],
- 'MemoryGB' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '16',
- ],
+ 'Cpu' => ['description' => 'The number of CPUs.'."\n"
+ ."\n"
+ .'> - The number of CPUs for the project must be less than the number of available CPUs in the workspace. The number of available CPUs is the total number of purchased CPUs minus the number of CPUs that are allocated to other projects. Otherwise, an error occurs.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''],
+ 'MemoryGB' => ['description' => 'The memory size in GB.'."\n"
+ ."\n"
+ .'> The memory size must be four times the number of CPUs.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '120', 'title' => ''],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'PricingCycle',
'in' => 'formData',
'schema' => [
- 'description' => '',
+ 'description' => 'The billing cycle of the subscription instance. Valid values:'."\n"
+ ."\n"
+ .'- **year**'."\n"
+ ."\n"
+ .'- **month**'."\n"
+ ."\n"
+ .'> This parameter is required if you set ChargeType to PRE.',
'type' => 'string',
+ 'enum' => ['Year', 'Month', 'Day', 'Hour'],
'required' => false,
- 'enumValueTitles' => [
- 'Month' => 'Month',
- 'Year' => 'Year',
- 'Hour' => 'Hour',
- ],
'example' => 'Month',
- 'enum' => [
- 'Year',
- 'Month',
- 'Day',
- 'Hour',
- ],
+ 'title' => '',
],
],
[
'name' => 'Duration',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => 'The subscription duration.'."\n"
+ ."\n"
+ .'> This parameter is required when you set ChargeType to PRE.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
],
[
'name' => 'AutoRenew',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'Specifies whether to enable auto-renewal. Valid values:'."\n"
+ ."\n"
+ .'- **true**: Auto-renewal is enabled.'."\n"
+ ."\n"
+ .'- **false**: Auto-renewal is disabled. This is the default value.'."\n"
+ ."\n"
+ .'> This parameter does not take effect for pay-as-you-go instances.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'Storage',
'in' => 'formData',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'The storage parameters.',
'type' => 'object',
'properties' => [
'Oss' => [
- 'description' => '',
+ 'description' => 'The Object Storage Service (OSS) storage.',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'quicktracing',
- ],
+ 'Bucket' => ['description' => 'The name of the OSS bucket to attach.', 'type' => 'string', 'required' => false, 'example' => 'oss-flink-cn-shanghai-260343971602724445', 'title' => ''],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
+ 'FullyManaged' => ['description' => 'Specifies whether to use fully managed storage. You can use either fully managed storage or an OSS bucket.'."\n"
+ ."\n"
+ .'- true: Use fully managed storage.'."\n"
+ ."\n"
+ .'- false: Do not use fully managed storage.', 'type' => 'boolean', 'required' => false, 'example' => 'false', 'title' => ''],
],
- 'required' => false,
+ 'required' => true,
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'UsePromotionCode',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- ],
+ 'schema' => ['description' => 'Specifies whether to use a coupon. Valid values:'."\n"
+ ."\n"
+ .'- true: Use a coupon.'."\n"
+ ."\n"
+ .'- false: Do not use a coupon.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
'name' => 'PromotionCode',
'in' => 'formData',
- 'schema' => [
- 'title' => '优惠券code',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '500041860100636',
- ],
+ 'schema' => ['description' => 'The coupon code.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '500043499350689'],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'formData',
+ 'schema' => ['title' => '', 'description' => 'The resource group ID.', 'type' => 'string', 'required' => false, 'example' => 'rg-acfmxbavps3rpiy'],
],
[
'name' => 'Extra',
'in' => 'formData',
- 'schema' => [
- 'title' => '优惠券code',
- 'type' => 'string',
- ],
+ 'schema' => ['title' => '', 'description' => 'The extended field.', 'type' => 'string', 'required' => false, 'example' => '“”'],
],
[
'name' => 'ArchitectureType',
'in' => 'formData',
'schema' => [
- 'title' => '优惠券code',
+ 'title' => '',
+ 'description' => 'The processor architecture.',
+ 'enumValueTitles' => ['X86' => 'X86', 'ARM' => 'ARM'],
'type' => 'string',
+ 'required' => false,
+ 'example' => 'X86',
],
],
[
'name' => 'Ha',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- 'default' => 'false',
- ],
+ 'schema' => ['description' => 'Specifies whether to enable high availability (HA) within the same city.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'true', 'title' => ''],
],
[
- 'name' => 'HaResourceSpec',
+ 'name' => 'HaVSwitchIds',
'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',
+ 'description' => 'The vSwitch IDs for the secondary zone of the HA configuration.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The vSwitch IDs for the secondary zone of the HA configuration.', 'type' => 'string', 'required' => false, 'example' => '[\\"vsw-2ze78bg1iewkwk25dylxi\\"]', 'title' => ''],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'ResourceSpec',
+ 'name' => 'HaResourceSpec',
'in' => 'formData',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'The resource specifications for the HA configuration.',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '40',
- ],
+ 'Cpu' => ['description' => 'The number of CPUs for the HA configuration.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
+ 'MemoryGB' => ['description' => 'The memory size for the HA configuration.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '40', 'title' => ''],
],
- 'required' => true,
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'Ha',
+ 'name' => 'MonitorType',
'in' => 'formData',
'schema' => [
- 'type' => 'boolean',
- 'default' => 'false',
+ 'description' => 'The type of the alert service. You can select ARMS or Cloud Monitor.',
+ 'enumValueTitles' => ['TAIHAO' => 'TAIHAO', 'ARMS' => 'ARMS'],
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'TAIHAO',
+ 'title' => '',
],
],
[
- 'name' => 'HaVSwitchIds',
+ 'name' => 'Tag',
'in' => 'formData',
'style' => 'json',
'schema' => [
+ 'description' => 'The list of tags. You can add up to 20 tags.',
+ 'title' => '',
'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',
+ 'description' => 'A tag.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => ['title' => '', 'description' => 'The tag value.', 'type' => 'string', 'required' => false, 'example' => 'tag'],
+ 'Key' => ['title' => '', 'description' => 'The tag key.', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
],
- ],
- ],
- [
- 'name' => 'UsePromotionCode',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
'required' => false,
- ],
- ],
- [
- 'name' => 'PromotionCode',
- 'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
+ 'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
+ 'title' => '',
'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' => '',
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ 'OrderInfo' => [
+ 'title' => '',
+ 'description' => 'The order information.',
'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',
- ],
+ 'OrderId' => ['description' => 'The order ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '210406354694567'],
+ 'InstanceId' => ['description' => 'The instance ID of the order.', 'type' => 'string', 'title' => '', 'example' => 'f-cn-zvp2q0zik06'],
+ 'StorageOrderId' => ['title' => '', 'description' => 'The storage order ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '240353501970749'],
+ 'StorageInstanceId' => ['title' => '', 'description' => 'The storage instance ID.', 'type' => 'string', 'example' => 'sc_flinkstorage_public_cn-w*****'."\n"],
],
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- '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',
+ 'title' => 'Create a fully managed Flink workspace',
+ 'description' => '**Before you call this operation, ensure you understand the billing methods and [pricing](https://help.aliyun.com/zh/flink/product-overview/billing-overview) of fully managed Flink.**',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateInstance'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'stream:CreateVvpInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"OrderInfo\\": {\\n \\"OrderId\\": 210406354694567,\\n \\"InstanceId\\": \\"f-cn-zvp2q0zik06\\",\\n \\"StorageOrderId\\": 240353501970749,\\n \\"StorageInstanceId\\": \\"sc_flinkstorage_public_cn-w*****\\\\n\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'CreateNamespace' => [
+ 'summary' => 'Creates a project in a fully managed Flink instance.',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '104068',
- 'abilityTreeNodes' => [
- 'FEATUREscYN6NTL',
- 'FEATUREscTKD5I3',
- ],
+ 'abilityTreeCode' => '103226',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
- 'schema' => [
- 'title' => '地域id',
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['description' => 'Region.', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen', 'title' => ''],
],
[
'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',
- ],
+ 'schema' => ['description' => 'Order instance ID.', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06', 'title' => ''],
],
[
- 'name' => 'PricingCycle',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '订购周期',
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Month',
- 'enum' => [
- 'Year',
- 'Month',
- 'Day',
- 'Hour',
- ],
- ],
- ],
- [
- 'name' => 'UsePromotionCode',
+ 'name' => 'Namespace',
'in' => 'formData',
- 'schema' => [
- 'type' => 'boolean',
- ],
+ 'schema' => ['description' => 'The name of the namespace.', 'type' => 'string', 'required' => true, 'example' => 'di-593440390152545', 'title' => ''],
],
[
- 'name' => 'PromotionCode',
+ 'name' => 'ResourceSpec',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
+ 'description' => 'Resource specification.',
'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',
- ],
- ],
- ],
+ 'Cpu' => ['description' => 'Number of CPU cores.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30', 'title' => ''],
+ 'MemoryGB' => ['description' => 'Memory size, in GB.'."\n"
+ ."\n"
+ .'> Memory must be four times the number of CPU cores.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '120', 'title' => ''],
],
- ],
- ],
- ],
- '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',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'ArchitectureType',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'name' => 'Ha',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'default' => 'false', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
],
],
'responses' => [
@@ -2226,171 +784,41 @@
'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',
- ],
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'example' => '是否成功', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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',
+ 'title' => 'Create Project Space',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateNamespace'],
],
- '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',
- ],
- ],
- ],
- ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'stream:CreateVvpNamespace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
- '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',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'translator' => 'machine',
],
- 'CreateInstance' => [
- 'summary' => 'Creates a subscription workspace or a pay-as-you-go workspace of Realtime Compute for Apache Flink.',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteInstance' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2399,340 +827,66 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'high',
- 'chargeType' => 'paid',
- 'abilityTreeCode' => '103204',
- 'abilityTreeNodes' => [
- 'FEATUREscTKD5I3',
- ],
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '103202',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'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',
- ],
+ 'schema' => ['description' => 'The region.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''],
],
[
- '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',
+ 'name' => 'InstanceId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
+ 'schema' => ['description' => 'The order instance ID.', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06', 'title' => ''],
],
- [
- 'name' => 'Storage',
- 'in' => 'formData',
- 'style' => 'json',
+ ],
+ 'responses' => [
+ 200 => [
'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',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['description' => 'Indicates whether the operation succeeded.', 'type' => 'boolean', 'title' => '', 'example' => 'True'],
],
- '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',
+ 'title' => '',
+ 'example' => '',
],
],
- [
- '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,
- ],
+ ],
+ 'title' => 'Release a pay-as-you-go fully managed Flink workspace',
+ 'summary' => 'Releases a pay-as-you-go Flink fully managed workspace.',
+ 'description' => '**Before using this API, ensure that you fully understand the billing method and [pricing](https://help.aliyun.com/zh/flink/product-overview/refund-policy) of Flink fully managed.**',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteInstance'],
],
],
- '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',
- ],
- ],
- ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'stream:DeleteVvpInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"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',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'translator' => 'machine',
],
- 'RenewInstance' => [
- 'summary' => 'Renews a subscription workspace of Realtime Compute for Apache Flink.',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'DeleteNamespace' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2741,79 +895,27 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '103206',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeCode' => '103227',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
- 'schema' => [
- 'title' => '地域id',
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['description' => 'The region.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'formData',
- 'schema' => [
- 'title' => '实例id',
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sc_flinkserverless_public_cn-7e22ae5sess',
- ],
+ 'schema' => ['description' => 'The order instance ID.', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06', 'title' => ''],
],
[
- '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',
+ 'name' => 'Namespace',
'in' => 'formData',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => 'The namespace name.', 'type' => 'string', 'required' => true, 'example' => 'di-593439443804417', 'title' => ''],
],
],
'responses' => [
@@ -2821,41 +923,42 @@
'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',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['description' => 'Indicates whether the operation succeeded.', 'type' => 'boolean', 'example' => '是否成功', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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',
+ 'title' => 'Delete project space',
+ 'summary' => 'Delete a project.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNamespace'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'stream:DeleteVvpNamespace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'DescribeInstances' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2868,141 +971,91 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '103207',
- 'abilityTreeNodes' => [
- 'FEATUREscG9QB5P',
- ],
+ 'abilityTreeNodes' => ['FEATUREscG9QB5P'],
],
'parameters' => [
[
'name' => 'PageIndex',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
+ 'schema' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2', 'title' => ''],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'schema' => ['description' => 'Number of entries per page for paged queries. Maximum: 100. Default: 10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'f-cn-wwo36qj4g06',
- ],
+ 'schema' => ['description' => 'Instance ID.', 'type' => 'string', 'required' => false, 'example' => 'f-cn-wwo36qj4g06', 'title' => ''],
],
[
'name' => 'Region',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-shenzhen',
- ],
+ 'schema' => ['description' => 'Region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen', 'title' => ''],
],
[
'name' => 'ChargeType',
'in' => 'query',
'schema' => [
- 'title' => '付款类型',
- 'description' => '',
+ 'description' => 'Payment type.',
'type' => 'string',
+ 'enum' => ['PRE', 'POST'],
+ 'title' => '',
'required' => false,
'example' => 'PRE',
- 'enum' => [
- 'PRE',
- 'POST',
- ],
],
],
[
'name' => 'Elastic',
'in' => 'query',
- 'schema' => [
- 'title' => '是否是混合计费',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'schema' => ['type' => 'boolean', 'example' => 'true', 'description' => '', 'title' => ''],
],
[
'name' => 'Tags',
'in' => 'query',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'Collection of tags of instances.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'Instance tags.',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ys',
- ],
- 'Key' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'Value' => ['description' => 'Tag value.'."\n"
+ .'Maximum length: 64 Unicode characters.', 'type' => 'string', 'required' => false, 'example' => 'ys', 'title' => ''],
+ 'Key' => ['description' => 'Tag key.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['description' => 'The collection of tags for the instance.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''],
],
[
'name' => 'ArchitectureType',
'in' => 'query',
- 'schema' => [
- 'title' => '架构类型',
- 'type' => 'string',
- 'example' => 'X86',
- ],
+ 'schema' => ['title' => '', 'description' => 'Architecture type', 'type' => 'string', 'example' => 'X86', 'required' => false],
],
[
'name' => 'InstanceName',
'in' => 'query',
'allowEmptyValue' => false,
- 'schema' => [
- 'title' => '实例名称',
- 'type' => 'string',
- 'example' => 'e2e-test',
- ],
+ 'schema' => ['title' => '', 'type' => 'string', 'example' => 'e2e-test', 'description' => ''],
],
[
'name' => 'NamespaceName',
'in' => 'query',
'allowEmptyValue' => false,
- 'schema' => [
- 'title' => 'namespace名称',
- 'type' => 'string',
- 'example' => 'e2e-test-default',
- ],
+ 'schema' => ['title' => '', 'type' => 'string', 'example' => 'e2e-test-default', 'description' => ''],
],
],
'responses' => [
@@ -3010,633 +1063,876 @@
'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',
- ],
+ 'TotalCount' => ['description' => 'Total number of instances.', 'type' => 'integer', 'format' => 'int64', 'example' => '15', 'title' => ''],
+ 'TotalPage' => ['description' => 'Total number of pages.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'PageIndex' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'PageSize' => ['description' => 'Number of instances per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'C8DF2A5B-6FBA-5651-A3D4-960F3664****', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the call succeeded. Valid values:'."\n"
+ ."\n"
+ .'- true: The call succeeded.'."\n"
+ ."\n"
+ .'- false: The call failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
'Instances' => [
- 'description' => '',
+ 'description' => 'Instance details.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'Instance details.',
'type' => 'object',
'properties' => [
- 'ResourceGroupId' => [
- 'type' => 'string',
- ],
- 'MonitorType' => [
- 'type' => 'string',
- ],
+ 'ResourceGroupId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'MonitorType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'HaResourceSpec' => [
+ 'description' => '',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'MemoryGB' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
- 'ResourceCreateTime' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1629879567394',
- ],
- 'Elastic' => [
- 'type' => 'boolean',
- ],
- 'HaZoneId' => [
- 'type' => 'string',
- ],
+ 'ResourceCreateTime' => ['description' => 'Time when the instance was created.', 'type' => 'integer', 'format' => 'int64', 'example' => '1629879567394', 'title' => ''],
+ 'Elastic' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'HaZoneId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'VSwitchInfo' => [
+ 'description' => '',
'type' => 'array',
'items' => [
+ 'description' => '',
'type' => 'object',
'properties' => [
- 'Description' => [
- 'type' => 'string',
- ],
- 'VpcId' => [
- 'type' => 'string',
- ],
- 'ZoneId' => [
- 'type' => 'string',
- ],
- 'VSwitchCidr' => [
- 'type' => 'string',
- ],
- 'VSwitchId' => [
- 'type' => 'string',
- ],
- 'AvailableIpAddressCount' => [
- 'type' => 'string',
- ],
- 'VSwitchName' => [
- 'type' => 'string',
- ],
- 'RegionId' => [
- 'type' => 'string',
- ],
+ 'Description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'VpcId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'ZoneId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'VSwitchCidr' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'VSwitchId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'AvailableIpAddressCount' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'VSwitchName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'RegionId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
- 'Ha' => [
- 'type' => 'boolean',
- ],
+ 'Ha' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
'VpcInfo' => [
+ 'description' => '',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
- 'VpcId' => [
- 'type' => 'string',
- ],
- 'CidrBlock' => [
- 'type' => 'string',
- ],
- 'VpcName' => [
- 'type' => 'string',
- ],
- 'RegionId' => [
- 'type' => 'string',
- ],
+ 'Status' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'Description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'VpcId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'CidrBlock' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'VpcName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'RegionId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
'Tags' => [
- 'title' => '资源列表',
- 'description' => '',
+ 'title' => '',
+ 'description' => 'Tag list.',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'Tag.',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'title' => '标签值',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'test',
- ],
- 'Key' => [
- 'title' => '标签键',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'flink',
- ],
+ 'Value' => ['description' => 'Tag value.', 'type' => 'string', 'title' => '', 'example' => 'test'],
+ 'Key' => ['description' => 'Tag key.', 'type' => 'string', 'title' => '', 'example' => 'flink'],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'example' => '',
],
- 'ArchitectureType' => [
- 'type' => 'string',
- ],
+ 'ArchitectureType' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'ClusterState' => [
+ 'description' => '',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'type' => 'string',
- ],
- 'CreateTimeout' => [
- 'type' => 'boolean',
- ],
+ 'Status' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'CreateTimeout' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
'ClusterStage' => [
+ 'description' => '',
'type' => 'object',
'properties' => [
- 'Status' => [
- 'type' => 'string',
- ],
- 'Message' => [
- 'type' => 'string',
- ],
- 'ClusterId' => [
- 'type' => 'string',
- ],
- 'CurrentStage' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'Status' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'Message' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'ClusterId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'CurrentStage' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
'TotalStageWithWeight' => [
+ 'description' => '',
'type' => 'array',
'items' => [
+ 'description' => '',
'type' => 'object',
'properties' => [
- 'StepIndex' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'StepName' => [
- 'type' => 'string',
- ],
- 'Weight' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'StepIndex' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'StepName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'Weight' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
- 'VpcCidr' => [
- 'type' => 'string',
- ],
- 'ClusterId' => [
- 'type' => 'string',
- ],
- 'SubStatus' => [
- 'type' => 'string',
- ],
- 'Url' => [
- 'type' => 'string',
- ],
+ 'VpcCidr' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'ClusterId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'SubStatus' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'Url' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'UserSlbDto' => [
+ 'description' => '',
'type' => 'object',
'properties' => [
- 'SlbId' => [
- 'type' => 'string',
- ],
- 'SlbIp' => [
- 'type' => 'string',
- ],
- 'ExistSlb' => [
- 'type' => 'boolean',
- ],
+ 'SlbId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'SlbIp' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'ExistSlb' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
'UserSlbListeners' => [
+ 'description' => '',
'type' => 'array',
'items' => [
+ 'description' => '',
'type' => 'object',
'properties' => [
- 'ListenersStatus' => [
- 'type' => 'string',
- ],
- 'Port' => [
- 'type' => 'string',
- ],
+ 'ListenersStatus' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'Port' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
- 'SlbStatus' => [
- 'type' => 'string',
- ],
+ 'SlbStatus' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
- 'ZoneId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'cn-beijing-g',
- ],
+ 'ZoneId' => ['description' => 'Zone ID of the instance.', 'type' => 'string', 'example' => 'cn-beijing-g', 'title' => ''],
'VSwitchIds' => [
- 'description' => '',
+ 'description' => 'List of virtual switch IDs.',
'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',
+ 'items' => ['description' => 'Virtual switch ID.', 'type' => 'string', 'example' => 'vsw-2ze6yqnc19*****psjj0j', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
],
+ 'InstanceId' => ['description' => 'Instance ID.', 'type' => 'string', 'example' => 'f-cn-zvp2q0z****', 'title' => ''],
+ 'ResourceExpiredTime' => ['description' => 'Expiration time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1637337600000', 'title' => ''],
+ 'AskClusterId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'ResourceSpec' => [
- 'description' => '',
+ 'description' => 'Resource specification information.',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '40',
- ],
+ 'Cpu' => ['description' => 'Number of CPUs.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'MemoryGB' => ['description' => 'Amount of memory, in GB.', 'type' => 'integer', 'format' => 'int32', 'example' => '40', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
'HaVSwitchInfo' => [
+ 'description' => '',
'type' => 'array',
'items' => [
+ 'description' => '',
'type' => 'object',
'properties' => [
- 'Description' => [
- 'type' => 'string',
- ],
- 'VpcId' => [
- 'type' => 'string',
- ],
- 'ZoneId' => [
- 'type' => 'string',
- ],
- 'VSwitchCidr' => [
- 'type' => 'string',
- ],
- 'VSwitchId' => [
- 'type' => 'string',
- ],
- 'AvailableIpAddressCount' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'VSwitchName' => [
- 'type' => 'string',
- ],
- 'RegionId' => [
- 'type' => 'string',
- ],
+ 'Description' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'VpcId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'ZoneId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'VSwitchCidr' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'VSwitchId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'AvailableIpAddressCount' => ['type' => 'integer', 'format' => 'int64', 'description' => '', 'title' => '', 'example' => ''],
+ 'VSwitchName' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'RegionId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
'HaVSwitchIds' => [
+ 'description' => '',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'title' => '',
+ 'example' => '',
],
'ClusterUsedStorage' => [
+ 'description' => '',
'type' => 'object',
'properties' => [
- 'ClusterId' => [
- 'type' => 'string',
- ],
- 'UsedStorage' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
+ 'ClusterId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'UsedStorage' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
- 'InstanceName' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'vvp1',
- ],
+ 'InstanceName' => ['description' => 'Workspace name.', 'type' => 'string', 'example' => 'vvp1', 'title' => ''],
'HostAliases' => [
+ 'description' => '',
'type' => 'array',
'items' => [
+ 'description' => '',
'type' => 'object',
'properties' => [
- 'Ip' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'Ip' => ['type' => 'string', 'required' => true, 'description' => '', 'title' => '', 'example' => ''],
'HostNames' => [
+ 'description' => '',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
'required' => true,
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
'required' => true,
+ 'title' => '',
+ 'example' => '',
],
- 'Uid' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => '1838996687368452',
- ],
+ 'Uid' => ['description' => 'User ID of the instance owner.', 'type' => 'string', 'example' => '183899668736****', 'title' => ''],
'ClusterUsedResources' => [
+ 'description' => '',
'type' => 'object',
'properties' => [
- 'ElasticUsedMemory' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'ClusterId' => [
- 'type' => 'string',
- ],
- 'ElasticUsedCpu' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'UsedCpu' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'GuaranteedUsedResource' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'GuaranteedUsedCpu' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'HaUsedCpu' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'UsedMemory' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'UsedResource' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'Ha' => [
- 'type' => 'boolean',
- ],
- 'HaUsedMemory' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'HaUsedResource' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'ElasticUsedResource' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
- 'GuaranteedUsedMemory' => [
- 'type' => 'number',
- 'format' => 'float',
- ],
+ 'ElasticUsedMemory' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
+ 'ClusterId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'ElasticUsedCpu' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
+ 'UsedCpu' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
+ 'GuaranteedUsedResource' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
+ 'GuaranteedUsedCpu' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
+ 'HaUsedCpu' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
+ 'UsedMemory' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
+ 'UsedResource' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
+ 'Ha' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'HaUsedMemory' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
+ 'HaUsedResource' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
+ 'ElasticUsedResource' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
+ 'GuaranteedUsedMemory' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
'ElasticResourceSpec' => [
+ 'description' => '',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'MemoryGB' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
'Storage' => [
- 'description' => '',
+ 'description' => 'Storage information.',
'type' => 'object',
'properties' => [
- 'FullyManaged' => [
- 'type' => 'boolean',
- ],
- 'SupportMigrationProgressDetection' => [
- 'type' => 'boolean',
- ],
- 'OrderState' => [
- 'type' => 'string',
- ],
- 'SupportCreateFullyManagedStorage' => [
- 'type' => 'boolean',
- ],
+ 'FullyManaged' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'SupportMigrationProgressDetection' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'OrderState' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'SupportCreateFullyManagedStorage' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
'Oss' => [
- 'description' => '',
+ 'description' => 'OSS storage information.',
'type' => 'object',
'properties' => [
- 'Bucket' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'oss_flink',
- ],
+ 'Bucket' => ['description' => 'OSS Bucket name.', 'type' => 'string', 'example' => 'oss_flink', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
- 'VpcId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'vpc-2ze9*******nxfmfcdi',
- ],
- 'ResourceId' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'b3690a1655da47',
- ],
- 'ChargeType' => [
+ 'VpcId' => ['description' => 'virtual private cloud (VPC) ID.', 'type' => 'string', 'example' => 'vpc-2ze9*******nxfmfcdi', 'title' => ''],
+ 'ResourceId' => ['description' => 'Resource ID.', 'type' => 'string', 'example' => 'b3690a1655****', 'title' => ''],
+ 'ChargeType' => ['description' => 'Billing method. Valid values:'."\n"
+ ."\n"
+ .'- POST: pay-as-you-go'."\n"
+ ."\n"
+ .'- PRE: subscription', 'type' => 'string', 'example' => 'PRE', 'title' => ''],
+ 'Ansm' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'Region' => ['description' => 'Region where the instance resides.', 'type' => 'string', 'example' => 'cn-beijing', 'title' => ''],
+ 'ElasticOrderState' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'ElasticInstanceId' => ['title' => '', 'type' => 'string', 'example' => 'f-cn-e3afbd321', 'description' => ''],
+ 'OssInfo' => [
'description' => '',
- 'type' => 'string',
- 'example' => 'PRE',
- ],
- 'Ansm' => [
- 'type' => 'boolean',
+ 'type' => 'object',
+ 'properties' => [
+ 'Endpoint' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'AccessId' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'Bucket' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'BucketVersioningStatus' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ 'AccessKey' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'Region' => [
+ 'OrderState' => ['description' => 'Order status. Valid values:'."\n"
+ ."\n"
+ .'- NOT\\_INIT: The order is placed, but components are not deployed.'."\n"
+ ."\n"
+ .'- NORMAL: Normal.'."\n"
+ ."\n"
+ .'- CEASE: Expired.'."\n"
+ ."\n"
+ .'- RELEASE: Released due to expiration.', 'type' => 'string', 'example' => 'NORMAL', 'title' => ''],
+ 'ClusterStatus' => ['description' => 'Cluster status. Valid values:'."\n"
+ ."\n"
+ .'- CREATING: Creating.'."\n"
+ ."\n"
+ .'- RUNNING: Running.'."\n"
+ ."\n"
+ .'- DISABLE: Disabled.'."\n"
+ ."\n"
+ .'- DELETING: Deleting.'."\n"
+ ."\n"
+ .'- DELETED: Deleted.', 'type' => 'string', 'example' => 'RUNNING', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'View purchased fully managed Flink workspaces',
+ 'summary' => 'Queries the details of one or more fully managed Flink workspaces.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstances'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'stream:DescribeVvpInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 15,\\n \\"TotalPage\\": 2,\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"C8DF2A5B-6FBA-5651-A3D4-960F3664****\\",\\n \\"Success\\": true,\\n \\"Instances\\": [\\n {\\n \\"ResourceGroupId\\": \\"\\",\\n \\"MonitorType\\": \\"\\",\\n \\"HaResourceSpec\\": {\\n \\"Cpu\\": 0,\\n \\"MemoryGB\\": 0\\n },\\n \\"ResourceCreateTime\\": 1629879567394,\\n \\"Elastic\\": false,\\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\\": false,\\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\\": false,\\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\\": false,\\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\\": false,\\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\\": false,\\n \\"SupportMigrationProgressDetection\\": false,\\n \\"OrderState\\": \\"\\",\\n \\"SupportCreateFullyManagedStorage\\": false,\\n \\"Oss\\": {\\n \\"Bucket\\": \\"oss_flink\\"\\n }\\n },\\n \\"VpcId\\": \\"vpc-2ze9*******nxfmfcdi\\",\\n \\"ResourceId\\": \\"b3690a1655****\\",\\n \\"ChargeType\\": \\"PRE\\",\\n \\"Ansm\\": false,\\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"}]',
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
+ ],
+ 'translator' => 'machine',
+ ],
+ 'DescribeNamespaces' => [
+ 'summary' => 'Call DescribeNamespaces to retrieve project information for an instance.',
+ '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' => '', 'description' => 'Region.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing'],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Order instance ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'f-cn-wwo36qj4g06'],
+ ],
+ [
+ 'name' => 'Namespace',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The name of the project.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'di-590843445844225'],
+ ],
+ [
+ 'name' => 'Tags',
+ 'in' => 'query',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Tag list.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Tag.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => ['description' => 'Tag value.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
+ 'Key' => ['description' => 'Tag key.', 'type' => 'string', 'required' => false, 'example' => 'Flink', 'title' => ''],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'PageIndex',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '10'],
+ ],
+ [
+ 'name' => 'Ha',
+ 'in' => 'query',
+ 'allowEmptyValue' => true,
+ 'schema' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['description' => 'Indicates whether the request succeeded. Valid values:'."\n"
+ ."\n"
+ .'- true: The request succeeded.'."\n"
+ ."\n"
+ .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'TotalCount' => ['description' => 'Total number of entries.', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => ''],
+ 'TotalPage' => ['description' => 'Total number of pages.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'PageIndex' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'PageSize' => ['description' => 'Number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'Namespaces' => [
+ 'description' => 'Project list.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Project information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Status' => ['description' => 'Project status. Valid values:'."\n"
+ ."\n"
+ .'- CREATING: Creating.'."\n"
+ ."\n"
+ .'- DELETING: Deleting.'."\n"
+ ."\n"
+ .'- MODIFYING: Modifying resource specifications.'."\n"
+ ."\n"
+ .'- SUCCESS: The previous operation succeeded.'."\n"
+ ."\n"
+ .'- FAILED: The previous operation failed.', 'type' => 'string', 'example' => 'SUCCESS', 'title' => ''],
+ 'GmtCreate' => ['description' => 'Creation time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1629879567394', 'title' => ''],
+ 'ElasticResourceSpec' => [
'description' => '',
- 'type' => 'string',
- 'example' => 'cn-beijing',
- ],
- 'ElasticOrderState' => [
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'ElasticInstanceId' => [
- 'title' => '弹性订单id',
- 'type' => 'string',
- 'example' => 'f-cn-e3afbd321',
+ 'GmtModified' => ['description' => 'Modification time.', 'type' => 'integer', 'format' => 'int64', 'example' => '1629879567394', 'title' => ''],
+ 'ResourceSpec' => [
+ 'description' => 'Resource specification information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => 'Number of CPUs.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'MemoryGB' => ['description' => 'Memory size, in GB.', 'type' => 'integer', 'format' => 'int32', 'example' => '40', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'OssInfo' => [
+ 'ResourceUsed' => [
+ 'description' => 'Resources used.',
'type' => 'object',
'properties' => [
- 'Endpoint' => [
- 'type' => 'string',
- ],
- 'AccessId' => [
- 'type' => 'string',
- ],
- 'Bucket' => [
- 'type' => 'string',
- ],
- 'BucketVersioningStatus' => [
- 'type' => 'string',
- ],
- 'AccessKey' => [
- 'type' => 'string',
- ],
+ 'Cu' => ['type' => 'number', 'format' => 'float', 'description' => '', 'title' => '', 'example' => ''],
+ 'Cpu' => ['description' => 'CPU units used.', 'type' => 'number', 'format' => 'float', 'example' => '2', 'title' => ''],
+ 'MemoryGB' => ['description' => 'Memory used, in GB.', 'type' => 'number', 'format' => 'float', 'example' => '4', 'title' => ''],
],
+ 'title' => '',
+ 'example' => '',
],
- 'OrderState' => [
+ 'Ha' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ 'GuaranteedResourceSpec' => [
'description' => '',
- 'type' => 'string',
- 'example' => 'NORMAL',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'ClusterStatus' => [
- 'description' => '',
- 'type' => 'string',
- 'example' => 'RUNNING',
+ 'Namespace' => ['description' => 'The name of the project.', 'type' => 'string', 'example' => 'ns-1', 'title' => ''],
+ 'Tags' => [
+ 'title' => '',
+ 'description' => 'Tag list.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Tag.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Value' => ['description' => 'Tag value.', 'type' => 'string', 'title' => '', 'example' => 'test'],
+ 'Key' => ['description' => 'Tag key.', 'type' => 'string', 'title' => '', 'example' => 'flink'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
],
],
+ 'title' => '',
+ 'example' => '',
],
+ 'title' => '',
+ 'example' => '',
],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
- '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',
+ 'title' => 'View project space details ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNamespaces'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'stream:DescribeVvpNamespaces',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 5,\\n \\"TotalPage\\": 2,\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"Namespaces\\": [\\n {\\n \\"Status\\": \\"SUCCESS\\",\\n \\"GmtCreate\\": 1629879567394,\\n \\"ElasticResourceSpec\\": {\\n \\"Cpu\\": 0,\\n \\"MemoryGB\\": 0\\n },\\n \\"GmtModified\\": 1629879567394,\\n \\"ResourceSpec\\": {\\n \\"Cpu\\": 10,\\n \\"MemoryGB\\": 40\\n },\\n \\"ResourceUsed\\": {\\n \\"Cu\\": 0,\\n \\"Cpu\\": 2,\\n \\"MemoryGB\\": 4\\n },\\n \\"Ha\\": false,\\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"}]',
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
],
+ 'translator' => 'machine',
+ ],
+ 'DescribeSupportedRegions' => [
+ 'summary' => 'Retrieves a list of regions where you can purchase services.',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '103202',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
+ 'abilityTreeCode' => '104070',
+ 'abilityTreeNodes' => ['FEATUREscG9QB5P'],
+ 'tenantRelevance' => 'publicInformation',
+ ],
+ 'parameters' => [],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => 'B21DC47E-8928-199A-9F32-36D45E4693B4'],
+ 'Success' => ['description' => 'Indicates whether the call succeeded. Valid values:'."\n"
+ ."\n"
+ .'- true: The call succeeded.'."\n"
+ ."\n"
+ .'- false: The call failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'TotalCount' => ['description' => 'The number of regions returned.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''],
+ 'TotalPage' => ['description' => 'The total number of pages.', 'type' => 'integer', 'format' => 'int32', 'example' => '2', 'title' => ''],
+ 'PageIndex' => ['description' => 'The current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'PageSize' => ['description' => 'The number of regions per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'Regions' => [
+ 'description' => 'A list of region information.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Region information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['description' => 'A description.', 'type' => 'string', 'example' => '“”', 'title' => ''],
+ 'Extra' => ['title' => '', 'description' => 'An extension field.', 'type' => 'string', 'example' => '“”'],
+ 'RegionName' => ['description' => 'The region name.', 'type' => 'string', 'example' => '华北2(北京)', 'title' => ''],
+ 'Region' => ['title' => '', 'description' => 'The region ID.', 'type' => 'string', 'example' => 'cn-beijing'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Obtain the Regions where fully managed Flink is supported for purchase',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSupportedRegions'],
+ ],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B21DC47E-8928-199A-9F32-36D45E4693B4\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 10,\\n \\"TotalPage\\": 2,\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"Regions\\": [\\n {\\n \\"Description\\": \\"“”\\",\\n \\"Extra\\": \\"“”\\",\\n \\"RegionName\\": \\"华北2(北京)\\",\\n \\"Region\\": \\"cn-beijing\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'DescribeSupportedZones' => [
+ 'summary' => 'Retrieves a list of zones where you can purchase resources.',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
],
],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '104071',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
+ ],
'parameters' => [
[
'name' => 'Region',
- 'in' => 'formData',
+ 'in' => 'query',
+ 'schema' => ['title' => '', 'description' => 'Region ID.', 'type' => 'string', 'example' => 'cn-beijing', 'required' => false],
+ ],
+ [
+ 'name' => 'ArchitectureType',
+ 'in' => 'query',
'schema' => [
- 'description' => '',
+ 'description' => 'Processor architecture.',
+ 'enumValueTitles' => ['X86' => 'X86', 'ARM' => 'ARM'],
'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
+ 'required' => false,
+ 'example' => 'X86',
+ 'title' => '',
],
],
- [
- 'name' => 'InstanceId',
- 'in' => 'formData',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => '23A9C718-DDAB-1696-B025-18FBC830F7C5'],
+ 'Success' => ['description' => 'Indicates whether the call succeeded.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'TotalCount' => ['description' => 'Number of zones.', 'type' => 'integer', 'format' => 'int64', 'example' => '8', 'title' => ''],
+ 'TotalPage' => ['description' => 'Total number of pages.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'PageIndex' => ['description' => 'Current page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => ''],
+ 'PageSize' => ['description' => 'Number of entries per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''],
+ 'ZoneIds' => [
+ 'description' => 'Zone information.',
+ 'type' => 'array',
+ 'items' => ['description' => 'Zone ID.', 'type' => 'string', 'example' => 'cn-beijing-g', 'title' => ''],
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Obtain zones supported by fully managed Flink',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSupportedZones'],
+ ],
+ ],
+ 'ramActions' => [],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"23A9C718-DDAB-1696-B025-18FBC830F7C5\\",\\n \\"Success\\": true,\\n \\"TotalCount\\": 8,\\n \\"TotalPage\\": 1,\\n \\"PageIndex\\": 1,\\n \\"PageSize\\": 10,\\n \\"ZoneIds\\": [\\n \\"cn-beijing-g\\"\\n ]\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'ListTagResources' => [
+ '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' => ['description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => '27AE00'],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-beijing'],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'The resource type. Set the value to vvpinstance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'vvpinstance'],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'The IDs of the order instances.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The ID of the order instance.', 'type' => 'string', 'required' => false, 'example' => 'f-cn-7pp2m9w7s06', 'title' => ''],
+ 'required' => false,
+ 'maxItems' => 51,
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'A list of tags. You can specify up to 20 tags.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'An array of tag key-value pairs.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Key' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'test'],
+ 'Value' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'tag'],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'required' => false,
+ 'maxItems' => 21,
+ 'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => '',
+ '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',
+ 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n"
+ ."\n"
+ .'- true: The request was successful.'."\n"
+ ."\n"
+ .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '0E5D17CE-BD83-5DC9-8CD2-3C40C2F7A135', 'title' => ''],
+ 'TagReponseId' => ['description' => 'The tag request ID.', 'type' => 'string', 'example' => '87AE00', 'title' => ''],
+ 'NextToken' => ['description' => 'The token that is used to retrieve the next page of results.', 'type' => 'string', 'example' => '27AE00', 'title' => ''],
+ 'TagResources' => [
+ 'title' => '',
+ 'description' => 'The list of tags attached to the resources.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The tag resource group.',
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceType' => ['description' => 'The resource type. The value is vvpinstance.', 'type' => 'string', 'title' => '', 'example' => 'vvpinstance'],
+ 'TagValue' => ['description' => 'The tag value.', 'type' => 'string', 'title' => '', 'example' => 'tag'],
+ 'ResourceId' => ['description' => 'The ID of the order instance.', 'type' => 'string', 'title' => '', 'example' => 'f-cn-tyts'],
+ 'TagKey' => ['description' => 'The tag key.', 'type' => 'string', 'title' => '', 'example' => 'test'],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- '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',
+ 'title' => 'View the tag list of a fully managed Flink workspace',
+ 'summary' => 'Call the ListTagResources operation to query resource tags. You can query for a tag key by its value, or a tag value by its key. You can also retrieve information about all tags used in your fully managed Flink workspace.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'stream:QueryTagVvpResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Success\\": true,\\n \\"RequestId\\": \\"0E5D17CE-BD83-5DC9-8CD2-3C40C2F7A135\\",\\n \\"TagReponseId\\": \\"87AE00\\",\\n \\"NextToken\\": \\"27AE00\\",\\n \\"TagResources\\": [\\n {\\n \\"ResourceType\\": \\"vvpinstance\\",\\n \\"TagValue\\": \\"tag\\",\\n \\"ResourceId\\": \\"f-cn-tyts\\",\\n \\"TagKey\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'ModifyElasticResourceSpec' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3648,170 +1944,309 @@
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '104041',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeCode' => '248562',
+ 'abilityTreeNodes' => ['FEATUREscTKD5I3'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['description' => 'Region.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
- ],
+ 'schema' => ['description' => 'Order instance ID.', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverless_public_cn-7e22ae****', 'title' => ''],
],
[
- 'name' => 'PricingCycle',
+ 'name' => 'ResourceSpec',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '订购周期',
- 'description' => '',
- 'type' => 'string',
+ 'description' => 'Maximum elastic resource specifications for pay-as-you-go.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => 'Number of CPUs.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''],
+ 'MemoryGB' => ['description' => 'Memory size.'."\n"
+ ."\n"
+ .'> Memory size must be 4 times the number of CPUs.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '40', 'title' => ''],
+ ],
'required' => true,
- 'example' => 'Month',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => '',
+ 'description' => 'Response structure.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => 'B21DC47E-8928-199A-9F32-36D45E4****'],
+ 'OrderId' => ['description' => 'Order ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '21147322832****'],
+ 'Success' => ['description' => 'Is successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Modify the Pay-as-you-go Resource Limit for a Hybrid Billing Instance',
+ 'summary' => 'For instances with hybrid billing, you can modify the maximum elastic resources available for the pay-as-you-go portion.',
+ 'description' => 'Before using this API, understand the [billing methods](https://help.aliyun.com/zh/flink/user-guide/reconfigure-resources?spm=a2c4g.11186623.0.0.6ebd18ea0MCC3t#task-2507532) and pricing of real-time computing Flink.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyElasticResourceSpec'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpInstanceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B21DC47E-8928-199A-9F32-36D45E4****\\",\\n \\"OrderId\\": 0,\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
+ ],
+ 'translator' => 'machine',
+ ],
+ 'ModifyInstanceSpec' => [
+ 'summary' => 'Call this API to scale a workspace up or down.',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'Duration',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '200890',
+ 'abilityTreeNodes' => ['FEATUREscTKD5I3'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Region',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceSpec',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '订购周期数量',
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => 'The resource specifications.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => 'The number of vCores.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''],
+ 'MemoryGB' => ['description' => 'The memory size.'."\n"
+ ."\n"
+ .'> The memory size must be four times the number of vCores.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '40', 'title' => ''],
+ ],
'required' => true,
- 'example' => '1',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'IsAutoRenew',
+ 'name' => 'Ha',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Specifies whether the workspace has zone-redundant high availability (HA) resources.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
+ ],
+ [
+ 'name' => 'HaVSwitchIds',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '是否自动续费',
- 'description' => '',
- 'type' => 'boolean',
- 'required' => true,
- 'example' => 'true',
+ 'description' => 'The vSwitch IDs for the secondary zone in the zone-redundant HA configuration.',
+ 'type' => 'array',
+ 'items' => ['description' => 'A vSwitch ID for the secondary zone.', 'type' => 'string', 'required' => false, 'example' => '[\\"vsw-j6cft0ogy3agwdi3w8h21\\"]', 'title' => ''],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'NamespaceResourceSpecs',
+ 'name' => 'HaResourceSpec',
'in' => 'formData',
'style' => 'json',
'schema' => [
- 'title' => '项目空间资源规格。',
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'ResourceSpec' => [
- 'title' => '资源规格。',
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'Cpu' => [
- 'title' => 'cpu数量。',
- 'description' => '',
- '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,
+ 'description' => 'The resource specifications for the zone-redundant HA configuration.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => 'The number of vCores.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10', 'title' => ''],
+ 'MemoryGB' => ['description' => 'The memory size.'."\n"
+ ."\n"
+ .'> The memory size must be four times the number of vCores.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '40', 'title' => ''],
],
- 'required' => true,
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'UsePromotionCode',
'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'PromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'type' => 'boolean',
+ 'title' => '',
+ 'description' => 'The response.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'OrderId' => ['description' => 'The order ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '211473228320700'],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ ],
+ 'example' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Modify Workspace Resources',
+ 'description' => 'Before you use this API, review the [billing methods](https://help.aliyun.com/zh/flink/user-guide/reconfigure-resources?spm=a2c4g.11186623.0.0.6ebd18ea0MCC3t#task-2507532) and pricing for Realtime Compute for Apache Flink.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PromotionCode',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpInstanceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"OrderId\\": 211473228320700,\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'ModifyInstanceVswitch' => [
+ 'summary' => 'Modifies the virtual switches that a Flink workspace can use.',
+ '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' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverless_public_cn-7e22ae****', 'title' => ''],
+ ],
+ [
+ 'name' => 'VSwitchIds',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'type' => 'string',
+ 'description' => 'The IDs of the virtual switches to use.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The virtual switch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-m5esz02px6qxiu28x****', 'title' => ''],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'HaVSwitchIds',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'The vSwitch group for the secondary zone. This parameter is required if zone-redundant high availability (HA) is enabled for your workspace.',
+ 'type' => 'array',
+ 'items' => ['description' => 'The vSwitch group for the secondary zone.', 'type' => 'string', 'required' => false, 'example' => '[\\"vsw-2ze78bg1iewk***dylxi\\"]', 'title' => ''],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
+ 'title' => '',
+ 'description' => 'The response data.',
'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',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '67F33190-946B-1105-B6A1-E2DF0426****'],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'Result' => ['description' => 'The result of the request.', 'type' => 'string', 'example' => 'F2C5B6A8-DD04-51F5-AAD5-BA2FE6FD****', 'title' => ''],
],
+ 'example' => '',
],
],
],
- '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',
+ 'staticInfo' => ['noSubstitutionReason' => '暂无替代API,请关注后续API最新发布。', 'returnType' => 'synchronous'],
+ 'title' => 'Modify the vSwitch of an instance',
+ 'description' => 'Before you use this API, make sure you understand the limits on [modifying a virtual switch](https://help.aliyun.com/en/flink/user-guide/modify-a-vswitch?scm=20140722.S_help%40%40%E6%96%87%E6%A1%A3%40%40169603.S_BB1%40bl%2BBB2%40bl%2BRQW%40ag0%2Bhot%2Bos0.ID_169603-RL_%E8%99%9A%E6%8B%9F%E4%BA%A4%E6%8D%A2%E6%9C%BA-LOC_doc%7EUND%7Eab-OR_ser-PAR1_2102029b17409830823921371df365-V_4-P0_0-P1_0\\&spm=a2c4g.11174283.help-search.i0) for Real-Time Compute for Flink.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceVswitch'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyInstanceVswitch',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426****\\",\\n \\"Success\\": true,\\n \\"Result\\": \\"F2C5B6A8-DD04-51F5-AAD5-BA2FE6FD****\\"\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'ModifyNamespaceSpecV2' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3824,65 +2259,40 @@
'riskType' => 'high',
'chargeType' => 'free',
'abilityTreeCode' => '246122',
- 'abilityTreeNodes' => [
- 'FEATUREscG9QB5P',
- ],
+ 'abilityTreeNodes' => ['FEATUREscG9QB5P'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['description' => 'The region.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
- ],
+ 'schema' => ['description' => 'Instance ID of the order.', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj****', 'title' => ''],
],
[
'name' => 'Namespace',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'di-593439443804417',
- ],
+ 'schema' => ['description' => 'Project name.', 'type' => 'string', 'required' => true, 'example' => 'di-5934394438****', 'title' => ''],
],
[
'name' => 'GuaranteedResourceSpec',
'in' => 'formData',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'Size of subscription resources allocated to the project.',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
- 'MemoryGB' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '40',
- ],
+ 'Cpu' => ['description' => 'Number of CPUs.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''],
+ 'MemoryGB' => ['description' => 'Memory size. Unit: GB.'."\n"
+ ."\n"
+ .'> Memory size must be 4 times the CPU count.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '40', 'title' => ''],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
@@ -3890,368 +2300,201 @@
'in' => 'formData',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'Upper limit of pay-as-you-go resources allocated to the project.',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '6',
- ],
- 'MemoryGB' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '52',
- ],
+ 'Cpu' => ['description' => 'Number of CPUs.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '6', 'title' => ''],
+ 'MemoryGB' => ['description' => 'Memory size. Unit: GB.'."\n"
+ ."\n"
+ .'> Memory size must be 4 times the CPU count.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '52', 'title' => ''],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
'name' => 'Ha',
'in' => 'query',
- 'schema' => [
- 'description' => '',
- 'type' => 'boolean',
- 'required' => true,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'Specifies whether the project is configured for high availability (HA) within the same region.', 'type' => 'boolean', 'required' => true, 'example' => 'false', 'title' => ''],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => '',
+ 'title' => '',
+ 'description' => 'Response data.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '',
- 'type' => 'string',
- 'example' => '23A9C718-DDAB-1696-B025-18FBC830F7C5',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'title' => '', 'example' => '23A9C718-DDAB-1696-B025-18FBC83****'],
+ 'Success' => ['description' => 'Indicates whether the operation succeeded.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
],
+ 'example' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Modify the resource configuration of a project',
+ 'summary' => 'Modify resource configurations for projects in pay-as-you-go, subscription, and hybrid billing workspaces.',
+ 'description' => '> When you call this API, note the following: The order status must be Normal (OrderType=NORMAL). When you downgrade, the specified resource quota cannot be less than the quota already in use. For details about project resource specifications before and after the change, see [DescribeNamespaces](https://help.aliyun.com/document_detail/323441.html).',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNamespaceSpecV2'],
+ ],
],
- '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',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpNamespaceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpNamespace', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}/vvpnamespace/{#Namespace}'],
+ ],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"23A9C718-DDAB-1696-B025-18FBC83****\\",\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
],
+ 'translator' => 'machine',
+ ],
+ 'ModifyPrepayInstanceSpec' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
+ 'operationType' => 'write',
+ 'deprecated' => true,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '103229',
- 'abilityTreeNodes' => [
- 'FEATUREscG9QB5P',
- ],
+ 'abilityTreeCode' => '103205',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'Region',
- 'in' => 'query',
- 'schema' => [
- 'title' => 'regionId',
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The region.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''],
],
[
'name' => 'InstanceId',
- 'in' => 'query',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The ID of the subscription instance.', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceSpec',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '实例id',
- 'description' => '',
- 'type' => 'string',
+ 'description' => 'The resource specifications.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => 'The number of CPUs.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
+ 'MemoryGB' => ['description' => 'The memory size in GB.'."\n"
+ ."\n"
+ .'> The memory size must be four times the number of CPUs.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '4', 'title' => ''],
+ ],
'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'Namespace',
- 'in' => 'query',
- 'schema' => [
- 'title' => '命名空间名称',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'di-590843445844225',
- ],
+ 'name' => 'Ha',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'default' => 'false', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
],
[
- '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' => 'HaZoneId',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
],
[
- 'name' => 'PageIndex',
- 'in' => 'query',
+ 'name' => 'HaVSwitchIds',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '当前页数',
'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
'required' => false,
- 'example' => '1',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'PageSize',
- 'in' => 'query',
+ 'name' => 'HaResourceSpec',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '每页大小',
'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ ],
'required' => false,
- 'example' => '10',
- ],
- ],
- [
- 'name' => 'Ha',
- 'in' => 'query',
- 'allowEmptyValue' => true,
- 'schema' => [
- 'type' => 'boolean',
+ 'title' => '',
+ 'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => '',
+ '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',
- ],
- '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',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'OrderId' => ['description' => 'The order ID.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '210406354690749'],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'substitutions' => ['foasconsole::2021-10-28::ModifyInstanceSpec'],
+ ],
+ 'title' => 'Modify workspace computing resources',
+ 'summary' => 'Modifies the compute resource specifications for a subscription Flink managed instance. If the new specifications are smaller than the current ones, the instance is scaled in. If the new specifications are larger, the instance is scaled out.',
+ 'description' => '**Before you use this operation, make sure you fully understand the billing methods and [pricing](https://help.aliyun.com/zh/flink/product-overview/subscription) of fully managed Flink.**',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPrepayInstanceSpec'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpPrepayInstanceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"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',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"OrderId\\": 210406354690749,\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'translator' => 'machine',
],
'ModifyPrepayNamespaceSpec' => [
- 'summary' => 'Modifies the resource configurations of a namespace in a subscription workspace.',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => 'Modifies the specifications for a project in a subscription instance.',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4264,65 +2507,40 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '103228',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-shenzhen',
- ],
+ 'schema' => ['description' => 'The region.', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
- ],
+ 'schema' => ['description' => 'The ID of the subscription instance.', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06', 'title' => ''],
],
[
'name' => 'Namespace',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'di-593440219799842',
- ],
+ 'schema' => ['description' => 'The project name.', 'type' => 'string', 'required' => true, 'example' => 'di-593440219799842', 'title' => ''],
],
[
'name' => 'ResourceSpec',
'in' => 'formData',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'The resource details of the project.',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- 'MemoryGB' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '4',
- ],
+ 'Cpu' => ['description' => 'The number of CPUs.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
+ 'MemoryGB' => ['description' => 'The memory size in GB.'."\n"
+ ."\n"
+ .'> The memory size must be four times the number of CPUs.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '4', 'title' => ''],
],
'required' => true,
+ 'title' => '',
+ 'example' => '',
],
],
],
@@ -4331,39 +2549,49 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'Success' => ['description' => 'Indicates whether the request was successful. Valid values:'."\n"
+ ."\n"
+ .'- true: The request was successful.'."\n"
+ ."\n"
+ .'- false: The request failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
],
],
],
'staticInfo' => [
- 'substitutions' => [
- 'foasconsole::2021-10-28::ModifyNamespaceSpec',
+ 'substitutions' => ['foasconsole::2021-10-28::ModifyNamespaceSpec'],
+ ],
+ 'title' => 'Modify project space resources',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPrepayNamespaceSpec'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpPrepayNamespaceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true\\n}","type":"json"}]',
- 'title' => 'ModifyPrepayNamespaceSpec',
+ 'translator' => 'machine',
],
- 'DeleteNamespace' => [
- 'summary' => 'Deletes a namespace.',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'QueryConvertInstancePrice' => [
+ 'summary' => 'Queries the price for converting a pay-as-you-go instance to a subscription.',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4372,124 +2600,390 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '103227',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeCode' => '104063',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''],
],
[
'name' => 'InstanceId',
'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
- ],
+ 'schema' => ['description' => 'The instance ID of the order.', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06', 'title' => ''],
],
[
- 'name' => 'Namespace',
+ 'name' => 'PricingCycle',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The billing cycle. Valid values: Year and Month.', 'type' => 'string', 'required' => true, 'example' => 'Month', 'title' => ''],
+ ],
+ [
+ 'name' => 'Duration',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The number of billing cycles.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'IsAutoRenew',
'in' => 'formData',
+ 'schema' => ['description' => 'Whether to enable auto-renewal.', 'type' => 'boolean', 'required' => true, 'example' => 'true', 'title' => ''],
+ ],
+ [
+ 'name' => 'NamespaceResourceSpecs',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'description' => '',
- 'type' => 'string',
+ 'description' => 'Project resource specifications.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ResourceSpec' => [
+ 'description' => 'Project resource specifications.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => 'The number of CPU cores.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '6', 'title' => ''],
+ 'MemoryGB' => ['description' => 'Memory size in GB.'."\n"
+ ."\n"
+ .'> The memory size must be four times the number of CPU cores.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '24', 'title' => ''],
+ ],
+ 'required' => true,
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Namespace' => ['description' => 'The project name.', 'type' => 'string', 'required' => true, 'example' => 'lm-test-default', 'title' => ''],
+ ],
+ 'required' => true,
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
'required' => true,
- 'example' => 'di-593439443804417',
+ 'title' => '',
+ 'example' => '',
],
],
+ [
+ 'name' => 'UsePromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'PromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => '',
+ 'description' => 'Response schema.',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '',
- 'type' => 'string',
- 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51',
- ],
- 'Success' => [
- 'title' => '是否成功',
- 'description' => '',
- 'type' => 'boolean',
- 'example' => '是否成功',
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request succeeded.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ 'PriceInfo' => [
+ 'title' => '',
+ 'description' => 'Pricing information, including price and discount rules.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Currency' => ['description' => 'The currency unit.', 'type' => 'string', 'example' => 'CNY', 'title' => ''],
+ 'DiscountAmount' => ['description' => 'The discount amount.', 'type' => 'number', 'format' => 'float', 'example' => '655.2', 'title' => ''],
+ 'OriginalAmount' => ['description' => 'The original price.', 'type' => 'number', 'format' => 'float', 'example' => '4368', 'title' => ''],
+ 'TradeAmount' => ['description' => 'The final price after subtracting the discount from the original price.', 'type' => 'number', 'format' => 'float', 'example' => '3712.8', 'title' => ''],
+ 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'ORDER.INST_HAS_UNPAID_ORDER', 'title' => ''],
+ 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => '存在未支付订单,请先支付或取消原有订单', 'title' => ''],
+ 'OptionalPromotions' => [
+ 'description' => 'Coupon information.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'PromotionName' => ['description' => 'The coupon name.', 'type' => 'string', 'example' => '¥1,391.5 优惠券', 'title' => ''],
+ 'PromotionDesc' => ['description' => 'The coupon description.', 'type' => 'string', 'example' => '¥1,391.5 优惠券(有效期至 03/23/2022)', 'title' => ''],
+ 'PromotionOptionNo' => ['description' => 'The coupon ID.', 'type' => 'string', 'example' => '500011220010099', 'title' => ''],
+ 'Selected' => ['description' => 'Whether the coupon is selected. Valid values:'."\n"
+ ."\n"
+ .'- true: Selected.'."\n"
+ ."\n"
+ .'- false: Not selected.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Rules' => [
+ 'title' => '',
+ 'description' => 'Promotion rules.',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['description' => 'The promotion rule description.', 'type' => 'string', 'example' => '买满1年,立享官网价格8.5折优惠。', 'title' => ''],
+ 'RuleId' => ['description' => 'The promotion ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '587', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ 'StandPrice' => ['title' => '', 'description' => 'The official discounted price or direct sales contract discounted price.', 'type' => 'string', 'example' => '32432'],
+ 'StandDiscountPrice' => ['title' => '', 'description' => 'The promotional price based on the official discount.', 'type' => 'string', 'example' => '21321'],
+ 'IsContractActivity' => ['title' => '', 'description' => 'Whether the enterprise customer discount applies.', 'type' => 'boolean', 'example' => 'true'],
+ 'DepreciateInfo' => [
+ 'description' => 'Price reduction information.',
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'OriginalStandAmount' => ['title' => '', 'description' => 'The original total official price.', 'type' => 'string', 'example' => '12000'],
+ 'CheapStandAmount' => ['title' => '', 'description' => 'The reduced total official price.', 'type' => 'string', 'example' => '8000'],
+ 'CheapRate' => ['title' => '', 'description' => 'The price reduction rate.', 'type' => 'string', 'example' => '34%'],
+ 'MonthPrice' => ['title' => '', 'description' => 'The equivalent monthly price.', 'type' => 'string', 'example' => '1000'],
+ 'StartTime' => ['title' => '', 'description' => 'The start time of the price reduction.', 'type' => 'string', 'example' => '2024-08-21T02:06:00Z'],
+ 'IsShow' => ['title' => '', 'description' => 'Whether to display the price reduction amount.', 'type' => 'boolean', 'example' => 'false'],
+ ],
+ 'example' => '',
+ ],
+ 'LxRequestId' => ['title' => '', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', 'description' => ''],
+ ],
+ 'example' => '',
],
],
+ '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',
+ 'title' => 'Query price for converting a pay-as-you-go instance to a subscription',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryConvertInstancePrice'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'stream:QueryConvertVvpPostpayInstancePrice',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"PriceInfo\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"DiscountAmount\\": 655.2,\\n \\"OriginalAmount\\": 4368,\\n \\"TradeAmount\\": 3712.8,\\n \\"Code\\": \\"ORDER.INST_HAS_UNPAID_ORDER\\",\\n \\"Message\\": \\"存在未支付订单,请先支付或取消原有订单\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionName\\": \\"¥1,391.5 优惠券\\",\\n \\"PromotionDesc\\": \\"¥1,391.5 优惠券(有效期至 03/23/2022)\\",\\n \\"PromotionOptionNo\\": \\"500011220010099\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 587\\n }\\n ],\\n \\"StandPrice\\": \\"32432\\",\\n \\"StandDiscountPrice\\": \\"21321\\",\\n \\"IsContractActivity\\": true,\\n \\"DepreciateInfo\\": {\\n \\"OriginalStandAmount\\": \\"12000\\",\\n \\"CheapStandAmount\\": \\"8000\\",\\n \\"CheapRate\\": \\"34%\\",\\n \\"MonthPrice\\": \\"1000\\",\\n \\"StartTime\\": \\"2024-08-21T02:06:00Z\\",\\n \\"IsShow\\": false\\n },\\n \\"LxRequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'QueryConvertPrepayInstancePrice' => [
+ 'summary' => 'Call this API to view the estimated refund amount when you convert a subscription Flink instance to a pay-as-you-go instance. After conversion, billing is applied hourly.',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '103226',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeCode' => '212998',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'Region',
'in' => 'formData',
+ 'schema' => ['description' => 'Region.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Order instance ID.', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4****', 'title' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-shenzhen',
+ 'title' => '',
+ 'description' => 'Response information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426****', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ 'PriceInfo' => [
+ 'title' => '',
+ 'description' => 'Price information, including price and discount rules.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Currency' => ['description' => 'Currency unit.', 'type' => 'string', 'example' => 'CNY', 'title' => ''],
+ 'DiscountAmount' => ['description' => 'Discount.', 'type' => 'number', 'format' => 'float', 'example' => '655.2', 'title' => ''],
+ 'OriginalAmount' => ['description' => 'Original price.', 'type' => 'number', 'format' => 'float', 'example' => '4368', 'title' => ''],
+ 'TradeAmount' => ['description' => 'Final price, which is the original price minus the discount.', 'type' => 'number', 'format' => 'float', 'example' => '3712.8', 'title' => ''],
+ 'Code' => ['description' => 'Error code.', 'type' => 'string', 'example' => 'ORDER.INST_HAS_UNPAID_ORDER', 'title' => ''],
+ 'Message' => ['description' => 'Error message.', 'type' => 'string', 'example' => '存在未支付订单,请先支付或取消原有订单', 'title' => ''],
+ 'OptionalPromotions' => [
+ 'description' => 'Coupon group information.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Coupon information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PromotionName' => ['description' => 'Coupon name.', 'type' => 'string', 'example' => '¥1,391.5 优惠券', 'title' => ''],
+ 'PromotionDesc' => ['description' => 'Coupon description.', 'type' => 'string', 'example' => '¥1,391.5 优惠券 (有效期至 03/23/2022)', 'title' => ''],
+ 'PromotionOptionNo' => ['description' => 'Coupon number.', 'type' => 'string', 'example' => '500011220***', 'title' => ''],
+ 'Selected' => ['description' => 'Indicates whether the coupon is selected. Valid values:'."\n"
+ ."\n"
+ .'- true: Selected.'."\n"
+ ."\n"
+ .'- false: Not selected.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Rules' => [
+ 'title' => '',
+ 'description' => 'Activity rules.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Activity rule.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['description' => 'Description of the activity rule.', 'type' => 'string', 'example' => '买满1年,立享官网价格8.5折优惠。', 'title' => ''],
+ 'RuleId' => ['description' => 'Activity ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '587', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ 'StandPrice' => ['description' => 'Official website discount price or direct sales contract discount price.', 'type' => 'string', 'title' => '', 'example' => '32432'],
+ 'StandDiscountPrice' => ['description' => 'Discounted price based on the official website discount.', 'type' => 'string', 'title' => '', 'example' => '21321'],
+ 'IsContractActivity' => ['description' => 'Indicates whether the large customer discount is applied.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ 'DepreciateInfo' => [
+ 'title' => '',
+ 'description' => 'Price reduction information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'OriginalStandAmount' => ['description' => 'Original total official website price.', 'type' => 'string', 'title' => '', 'example' => '10000'],
+ 'CheapStandAmount' => ['description' => 'Total official website price after reduction.', 'type' => 'string', 'title' => '', 'example' => '8000'],
+ 'CheapRate' => ['description' => 'Price reduction ratio.', 'type' => 'string', 'title' => '', 'example' => '20%'],
+ 'MonthPrice' => ['description' => 'Equivalent monthly price.', 'type' => 'string', 'title' => '', 'example' => '4000'],
+ 'StartTime' => ['description' => 'Price reduction start time.', 'type' => 'string', 'title' => '', 'example' => '2023-03-31T16:00:00Z'],
+ 'IsShow' => ['description' => 'Indicates whether to display the price reduction range.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ ],
+ 'example' => '',
+ ],
+ 'LxRequestId' => ['title' => '', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', 'description' => ''],
+ ],
+ 'example' => '',
+ ],
+ ],
+ 'example' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Query the price for changing a subscription instance to pay-as-you-go',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryConvertPrepayInstancePrice'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'InstanceId',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'stream:QueryConvertVvpPrepayInstancePrice',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426****\\",\\n \\"Success\\": true,\\n \\"PriceInfo\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"DiscountAmount\\": 655.2,\\n \\"OriginalAmount\\": 4368,\\n \\"TradeAmount\\": 3712.8,\\n \\"Code\\": \\"ORDER.INST_HAS_UNPAID_ORDER\\",\\n \\"Message\\": \\"存在未支付订单,请先支付或取消原有订单\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionName\\": \\"¥1,391.5 优惠券\\",\\n \\"PromotionDesc\\": \\"¥1,391.5 优惠券 (有效期至 03/23/2022)\\",\\n \\"PromotionOptionNo\\": \\"500011220***\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 587\\n }\\n ],\\n \\"StandPrice\\": \\"32432\\",\\n \\"StandDiscountPrice\\": \\"21321\\",\\n \\"IsContractActivity\\": true,\\n \\"DepreciateInfo\\": {\\n \\"OriginalStandAmount\\": \\"10000\\",\\n \\"CheapStandAmount\\": \\"8000\\",\\n \\"CheapRate\\": \\"20%\\",\\n \\"MonthPrice\\": \\"4000\\",\\n \\"StartTime\\": \\"2023-03-31T16:00:00Z\\",\\n \\"IsShow\\": true\\n },\\n \\"LxRequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'QueryCreateInstancePrice' => [
+ 'summary' => 'Obtain the price for a workspace purchase for this account.',
+ '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' => 'Workspace name.', 'type' => 'string', 'required' => false, 'example' => 'rtc-e2e-test-post', 'title' => ''],
+ ],
+ [
+ 'name' => 'ChargeType',
'in' => 'formData',
'schema' => [
- 'description' => '',
+ 'description' => 'Payment type. Valid values:'."\n"
+ ."\n"
+ .'- POST: pay-as-you-go.'."\n"
+ ."\n"
+ .'- PRE: subscription.',
'type' => 'string',
'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
+ 'enum' => ['PRE', 'POST'],
+ 'example' => 'PRE',
+ 'title' => '',
],
],
[
- 'name' => 'Namespace',
+ 'name' => 'Region',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Region.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''],
+ ],
+ [
+ 'name' => 'VpcId',
'in' => 'formData',
+ 'schema' => ['description' => 'The VPC ID of the user.', 'type' => 'string', 'required' => false, 'example' => 'vpc-2ze9xoh8qyt1rnxfmfcdi', 'title' => ''],
+ ],
+ [
+ 'name' => 'VSwitchIds',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'di-593440390152545',
+ 'description' => 'Virtual switch ID group.',
+ 'type' => 'array',
+ 'items' => ['description' => 'Virtual switch ID.', 'type' => 'string', 'required' => false, 'example' => 'vsw-uf6kkcjvzyayv5je6t72s', 'title' => ''],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
@@ -4497,305 +2991,726 @@
'in' => 'formData',
'style' => 'json',
'schema' => [
- 'description' => '',
+ 'description' => 'Resource specifications.',
'type' => 'object',
'properties' => [
- 'Cpu' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '30',
- ],
- 'MemoryGB' => [
- 'description' => '',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'Cpu' => ['description' => 'Number of CPUs.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '4', 'title' => ''],
+ 'MemoryGB' => ['description' => 'Memory size.'."\n"
+ ."\n"
+ .'> Memory size must be 4 times the number of CPUs.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '16', 'title' => ''],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ [
+ 'name' => 'PricingCycle',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'Subscription cycle. Subscription instances only support annual (Year) and monthly (Month) subscriptions. Pay-as-you-go instances use hourly (Hour) billing.',
+ 'enumValueTitles' => ['Month' => 'Month', 'Year' => 'Year', 'Hour' => 'Hour'],
+ 'type' => 'string',
+ 'enum' => ['Year', 'Month', 'Day', 'Hour'],
+ 'required' => false,
+ 'example' => 'Month',
+ 'title' => '',
+ ],
+ ],
+ [
+ 'name' => 'Duration',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Number of subscription cycles.'."\n"
+ ."\n"
+ .'> When ChargeType is set to PRE, the Duration parameter is required.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'AutoRenew',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Whether to auto-renew. Valid values:'."\n"
+ ."\n"
+ .'- **true**: auto-renewal'."\n"
+ ."\n"
+ .'- **false**: no auto-renewal (default)'."\n"
+ ."\n"
+ .'> This parameter is invalid for pay-as-you-go instances.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
+ ],
+ [
+ 'name' => 'Storage',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Storage information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Oss' => [
+ 'description' => 'OSS storage information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Bucket' => ['description' => 'The name of the OSS bucket.', 'type' => 'string', 'required' => false, 'example' => 'quicktracing', 'title' => ''],
+ ],
'required' => false,
- 'example' => '120',
+ 'title' => '',
+ 'example' => '',
],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
+ 'name' => 'UsePromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Whether to use a coupon. Valid values:'."\n"
+ ."\n"
+ .'- true: use.'."\n"
+ ."\n"
+ .'- false: do not use.', 'type' => 'boolean', 'required' => false, 'example' => 'true', 'title' => ''],
+ ],
+ [
+ 'name' => 'PromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Coupon code', 'type' => 'string', 'title' => '', 'required' => false, 'example' => '500041860100636'],
+ ],
+ [
+ 'name' => 'Extra',
+ 'in' => 'formData',
+ 'schema' => ['title' => '', 'description' => 'Extension reserved field.', 'type' => 'string', 'required' => false, 'example' => '“”'],
+ ],
+ [
+ 'name' => 'ArchitectureType',
+ 'in' => 'formData',
+ 'schema' => ['title' => '', 'description' => 'Processor architecture.', 'type' => 'string', 'required' => false, 'example' => 'X86'],
+ ],
+ [
'name' => 'Ha',
'in' => 'formData',
+ 'schema' => ['description' => 'Whether to select same-city high availability (HA) resources.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'true', 'title' => ''],
+ ],
+ [
+ 'name' => 'HaResourceSpec',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'type' => 'boolean',
- 'default' => 'false',
+ 'description' => 'Same-city high availability (HA) resource description.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => 'Number of CPUs for same-city high availability (HA).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
+ 'MemoryGB' => ['description' => 'Memory size for same-city high availability (HA).', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''],
+ ],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => '',
+ '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' => '是否成功',
+ 'RequestId' => ['description' => 'Request ID', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', 'title' => ''],
+ 'Success' => ['description' => 'Success', 'type' => 'boolean', 'title' => '', 'example' => ''],
+ 'PriceInfo' => [
+ 'title' => '',
+ 'description' => 'Price information, including price and discount rules.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Currency' => ['description' => 'Currency unit.', 'type' => 'string', 'example' => 'CNY', 'title' => ''],
+ 'DiscountAmount' => ['description' => 'Discount', 'type' => 'number', 'format' => 'float', 'example' => '655.2', 'title' => ''],
+ 'OriginalAmount' => ['description' => 'Original price', 'type' => 'number', 'format' => 'float', 'example' => '4368', 'title' => ''],
+ 'TradeAmount' => ['description' => 'Final price, which is the original price minus the discount.', 'type' => 'number', 'format' => 'float', 'example' => '3712.8', 'title' => ''],
+ 'Code' => ['description' => 'Error code', 'type' => 'string', 'example' => 'ORDER.INST_HAS_UNPAID_ORDER', 'title' => ''],
+ 'Message' => ['description' => 'Error message', 'type' => 'string', 'example' => '存在未支付订单,请先支付或取消原有订单', 'title' => ''],
+ 'OptionalPromotions' => [
+ 'description' => 'Coupon group information.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Coupon information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PromotionName' => ['description' => 'Coupon name', 'type' => 'string', 'example' => '¥1,391.5 优惠券', 'title' => ''],
+ 'PromotionDesc' => ['description' => 'Coupon description', 'type' => 'string', 'example' => '¥1,391.5 优惠券(有效期至 03/23/2022)', 'title' => ''],
+ 'PromotionOptionNo' => ['description' => 'Coupon number', 'type' => 'string', 'example' => '500011220010099', 'title' => ''],
+ 'Selected' => ['description' => 'Whether the coupon is selected. Valid values:'."\n"
+ ."\n"
+ .'- true: selected.'."\n"
+ ."\n"
+ .'- false: not selected.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Rules' => [
+ 'title' => '',
+ 'description' => 'Activity rules.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Activity rules.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['description' => 'Activity rule description.', 'type' => 'string', 'example' => '买满1年,立享官网价格8.5折优惠。', 'title' => ''],
+ 'RuleId' => ['description' => 'Activity ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '587', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ 'StandPrice' => ['title' => '', 'description' => 'Official website discount price / direct sales contract discount price', 'type' => 'string', 'example' => ''],
+ 'StandDiscountPrice' => ['title' => '', 'description' => 'Discounted price based on official website discount', 'type' => 'string', 'example' => ''],
+ 'IsContractActivity' => ['title' => '', 'description' => 'Whether a large customer discount is applied', 'type' => 'boolean', 'example' => ''],
+ 'DepreciateInfo' => [
+ 'description' => 'Price reduction information',
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'OriginalStandAmount' => ['title' => '', 'description' => 'Original total official website price', 'type' => 'string', 'example' => ''],
+ 'CheapStandAmount' => ['title' => '', 'description' => 'Total official website price after reduction', 'type' => 'string', 'example' => ''],
+ 'CheapRate' => ['title' => '', 'description' => 'Price reduction ratio', 'type' => 'string', 'example' => ''],
+ 'MonthPrice' => ['title' => '', 'description' => 'Equivalent monthly price', 'type' => 'string', 'example' => ''],
+ 'StartTime' => ['title' => '', 'description' => 'Price reduction start time', 'type' => 'string', 'example' => ''],
+ 'IsShow' => ['title' => '', 'description' => 'Whether to display the price reduction range', 'type' => 'boolean', 'example' => ''],
+ ],
+ 'example' => '',
+ ],
+ 'LxRequestId' => ['title' => '', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', 'description' => ''],
+ ],
+ 'example' => '',
],
],
+ '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',
+ 'title' => 'Query workspace price',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryCreateInstancePrice'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'stream:QueryCreateVvpInstancePrice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": false,\\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\\": false,\\n \\"DepreciateInfo\\": {\\n \\"OriginalStandAmount\\": \\"\\",\\n \\"CheapStandAmount\\": \\"\\",\\n \\"CheapRate\\": \\"\\",\\n \\"MonthPrice\\": \\"\\",\\n \\"StartTime\\": \\"\\",\\n \\"IsShow\\": false\\n },\\n \\"LxRequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'QueryModifyInstancePrice' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '146254',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeCode' => '104067',
+ 'abilityTreeNodes' => ['FEATUREscTKD5I3'],
],
'parameters' => [
[
- 'name' => 'NextToken',
- 'in' => 'query',
- 'schema' => [
- 'title' => '下一个查询开始Token',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '27AE00',
- ],
+ 'name' => 'Region',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''],
],
[
- 'name' => 'RegionId',
- 'in' => 'query',
+ 'name' => 'InstanceId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Order instance ID', 'type' => 'string', 'required' => true, 'example' => 'f-cn-wwo36qj4g06', 'title' => ''],
+ ],
+ [
+ 'name' => 'ResourceSpec',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '地域',
- 'description' => '',
- 'type' => 'string',
+ 'description' => 'Resource specifications.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => 'Number of CPUs after upgrade or downgrade.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10', 'title' => ''],
+ 'MemoryGB' => ['description' => 'Memory size after upgrade or downgrade.'."\n"
+ ."\n"
+ .'> Memory size must be 4 times the number of CPUs.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '40', 'title' => ''],
+ ],
'required' => true,
- 'example' => 'cn-beijing',
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'ResourceType',
- 'in' => 'query',
+ 'name' => 'Ha',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Select same-city high availability resources.', 'type' => 'boolean', 'default' => 'false', 'required' => false, 'example' => 'true', 'title' => ''],
+ ],
+ [
+ 'name' => 'HaVSwitchIds',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '资源类型',
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vvpinstance',
+ 'description' => 'Same-city high availability secondary zone vSwitch group.',
+ 'type' => 'array',
+ 'items' => ['description' => 'Same-city high availability secondary zone vSwitch.', 'type' => 'string', 'required' => false, 'example' => '[\\"vsw-bp1qh4w76fg38oe91d3bj\\"]', 'title' => ''],
+ 'required' => false,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'ResourceId',
- 'in' => 'query',
- 'style' => 'repeatList',
+ 'name' => 'HaResourceSpec',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'title' => '资源ID,最多 50个子项',
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'f-cn-7pp2m9w7s06',
+ 'description' => 'Same-city high availability resource description.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Cpu' => ['description' => 'Number of same-city high availability CPUs.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '20', 'title' => ''],
+ 'MemoryGB' => ['description' => 'Same-city high availability memory size.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80', 'title' => ''],
],
'required' => false,
- 'maxItems' => 51,
+ 'title' => '',
+ 'example' => '',
],
],
[
- 'name' => 'Tag',
- 'in' => 'query',
- 'style' => 'repeatList',
+ 'name' => 'UsePromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'required' => false, 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'PromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'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',
+ 'title' => '',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'Request ID', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', 'title' => ''],
+ 'Success' => ['description' => 'Success', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ 'PriceInfo' => [
+ 'title' => '',
+ 'description' => 'Price information, including price and discount rules.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Currency' => ['description' => 'Currency unit.', 'type' => 'string', 'example' => 'CNY', 'title' => ''],
+ 'DiscountAmount' => ['description' => 'Discount', 'type' => 'number', 'format' => 'float', 'example' => '655.2', 'title' => ''],
+ 'OriginalAmount' => ['description' => 'Original price', 'type' => 'number', 'format' => 'float', 'example' => '4368', 'title' => ''],
+ 'TradeAmount' => ['description' => 'Final price, which is the original price minus the discount.', 'type' => 'number', 'format' => 'float', 'example' => '3712.8', 'title' => ''],
+ 'Code' => ['description' => 'Error code', 'type' => 'string', 'example' => 'ORDER.INST_HAS_UNPAID_ORDER', 'title' => ''],
+ 'Message' => ['description' => 'Error message', 'type' => 'string', 'example' => '存在未支付订单,请先支付或取消原有订单', 'title' => ''],
+ 'OptionalPromotions' => [
+ 'description' => 'Coupon group information.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Coupon information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PromotionName' => ['description' => 'Coupon name', 'type' => 'string', 'example' => '¥1,391.5 优惠券', 'title' => ''],
+ 'PromotionDesc' => ['description' => 'Coupon description', 'type' => 'string', 'example' => '¥1,391.5 优惠券(有效期至 03/23/2022)', 'title' => ''],
+ 'PromotionOptionNo' => ['description' => 'Coupon number', 'type' => 'string', 'example' => '500011220010099', 'title' => ''],
+ 'Selected' => ['description' => 'Use the coupon. Values are:'."\n"
+ ."\n"
+ .'- true: Use.'."\n"
+ ."\n"
+ .'- false: Do not use.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Rules' => [
+ 'title' => '',
+ 'description' => 'Activity rule group.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'Activity rule.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['description' => 'Activity rule description.', 'type' => 'string', 'example' => '买满1年,立享官网价格8.5折优惠。', 'title' => ''],
+ 'RuleId' => ['description' => 'Activity ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '587', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'example' => '',
+ ],
+ 'StandPrice' => ['title' => '', 'description' => 'Official website discount price/direct sales contract discount price', 'type' => 'string', 'example' => '0.5'],
+ 'StandDiscountPrice' => ['title' => '', 'description' => 'Discounted price based on official website discount', 'type' => 'string', 'example' => '1231'],
+ 'IsContractActivity' => ['title' => '', 'description' => 'Whether the large customer discount is applied', 'type' => 'boolean', 'example' => '是'],
+ 'DepreciateInfo' => [
+ 'description' => 'Price reduction information',
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'OriginalStandAmount' => ['title' => '', 'description' => 'Original total official website price', 'type' => 'string', 'example' => '12000'],
+ 'CheapStandAmount' => ['title' => '', 'description' => 'Total official website price after reduction', 'type' => 'string', 'example' => '6000'],
+ 'CheapRate' => ['title' => '', 'description' => 'Price reduction ratio', 'type' => 'string', 'example' => '0.5'],
+ 'MonthPrice' => ['title' => '', 'description' => 'Equivalent monthly price', 'type' => 'string', 'example' => '0.6'],
+ 'StartTime' => ['title' => '', 'description' => 'Price reduction start time', 'type' => 'string', 'example' => '2023-10-04T21:10:26+08:00'],
+ 'IsShow' => ['title' => '', 'description' => 'Whether to display the price reduction amount', 'type' => 'boolean', 'example' => 'false'],
+ ],
+ 'example' => '',
+ ],
+ 'LxRequestId' => ['type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', 'description' => '', 'title' => ''],
],
+ 'example' => '',
],
- 'required' => false,
],
- 'required' => false,
- 'maxItems' => 21,
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Query upgrade/downgrade price ',
+ 'summary' => 'Queries the price for upgrading or downgrading an instance.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryModifyInstancePrice'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'stream:QueryModifyVvpInstancePrice',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"PriceInfo\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"DiscountAmount\\": 655.2,\\n \\"OriginalAmount\\": 4368,\\n \\"TradeAmount\\": 3712.8,\\n \\"Code\\": \\"ORDER.INST_HAS_UNPAID_ORDER\\",\\n \\"Message\\": \\"存在未支付订单,请先支付或取消原有订单\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionName\\": \\"¥1,391.5 优惠券\\",\\n \\"PromotionDesc\\": \\"¥1,391.5 优惠券(有效期至 03/23/2022)\\",\\n \\"PromotionOptionNo\\": \\"500011220010099\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 587\\n }\\n ],\\n \\"StandPrice\\": \\"0.5\\",\\n \\"StandDiscountPrice\\": \\"1231\\",\\n \\"IsContractActivity\\": true,\\n \\"DepreciateInfo\\": {\\n \\"OriginalStandAmount\\": \\"12000\\",\\n \\"CheapStandAmount\\": \\"6000\\",\\n \\"CheapRate\\": \\"0.5\\",\\n \\"MonthPrice\\": \\"0.6\\",\\n \\"StartTime\\": \\"2023-10-04T21:10:26+08:00\\",\\n \\"IsShow\\": false\\n },\\n \\"LxRequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'QueryRenewInstancePrice' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '104068',
+ 'abilityTreeNodes' => ['FEATUREscYN6NTL', 'FEATUREscTKD5I3'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Region',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverless_public_cn-7e22ae5sess', 'title' => ''],
+ ],
+ [
+ 'name' => 'Duration',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'The number of subscription periods.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'PricingCycle',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => 'The subscription period.',
+ 'type' => 'string',
+ 'required' => true,
+ 'example' => 'Month',
+ 'enum' => ['Year', 'Month', 'Day', 'Hour'],
+ 'title' => '',
],
],
+ [
+ 'name' => 'UsePromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'PromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
+ 'title' => '',
'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',
+ 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the request was successful.', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ 'PriceInfo' => [
+ 'title' => '',
+ 'description' => 'The price information, including the price and promotion rules.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Currency' => ['description' => 'The currency unit.', 'type' => 'string', 'example' => 'CNY', 'title' => ''],
+ 'DiscountAmount' => ['description' => 'The discount amount.', 'type' => 'number', 'format' => 'float', 'example' => '655.2', 'title' => ''],
+ 'OriginalAmount' => ['description' => 'The original price.', 'type' => 'number', 'format' => 'float', 'example' => '4368', 'title' => ''],
+ 'TradeAmount' => ['description' => 'The final price, which is the original price minus the discount.', 'type' => 'number', 'format' => 'float', 'example' => '3712.8', 'title' => ''],
+ 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'ORDER.INST_HAS_UNPAID_ORDER', 'title' => ''],
+ 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => '存在未支付订单,请先支付或取消原有订单', 'title' => ''],
+ 'OptionalPromotions' => [
+ 'description' => 'The coupon group information.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The coupon information.',
+ 'type' => 'object',
+ 'properties' => [
+ 'PromotionName' => ['description' => 'The coupon name.', 'type' => 'string', 'example' => '¥1,391.5 优惠券', 'title' => ''],
+ 'PromotionDesc' => ['description' => 'The coupon description.', 'type' => 'string', 'example' => '¥1,391.5 优惠券(有效期至 03/23/2022)', 'title' => ''],
+ 'PromotionOptionNo' => ['description' => 'The coupon number.', 'type' => 'string', 'example' => '500011220010099', 'title' => ''],
+ 'Selected' => ['description' => 'Indicates whether the coupon is used. Valid values:'."\n"
+ ."\n"
+ .'- true: The coupon is used.'."\n"
+ ."\n"
+ .'- false: The coupon is not used.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'ResourceId' => [
- 'title' => '资源ID',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'f-cn-tyts',
+ 'title' => '',
+ 'example' => '',
+ ],
+ 'Rules' => [
+ 'title' => '',
+ 'description' => 'The group of promotion rules.',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'The promotion rule.',
+ 'type' => 'object',
+ 'properties' => [
+ 'Description' => ['description' => 'The description of the promotion rule.', 'type' => 'string', 'example' => '买满1年,立享官网价格8.5折优惠。', 'title' => ''],
+ 'RuleId' => ['description' => 'The promotion ID.', 'type' => 'integer', 'format' => 'int64', 'example' => '587', 'title' => ''],
+ ],
+ 'title' => '',
+ 'example' => '',
],
- 'TagKey' => [
- 'title' => '标签键',
- 'description' => '',
- 'type' => 'string',
- 'example' => 'test',
+ 'example' => '',
+ ],
+ 'StandPrice' => ['title' => '', 'description' => 'The official discounted price or the direct sales contract discounted price.', 'type' => 'string', 'example' => '32432'],
+ 'StandDiscountPrice' => ['title' => '', 'description' => 'The promotional price based on the official discount.', 'type' => 'string', 'example' => '21321'],
+ 'IsContractActivity' => ['title' => '', 'description' => 'Indicates whether a key account discount is applied.', 'type' => 'boolean', 'example' => 'true'],
+ 'DepreciateInfo' => [
+ 'description' => 'The price reduction information.',
+ 'title' => '',
+ 'type' => 'object',
+ 'properties' => [
+ 'OriginalStandAmount' => ['title' => '', 'description' => 'The total original list price.', 'type' => 'string', 'example' => '12000'],
+ 'CheapStandAmount' => ['title' => '', 'description' => 'The total list price after the reduction.', 'type' => 'string', 'example' => '8000'],
+ 'CheapRate' => ['title' => '', 'description' => 'The price reduction percentage.', 'type' => 'string', 'example' => '34%'],
+ 'MonthPrice' => ['title' => '', 'description' => 'The equivalent monthly price.', 'type' => 'string', 'example' => '1000'],
+ 'StartTime' => ['title' => '', 'description' => 'The start time of the price reduction.', 'type' => 'string', 'example' => '2023-03-31T16:00:00Z'],
+ 'IsShow' => ['title' => '', 'description' => 'Indicates whether to display the price reduction amount.', 'type' => 'boolean', 'example' => 'true'],
],
+ 'example' => '',
],
+ 'LxRequestId' => ['type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', 'description' => '', 'title' => ''],
],
+ 'example' => '',
],
],
+ 'example' => '',
],
],
],
- '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',
+ 'title' => 'Query workspace renewal price ',
+ 'summary' => 'You can retrieve the renewal price for a subscription workspace.',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryRenewInstancePrice'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'stream:QueryRenewVvpInstancePrice',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"PriceInfo\\": {\\n \\"Currency\\": \\"CNY\\",\\n \\"DiscountAmount\\": 655.2,\\n \\"OriginalAmount\\": 4368,\\n \\"TradeAmount\\": 3712.8,\\n \\"Code\\": \\"ORDER.INST_HAS_UNPAID_ORDER\\",\\n \\"Message\\": \\"存在未支付订单,请先支付或取消原有订单\\",\\n \\"OptionalPromotions\\": [\\n {\\n \\"PromotionName\\": \\"¥1,391.5 优惠券\\",\\n \\"PromotionDesc\\": \\"¥1,391.5 优惠券(有效期至 03/23/2022)\\",\\n \\"PromotionOptionNo\\": \\"500011220010099\\",\\n \\"Selected\\": true\\n }\\n ],\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"买满1年,立享官网价格8.5折优惠。\\",\\n \\"RuleId\\": 587\\n }\\n ],\\n \\"StandPrice\\": \\"32432\\",\\n \\"StandDiscountPrice\\": \\"21321\\",\\n \\"IsContractActivity\\": true,\\n \\"DepreciateInfo\\": {\\n \\"OriginalStandAmount\\": \\"12000\\",\\n \\"CheapStandAmount\\": \\"8000\\",\\n \\"CheapRate\\": \\"34%\\",\\n \\"MonthPrice\\": \\"1000\\",\\n \\"StartTime\\": \\"2023-03-31T16:00:00Z\\",\\n \\"IsShow\\": true\\n },\\n \\"LxRequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\"\\n }\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'RenewInstance' => [
+ 'summary' => 'Renew a subscription-based, fully managed Flink workspace.',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'write',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '146252',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeCode' => '103206',
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
- 'name' => 'RegionId',
- 'in' => 'query',
+ 'name' => 'Region',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Region ID', 'type' => 'string', 'required' => true, 'example' => 'cn-beijing', 'title' => ''],
+ ],
+ [
+ 'name' => 'InstanceId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Instance ID', 'type' => 'string', 'required' => true, 'example' => 'sc_flinkserverless_public_cn-7e22ae5sess', 'title' => ''],
+ ],
+ [
+ 'name' => 'Duration',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'Number of subscription periods', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''],
+ ],
+ [
+ 'name' => 'PricingCycle',
+ 'in' => 'formData',
'schema' => [
- 'title' => '地域',
- 'description' => '',
+ 'description' => 'Subscription period',
'type' => 'string',
'required' => true,
- 'example' => 'cn-beijing',
+ 'example' => 'Month',
+ 'enum' => ['Year', 'Month', 'Day', 'Hour'],
+ 'title' => '',
],
],
[
- 'name' => 'ResourceType',
- 'in' => 'query',
+ 'name' => 'UsePromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ [
+ 'name' => 'PromotionCode',
+ 'in' => 'formData',
+ 'schema' => ['type' => 'string', 'description' => '', 'title' => '', 'example' => ''],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '资源类型',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => 'Request ID', 'type' => 'string', 'title' => '', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51'],
+ 'OrderId' => ['title' => '', 'description' => 'Order ID', 'type' => 'integer', 'format' => 'int64', 'example' => '210406354690749'],
+ 'Success' => ['description' => 'Indicates whether the request succeeded', 'type' => 'boolean', 'title' => '', 'example' => 'true'],
+ ],
'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vvpinstance',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Renew a fully managed Flink workspace',
+ 'description' => '**Before you use this operation, review the billing method and [pricing](https://help.aliyun.com/zh/flink/product-overview/renewal-policy) for fully managed Flink.**',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenewInstance'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:RenewVvpInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"OrderId\\": 210406354690749,\\n \\"Success\\": true\\n}","type":"json"}]',
+ 'translator' => 'machine',
+ ],
+ 'TagResources' => [
+ 'summary' => 'Call this API to add tags to 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' => ['description' => 'Region', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-beijing'],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Resource type. Set this parameter to vvpinstance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'vvpinstance'],
+ ],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'title' => '资源ID,最多 50个子项',
- 'description' => '',
+ 'title' => '',
+ 'description' => 'List of order instance IDs',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'f-cn-7e22rg',
- ],
+ 'items' => ['description' => 'Order instance ID', 'type' => 'string', 'required' => false, 'example' => 'f-cn-7e22rg', 'title' => ''],
'required' => true,
'maxItems' => 51,
+ 'example' => '',
],
],
[
@@ -4803,32 +3718,23 @@
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'title' => '标签列表,最多包含20个子项',
- 'description' => '',
+ 'title' => '',
+ 'description' => 'List of tags. You can specify up to 20 tags',
'type' => 'array',
'items' => [
- 'description' => '',
+ 'description' => 'Resource tag',
'type' => 'object',
'properties' => [
- 'Value' => [
- 'title' => '标签值',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tag',
- ],
- 'Key' => [
- 'title' => '标签键',
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'Value' => ['description' => 'Tag value', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'tag'],
+ 'Key' => ['description' => 'Tag key', 'type' => 'string', 'title' => '', 'required' => false, 'example' => 'test'],
],
'required' => false,
+ 'title' => '',
+ 'example' => '',
],
'required' => true,
'maxItems' => 21,
+ 'example' => '',
],
],
],
@@ -4837,48 +3743,49 @@
'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',
- ],
+ 'RequestId' => ['description' => 'Request ID', 'type' => 'string', 'example' => '67F33190-946B-1105-B6A1-E2DF0426DD51', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the call succeeded. Valid values:'."\n"
+ ."\n"
+ .'- true: The call succeeded'."\n"
+ ."\n"
+ .'- false: The call failed', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'TagResponseId' => ['description' => 'Tag request ID', 'type' => 'string', 'example' => '154FT', 'title' => ''],
+ 'Message' => ['description' => 'Request details.', 'type' => 'string', 'example' => '""', 'title' => ''],
+ 'Code' => ['description' => 'Return code', 'type' => 'string', 'example' => '200', 'title' => ''],
+ ],
+ 'description' => '',
+ 'title' => '',
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Creation of Resource Tags',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:TagVvpResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426DD51\\",\\n \\"Success\\": true,\\n \\"TagResponseId\\": \\"154FT\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]',
- 'title' => 'TagResources',
+ 'translator' => 'machine',
],
'UntagResources' => [
- 'summary' => 'Removes tags from specified resources.',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'summary' => 'Removes tags from resources.',
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -4891,60 +3798,36 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '146253',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
- ],
+ 'abilityTreeNodes' => ['FEATUREscWKZGIA'],
],
'parameters' => [
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'title' => '地域',
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
- ],
+ 'schema' => ['description' => 'Region.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'cn-beijing'],
],
[
'name' => 'ResourceType',
'in' => 'query',
- 'schema' => [
- 'title' => '资源类型',
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'vvpinstance',
- ],
+ 'schema' => ['description' => 'Resource type. Set this parameter to vvpinstance.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'vvpinstance'],
],
[
'name' => 'All',
'in' => 'query',
- 'schema' => [
- 'title' => '是否全部删除,只针对TagKey.N为空时有效。 取值范围: true false True False 默认是 false',
- 'description' => '',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
+ 'schema' => ['description' => 'Remove all tags from the resource. This parameter takes effect only when TagKey is empty. Default value: false.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => 'false'],
],
[
'name' => 'ResourceId',
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'title' => '资源ID,最多50个子项',
- 'description' => '',
+ 'title' => '',
+ 'description' => 'Array of order instance IDs.',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'f-cn-tgy67',
- ],
+ 'items' => ['description' => 'Order instance ID.', 'type' => 'string', 'required' => false, 'example' => 'f-cn-tgy67', 'title' => ''],
'required' => true,
'maxItems' => 51,
+ 'example' => '',
],
],
[
@@ -4952,444 +3835,452 @@
'in' => 'query',
'style' => 'repeatList',
'schema' => [
- 'title' => '标签键,最多20个子项',
- 'description' => '',
+ 'title' => '',
+ 'description' => 'Array of tag keys. Maximum: 20 items.',
'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
- ],
+ 'items' => ['description' => 'Tag key.', 'type' => 'string', 'required' => false, 'example' => 'test', 'title' => ''],
'required' => false,
'maxItems' => 21,
+ 'example' => '',
],
],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
+ 'title' => '',
+ 'description' => 'Response schema.',
'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',
- ],
+ 'RequestId' => ['description' => 'Request ID.', 'type' => 'string', 'example' => 'F59597FC-CD05-536D-B75B-6F45B8CC8539', 'title' => ''],
+ 'Success' => ['description' => 'Indicates whether the call succeeded:'."\n"
+ ."\n"
+ .'- true: The call succeeded.'."\n"
+ ."\n"
+ .'- false: The call failed.', 'type' => 'boolean', 'example' => 'true', 'title' => ''],
+ 'TagResponseId' => ['description' => 'Tag request ID.', 'type' => 'string', 'example' => '154FT', 'title' => ''],
+ 'Message' => ['description' => 'Response message.', 'type' => 'string', 'example' => '""', 'title' => ''],
+ 'Code' => ['description' => 'Return code.', 'type' => 'string', 'example' => '200', 'title' => ''],
+ ],
+ 'example' => '',
+ ],
+ ],
+ ],
+ 'title' => 'Delete Resource Tags ',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:UnTagVvpResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
],
'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F59597FC-CD05-536D-B75B-6F45B8CC8539\\",\\n \\"Success\\": true,\\n \\"TagResponseId\\": \\"154FT\\",\\n \\"Message\\": \\"\\\\\\"\\\\\\"\\",\\n \\"Code\\": \\"200\\"\\n}","type":"json"}]',
- 'title' => 'UntagResources',
+ 'translator' => 'machine',
],
- 'ConvertPrepayInstance' => [
- 'summary' => 'Changes the billing method of a workspace from subscription to pay-as-you-go.',
- 'methods' => [
- 'post',
+ ],
+ 'endpoints' => [
+ ['regionId' => 'cn-qingdao', 'regionName' => 'China (Qingdao)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'foasconsole.cn-qingdao.aliyuncs.com', 'endpoint' => 'foasconsole.cn-qingdao.aliyuncs.com', 'vpc' => ''],
+ ['regionId' => 'cn-wulanchabu', 'regionName' => 'China (Ulanqab)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'foasconsole.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'foasconsole.cn-wulanchabu.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'foasconsole.cn-beijing.aliyuncs.com', 'endpoint' => 'foasconsole.cn-beijing.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'foasconsole.cn-shanghai.aliyuncs.com', 'endpoint' => 'foasconsole.cn-shanghai.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'foasconsole.cn-hongkong.aliyuncs.com', 'endpoint' => 'foasconsole.cn-hongkong.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => 'China (Zhangjiakou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'foasconsole.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'foasconsole.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'foasconsole.cn-shenzhen.aliyuncs.com', 'endpoint' => 'foasconsole.cn-shenzhen.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'ap-northeast-1', 'regionName' => 'Japan (Tokyo)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'foasconsole.ap-northeast-1.aliyuncs.com', 'endpoint' => 'foasconsole.ap-northeast-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.ap-northeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'foasconsole.ap-southeast-1.aliyuncs.com', 'endpoint' => 'foasconsole.ap-southeast-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-3', 'regionName' => 'Malaysia (Kuala Lumpur)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'foasconsole.ap-southeast-3.aliyuncs.com', 'endpoint' => 'foasconsole.ap-southeast-3.aliyuncs.com', 'vpc' => 'foasconsole-vpc.ap-southeast-3.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'foasconsole.ap-southeast-5.aliyuncs.com', 'endpoint' => 'foasconsole.ap-southeast-5.aliyuncs.com', 'vpc' => 'foasconsole-vpc.ap-southeast-5.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'foasconsole.cn-hangzhou.aliyuncs.com', 'endpoint' => 'foasconsole.cn-hangzhou.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'foasconsole.us-east-1.aliyuncs.com', 'endpoint' => 'foasconsole.us-east-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.us-east-1.aliyuncs.com'],
+ ['regionId' => 'eu-west-1', 'regionName' => 'UK (London)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'foasconsole.eu-west-1.aliyuncs.com', 'endpoint' => 'foasconsole.eu-west-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.eu-west-1.aliyuncs.com'],
+ ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'foasconsole.us-west-1.aliyuncs.com', 'endpoint' => 'foasconsole.us-west-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.us-west-1.aliyuncs.com'],
+ ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'foasconsole.eu-central-1.aliyuncs.com', 'endpoint' => 'foasconsole.eu-central-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.eu-central-1.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => 'China South 1 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'foasconsole.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'foasconsole.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-shenzhen-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai-finance-1', 'regionName' => 'China East 2 Finance', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'foasconsole.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'foasconsole.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-shanghai-finance-1.aliyuncs.com'],
+ ['regionId' => 'cn-north-2-gov-1', 'regionName' => 'Beijing Government Cloud', 'areaId' => 'industryCloud', 'areaName' => 'Industry Cloud', 'public' => 'foasconsole.aliyuncs.com', 'endpoint' => 'foasconsole.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-north-2-gov-1.aliyuncs.com'],
+ ],
+ 'errorCodes' => [
+ ['code' => '000000', 'message' => 'System successfully returned. Check the message.', 'http_code' => 200, 'description' => 'System successfully returned. Check the message.'],
+ ['code' => '500', 'message' => 'System internal error.', 'http_code' => 500, 'description' => 'System internal error'],
+ ['code' => '902012', 'message' => 'Zone left resource is not enough.', 'http_code' => 200, 'description' => 'Zone left resource is not enough'],
+ ['code' => '902017', 'message' => 'Cluster name already had been used.', 'http_code' => 200, 'description' => 'Cluster name already had been used'],
+ ['code' => '902020', 'message' => 'Zone ID is illegal.', 'http_code' => 200, 'description' => 'The zone ID is illegal.'],
+ ['code' => '903021', 'message' => 'The specified instance is not found.', 'http_code' => 200, 'description' => 'The instance is not found.'],
+ ['code' => '903023', 'message' => 'The order type does not support high availability.', 'http_code' => 200, 'description' => 'Order type does not support high availability'],
+ ['code' => '903043', 'message' => 'Workspace is not ready for operating.', 'http_code' => 200, 'description' => 'The resource adjustment of the workspace is in effect and cannot be operated for the time being.'],
+ ['code' => '903062', 'message' => 'The instance does not belong to this region.', 'http_code' => 200, 'description' => 'The cluster instance does not belong to this region.'],
+ ['code' => '903065', 'message' => 'You do not have the ram permission to operate.', 'http_code' => 200, 'description' => 'You do not have the relevant ram permission policy to operate'],
+ ['code' => '903081', 'message' => 'You do not authorize asi default role.', 'http_code' => 200, 'description' => 'Platform default role permissions are not granted'],
+ ['code' => '903084', 'message' => 'The oss bucket storage class must be standard.', 'http_code' => 200, 'description' => 'The oss bucket storage class must be standard'],
+ ['code' => '910100', 'message' => 'System internal error.', 'http_code' => 200, 'description' => 'System internal error'],
+ ],
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagResources'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNamespace'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UntagResources'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSupportedZones'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryModifyInstancePrice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateInstance'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryConvertInstancePrice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyElasticResourceSpec'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPrepayNamespaceSpec'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryRenewInstancePrice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryConvertPrepayInstancePrice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceVswitch'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConvertInstance'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'QueryCreateInstancePrice'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConvertHybridInstance'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPrepayInstanceSpec'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RenewInstance'],
+ ['threshold' => '1000', 'countWindow' => 1, 'regionId' => '*', 'api' => 'TagResources'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstances'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNamespaces'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ConvertPrepayInstance'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateNamespace'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteInstance'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSupportedRegions'],
+ ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNamespaceSpecV2'],
+ ],
+ ],
+ 'ram' => [
+ 'productCode' => 'RealtimeCompute',
+ 'productName' => 'Realtime Compute for Apache Flink',
+ 'ramCodes' => ['stream', 'fluss'],
+ 'ramLevel' => 'RESOURCE',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'QueryConvertPrepayInstancePrice',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'stream:QueryConvertVvpPrepayInstancePrice',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'ConvertHybridInstance',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'stream:ConvertHybridInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'CreateInstance',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'stream:CreateVvpInstance',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'ConvertPrepayInstance',
+ 'description' => '',
'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '212995',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
+ 'ramAction' => [
+ 'action' => 'stream:ConvertVvpInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Region',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'cn-beijing',
+ [
+ 'apiName' => 'RenewInstance',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:RenewVvpInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
],
],
- [
- 'name' => 'InstanceId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'f-cn-wwo36qj4g06',
+ ],
+ [
+ 'apiName' => 'QueryModifyInstancePrice',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'stream:QueryModifyVvpInstancePrice',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => '',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => '请求id',
- 'description' => '',
- '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',
- ],
- ],
+ [
+ 'apiName' => 'DescribeNamespaces',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'stream:DescribeVvpNamespaces',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'ConvertInstance',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ConvertVvpInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67F33190-946B-1105-B6A1-E2DF0426****\\",\\n \\"Success\\": true,\\n \\"OrderId\\": 0\\n}","type":"json"}]',
- 'title' => 'ConvertPrepayInstance',
- ],
- 'ModifyInstanceVswitch' => [
- 'summary' => '修改集群交换机',
- 'methods' => [
- 'post',
+ [
+ 'apiName' => 'UntagResources',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:UnTagVvpResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'DeleteNamespace',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'stream:DeleteVvpNamespace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'ModifyPrepayInstanceSpec',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpPrepayInstanceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
],
],
- 'operationType' => 'write',
- 'deprecated' => true,
- 'systemTags' => [
+ [
+ 'apiName' => 'ModifyElasticResourceSpec',
+ 'description' => '',
'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '213064',
- 'abilityTreeNodes' => [
- 'FEATUREscWKZGIA',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpInstanceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'InstanceId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'sc_flinkserverless_public_cn-7e22ae****',
+ [
+ 'apiName' => 'ModifyNamespaceSpecV2',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpNamespaceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpNamespace', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}/vvpnamespace/{#Namespace}'],
],
],
- [
- 'name' => 'VSwitchIds',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'vsw-m5esz02px6qxiu28x****',
- ],
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'ModifyPrepayNamespaceSpec',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpPrepayNamespaceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
- [
- 'name' => 'HaVSwitchIds',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '',
- 'type' => 'array',
- 'items' => [
- 'description' => '',
- 'type' => 'string',
- 'required' => false,
- 'example' => '[\\"vsw-2ze78bg1iewk***dylxi\\"]',
- ],
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'ListTagResources',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'stream:QueryTagVvpResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
],
],
],
- '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****',
- ],
- ],
+ [
+ 'apiName' => 'DescribeInstances',
+ 'description' => '',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'stream:DescribeVvpInstances',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
],
],
],
- 'staticInfo' => [
- 'noSubstitutionReason' => '暂无替代API,请关注后续API最新发布。',
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'ModifyInstanceSpec',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyVvpInstanceSpec',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'CreateNamespace',
+ 'description' => '',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'stream:CreateVvpNamespace',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryConvertInstancePrice',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'stream:QueryConvertVvpPostpayInstancePrice',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'TagResources',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:TagVvpResources',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryRenewInstancePrice',
+ 'description' => '',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'stream:QueryRenewVvpInstancePrice',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'QueryCreateInstancePrice',
+ 'description' => '',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'stream:QueryCreateVvpInstancePrice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'DeleteInstance',
+ 'description' => '',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'stream:DeleteVvpInstance',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ],
+ ],
+ ],
+ [
+ 'apiName' => 'ModifyInstanceVswitch',
+ 'description' => '',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'stream:ModifyInstanceVswitch',
+ 'authLevel' => 'resource',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'RealtimeCompute', 'resourceType' => 'All Resource', 'arn' => '*'],
+ ],
+ ],
],
- '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',
+ 'resourceTypes' => [
+ ['validationType' => 'always', 'resourceType' => 'VvpInstance', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}'],
+ ['validationType' => 'always', 'resourceType' => 'VvpNamespace', 'arn' => 'acs:stream:*:{#accountId}:vvpinstance/{#InstanceId}/vvpnamespace/{#Namespace}'],
+ ['validationType' => 'always', 'resourceType' => 'VvpNamespace', 'arn' => 'acs:stream:{#regionId}:{#accountId}:vvpinstance/{#InstanceId}/vvpnamespace/{#Namespace}'],
+ ['validationType' => 'always', 'resourceType' => 'VvpNamespace', 'arn' => 'acs:stream:*:{#accountId}:vvpinstance/{#InstanceId}'],
],
],
];