Para poder desfrutares do site precisas dum navegador mais recente e seguro. Para mais informação, revisa as atualizações de Internet Explorer.
Debido a la incidencia eléctrica nuestro servicio de atención al cliente no puede atenderte con normalidad
 Não se pode cadastrar este serviço. Contacta com Suporte
Debido a la incidencia eléctrica nuestro servicio de atención al cliente no puede atenderte con normalidad

API da dinahosting

Todos os comandos de que necessitar
Se tiveres dúvidas, ajudamos-te de graça

api.cta__h1

Lista de comandos

Lista de erros

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.

Tipo de dados de resposta

int

Informação adicional

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

Gerador de código

Nome do 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.

Nome do 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.