Provide a api for List resource types
- Ngôn ngữ chính
- Java
- Star
- 3.1k
- Fork
- 1.4k
- Merge trung bình
- 6 ngày 19 giờ
- Pull request đã merge (30 ngày)
- 32
Mô tả
### 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
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách đọc api/src/main/java/com/cloud/server/ResourceTag.java, đặc biệt là các định nghĩa về loại tài nguyên, và so sánh các API hiện có listResourceDetails, listDetailOptions và addResourceDetail được liên kết trong issue. Công việc được xem là hoàn tất khi bao gồm một API được tài liệu hóa, cho phép người dùng, quản trị viên và nhà vận hành khám phá các loại tài nguyên có sẵn trong CloudStack và sử dụng thông tin đó với các thao tác chi tiết tài nguyên.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- api, cloud
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Ít trao đổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100