Per poder gaudir de la web necessites un navegador més recent i segur. Per més informació, revisa les actualitzacions d'Internet Explorer.
Debido a la incidencia eléctrica nuestro servicio de atención al cliente no puede atenderte con normalidad
 No es pot donar d'alta aquest servei. Contacta amb Suport
Debido a la incidencia eléctrica nuestro servicio de atención al cliente no puede atenderte con normalidad

API dinahosting

Totes les ordres que necessites
Si tens dubtes, t'ajudem gratis

api.cta__h1

Llista de comandaments

Llista d'errors

Librería de archivos

Dinahosting HTTP_Request libary files
Introduce el texto mostrado en la imagen

Dedicated_ForVps_Vps_Update

Generates and returns a ticket for updating a VPS in a dedicated server. The ticket status can be consulted with the command \'Dedicated_ForVps_GetTicketStatus\'.
Please note this command has a delayed execution and it'll return SUCCESS_PENDING code on success and a ticket id (integer) on the data field.
Version: 1.0
Special errors:
AUTH_ERROR_OBJECT User haven't got permission on the VPS.
COMMAND_FAILED Error loading the VPS object.
UNIMPLEMENTED_OBJECT_SERVICE If it's a dedicated but not a dedicated for vps.

Parameters:

  • serverName (string): Server name. The parameter is required.
  • vpsHostname (string): VPS hostname. The parameter is required.
  • alias (string): VPS alias. The parameter is optional.
  • description (string): VPS description. The parameter is optional.
  • vcpusCount (int): Number of vcpus. The parameter is required. Parameter value must be a valid integer. Parameter value must be between values 1 and 4 inclusive.
  • ram (int): RAM (MB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available RAM. The parameter is required. Parameter value must be a valid integer. Parameter value must be greater or equal than 512.
  • diskSpace (int): Disk space (GB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available space. The parameter is required. Parameter value must be a valid integer. Parameter value must be greater or equal than 10.
  • transferLimit (int): Transfer limit (GB). Set empty for unlimited. Use the command 'Dedicated_ForVps_GetServerInfo' to check the avaliable transfer limit. The parameter is optional.

Tipus de dades de resposta

int

Informació addicional

El modo de simulación no se aplica plenamente este comando.

Generador de codi

Nom de Servidor.

VPS hostname.

VPS alias.

VPS description.

Number of vcpus.

RAM (MB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available RAM.

Disk space (GB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available space.

Transfer limit (GB). Set empty for unlimited. Use the command 'Dedicated_ForVps_GetServerInfo' to check the avaliable transfer limit.

 
 

Simulador

Los datos de respuesta no son reales.

Nom de Servidor.

VPS hostname.

VPS alias.

VPS description.

Number of vcpus.

RAM (MB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available RAM.

Disk space (GB). Use the command 'Dedicated_ForVps_GetServerInfo' to check the available space.

Transfer limit (GB). Set empty for unlimited. Use the command 'Dedicated_ForVps_GetServerInfo' to check the avaliable transfer limit.