'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'], 'ClusterState' => ['$ref' => '#/components/schemas/ClusterState'], 'VSwitches' => [ 'type' => 'array', 'items' => ['$ref' => '#/components/schemas/FlussVswitch'], ], 'TieringPreCu' => ['type' => 'integer', 'format' => 'int64'], 'TieringPostCu' => ['type' => 'integer', 'format' => 'int64'], 'Ha' => ['type' => 'boolean'], ], ], 'FlussResourceSpec' => [ 'type' => 'object', 'properties' => [ 'SlaveModel' => ['type' => 'string'], 'SlaveNum' => ['type' => 'integer', 'format' => 'int64'], 'DiskSizeInGB' => ['type' => 'integer', 'format' => 'int64'], 'TieringPreCu' => ['type' => 'integer', 'format' => 'int64'], 'TieringPostCu' => ['type' => 'integer', 'format' => 'int64'], ], ], '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' => [ '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], ], ], ], ], ], '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'], ], [ 'name' => 'PromotionCode', 'in' => 'formData', 'schema' => ['type' => 'string'], ], ], ], '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], ], ], ], '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], ], ], ], ], ], ], '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], ], ], ], '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], ], ], ], '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], ], ], ], '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'], ], [ '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'], ], [ 'name' => 'NamespaceName', 'in' => 'query', 'schema' => ['type' => 'string'], ], ], ], '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], ], ], ], 'DescribeSupportedRegions' => [ 'methods' => ['get'], 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [], ], '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], ], ], ], '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, ], ], ], ], '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], ], ], ], ], ], '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], ], ], ], '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], ], ], ], ], '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], ], ], ], '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], ], ], ], ], ], '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], ], ], ], ], ], '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'], ], [ 'name' => 'PromotionCode', 'in' => 'formData', 'schema' => ['type' => 'string'], ], ], ], '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], ], ], ], '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'], ], [ 'name' => 'PromotionCode', 'in' => 'formData', 'schema' => ['type' => 'string'], ], ], ], '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'], ], [ 'name' => 'PromotionCode', 'in' => 'formData', 'schema' => ['type' => 'string'], ], ], ], '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, ], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.cn-qingdao.aliyuncs.com', 'endpoint' => 'foasconsole.cn-qingdao.aliyuncs.com', 'vpc' => ''], ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'foasconsole.cn-wulanchabu.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-wulanchabu.aliyuncs.com'], ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.cn-beijing.aliyuncs.com', 'endpoint' => 'foasconsole.cn-beijing.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-beijing.aliyuncs.com'], ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.cn-shanghai.aliyuncs.com', 'endpoint' => 'foasconsole.cn-shanghai.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-shanghai.aliyuncs.com'], ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.cn-hongkong.aliyuncs.com', 'endpoint' => 'foasconsole.cn-hongkong.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-hongkong.aliyuncs.com'], ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'foasconsole.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-zhangjiakou.aliyuncs.com'], ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.cn-shenzhen.aliyuncs.com', 'endpoint' => 'foasconsole.cn-shenzhen.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-shenzhen.aliyuncs.com'], ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.ap-northeast-1.aliyuncs.com', 'endpoint' => 'foasconsole.ap-northeast-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.ap-northeast-1.aliyuncs.com'], ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.ap-southeast-1.aliyuncs.com', 'endpoint' => 'foasconsole.ap-southeast-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.ap-southeast-1.aliyuncs.com'], ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.ap-southeast-3.aliyuncs.com', 'endpoint' => 'foasconsole.ap-southeast-3.aliyuncs.com', 'vpc' => 'foasconsole-vpc.ap-southeast-3.aliyuncs.com'], ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.ap-southeast-5.aliyuncs.com', 'endpoint' => 'foasconsole.ap-southeast-5.aliyuncs.com', 'vpc' => 'foasconsole-vpc.ap-southeast-5.aliyuncs.com'], ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'foasconsole.cn-hangzhou.aliyuncs.com', 'endpoint' => 'foasconsole.cn-hangzhou.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-hangzhou.aliyuncs.com'], ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'foasconsole.us-east-1.aliyuncs.com', 'endpoint' => 'foasconsole.us-east-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.us-east-1.aliyuncs.com'], ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'foasconsole.eu-west-1.aliyuncs.com', 'endpoint' => 'foasconsole.eu-west-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.eu-west-1.aliyuncs.com'], ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'foasconsole.us-west-1.aliyuncs.com', 'endpoint' => 'foasconsole.us-west-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.us-west-1.aliyuncs.com'], ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'foasconsole.eu-central-1.aliyuncs.com', 'endpoint' => 'foasconsole.eu-central-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.eu-central-1.aliyuncs.com'], ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'foasconsole.cn-shenzhen-finance-1.aliyuncs.com', 'endpoint' => 'foasconsole.cn-shenzhen-finance-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-shenzhen-finance-1.aliyuncs.com'], ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'foasconsole.cn-shanghai-finance-1.aliyuncs.com', 'endpoint' => 'foasconsole.cn-shanghai-finance-1.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-shanghai-finance-1.aliyuncs.com'], ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'foasconsole.aliyuncs.com', 'endpoint' => 'foasconsole.aliyuncs.com', 'vpc' => 'foasconsole-vpc.cn-north-2-gov-1.aliyuncs.com'], ], ];