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

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 new distributed virtual switch with a distributed virtual port group.