Query the list of resource types

Last Updated: Apr 20, 2017

Description

This interface is used to query the list of supported resource types.

Request parameters

Name Location Type Required? Description
SupportStatus Query String No Supported status used by resource type filter; value options: UNKNOWN, SUPPORTED, DEPRECATED, UNSUPPORTED, and HIDDEN.

Return parameters

Name Parameter type Description
ResourceTypes List Resource type array.

Error codes

Error code Description HTTP status code Meaning
InternalError Server error. 500 Server-side unknown exception.

Example

Request example

  1. GET http://ros.aliyuncs.com/resource_types HTTP/1.1
  2. x-acs-signature-method: HMAC-SHA1
  3. Authorization: acs ACSTQDkNtSMrZtwL:niea/6wW/HHwwiafneHX+oM3ALU=
  4. Date: Fri, 11 Sep 2015 05:30:54 GMT
  5. x-acs-signature-version: 1.0
  6. x-sdk-client: Java/2.0.0
  7. Accept: application/octet-stream
  8. x-acs-version: 2015-09-01
  9. Cache-Control: no-cache
  10. Pragma: no-cache
  11. User-Agent: Java/1.6.0_27
  12. Host: ros.aliyuncs.com
  13. Connection: keep-alive

Response example

  1. HTTP/1.1 200 OK
  2. Date: Fri, 11 Sep 2015 05:30:12 GMT
  3. Content-Type: application/json; charset=UTF-8
  4. Content-Length: 1694
  5. Connection: close
  6. Vary: Accept-Encoding
  7. Access-Control-Allow-Origin: *
  8. Access-Control-Allow-Methods: POST, GET, OPTIONS
  9. Access-Control-Allow-Headers: X-Requested-With, X-Sequence, _aop_secret, _aop_signature
  10. Access-Control-Max-Age: 172800
  11. X-Acs-Request-Id: A21A4B12-CCD7-42F0-9A62-DE8347D88385
  12. Server: Jetty(7.2.2.v20101205)
  13. {
  14. "ResourceTypes" : [
  15. "ALIYUN::SLB::Listener",
  16. "ALIYUN::ESS::ScalingConfiguration",
  17. "ALIYUN::ECS::VSwitch",
  18. "ALIYUN::KVSTORE::Instance",
  19. "ALIYUN::ECS::Route",
  20. "ALIYUN::SLB::LoadBalancer",
  21. "ALIYUN::ECS::DiskAttachment",
  22. "ALIYUN::ECS::SecurityGroupIngress",
  23. "ALIYUN::RDS::DBInstance",
  24. "ALIYUN::ECS::SecurityGroupEgress"
  25. ]
  26. }
Thank you! We've received your feedback.