Query 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: 1 Maximum: 1024 |
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| type | Yes | String | The connection end type. The value can be src (source) or dst (destination). Minimum: 1 Maximum: 25 |
Request Parameters
| Parameter | Mandatory | Type | Description |
|---|---|---|---|
| X-Auth-Token | Yes | String | The token used for IAM authentication. Ensure that the project ID in the token matches the project ID in the request URI. Minimum: 1 Maximum: 16384 |
Response Parameters
Status code: 200
| Parameter | Type | Description |
|---|---|---|
| [items] | Array of strings | The supported cloud services. |
Status code: 400
| Parameter | Type | Description |
|---|---|---|
| error_msg | String | Error message. |
| error_code | String | Error code. |
Example Requests
None
Example Responses
Status code: 200
The supported cloud services.
[ "AWS", "Aliyun", "Qiniu", "QingCloud", "Tencent", "Baidu", "KingsoftCloud", "Azure", "UCloud", "HuaweiCloud", "Google", "URLSource" ]
Status Codes
| Status Code | Description |
|---|---|
| 200 | The supported cloud services. |
| 400 | Standard error response. |
Error Codes
See Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.