'{username}', 'apiKey' => '{apiKey}', )); // 2. Obtain a Networking service object from the client. $networkingService = $client->networkingService(null, '{region}'); // 3. Create a security group. $securityGroup = $networkingService->createSecurityGroup(array( 'name' => 'new-webservers', 'description' => 'security group for webservers' )); /** @var $securityGroup OpenCloud\Networking\Resource\SecurityGroup **/