'{username}', 'password' => '{password}', )); // 2. Obtain an Orchestration service object from the client. $orchestrationService = $client->orchestrationService(null, '{region}'); // 3. Preview a stack. /** @var $stack OpenCloud\Orchestration\Resource\Stack **/ $stack = $orchestrationService->previewStack(array( 'name' => '{name}', 'templateUrl' => '{templateUrl}', 'parameters' => array( 'server_hostname' => '{serverHost}', 'image' => '{image}' ) ));