'{username}', 'apiKey' => '{apiKey}', )); // 2. Obtain a Networking service object from the client. $networkingService = $client->networkingService(null, '{region}'); // 3. Get port. $port = $networkingService->getPort('{portId}'); /** @var $port OpenCloud\Networking\Resource\Port **/