Creates a backend service configuration in an environment.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
apigateway:CreateBackendModel |
create |
*Backend
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| BackendId |
string |
No |
The ID of the backend service. |
34e94fcd3e2e47a49824a89b8f92cb5e |
| BackendType |
string |
No |
The type of the backend service. |
HTTP |
| StageName |
string |
No |
The environment of the API.
|
TEST |
| BackendModelData |
string |
No |
The data of the backend model. |
{\"ServiceAddress\":\"http://apigateway-echo-redux.alicloudapi.com:8080\"} |
| Description |
string |
No |
The description of the backend model. |
model description |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| BackendModelId |
string |
The ID of the backend model. |
4be6b110b7aa40b0bf0c83cc00b3bd86 |
| RequestId |
string |
The ID of the request. |
64411ECF-FAF7-5E3C-BA7B-E4A1F15A28CA |
Examples
Success response
JSON format
{
"BackendModelId": "4be6b110b7aa40b0bf0c83cc00b3bd86",
"RequestId": "64411ECF-FAF7-5E3C-BA7B-E4A1F15A28CA"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.