'1.0', 'info' => [ 'style' => 'ROA', 'product' => 'IaCService', 'version' => '2021-07-22', ], 'directories' => [ [ 'id' => 0, 'title' => '其它', 'type' => 'directory', 'children' => [ 'ListResources', 'GetResource', 'ListDataSources', ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ 'ListResources' => [ 'summary' => '列举资源', 'path' => '/api/v1/providers/{provider}/products/{productCode}/resourceTypes/{resourceTypeCode}/resources', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'provider', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'productCode', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'resourceTypeCode', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'regionIds', 'in' => 'query', 'style' => 'simple', 'schema' => [ 'type' => 'array', 'items' => [ 'type' => 'string', ], ], ], [ 'name' => 'filter', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', ], ], [ 'name' => 'x-roag-cache', 'in' => 'header', 'schema' => [ 'type' => 'boolean', ], ], [ 'name' => 'pageNum', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', ], ], [ 'name' => 'pageSize', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', ], ], [ 'name' => 'nextToken', 'in' => 'query', 'schema' => [ 'type' => 'string', ], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => [ 'type' => 'integer', 'format' => 'int32', ], ], [ 'name' => 'dataType', 'in' => 'query', 'schema' => [ 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ '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', ], 'resources' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'productCode' => [ 'type' => 'string', ], 'resourceTypeCode' => [ 'type' => 'string', ], 'regionId' => [ 'type' => 'string', ], 'resourceId' => [ 'type' => 'string', ], 'resourceAttributes' => [ 'type' => 'string', ], ], ], ], ], ], ], ], 'responseDemo' => null, ], 'GetResource' => [ 'summary' => '获取具体资源', 'path' => '/api/v1/providers/{provider}/products/{productCode}/resourceTypes/{resourceTypeCode}/resources/{resourceId}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', ], 'parameters' => [ [ 'name' => 'provider', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'productCode', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'resourceTypeCode', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'resourceId', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'regionId', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, ], ], [ 'name' => 'dataType', 'in' => 'query', 'schema' => [ 'type' => 'string', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'type' => 'object', 'properties' => [ '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', ], ], ], ], ], ], ], 'responseDemo' => null, ], 'ListDataSources' => [ 'summary' => '列举资源属性可选值', 'path' => '/api/v1/providers/{provider}/products/{productCode}/resourceTypes/{resourceTypeCode}/dataSources/{attributeName}', 'methods' => [ 'get', ], 'schemes' => [ 'http', 'https', ], 'security' => [ [ 'AK' => [], ], ], 'consumes' => [ 'application/json', ], 'produces' => [ 'application/json', ], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeNodes' => [ 'FEATUREopenapiexplorerY5UU1D', ], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'provider', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'productCode', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'resourceTypeCode', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'attributeName', 'in' => 'path', 'schema' => [ 'type' => 'string', 'required' => true, ], ], [ 'name' => 'filter', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'object', ], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', 'type' => 'object', 'properties' => [ 'requestId' => [ 'title' => 'Id of the request', 'type' => 'string', ], 'dataSources' => [ 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ 'id' => [ 'type' => 'string', ], 'dataSourceAttributes' => [ 'type' => 'string', ], ], ], ], ], ], ], ], 'responseDemo' => null, ], ], 'endpoints' => [ [ 'regionId' => 'cn-zhangjiakou', 'endpoint' => 'iac.cn-zhangjiakou.aliyuncs.com', ], ], ];