code: func expandSliceOfDvsHostInfrastructureTrafficResource(d *schema.ResourceData) []types.DvsHostInfrastructureTrafficResource {
  	var s []types.DvsHostInfrastructureTrafficResource
  	for _, key := range infrastructureTrafficClassValues {
  		v := expandDvsHostInfrastructureTrafficResource(d, key)
  		if v != nil {
  			s = append(s, *v)
  		}
  	}
  	return s
  }
docs: // expandSliceOfDvsHostInfrastructureTrafficResource expands all network I/O
  // control resource entries that are currently supported in API, and returns a
  // slice of DvsHostInfrastructureTrafficResource.