'{username}', 'apiKey' => '{apiKey}', )); // 2. Obtain a Compute service object from the client. $computeService = $client->computeService(null, '{region}'); // 3. Get the list of servers. $serverList = $computeService->serverList(); // 4. Traverse over the list and output key information. foreach ($serverList as $server) { printf("ID: %s, Name: %s, Image ID: %s\n", $server->id(), $server->name(), $server->image->id); }