summaryrefslogtreecommitdiff
path: root/data/foasconsole/2019-06-01
diff options
context:
space:
mode:
Diffstat (limited to 'data/foasconsole/2019-06-01')
-rw-r--r--data/foasconsole/2019-06-01/api-docs.php1709
1 files changed, 1709 insertions, 0 deletions
diff --git a/data/foasconsole/2019-06-01/api-docs.php b/data/foasconsole/2019-06-01/api-docs.php
new file mode 100644
index 0000000..cdaa7c1
--- /dev/null
+++ b/data/foasconsole/2019-06-01/api-docs.php
@@ -0,0 +1,1709 @@
+<?php return [
+ 'version' => '1.0',
+ 'info' => [
+ 'style' => 'RPC',
+ 'product' => 'foasconsole',
+ 'version' => '2019-06-01',
+ ],
+ 'components' => [
+ 'schemas' => [],
+ ],
+ 'apis' => [
+ 'CreateNamespace' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'CreateNamespaceRequest',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Region' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'Namespace' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'ResourceSpec' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Cpu' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ 'MemoryGB' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'Ha' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteNamespace' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'DeleteNamespaceRequest',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Region' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'Namespace' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ModifyPrepayNamespaceSpec' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => true,
+ 'parameters' => [
+ [
+ 'name' => 'ModifyPrepayNamespaceSpecRequest',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Region' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'Namespace' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'ResourceSpec' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Cpu' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ 'MemoryGB' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeNamespaces' => [
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'DescribeNamespacesRequest',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Region' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'Namespace' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'PageIndex' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ 'PageSize' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ 'Tags' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'Ha' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'CreateInstance' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'CreateInstanceRequest',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'InstanceName' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'ChargeType' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => [
+ 'PRE',
+ 'POST',
+ ],
+ ],
+ 'Region' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'ZoneId' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'VpcId' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'VSwitchIds' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ 'ResourceSpec' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Cpu' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ 'MemoryGB' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'PricingCycle' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'Year',
+ 'Month',
+ 'Day',
+ 'Hour',
+ ],
+ ],
+ 'Duration' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ 'AutoRenew' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'Storage' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Oss' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Bucket' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UsePromotionCode' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'PromotionCode' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'ResourceGroupId' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'Extra' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'ArchitectureType' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'X86',
+ 'ARM',
+ ],
+ ],
+ 'Ha' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'HaZoneId' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'HaVSwitchIds' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ 'HaResourceSpec' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Cpu' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ 'MemoryGB' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'MonitorType' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'RenewInstance' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RenewInstanceRequest',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Region' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'Duration' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ 'PricingCycle' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => [
+ 'Year',
+ 'Month',
+ 'Day',
+ 'Hour',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DeleteInstance' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'DeleteInstanceRequest',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Region' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ModifyPrepayInstanceSpec' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => true,
+ 'parameters' => [
+ [
+ 'name' => 'ModifyPrepayInstanceSpecRequest',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Region' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'ResourceSpec' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Cpu' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ 'MemoryGB' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'Ha' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'HaZoneId' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'HaVSwitchIds' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ 'HaResourceSpec' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Cpu' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ 'MemoryGB' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ConvertInstance' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ConvertPostpayInstanceRequest',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Region' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'PricingCycle' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => [
+ 'Year',
+ 'Month',
+ 'Day',
+ 'Hour',
+ ],
+ ],
+ 'Duration' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ 'IsAutoRenew' => [
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'NamespaceResourceSpecs' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Namespace' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'ResourceSpec' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Cpu' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ 'MemoryGB' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeInstances' => [
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'DescribeInstancesRequest',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'PageIndex' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ 'PageSize' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'Region' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'ChargeType' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'PRE',
+ 'POST',
+ ],
+ ],
+ 'Tags' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'ResourceGroupId' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'ArchitectureType' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'X86',
+ 'ARM',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'QueryCreateInstancePrice' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'CreateInstanceRequest',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'InstanceName' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'ChargeType' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => [
+ 'PRE',
+ 'POST',
+ ],
+ ],
+ 'Region' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'ZoneId' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'VpcId' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'VSwitchIds' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ 'ResourceSpec' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Cpu' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ 'MemoryGB' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'PricingCycle' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'Year',
+ 'Month',
+ 'Day',
+ 'Hour',
+ ],
+ ],
+ 'Duration' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ 'AutoRenew' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'Storage' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Oss' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Bucket' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'UsePromotionCode' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'PromotionCode' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'Extra' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'ArchitectureType' => [
+ 'type' => 'string',
+ 'required' => false,
+ 'enum' => [
+ 'X86',
+ 'ARM',
+ ],
+ ],
+ 'Ha' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'HaResourceSpec' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Cpu' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ 'MemoryGB' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'QueryModifyInstancePrice' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ModifyPrepayInstanceSpecRequest',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Region' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'ResourceSpec' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Cpu' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ 'MemoryGB' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'Ha' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ 'HaZoneId' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'HaVSwitchIds' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ 'HaResourceSpec' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Cpu' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ 'MemoryGB' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'QueryRenewInstancePrice' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RenewInstanceRequest',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Region' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'Duration' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ 'PricingCycle' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => [
+ 'Year',
+ 'Month',
+ 'Day',
+ 'Hour',
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'QueryConvertInstancePrice' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ConvertPostpayInstanceRequest',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Region' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'PricingCycle' => [
+ 'type' => 'string',
+ 'required' => true,
+ 'enum' => [
+ 'Year',
+ 'Month',
+ 'Day',
+ 'Hour',
+ ],
+ ],
+ 'Duration' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ 'IsAutoRenew' => [
+ 'type' => 'boolean',
+ 'required' => true,
+ ],
+ 'NamespaceResourceSpecs' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Namespace' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'ResourceSpec' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Cpu' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ 'MemoryGB' => [
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'DescribeSupportedZones' => [
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'Region',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'ArchitectureType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ ],
+ 'DescribeSupportedRegions' => [
+ 'methods' => [
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [],
+ ],
+ 'ListTagResources' => [
+ 'methods' => [
+ 'get',
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'NextToken',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'maxItems' => 51,
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'maxItems' => 21,
+ ],
+ ],
+ ],
+ ],
+ 'UntagResources' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'All',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'boolean',
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'maxItems' => 51,
+ ],
+ ],
+ [
+ 'name' => 'TagKey',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => false,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'maxItems' => 21,
+ ],
+ ],
+ ],
+ ],
+ 'TagResources' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'ResourceType',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'maxItems' => 51,
+ ],
+ ],
+ [
+ 'name' => 'Tag',
+ 'in' => 'query',
+ 'style' => 'repeatList',
+ 'schema' => [
+ 'type' => 'array',
+ 'required' => true,
+ 'items' => [
+ 'type' => 'object',
+ 'required' => false,
+ 'properties' => [
+ 'Key' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ 'Value' => [
+ 'type' => 'string',
+ 'required' => false,
+ ],
+ ],
+ ],
+ 'maxItems' => 21,
+ ],
+ ],
+ ],
+ ],
+ 'ConvertPrepayInstance' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ConvertPrepayInstanceRequest',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Region' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'QueryConvertPrepayInstancePrice' => [
+ 'methods' => [
+ 'post',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ConvertPrepayInstanceRequest',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'type' => 'object',
+ 'required' => true,
+ 'properties' => [
+ 'Region' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ 'InstanceId' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ChangeResourceGroup' => [
+ 'methods' => [
+ 'post',
+ 'get',
+ ],
+ 'schemes' => [
+ 'http',
+ 'https',
+ ],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'ResourceId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'ResourceRegionId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'ResourceGroupId',
+ 'in' => 'query',
+ 'schema' => [
+ 'type' => 'string',
+ 'required' => true,
+ ],
+ ],
+ ],
+ ],
+ ],
+ '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',
+ ],
+ ],
+];