Provide a api for List resource types
- 主要语言
- Java
- 星标
- 3.1k
- 派生
- 1.4k
- 平均合并
- 6 天 19 小时
- 30 天内合并 PR
- 32
描述
### The required feature described as a wish
As a User/Admin/Operator I would like to know the resource types that are present in cloudstack
Currently, the listResourceDetails and listDetailOptions API requires the resource type parameter
https://cloudstack.apache.org/api/apidocs-4.22/apis/listResourceDetails.html
https://cloudstack.apache.org/api/apidocs-4.22/apis/listDetailOptions.html
Also If a User/Admin/Operator needs to add a detail to resource id they need the resource type parameter
https://cloudstack.apache.org/api/apidocs-4.22/apis/addResourceDetail.html
Currently there is no list of resourcetypes that present in present either is docs
It will be beneficial to the users if we can have a API call which can list the resourcetype in cloudstack
https://github.com/apache/cloudstack/blob/a5b6bc3be620f2b2f14321fd69643cf1bdd7d16c/api/src/main/java/com/cloud/server/ResourceTag.java#L30-L74
贡献指南
调研方向
首先阅读 api/src/main/java/com/cloud/server/ResourceTag.java,尤其是资源类型定义,并对比 issue 中链接的现有 listResourceDetails、listDetailOptions 和 addResourceDetail API。完成标准应包括一个有文档说明的 API,使用户、管理员和操作员能够发现 CloudStack 中可用的资源类型,并将这些信息用于资源详细信息操作。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- api, cloud
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100