diff options
| author | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
|---|---|---|
| committer | Zhineng Li <im@zhineng.li> | 2026-07-12 16:56:35 +0800 |
| commit | 814ec806c22e2782390af5a4a05cb6281aabd5e1 (patch) | |
| tree | 29e1692a067b17e56886a7d246d2b9521b2b7777 /data/foasconsole/2019-06-01/api-docs.php | |
| parent | eccd5cd5a067f5659982685afdeea209b1888efb (diff) | |
| download | afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.tar.gz afterglow-metadata-814ec806c22e2782390af5a4a05cb6281aabd5e1.zip | |
update APIs 20260712
Diffstat (limited to 'data/foasconsole/2019-06-01/api-docs.php')
| -rw-r--r-- | data/foasconsole/2019-06-01/api-docs.php | 1183 |
1 files changed, 206 insertions, 977 deletions
diff --git a/data/foasconsole/2019-06-01/api-docs.php b/data/foasconsole/2019-06-01/api-docs.php index cdaa7c1..5abcdb0 100644 --- a/data/foasconsole/2019-06-01/api-docs.php +++ b/data/foasconsole/2019-06-01/api-docs.php @@ -1,22 +1,13 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'foasconsole', - 'version' => '2019-06-01', - ], + 'info' => ['style' => 'RPC', 'product' => 'foasconsole', 'version' => '2019-06-01'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CreateNamespace' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -32,51 +23,26 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'Region' => [ - 'type' => 'string', - 'required' => true, - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Namespace' => [ - 'type' => 'string', - 'required' => true, - ], + '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, - ], + 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], - 'Ha' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'Ha' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], 'DeleteNamespace' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -92,31 +58,17 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'Region' => [ - 'type' => 'string', - 'required' => true, - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Namespace' => [ - 'type' => 'string', - 'required' => true, - ], + 'Region' => ['type' => 'string', 'required' => true], + 'InstanceId' => ['type' => 'string', 'required' => true], + 'Namespace' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ModifyPrepayNamespaceSpec' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -132,32 +84,15 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'Region' => [ - 'type' => 'string', - 'required' => true, - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Namespace' => [ - 'type' => 'string', - 'required' => true, - ], + '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, - ], + 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], @@ -166,13 +101,8 @@ ], ], 'DescribeNamespaces' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -188,28 +118,11 @@ '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, - ], + '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, @@ -217,34 +130,20 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], + 'Key' => ['type' => 'string', 'required' => false], + 'Value' => ['type' => 'string', 'required' => false], ], ], ], - 'Ha' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'Ha' => ['type' => 'boolean', 'required' => false], ], ], ], ], ], 'CreateInstance' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -260,73 +159,35 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'InstanceName' => [ - 'type' => 'string', - 'required' => true, - ], + '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, + '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, - ], + '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, - ], + '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, + 'enum' => ['Year', 'Month', 'Day', 'Hour'], ], + 'Duration' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'AutoRenew' => ['type' => 'boolean', 'required' => false], 'Storage' => [ 'type' => 'object', 'required' => true, @@ -335,87 +196,44 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'Bucket' => [ - 'type' => 'string', - 'required' => true, - ], + '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, - ], + '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, + 'enum' => ['X86', 'ARM'], ], + 'Ha' => ['type' => 'boolean', 'required' => false], + 'HaZoneId' => ['type' => 'string', 'required' => false], 'HaVSwitchIds' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - '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, - ], + 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], - 'MonitorType' => [ - 'type' => 'string', - 'required' => false, - ], + 'MonitorType' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'RenewInstance' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -431,28 +249,13 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'Region' => [ - 'type' => 'string', - 'required' => true, - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Duration' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + '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', - ], + 'enum' => ['Year', 'Month', 'Day', 'Hour'], ], ], ], @@ -460,13 +263,8 @@ ], ], 'DeleteInstance' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -482,27 +280,16 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'Region' => [ - 'type' => 'string', - 'required' => true, - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => true, - ], + 'Region' => ['type' => 'string', 'required' => true], + 'InstanceId' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ModifyPrepayInstanceSpec' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -518,60 +305,29 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'Region' => [ - 'type' => 'string', - 'required' => true, - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => true, - ], + '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, - ], + 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], - 'Ha' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'HaZoneId' => [ - 'type' => 'string', - 'required' => false, - ], + 'Ha' => ['type' => 'boolean', 'required' => false], + 'HaZoneId' => ['type' => 'string', 'required' => false], 'HaVSwitchIds' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - '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, - ], + 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], @@ -580,13 +336,8 @@ ], ], 'ConvertInstance' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -602,33 +353,15 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'Region' => [ - 'type' => 'string', - 'required' => true, - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => true, - ], + '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, + 'enum' => ['Year', 'Month', 'Day', 'Hour'], ], + 'Duration' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'IsAutoRenew' => ['type' => 'boolean', 'required' => true], 'NamespaceResourceSpecs' => [ 'type' => 'array', 'required' => true, @@ -636,24 +369,13 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'Namespace' => [ - '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, - ], + 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], @@ -665,13 +387,8 @@ ], ], 'DescribeInstances' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -687,31 +404,14 @@ '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, - ], + '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', - ], + 'enum' => ['PRE', 'POST'], ], 'Tags' => [ 'type' => 'array', @@ -720,28 +420,16 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], + 'Key' => ['type' => 'string', 'required' => false], + 'Value' => ['type' => 'string', 'required' => false], ], ], ], - 'ResourceGroupId' => [ - 'type' => 'string', - 'required' => false, - ], + 'ResourceGroupId' => ['type' => 'string', 'required' => false], 'ArchitectureType' => [ 'type' => 'string', 'required' => false, - 'enum' => [ - 'X86', - 'ARM', - ], + 'enum' => ['X86', 'ARM'], ], ], ], @@ -749,13 +437,8 @@ ], ], 'QueryCreateInstancePrice' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -771,73 +454,35 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'InstanceName' => [ - 'type' => 'string', - 'required' => false, - ], + '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, + '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, - ], + '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, - ], + '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, + 'enum' => ['Year', 'Month', 'Day', 'Hour'], ], + 'Duration' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'AutoRenew' => ['type' => 'boolean', 'required' => false], 'Storage' => [ 'type' => 'object', 'required' => false, @@ -846,52 +491,26 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Bucket' => [ - 'type' => 'string', - 'required' => false, - ], + 'Bucket' => ['type' => 'string', 'required' => false], ], ], ], ], - 'UsePromotionCode' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'PromotionCode' => [ - 'type' => 'string', - 'required' => false, - ], - 'Extra' => [ - '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, + '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, - ], + 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], @@ -900,13 +519,8 @@ ], ], 'QueryModifyInstancePrice' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -922,60 +536,29 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'Region' => [ - 'type' => 'string', - 'required' => true, - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => true, - ], + '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, - ], + 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], - 'Ha' => [ - 'type' => 'boolean', - 'required' => false, - ], - 'HaZoneId' => [ - 'type' => 'string', - 'required' => false, - ], + 'Ha' => ['type' => 'boolean', 'required' => false], + 'HaZoneId' => ['type' => 'string', 'required' => false], 'HaVSwitchIds' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - '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, - ], + 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'required' => false], + 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], @@ -984,13 +567,8 @@ ], ], 'QueryRenewInstancePrice' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1006,28 +584,13 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'Region' => [ - 'type' => 'string', - 'required' => true, - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => true, - ], - 'Duration' => [ - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - ], + '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', - ], + 'enum' => ['Year', 'Month', 'Day', 'Hour'], ], ], ], @@ -1035,13 +598,8 @@ ], ], 'QueryConvertInstancePrice' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1057,33 +615,15 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'Region' => [ - 'type' => 'string', - 'required' => true, - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => true, - ], + '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, + 'enum' => ['Year', 'Month', 'Day', 'Hour'], ], + 'Duration' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'IsAutoRenew' => ['type' => 'boolean', 'required' => true], 'NamespaceResourceSpecs' => [ 'type' => 'array', 'required' => true, @@ -1091,24 +631,13 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'Namespace' => [ - '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, - ], + 'Cpu' => ['type' => 'integer', 'format' => 'int32', 'required' => true], + 'MemoryGB' => ['type' => 'integer', 'format' => 'int32', 'required' => true], ], ], ], @@ -1120,13 +649,8 @@ ], ], 'DescribeSupportedZones' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1137,29 +661,18 @@ [ 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ArchitectureType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DescribeSupportedRegions' => [ - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1169,14 +682,8 @@ 'parameters' => [], ], 'ListTagResources' => [ - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1187,26 +694,17 @@ [ 'name' => 'NextToken', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => false, - ], + 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', @@ -1215,10 +713,7 @@ 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], 'maxItems' => 51, ], ], @@ -1233,14 +728,8 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], + 'Key' => ['type' => 'string', 'required' => false], + 'Value' => ['type' => 'string', 'required' => false], ], ], 'maxItems' => 21, @@ -1249,14 +738,8 @@ ], ], 'UntagResources' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1267,26 +750,17 @@ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'All', 'in' => 'query', - 'schema' => [ - 'type' => 'boolean', - 'required' => false, - ], + 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'ResourceId', @@ -1295,10 +769,7 @@ 'schema' => [ 'type' => 'array', 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], 'maxItems' => 51, ], ], @@ -1309,24 +780,15 @@ 'schema' => [ 'type' => 'array', 'required' => false, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], 'maxItems' => 21, ], ], ], ], 'TagResources' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1336,18 +798,12 @@ [ 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceType', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceId', @@ -1356,10 +812,7 @@ 'schema' => [ 'type' => 'array', 'required' => true, - 'items' => [ - 'type' => 'string', - 'required' => false, - ], + 'items' => ['type' => 'string', 'required' => false], 'maxItems' => 51, ], ], @@ -1374,14 +827,8 @@ 'type' => 'object', 'required' => false, 'properties' => [ - 'Key' => [ - 'type' => 'string', - 'required' => false, - ], - 'Value' => [ - 'type' => 'string', - 'required' => false, - ], + 'Key' => ['type' => 'string', 'required' => false], + 'Value' => ['type' => 'string', 'required' => false], ], ], 'maxItems' => 21, @@ -1390,13 +837,8 @@ ], ], 'ConvertPrepayInstance' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1412,27 +854,16 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'Region' => [ - 'type' => 'string', - 'required' => true, - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => true, - ], + 'Region' => ['type' => 'string', 'required' => true], + 'InstanceId' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'QueryConvertPrepayInstancePrice' => [ - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1448,28 +879,16 @@ 'type' => 'object', 'required' => true, 'properties' => [ - 'Region' => [ - 'type' => 'string', - 'required' => true, - ], - 'InstanceId' => [ - 'type' => 'string', - 'required' => true, - ], + 'Region' => ['type' => 'string', 'required' => true], + 'InstanceId' => ['type' => 'string', 'required' => true], ], ], ], ], ], 'ChangeResourceGroup' => [ - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1480,230 +899,40 @@ [ 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceRegionId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ResourceGroupId', 'in' => 'query', - 'schema' => [ - 'type' => 'string', - 'required' => true, - ], + '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', - ], + ['regionId' => 'cn-shenzhen', 'endpoint' => 'foasconsole.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'cn-wulanchabu', 'endpoint' => 'foasconsole.cn-wulanchabu.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'endpoint' => 'foasconsole.cn-beijing.aliyuncs.com'], + ['regionId' => 'ap-northeast-1', 'endpoint' => 'foasconsole.ap-northeast-1.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'endpoint' => 'foasconsole.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'endpoint' => 'foasconsole.cn-hongkong.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'endpoint' => 'foasconsole.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-3', 'endpoint' => 'foasconsole.ap-southeast-3.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'endpoint' => 'foasconsole.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'foasconsole.cn-zhangjiakou.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'endpoint' => 'foasconsole.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'us-west-1', 'endpoint' => 'foasconsole.us-west-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'endpoint' => 'foasconsole.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'endpoint' => 'foasconsole.eu-central-1.aliyuncs.com'], + ['regionId' => 'eu-west-1', 'endpoint' => 'foasconsole.eu-west-1.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'endpoint' => 'foasconsole.cn-shanghai-finance-1.aliyuncs.com'], + ['regionId' => 'cn-shenzhen-finance-1', 'endpoint' => 'foasconsole.cn-shenzhen-finance-1.aliyuncs.com'], + ['regionId' => 'cn-north-2-gov-1', 'endpoint' => 'foasconsole.aliyuncs.com'], + ['regionId' => 'cn-qingdao', 'endpoint' => 'foasconsole.cn-qingdao.aliyuncs.com'], ], ]; |
