summaryrefslogtreecommitdiff
path: root/data/acc/2024-04-02
diff options
context:
space:
mode:
Diffstat (limited to 'data/acc/2024-04-02')
-rw-r--r--data/acc/2024-04-02/api-docs.php314
1 files changed, 81 insertions, 233 deletions
diff --git a/data/acc/2024-04-02/api-docs.php b/data/acc/2024-04-02/api-docs.php
index c0f2212..7c4b90c 100644
--- a/data/acc/2024-04-02/api-docs.php
+++ b/data/acc/2024-04-02/api-docs.php
@@ -1,38 +1,14 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'acc',
- 'version' => '2024-04-02',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'acc', 'version' => '2024-04-02'],
'components' => [
- 'schemas' => [
- 'CapacityResource' => [
- 'type' => 'object',
- 'properties' => [
- 'Memory' => [
- 'type' => 'string',
- ],
- 'CPU' => [
- 'type' => 'string',
- ],
- 'GPU' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
+ 'schemas' => [],
],
'apis' => [
'CreateImageCache' => [
'path' => '',
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -43,28 +19,17 @@
[
'name' => 'ClientToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'maxLength' => 64,
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 64],
],
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ImageCacheName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- 'maxLength' => 128,
- ],
+ 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 128],
],
[
'name' => 'Images',
@@ -73,10 +38,7 @@
'schema' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'minItems' => 1,
'maxItems' => 1,
],
@@ -84,10 +46,7 @@
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Tags',
@@ -100,15 +59,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- 'maxLength' => 256,
- ],
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Value' => ['type' => 'string', 'required' => false, 'maxLength' => 256],
],
],
'maxItems' => 20,
@@ -125,34 +77,18 @@
'VSwitchIds' => [
'type' => 'array',
'required' => true,
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'items' => ['type' => 'string', 'required' => false],
'minItems' => 1,
'maxItems' => 10,
],
- 'SecurityGroupId' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'SecurityGroupId' => ['type' => 'string', 'required' => true],
'EipInstance' => [
'type' => 'object',
'required' => false,
'properties' => [
- 'InstanceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'AutoCreate' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'Bandwidth' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
+ 'InstanceId' => ['type' => 'string', 'required' => false],
+ 'AutoCreate' => ['type' => 'boolean', 'required' => false],
+ 'Bandwidth' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
@@ -169,26 +105,11 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Server' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Username' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Password' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'UsePlainHttp' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'SkipCertVerification' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'Server' => ['type' => 'string', 'required' => false],
+ 'Username' => ['type' => 'string', 'required' => false],
+ 'Password' => ['type' => 'string', 'required' => false],
+ 'UsePlainHttp' => ['type' => 'boolean', 'required' => false],
+ 'SkipCertVerification' => ['type' => 'boolean', 'required' => false],
],
],
'maxItems' => 20,
@@ -205,29 +126,23 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'InstanceId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'RegionId' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'InstanceId' => ['type' => 'string', 'required' => false],
+ 'RegionId' => ['type' => 'string', 'required' => false],
],
],
'maxItems' => 20,
],
],
+ [
+ 'name' => 'Platform',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
+ ],
],
],
'DeleteImageCache' => [
- 'methods' => [
- 'post',
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -238,37 +153,45 @@
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ImageCacheId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'Force',
'in' => 'query',
- 'schema' => [
- 'type' => 'boolean',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'boolean', 'required' => false],
],
],
],
- 'ListImageCaches' => [
- 'methods' => [
- 'get',
- 'post',
+ 'GetImageCache' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
],
- 'schemes' => [
- 'https',
+ 'deprecated' => false,
+ 'parameters' => [
+ [
+ 'name' => 'RegionId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
+ [
+ 'name' => 'ImageCacheId',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => true],
+ ],
],
+ ],
+ 'ListImageCaches' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -279,35 +202,27 @@
[
'name' => 'RegionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'ImageCacheName',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- 'maxLength' => 128,
- ],
+ 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 128],
+ ],
+ [
+ 'name' => 'Image',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'ResourceGroupId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'Tags',
@@ -320,15 +235,8 @@
'type' => 'object',
'required' => false,
'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- 'maxLength' => 128,
- ],
- 'Value' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'Key' => ['type' => 'string', 'required' => false, 'maxLength' => 128],
+ 'Value' => ['type' => 'string', 'required' => false],
],
],
'maxItems' => 20,
@@ -337,88 +245,28 @@
[
'name' => 'NextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'MaxResults',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- ],
- ],
- ],
- ],
- 'GetImageCache' => [
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'deprecated' => false,
- 'parameters' => [
- [
- 'name' => 'RegionId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
- ],
- [
- 'name' => 'ImageCacheId',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false],
],
],
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-beijing',
- 'endpoint' => 'acc.cn-beijing.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shanghai',
- 'endpoint' => 'acc.cn-shanghai.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'acc.cn-hangzhou.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-wulanchabu',
- 'endpoint' => 'acc.cn-wulanchabu.aliyuncs.com',
- ],
- [
- 'regionId' => 'ap-southeast-1',
- 'endpoint' => 'acc.ap-southeast-1.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-shenzhen',
- 'endpoint' => 'acc.cn-shenzhen.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hongkong',
- 'endpoint' => 'acc.cn-hongkong.aliyuncs.com',
- ],
- [
- 'regionId' => 'us-southeast-1',
- 'endpoint' => 'acc.us-southeast-1.aliyuncs.com',
- ],
+ ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.cn-wulanchabu.aliyuncs.com', 'endpoint' => 'acc.cn-wulanchabu.aliyuncs.com', 'vpc' => 'acc-vpc.cn-wulanchabu.aliyuncs.com'],
+ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.cn-beijing.aliyuncs.com', 'endpoint' => 'acc.cn-beijing.aliyuncs.com', 'vpc' => 'acc-vpc.cn-beijing.aliyuncs.com'],
+ ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.cn-qingdao.aliyuncs.com', 'endpoint' => 'acc.cn-qingdao.aliyuncs.com', 'vpc' => 'acc-vpc.cn-qingdao.aliyuncs.com'],
+ ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.cn-shanghai.aliyuncs.com', 'endpoint' => 'acc.cn-shanghai.aliyuncs.com', 'vpc' => 'acc-vpc.cn-shanghai.aliyuncs.com'],
+ ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.cn-hongkong.aliyuncs.com', 'endpoint' => 'acc.cn-hongkong.aliyuncs.com', 'vpc' => 'acc-vpc.cn-hongkong.aliyuncs.com'],
+ ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.cn-zhangjiakou.aliyuncs.com', 'endpoint' => 'acc.cn-zhangjiakou.aliyuncs.com', 'vpc' => 'acc-vpc.cn-zhangjiakou.aliyuncs.com'],
+ ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.cn-shenzhen.aliyuncs.com', 'endpoint' => 'acc.cn-shenzhen.aliyuncs.com', 'vpc' => 'acc-vpc.cn-shenzhen.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.ap-southeast-1.aliyuncs.com', 'endpoint' => 'acc.ap-southeast-1.aliyuncs.com', 'vpc' => 'acc-vpc.ap-southeast-1.aliyuncs.com'],
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.cn-hangzhou.aliyuncs.com', 'endpoint' => 'acc.cn-hangzhou.aliyuncs.com', 'vpc' => 'acc-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'ap-southeast-8', 'regionName' => '马来西亚(柔佛州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'acc.ap-southeast-8.aliyuncs.com', 'endpoint' => 'acc.ap-southeast-8.aliyuncs.com', 'vpc' => 'acc-vpc.ap-southeast-8.aliyuncs.com'],
+ ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'acc.us-east-1.aliyuncs.com', 'endpoint' => 'acc.us-east-1.aliyuncs.com', 'vpc' => 'acc-vpc.us-east-1.aliyuncs.com'],
+ ['regionId' => 'us-southeast-1', 'regionName' => '美国(亚特兰大)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'acc.us-southeast-1.aliyuncs.com', 'endpoint' => 'acc.us-southeast-1.aliyuncs.com', 'vpc' => 'acc-vpc.us-southeast-1.aliyuncs.com'],
],
];