Skip to content

Servers::findAction

Danny Li edited this page Feb 4, 2018 · 2 revisions

Retrieve a specific action object for a Server.

Parameters

Parameter Type Description
$server_id int Server ID
$action_id int Action ID

Returns

Action object

Example

<?php
use Exploriment\HetznerCloud;

$action = HetznerCloud\Servers::findAction(1, 1);

echo $action->getStatus();
Clone this wiki locally