Creates an image secret for an edge container application.
Try it now
Test
RAM authorization
Request syntax
POST HTTP/1.1
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AppId |
string |
Yes |
Application ID. Call ListEdgeContainerApps to query application IDs. |
app-88068867578379**** |
| Registry |
string |
Yes |
Image registry address. |
cr-cn-shanghai.edas.aliyuncs.com |
| Username |
string |
Yes |
Image registry username. |
admin |
| Password |
string |
Yes |
Image registry password. |
*** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Response parameters. |
||
| RequestId |
string |
Request ID. |
CB1A380B-09F0-41BB-280B-72F8FD6DA2FE |
Examples
Success response
JSON format
{
"RequestId": "CB1A380B-09F0-41BB-280B-72F8FD6DA2FE"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidParameter | Invalid parameter. Check the parameter configuration. | Invalid parameter. Check the parameter configuration. |
| 400 | InternalException | Failed to call the service. Try again later or contact technical support. | Failed to call the service. Try again later or contact technical support. |
| 400 | InternalError | An internal exception occurred, please try again later. | An inner exception was triggered. Please try again later. |
| 400 | InvalidParameter.Appid | The format of the application ID is invalid. You can call ListEdgeContainerApps to obtain the application ID. | The format of the input application ID is incorrect. You can use the ListEdgeContainerApps API to obtain the application ID. |
| 404 | InvalidApp.NotFound | The application does not exist. Check whether the application ID you specified is correct and try again. | The application does not exist. Check whether the application ID you specified is correct and try again. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.