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 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
| 
        Parameter  | 
      
        Type  | 
      
        Description  | 
     
|---|---|---|
| 
        [Array element]  | 
      
        Array of strings  | 
      
        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
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.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.