diff options
| author | Zhineng Li <[email protected]> | 2026-02-14 10:08:30 +0800 |
|---|---|---|
| committer | Zhineng Li <[email protected]> | 2026-02-14 10:08:30 +0800 |
| commit | eccd5cd5a067f5659982685afdeea209b1888efb (patch) | |
| tree | 1626c903b854317be1708ce3ccd3b4f4e6e0fc97 /data/foasconsole | |
| download | acs-metadata-1.0.0+20260212.tar.gz acs-metadata-1.0.0+20260212.zip | |
first commitHEADv1.0.0+20260212main
Diffstat (limited to 'data/foasconsole')
| -rw-r--r-- | data/foasconsole/2019-06-01/api-docs.php | 1709 | ||||
| -rw-r--r-- | data/foasconsole/2021-10-28/api-docs.php | 2488 |
2 files changed, 4197 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', + ], + ], +]; diff --git a/data/foasconsole/2021-10-28/api-docs.php b/data/foasconsole/2021-10-28/api-docs.php new file mode 100644 index 0000000..69c6b92 --- /dev/null +++ b/data/foasconsole/2021-10-28/api-docs.php @@ -0,0 +1,2488 @@ +<?php return [ + 'version' => '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'foasconsole', + 'version' => '2021-10-28', + ], + 'components' => [ + 'schemas' => [ + 'ClusterStage' => [ + 'type' => 'object', + 'properties' => [ + 'Message' => [ + 'type' => 'string', + ], + 'CurrentStage' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'Status' => [ + 'type' => 'string', + ], + 'TotalStageWithWeight' => [ + 'type' => 'array', + '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' => [ + 'type' => 'string', + ], + 'InstanceId' => [ + 'type' => 'string', + ], + 'InstanceName' => [ + 'type' => 'string', + ], + 'Uid' => [ + 'type' => 'string', + ], + 'VpcId' => [ + 'type' => 'string', + ], + 'OrderState' => [ + 'type' => 'string', + ], + 'ConsoleUrl' => [ + 'type' => 'string', + ], + 'TabletServerModel' => [ + 'type' => 'string', + ], + 'TabletServerNum' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'TabletServerType' => [ + 'type' => 'string', + ], + 'DiskSize' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'ResourceCreateTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'ResourceExpiredTime' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'ClusterStatus' => [ + 'type' => 'string', + ], + 'VSwitches' => [ + 'type' => 'array', + 'items' => [ + '$ref' => '#/components/schemas/FlussVswitch', + ], + ], + 'ClusterState' => [ + '$ref' => '#/components/schemas/ClusterState', + ], + ], + ], + 'FlussVswitch' => [ + 'type' => 'object', + 'properties' => [ + 'ZoneId' => [ + 'type' => 'string', + ], + 'VSwitchIds' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + ], + ], + ], + 'StageWithWeight' => [ + 'type' => 'object', + 'properties' => [ + 'StepIndex' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + 'StepName' => [ + 'type' => 'string', + ], + 'Weight' => [ + 'type' => 'integer', + 'format' => 'int32', + ], + ], + ], + ], + ], + 'apis' => [ + 'ModifyInstanceSpec' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + ], + ], + ], + [ + 'name' => 'Ha', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'HaVSwitchIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + [ + 'name' => 'HaResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + [ + 'name' => 'UsePromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'PromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'ModifyElasticResourceSpec' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'ConvertHybridInstance' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'QueryConvertPrepayInstancePrice' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'ModifyPrepayInstanceSpec' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => true, + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + ], + ], + ], + [ + 'name' => 'Ha', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'HaZoneId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'HaVSwitchIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + [ + 'name' => 'HaResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + ], + ], + 'QueryConvertInstancePrice' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'PricingCycle', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'Duration', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + ], + [ + 'name' => 'IsAutoRenew', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => true, + ], + ], + [ + 'name' => 'NamespaceResourceSpecs', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'ResourceSpec' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + ], + ], + 'Namespace' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + [ + 'name' => 'UsePromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'PromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'QueryCreateInstancePrice' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ChargeType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'enum' => [ + 'PRE', + 'POST', + ], + ], + ], + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'VpcId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'VSwitchIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + [ + 'name' => 'PricingCycle', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'Year', + 'Month', + 'Day', + 'Hour', + ], + ], + ], + [ + 'name' => 'Duration', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'AutoRenew', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'Storage', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Oss' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Bucket' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + [ + 'name' => 'UsePromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'PromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Extra', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ArchitectureType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Ha', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'HaResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + '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' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + ], + ], + ], + [ + 'name' => 'Ha', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'HaVSwitchIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + [ + 'name' => 'HaResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + [ + 'name' => 'UsePromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'PromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'QueryRenewInstancePrice' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'Duration', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + ], + [ + 'name' => 'PricingCycle', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'enum' => [ + 'Year', + 'Month', + 'Day', + 'Hour', + ], + ], + ], + [ + 'name' => 'UsePromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'PromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + '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' => [], + ], + 'CreateInstance' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'InstanceName', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'ChargeType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'enum' => [ + 'PRE', + 'POST', + ], + ], + ], + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'VpcId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'VSwitchIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + [ + 'name' => 'PricingCycle', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'Year', + 'Month', + 'Day', + 'Hour', + ], + ], + ], + [ + 'name' => 'Duration', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'AutoRenew', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'Storage', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'Oss' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Bucket' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + 'FullyManaged' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + [ + 'name' => 'UsePromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'PromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Extra', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ArchitectureType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Ha', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'HaVSwitchIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + [ + 'name' => 'HaResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + [ + 'name' => 'MonitorType', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Tag', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Key' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + ], + 'RenewInstance' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'Duration', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + ], + [ + 'name' => 'PricingCycle', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + 'enum' => [ + 'Year', + 'Month', + 'Day', + 'Hour', + ], + ], + ], + [ + 'name' => 'UsePromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'PromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'DescribeInstances' => [ + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'ChargeType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + 'enum' => [ + 'PRE', + 'POST', + ], + ], + ], + [ + 'name' => 'Elastic', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Key' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + [ + 'name' => 'ResourceGroupId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'ArchitectureType', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'InstanceName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'NamespaceName', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'DeleteInstance' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'ConvertInstance' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'PricingCycle', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'Duration', + 'in' => 'formData', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + ], + [ + 'name' => 'IsAutoRenew', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => true, + ], + ], + [ + 'name' => 'NamespaceResourceSpecs', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => true, + 'items' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'ResourceSpec' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + ], + ], + 'Namespace' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + ], + [ + 'name' => 'UsePromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + [ + 'name' => 'PromotionCode', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + 'ModifyNamespaceSpecV2' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'Namespace', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'GuaranteedResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + ], + ], + ], + [ + 'name' => 'ElasticResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + ], + ], + ], + [ + 'name' => 'Ha', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => true, + ], + ], + ], + ], + 'DescribeNamespaces' => [ + 'methods' => [ + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'Namespace', + 'in' => 'query', + 'schema' => [ + 'type' => 'string', + 'required' => false, + ], + ], + [ + 'name' => 'Tags', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Key' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + [ + 'name' => 'PageIndex', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + [ + 'name' => 'Ha', + 'in' => 'query', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + 'ModifyPrepayNamespaceSpec' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => true, + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'Namespace', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => true, + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => true, + ], + ], + ], + ], + ], + ], + 'DeleteNamespace' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'Namespace', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'CreateNamespace' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'Namespace', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'ResourceSpec', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'object', + 'required' => false, + 'properties' => [ + 'Cpu' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + 'MemoryGB' => [ + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + ], + ], + ], + ], + [ + 'name' => 'Ha', + 'in' => 'formData', + 'schema' => [ + 'type' => 'boolean', + 'required' => false, + ], + ], + ], + ], + '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, + ], + ], + ], + ], + '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' => [ + 'Value' => [ + 'type' => 'string', + 'required' => false, + ], + 'Key' => [ + '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, + ], + ], + ], + ], + 'ConvertPrepayInstance' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => false, + 'parameters' => [ + [ + 'name' => 'Region', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + ], + ], + 'ModifyInstanceVswitch' => [ + 'methods' => [ + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'deprecated' => true, + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'formData', + 'schema' => [ + 'type' => 'string', + 'required' => true, + ], + ], + [ + 'name' => 'VSwitchIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + [ + 'name' => 'HaVSwitchIds', + 'in' => 'formData', + 'style' => 'json', + 'schema' => [ + 'type' => 'array', + 'required' => false, + 'items' => [ + 'type' => 'string', + 'required' => false, + ], + ], + ], + ], + ], + ], + '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', + ], + ], +]; |
