-
Notifications
You must be signed in to change notification settings - Fork 8
Servers::rename
Danny Li edited this page Feb 4, 2018
·
2 revisions
Rename a server.
Parameter | Type | Description |
---|---|---|
$id |
int | Server ID |
$name |
string | New name |
<?php
use Exploriment\HetznerCloud;
$server = HetznerCloud\Servers::rename(1, 'My new name');
echo $server->getName();
by Exploriment.io
- README.md
-
Resources introduction
- Actions
-
Servers
::findAction
::create
::getMetrics
::rename
::start
-
::powerOn
(alias) ::reboot
-
::restart
(alias) ::reset
::shutdown
-
::stop
(alias) ::powerOff
::resetPassword
::enableRescue
::disableRescue
::createImage
::rebuild
::changeType
::enableBackups
::disableBackups
::attachIso
::detachIso
::changeDnsPtr
::changeProtection
::requestConsole
::delete
- FloatingIps
- SshKeys
- ServerTypes
- Locations
- Datacenters
- Images
- ISOs