Crée une Edge Routine.
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
|
esa:CreateRoutine |
create |
*All Resource
|
Aucune | Aucune |
Paramètres de requête
|
Paramètre |
Type |
Requis |
Description |
Exemple |
| Name |
string |
Oui |
Le nom de l'Edge Routine. Le nom doit être unique au sein du même compte. |
test-routine1 |
| Description |
string |
Non |
La description de l'Edge Routine. |
la description de cette routine |
| HasAssets |
boolean |
Non |
Indique si l'Edge Routine contient des fichiers de ressources. |
false |
É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. |
EDBD3EB3-97DA-5465-AEF5-8DCA5DC5E395 |
| Status |
string |
Le résultat de l'opération. Indique si l'opération a réussi. |
OK |
Exemples
JSON format
{
"RequestId": "EDBD3EB3-97DA-5465-AEF5-8DCA5DC5E395",
"Status": "OK"
}
Codes d'erreur
|
Code de statut HTTP |
Code d'erreur |
Message d'erreur |
Description |
|---|---|---|---|
| 400 | RoutineAlreadyExist | The routine name already exists. | The routine name already exists. |
| 400 | InternalOperationError | 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 | ParameterNotExist | The specified parameter does not exist. Check your configurations and try again. | The specified parameter does not exist. Check your configurations and try again. |
| 400 | ServiceNotOpen | You have not activated Edge Routine. Activate the service and try again. | You have not activated Edge Routine. Activate the service and try again. |
| 400 | RoutineNumberExceedQuotaLimit | The maximum number of configuration items for the feature has been reached. Adjust your configurations and try again. | The maximum number of configuration items for the feature has been reached. Adjust your configurations and try again. |
| 400 | DependedByOthers | 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 | RoutineUserServiceStatusHalt | Failed to update the configurations because you have overdue payments. | Failed to update the configurations because you have overdue payments. |
| 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 | InvalidParameter | The specified parameter is invalid. | The specified parameter is invalid. |
| 400 | UserOperationStatusIsLocked | You are calling an another routine related api. Please wait for the api finished, and try again later. | You are calling an another routine related api. Please wait for the api finished, and try again later. |
Consultez Codes d'erreur pour la liste complète.
Notes de version
Consultez Notes de version pour la liste complète.