code: func (j *AuroraJob) AddPorts(num int) Job {
  	start := j.portCount
  	j.portCount += num
  	for i := start; i < j.portCount; i++ {
  		portName := "org.apache.aurora.port." + strconv.Itoa(i)
  		j.jobConfig.TaskConfig.Resources = append(j.jobConfig.TaskConfig.Resources, &aurora.Resource{NamedPort: &portName})
  	}
  
  	return j
  }
docs: // Adds a request for a number of ports to the job configuration. The names chosen for these ports
  // will be org.apache.aurora.port.X, where X is the current port count for the job configuration
  // starting at 0. These are random ports as it's not currently possible to request
  // specific ports using Aurora.