Queries the available gateway types for a specified location.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| GatewayLocation |
string |
Yes |
The location of the gateway. Valid values:
|
Cloud |
Response parameters
|
Parameter |
Type |
Description |
Example |
|
object |
|||
| Types |
string |
The available types of the gateway. The gateway types are separated by commas. Possible values:
|
File,Iscsi |
| Message |
string |
The description of the request result. |
successful |
| RequestId |
string |
The request ID. |
787ECFD0-5F30-44C0-BB8F-56A964F66D01 |
| Code |
string |
The status code. A status code of 200 indicates that the request is successful. |
200 |
| Success |
boolean |
Indicates whether the request is successful. |
true |
Examples
Success response
JSON format
{
"Types": "File,Iscsi",
"Message": "successful",
"RequestId": "787ECFD0-5F30-44C0-BB8F-56A964F66D01",
"Code": "200",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | BadRequest | Invalid request. You must specify valid parameters in the request. | Invalid request. You must specify valid parameters in the request. |
| 400 | InvalidGatewayLocation | The specified location of the gateway is invalid. | The specified location of the gateway is invalid. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.