Create Service

In order to work with the service you have to setup the client first.

Service can be created via imagesV2() method of the OpenStack object.

$service = $openstack->imagesV2();

A list of additional options can be passed to the method. For example, to change the region:

$service = $openstack->imagesV2(['region' => '{region}']);