code: func expandVmwareDistributedVirtualSwitchPvlanSpec(d *schema.ResourceData) *types.VmwareDistributedVirtualSwitchPvlanSpec {
  	obj := &types.VmwareDistributedVirtualSwitchPvlanSpec{
  		PvlanId: int32(d.Get("port_private_secondary_vlan_id").(int)),
  	}
  	return obj
  }
docs: // expandVmwareDistributedVirtualSwitchPvlanSpec reads certain ResourceData keys and
  // returns a VmwareDistributedVirtualSwitchPvlanSpec.