From 7347bac4ab7e136157fc94777e6cf87ef9e08599 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Fri, 13 Feb 2026 10:54:11 +0800 Subject: first commit --- data/en_us/wss/2021-12-21/api-docs.php | 1201 ++++++++++++++++++++++++++++++++ 1 file changed, 1201 insertions(+) create mode 100644 data/en_us/wss/2021-12-21/api-docs.php (limited to 'data/en_us/wss/2021-12-21/api-docs.php') diff --git a/data/en_us/wss/2021-12-21/api-docs.php b/data/en_us/wss/2021-12-21/api-docs.php new file mode 100644 index 0000000..0f288cb --- /dev/null +++ b/data/en_us/wss/2021-12-21/api-docs.php @@ -0,0 +1,1201 @@ + '1.0', + 'info' => [ + 'style' => 'RPC', + 'product' => 'wss', + 'version' => '2021-12-21', + ], + 'directories' => [ + [ + 'id' => 202525, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'CreateMultiOrder', + ], + ], + [ + 'id' => 202515, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'DescribePackageDeductions', + 'ModifyInstanceProperties', + ], + ], + [ + 'id' => 196356, + 'title' => null, + 'type' => 'directory', + 'children' => [ + 'DescribeDeliveryAddress', + ], + ], + [ + 'id' => 0, + 'title' => '其它', + 'type' => 'directory', + 'children' => [ + 'DescribeMultiPrice', + ], + ], + ], + 'components' => [ + 'schemas' => [], + ], + 'apis' => [ + 'CreateMultiOrder' => [ + 'summary' => '多商品组合下单', + 'methods' => [ + 'get', + 'post', + ], + 'schemes' => [ + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'high', + 'chargeType' => 'paid', + 'abilityTreeCode' => '244439', + 'abilityTreeNodes' => [ + 'FEATUREgwsQ7ENW2', + ], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'OrderItems', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Amount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'ResourceType' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => [ + 'DurationPackage' => '', + ], + 'example' => 'DurationPackage', + ], + 'AutoPay' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'AutoRenew' => [ + 'description' => '', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'false', + ], + 'PeriodUnit' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'Month' => '', + 'Year' => '', + ], + 'example' => 'Year', + ], + 'Components' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'DurationType' => '', + 'RootDiskSize' => '', + 'OsType' => '', + 'RootDiskCategory' => '', + 'RootPerformanceLevel' => '', + 'DataPerformanceLevel' => '', + 'RegionId' => '', + 'DataDiskSize' => '', + 'InstanceType' => '', + 'DataDiskCategory' => '', + ], + 'example' => 'RegionId', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-shanghai', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + 'PromotionId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'youhuiquan_promotion_option_id_for_blank', + ], + 'Period' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'ResourceIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ecd-7ywwjrhpy9fec****', + ], + 'required' => false, + 'maxItems' => 100, + ], + 'BuyChange' => [ + 'type' => 'boolean', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [ + 'modify' => '', + 'create' => '', + 'renew' => '', + 'convert' => '', + 'refund' => '', + ], + 'example' => 'create', + ], + ], + [ + 'name' => 'Properties', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'string', + 'example' => '{"PackageUsedUpStrategyKey":"Postpaid"}', + 'description' => '', + ], + ], + ], + [ + 'name' => 'ResellerOwnerUid', + 'in' => 'query', + 'schema' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'title' => 'Id of the request', + 'description' => '', + 'type' => 'string', + 'example' => '833C4D2C-09C7-5CE6-8159-06758B964970', + ], + 'OrderIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '23171351342****', + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"833C4D2C-09C7-5CE6-8159-06758B964970\\",\\n \\"OrderIds\\": [\\n 0\\n ]\\n}","type":"json"}]', + ], + 'DescribePackageDeductions' => [ + 'summary' => '查询核时包抵扣明细', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '228937', + 'abilityTreeNodes' => [ + 'FEATUREgwsENR35V', + ], + ], + 'parameters' => [ + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'enumValueTitles' => [ + 'CorePackage' => '', + ], + 'example' => 'CorePackage', + 'title' => '资源类型,核时包:CorePackage', + ], + ], + [ + 'name' => 'PackageIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'chp-0bf5d9fdjr8vz****', + 'title' => '', + ], + 'required' => false, + 'docRequired' => false, + 'maxItems' => 100, + 'title' => '核时包id列表', + ], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ecd-6wye9optu0kag****', + ], + 'required' => false, + 'docRequired' => false, + 'maxItems' => 100, + 'title' => '抵扣实例列表,企业版核时包对应桌面id', + ], + ], + [ + 'name' => 'PageNum', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'enumValueTitles' => [], + 'example' => '1', + 'title' => '页码,默认1', + ], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'docRequired' => false, + 'example' => '100', + 'title' => '每页最大数量,最大不超过100,默认100', + 'maximum' => '100', + ], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => [ + 'title' => '起始时间,时间戳格式,long型', + 'type' => 'integer', + 'format' => 'int64', + ], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => [ + 'title' => '起始时间,时间戳格式,long型', + 'type' => 'integer', + 'format' => 'int64', + ], + ], + [ + 'name' => 'ResourceTypes', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'type' => 'array', + 'items' => [ + 'type' => 'string', + ], + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'PageNum' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '833C4D2C-09C7-5CE6-8159-06758B964970', + ], + 'PageSize' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '100', + ], + 'Deductions' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'DesktopName' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DemoComputer', + 'title' => '', + ], + 'DesktopId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'ecd-6wye9optu0kag****', + ], + 'RegionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'cn-hangzhou', + ], + 'DesktopType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'eds.enterprise_office.4c8g', + ], + 'OsType' => [ + 'description' => '', + 'type' => 'string', + 'enumValueTitles' => [ + 'Linux' => 'Linux', + 'Windows' => 'Windows', + ], + 'example' => 'Windows', + ], + 'StaTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2024-07-31T02:00Z', + ], + 'EndTime' => [ + 'description' => '', + 'type' => 'string', + 'example' => '2024-07-31T03:00Z', + ], + 'ResourceType' => [ + 'type' => 'string', + ], + 'UsedTime' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3600', + ], + 'UsedCoreTime' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '4.0', + ], + 'InstanceState' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Deleted', + ], + 'Memory' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '8192', + ], + 'Cpu' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '4', + ], + 'SessionId' => [ + 'type' => 'string', + ], + 'InstanceId' => [ + 'type' => 'string', + ], + 'InstanceType' => [ + 'type' => 'string', + ], + 'UsedTimeWithScale' => [ + 'type' => 'integer', + 'format' => 'int64', + ], + 'GroupResourceType' => [ + 'type' => 'string', + ], + ], + ], + 'title' => '抵扣详情', + ], + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '100', + 'title' => '', + ], + 'TotalUsedTime' => [ + 'title' => '总使用时长。', + 'type' => 'integer', + 'format' => 'int64', + ], + 'TotalUsedCoreTime' => [ + 'title' => '总抵扣核时。', + 'type' => 'number', + 'format' => 'float', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNum\\": 1,\\n \\"RequestId\\": \\"833C4D2C-09C7-5CE6-8159-06758B964970\\",\\n \\"PageSize\\": 100,\\n \\"Deductions\\": [\\n {\\n \\"DesktopName\\": \\"DemoComputer\\",\\n \\"DesktopId\\": \\"ecd-6wye9optu0kag****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"DesktopType\\": \\"eds.enterprise_office.4c8g\\",\\n \\"OsType\\": \\"Windows\\",\\n \\"StaTime\\": \\"2024-07-31T02:00Z\\",\\n \\"EndTime\\": \\"2024-07-31T03:00Z\\",\\n \\"ResourceType\\": \\"Desktop\\",\\n \\"UsedTime\\": 3600,\\n \\"UsedCoreTime\\": 4,\\n \\"InstanceState\\": \\"Deleted\\",\\n \\"Memory\\": 8192,\\n \\"Cpu\\": 4,\\n \\"SessionId\\": \\"\\",\\n \\"InstanceId\\": \\"\\",\\n \\"InstanceType\\": \\"\\",\\n \\"UsedTimeWithScale\\": 0,\\n \\"GroupResourceType\\": \\"\\"\\n }\\n ],\\n \\"TotalCount\\": 100,\\n \\"TotalUsedTime\\": 100000,\\n \\"TotalUsedCoreTime\\": 10.1\\n}","type":"json"}]', + ], + 'ModifyInstanceProperties' => [ + 'summary' => '更新实例属性', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => true, + 'docRequired' => false, + 'enumValueTitles' => [ + '企业版按月时长包' => 'DurationPackage', + ], + 'example' => 'DurationPackage', + ], + ], + [ + 'name' => 'InstanceId', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => true, + 'example' => 'mdp-0c62ayep0nk4v****', + ], + ], + [ + 'name' => 'Key', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'enumValueTitles' => [ + 'PackageUsedUpStrategy' => '', + ], + 'example' => 'PackageUsedUpStrategy', + ], + ], + [ + 'name' => 'Value', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'docRequired' => false, + 'example' => 'Postpaid', + ], + ], + [ + 'name' => 'InstanceIds', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'mdp-0bwu3if0u9wwj****', + ], + 'required' => false, + 'maxItems' => 200, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '833C4D2C-09C7-5CE6-8159-06758B964970', + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"833C4D2C-09C7-5CE6-8159-06758B964970\\"\\n}","type":"json"}]', + ], + 'DescribeDeliveryAddress' => [ + 'summary' => '查询物流地址', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '6', + ], + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '72481C12-69AB-5CE1-8A35-A8EFA921****', + ], + 'Addresses' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'PostalCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => '03****', + ], + 'Contacts' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'Alice', + ], + 'Mobile' => [ + 'description' => '', + 'type' => 'string', + 'example' => '1381111****', + ], + 'DefaultAddress' => [ + 'description' => '', + 'type' => 'boolean', + 'enumValueTitles' => [ + 'true' => '', + 'false' => '', + ], + 'example' => 'true', + ], + 'Detail' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'Province' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ProvinceId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '330000', + ], + 'ProvinceName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'City' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'CityId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '33****', + ], + 'CityName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + 'Area' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'AreaName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'AreaId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '33****', + ], + ], + ], + 'Town' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'TownName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'TownId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => '3001****', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 6,\\n \\"RequestId\\": \\"72481C12-69AB-5CE1-8A35-A8EFA921****\\",\\n \\"Addresses\\": [\\n {\\n \\"PostalCode\\": \\"03****\\",\\n \\"Contacts\\": \\"Alice\\",\\n \\"Mobile\\": \\"1381111****\\",\\n \\"DefaultAddress\\": true,\\n \\"Detail\\": \\"灯彩街1008号云园区2号楼测试中心\\\\n\\",\\n \\"Province\\": {\\n \\"ProvinceId\\": 330000,\\n \\"ProvinceName\\": \\"浙江省\\"\\n },\\n \\"City\\": {\\n \\"CityId\\": 0,\\n \\"CityName\\": \\"杭州市\\"\\n },\\n \\"Area\\": {\\n \\"AreaName\\": \\"西湖区\\",\\n \\"AreaId\\": 0\\n },\\n \\"Town\\": {\\n \\"TownName\\": \\"三墩镇\\",\\n \\"TownId\\": 0\\n }\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeMultiPrice' => [ + 'summary' => '批量询价', + 'methods' => [ + 'post', + 'get', + ], + 'schemes' => [ + 'http', + 'https', + ], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + ], + 'parameters' => [ + [ + 'name' => 'OrderItems', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Amount' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'ResourceType' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'DurationPackage', + ], + 'PeriodUnit' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'Year', + ], + 'Components' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Key' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'RegionId', + ], + 'Value' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'cn-shanghai', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 100, + ], + 'PromotionId' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'youhuiquan_promotion_option_id_for_blank', + ], + 'Period' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '1', + ], + 'InstanceIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'mdp-erdb15ubox6sx****', + ], + 'required' => false, + 'maxItems' => 100, + 'minItems' => 0, + ], + 'ResourceIds' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'ecd-7ywwjrhpy9fec****', + ], + 'required' => false, + 'maxItems' => 100, + 'minItems' => 0, + ], + 'SavingPlanPeriod' => [ + 'type' => 'string', + ], + ], + 'required' => false, + ], + 'required' => false, + 'maxItems' => 20, + ], + ], + [ + 'name' => 'OrderType', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'create', + ], + ], + [ + 'name' => 'PackageCode', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'string', + 'required' => false, + 'example' => 'pacakge', + ], + ], + [ + 'name' => 'ResellerOwnerUid', + 'in' => 'query', + 'schema' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'example' => '182864463481****', + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'RequestId' => [ + 'description' => '', + 'type' => 'string', + 'example' => '833C4D2C-09C7-5CE6-8159-06758B964970', + ], + 'PriceInfo' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Rules' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'Description' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'accounts_suspect_users', + ], + 'RuleId' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int64', + 'example' => 'hrzdvc', + ], + ], + ], + ], + 'Price' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OriginalPrice' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '6800', + ], + 'DiscountPrice' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '534.6', + ], + 'Currency' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'CNY', + ], + 'TradePrice' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '82.6', + ], + 'Promotions' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'PromotionDesc' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'OptionCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'new', + ], + 'Selected' => [ + 'description' => '', + 'type' => 'boolean', + 'example' => 'true', + ], + 'PromotionId' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'youhuiquan_promotion_option_id_for_blank', + ], + 'PromotionName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + ], + ], + ], + 'PriceDetails' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OrderItem' => [ + 'description' => '', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + ], + 'PriceDetail' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'OriginalPrice' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '100.00', + ], + 'DiscountPrice' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '20.00', + ], + 'TradePrice' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '80.00', + ], + 'ResourceType' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DurationPackage', + ], + 'SavingPlanRecommendPrice' => [ + 'type' => 'number', + 'format' => 'float', + ], + ], + ], + 'ModuleDetails' => [ + 'description' => '', + 'type' => 'array', + 'items' => [ + 'description' => '', + 'type' => 'object', + 'properties' => [ + 'ModuleCode' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'DesktopType', + ], + 'ModuleValue' => [ + 'description' => '', + 'type' => 'string', + 'example' => 'eds.enterprise_office.8c32g', + ], + 'ModuleName' => [ + 'description' => '', + 'type' => 'string', + 'example' => '', + ], + 'OriginalPrice' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '10900', + ], + 'DiscountPrice' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '734.65', + ], + 'TradePrice' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '292.2', + ], + 'SavingPlanDiscountPrice' => [ + 'type' => 'number', + 'format' => 'float', + ], + ], + ], + ], + ], + ], + ], + 'RefundPrice' => [ + 'description' => '', + 'type' => 'number', + 'format' => 'float', + 'example' => '60.00', + ], + 'RefundInstanceIdPriceMap' => [ + 'description' => '', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'number', + 'format' => 'float', + 'description' => '', + 'example' => '100', + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"833C4D2C-09C7-5CE6-8159-06758B964970\\",\\n \\"PriceInfo\\": {\\n \\"Rules\\": [\\n {\\n \\"Description\\": \\"accounts_suspect_users\\",\\n \\"RuleId\\": 0\\n }\\n ],\\n \\"Price\\": {\\n \\"OriginalPrice\\": 6800,\\n \\"DiscountPrice\\": 534.6,\\n \\"Currency\\": \\"CNY\\",\\n \\"TradePrice\\": 82.6,\\n \\"Promotions\\": [\\n {\\n \\"PromotionDesc\\": \\"促销\\",\\n \\"OptionCode\\": \\"new\\",\\n \\"Selected\\": true,\\n \\"PromotionId\\": \\"youhuiquan_promotion_option_id_for_blank\\",\\n \\"PromotionName\\": \\"优惠活动名称\\"\\n }\\n ],\\n \\"PriceDetails\\": [\\n {\\n \\"OrderItem\\": 1,\\n \\"PriceDetail\\": {\\n \\"OriginalPrice\\": 100,\\n \\"DiscountPrice\\": 20,\\n \\"TradePrice\\": 80,\\n \\"ResourceType\\": \\"DurationPackage\\",\\n \\"SavingPlanRecommendPrice\\": 0\\n },\\n \\"ModuleDetails\\": [\\n {\\n \\"ModuleCode\\": \\"DesktopType\\",\\n \\"ModuleValue\\": \\"eds.enterprise_office.8c32g\\",\\n \\"ModuleName\\": \\"企业办公型-8C32G\\",\\n \\"OriginalPrice\\": 10900,\\n \\"DiscountPrice\\": 734.65,\\n \\"TradePrice\\": 292.2,\\n \\"SavingPlanDiscountPrice\\": 0\\n }\\n ]\\n }\\n ],\\n \\"RefundPrice\\": 60,\\n \\"RefundInstanceIdPriceMap\\": {\\n \\"key\\": 100\\n }\\n }\\n }\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + [ + 'regionId' => 'cn-shanghai', + 'endpoint' => 'wss.cn-shanghai.aliyuncs.com', + ], + [ + 'regionId' => 'ap-southeast-1', + 'endpoint' => 'wss.ap-southeast-1.aliyuncs.com', + ], + ], +]; -- cgit v1.2.3