Skip to content

Images::convert

Danny Li edited this page Feb 4, 2018 · 1 revision

Convert a backup image to a snapshot image.

Parameters

Parameter Type Description
$id int Image ID

Returns

Image object

Example

<?php
use Exploriment\HetznerCloud;

$image = HetznerCloud\Images::convert(1);

echo $image->getType();
Clone this wiki locally