Obtient la liste des secrets d'image pour une application de conteneur en périphérie.
Testez maintenant
Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale. Testez cette API dans OpenAPI Explorer, sans signature manuelle. Les appels réussis génèrent automatiquement du code SDK correspondant à vos paramètres. Téléchargez-le avec une sécurité intégrée des identifiants pour une utilisation locale.
Test
Autorisation RAM
Syntaxe de la requête
GET HTTP/1.1
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| AppId |
string |
Oui |
L'identifiant de l'application. Vous pouvez appeler l'opération ListEdgeContainerApps pour obtenir l'identifiant de l'application.\n Important Le format de l'AppId comprend le préfixe app- suivi d'un suffixe numérique, pour une longueur totale de 20 à 64 caractères (exemple : app-8806886***83794688). Appelez ListEdgeContainerApps pour obtenir un AppId existant, ou appelez CreateEdgeContainerApp pour créer d'abord une application. |
app-88068867578379**** |
Éléments de réponse
|
Élément |
Type |
Description |
Exemple |
|
object |
Schéma de la réponse. |
||
| RequestId |
string |
L'identifiant de la requête. |
3558df77-8a7a-4060-a900-2d7949403836 |
| ImageSecretList |
array<object> |
La liste des secrets d'image. |
|
|
object |
|||
| Name |
string |
Le nom du secret d'image. |
reg-123**** |
| Registry |
string |
L'adresse du registre d'images. |
registry-vpc.cn-hangzhou.aliyuncs.com |
| Username |
string |
Le nom d'utilisateur du registre d'images. |
admin |
Exemples
JSON format
{
"RequestId": "3558df77-8a7a-4060-a900-2d7949403836",
"ImageSecretList": [
{
"Name": "reg-123****",
"Registry": "registry-vpc.cn-hangzhou.aliyuncs.com",
"Username": "admin"
}
]
}
Codes d'erreur
|
Code de statut HTTP |
Code d'erreur |
Message d'erreur |
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. |
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.