Querying All Supported Cloud Vendors
Function
This API is used to query supported cloud vendors.
Calling Method
For details, see Calling APIs.
URI
GET /v2/{project_id}/objectstorage/cloud-type
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| project_id | Yes | String | The project ID. Minimum length: 1 character Maximum length: 1,024 characters |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| type | Yes | String | The connection end type. The value can be src (source) or dst (destination). Minimum length: 1 character Maximum length: 25 characters |
Request
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| X-Auth-Token | Yes | String | The IAM token authentication. Ensure that the project ID in the token matches the project ID in the request URI. Minimum length: 1 character Maximum length: 16,384 characters |
Response
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| [Array elements] | Array of strings | A list of supported cloud vendors. |
Status code: 400
| Parameter | Type | Description |
|---|---|---|
| error_msg | String | The error message. |
| error_code | String | The error code. |
Example Request
None
Example Response
Status code: 200
A list of supported cloud vendors.
[ "AWS", "Aliyun", "Qiniu", "QingCloud", "Tencent", "Baidu", "KingsoftCloud", "Azure", "UCloud", "HuaweiCloud", "Google", "URLSource" ]
Status Codes
| Status Code | Description |
|---|---|
| 200 | A list of supported cloud vendors was returned. |
| 400 | Standard error response. |
Error Codes
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.