Updated on 2024-12-30 GMT+08:00

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

Table 1 Path parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

The project ID.

Minimum length: 1 character

Maximum length: 1,024 characters

Table 2 Query parameters

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

Table 3 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

Yes

String

The IAM token authentication. Ensure that the project ID contained in the token matches the project ID in the request URI.

Minimum length: 1 character

Maximum length: 16,384 characters

Response

Status code: 200

Table 4 Response body parameters

Parameter

Type

Description

[Array element]

Array of strings

Supported cloud vendors.

Status code: 400

Table 5 Response body parameters

Parameter

Type

Description

error_msg

String

The error message.

error_code

String

The error code.

Example Request

None

Example Response

Status code: 200

Supported cloud vendors were returned.

[ "AWS", "Aliyun", "Qiniu", "QingCloud", "Tencent", "Baidu", "KingsoftCloud", "Azure", "UCloud", "HuaweiCloud", "URLSource" ]

Status Codes

Status Code

Description

200

Supported cloud vendors were returned.

400

Standard error response.

Error Codes

For details, see Error Codes.