'{username}', 'password' => '{password}', )); // 2. Obtain an Orchestration service object from the client. $orchestrationService = $client->orchestrationService(null, '{region}'); // 3. Create a stack. /** @var $stack OpenCloud\Orchestration\Resource\Stack **/ $stack = $orchestrationService->createStack(array( 'name' => '{stackName}', 'template' => file_get_contents('{yamlTemplateFilePath}'), 'parameters' => array( 'server_hostname' => '{hostName}', 'image' => '{image}' ), 'timeoutMins' => 5 ));