summaryrefslogtreecommitdiff
path: root/data/zh_cn/iacservice/2021-07-22/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/iacservice/2021-07-22/api-docs.php
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/zh_cn/iacservice/2021-07-22/api-docs.php')
-rw-r--r--data/zh_cn/iacservice/2021-07-22/api-docs.php275
1 files changed, 60 insertions, 215 deletions
diff --git a/data/zh_cn/iacservice/2021-07-22/api-docs.php b/data/zh_cn/iacservice/2021-07-22/api-docs.php
index e566ee8..465c7fb 100644
--- a/data/zh_cn/iacservice/2021-07-22/api-docs.php
+++ b/data/zh_cn/iacservice/2021-07-22/api-docs.php
@@ -1,20 +1,12 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'ROA',
- 'product' => 'IaCService',
- 'version' => '2021-07-22',
- ],
+ 'info' => ['style' => 'ROA', 'product' => 'IaCService', 'version' => '2021-07-22'],
'directories' => [
[
'id' => 0,
'title' => '其它',
'type' => 'directory',
- 'children' => [
- 'ListResources',
- 'GetResource',
- 'ListDataSources',
- ],
+ 'children' => ['ListResources', 'GetResource', 'ListDataSources'],
],
],
'components' => [
@@ -24,56 +16,33 @@
'ListResources' => [
'summary' => '列举资源',
'path' => '/api/v1/providers/{provider}/products/{productCode}/resourceTypes/{resourceTypeCode}/resources',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'tenantRelevance' => 'publicInformation',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation'],
'parameters' => [
[
'name' => 'provider',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'productCode',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'resourceTypeCode',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'regionIds',
@@ -81,63 +50,44 @@
'style' => 'simple',
'schema' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
[
'name' => 'filter',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- ],
+ 'schema' => ['type' => 'object'],
],
[
'name' => 'x-roag-cache',
'in' => 'header',
- 'schema' => [
- 'type' => 'boolean',
- ],
+ 'schema' => ['type' => 'boolean'],
],
[
'name' => 'pageNum',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32'],
],
[
'name' => 'pageSize',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32'],
],
[
'name' => 'nextToken',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
[
'name' => 'maxResults',
'in' => 'query',
- 'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'schema' => ['type' => 'integer', 'format' => 'int32'],
],
[
'name' => 'dataType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -146,49 +96,22 @@
'title' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => 'Id of the request',
- 'type' => 'string',
- ],
- 'totalCount' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'pageNum' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'pageSize' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'nextToken' => [
- 'type' => 'string',
- ],
- 'maxResults' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
+ 'requestId' => ['title' => 'Id of the request', 'type' => 'string'],
+ 'totalCount' => ['type' => 'integer', 'format' => 'int32'],
+ 'pageNum' => ['type' => 'integer', 'format' => 'int32'],
+ 'pageSize' => ['type' => 'integer', 'format' => 'int32'],
+ 'nextToken' => ['type' => 'string'],
+ 'maxResults' => ['type' => 'integer', 'format' => 'int32'],
'resources' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'productCode' => [
- 'type' => 'string',
- ],
- 'resourceTypeCode' => [
- 'type' => 'string',
- ],
- 'regionId' => [
- 'type' => 'string',
- ],
- 'resourceId' => [
- 'type' => 'string',
- ],
- 'resourceAttributes' => [
- 'type' => 'string',
- ],
+ 'productCode' => ['type' => 'string'],
+ 'resourceTypeCode' => ['type' => 'string'],
+ 'regionId' => ['type' => 'string'],
+ 'resourceId' => ['type' => 'string'],
+ 'resourceAttributes' => ['type' => 'string'],
],
],
],
@@ -201,78 +124,48 @@
'GetResource' => [
'summary' => '获取具体资源',
'path' => '/api/v1/providers/{provider}/products/{productCode}/resourceTypes/{resourceTypeCode}/resources/{resourceId}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- ],
+ 'systemTags' => ['operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free'],
'parameters' => [
[
'name' => 'provider',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'productCode',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'resourceTypeCode',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'resourceId',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'regionId',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string', 'required' => false],
],
[
'name' => 'dataType',
'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -281,28 +174,15 @@
'title' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => 'Id of the request',
- 'type' => 'string',
- ],
+ 'requestId' => ['title' => 'Id of the request', 'type' => 'string'],
'resource' => [
'type' => 'object',
'properties' => [
- 'productCode' => [
- 'type' => 'string',
- ],
- 'resourceTypeCode' => [
- 'type' => 'string',
- ],
- 'regionId' => [
- 'type' => 'string',
- ],
- 'resourceId' => [
- 'type' => 'string',
- ],
- 'resourceAttributes' => [
- 'type' => 'string',
- ],
+ 'productCode' => ['type' => 'string'],
+ 'resourceTypeCode' => ['type' => 'string'],
+ 'regionId' => ['type' => 'string'],
+ 'resourceId' => ['type' => 'string'],
+ 'resourceAttributes' => ['type' => 'string'],
],
],
],
@@ -314,75 +194,50 @@
'ListDataSources' => [
'summary' => '列举资源属性可选值',
'path' => '/api/v1/providers/{provider}/products/{productCode}/resourceTypes/{resourceTypeCode}/dataSources/{attributeName}',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'consumes' => [
- 'application/json',
- ],
- 'produces' => [
- 'application/json',
- ],
+ 'consumes' => ['application/json'],
+ 'produces' => ['application/json'],
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREopenapiexplorerY5UU1D',
- ],
+ 'abilityTreeNodes' => ['FEATUREopenapiexplorerY5UU1D'],
'tenantRelevance' => 'publicInformation',
],
'parameters' => [
[
'name' => 'provider',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'productCode',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'resourceTypeCode',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'attributeName',
'in' => 'path',
- 'schema' => [
- 'type' => 'string',
- 'required' => true,
- ],
+ 'schema' => ['type' => 'string', 'required' => true],
],
[
'name' => 'filter',
'in' => 'query',
'style' => 'json',
- 'schema' => [
- 'type' => 'object',
- ],
+ 'schema' => ['type' => 'object'],
],
],
'responses' => [
@@ -391,21 +246,14 @@
'title' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'requestId' => [
- 'title' => 'Id of the request',
- 'type' => 'string',
- ],
+ 'requestId' => ['title' => 'Id of the request', 'type' => 'string'],
'dataSources' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'id' => [
- 'type' => 'string',
- ],
- 'dataSourceAttributes' => [
- 'type' => 'string',
- ],
+ 'id' => ['type' => 'string'],
+ 'dataSourceAttributes' => ['type' => 'string'],
],
],
],
@@ -417,9 +265,6 @@
],
],
'endpoints' => [
- [
- 'regionId' => 'cn-zhangjiakou',
- 'endpoint' => 'iac.cn-zhangjiakou.aliyuncs.com',
- ],
+ ['regionId' => 'cn-zhangjiakou', 'endpoint' => 'iac.cn-zhangjiakou.aliyuncs.com'],
],
];