Hi Matt,
You may use VM Discovery Feature which can auto-import a VM which is part of resource pool belong to vCloud Director.
Below is one quick screenshot:
This is my current vCD resource pool hirarchy set up.
If I want a VM to be managed by vCloud Director, Enable VM discovery feature from Provider portal-->Administrations-->Settings-->General and scroll to the end of the page.
Created a new VM and attached it to vCD based network segment/virtualwire. Dragged that VM to vCD-->Org resource pool and then after few minutes, VM will get discovered in vCD.
Note: Do make sure that network attached to VM is already part of vCD organization. If import doesn't work, Check for /opt/vmware/vcloud-director/logs/vcloud-container-info.log for error.
One of the error that I received is as below:
2023-08-17 09:28:54,799 | ERROR | Backend-activity-pool-87043 | CreateAutoManagedVAppActivity | [Activity Execution] Encountered error while importing VM [vcId=fae7d8b1-a12a-4e08-b2dc-d21f33204bb3, moref=vm-15026] from VC fae7d8b1
-a12a-4e08-b2dc-d21f33204bb3 into VCD - Handle: urn:uuid:3d6c91b7-e516-4d8a-ac78-1e529829b50c, Current Phase: CreateAutoManagedVAppActivity$ImportVmFromVcPhase | activity=(com.vmware.vcloud.activities.vcresiliency.CreateAutoManagedVAp
pActivity,urn:uuid:3d6c91b7-e516-4d8a-ac78-1e529829b50c)
com.vmware.vcloud.api.presentation.service.BadRequestException: Cannot import auto discovered VM Linux from VC because port group [vcId=fae7d8b1-a12a-4e08-b2dc-d21f33204bb3, moref=dvportgroup-3026] is connected to VC network none, whi
ch is not a valid Organization VDC network.
Make sure that VM is connected to correct port group/segment/logicalSwitch that vCD organization has access to.
Give Kudos if this fixes the issue.