With the networking workflows, you can add a port group to distributed virtual switch, create a distributed virtual switch with a port group, and others.

Add port group to distributed virtual switch
Adds a new distributed virtual port group to a specified distributed virtual switch.
Attach host system to distributed virtual switch
Adds a host to a distributed virtual switch.
Create distributed virtual switch with port group
Creates a distributed virtual switch with a distributed virtual port group.