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