Nom de la ressource | service |
URL | https://api.alwaysdata.com/v1/service |
Description | Services |
Operations | create, read, update, delete, list, action |
Name | Details |
---|---|
id
readonly: YES |
integer
Resource ID. |
href
readonly: YES |
string
Resource location. |
ssh_user |
ssh user
Utilisateur SSH utilisé pour lancer la commande. |
command |
string
Program command, you can specify arguments. If your command needs to be accessible from outside, use a port between 8300 and 8499. |
check_health_command
default value: null |
string
Command that checks that the service is working properly. It is executed regularly; if its return code is not 0, the service is restarted. |
environment
default value: null |
string
Environment variables, in the format: FOO=bar LOREM=ipsum |
working_directory
default value: null |
string
Chemin relatif à la racine de votre compte. |
is_disabled
default value: False |
bool
Determine if the service is paused. |
annotation |
string
L'annotation est facultative et apparaitra dans le listing. |
Name | Details |
---|---|
restart |
POST Redémarre le service. |