code: public OvhConsumption serviceName_consumption_GET(String serviceName, Long duration) throws IOException {
  		String qPath = "/metrics/{serviceName}/consumption";
  		StringBuilder sb = path(qPath, serviceName);
  		query(sb, "duration", duration);
  		String resp = exec(qPath, "GET", sb.toString(), null);
  		return convertTo(resp, OvhConsumption.class);
  	}
docs: Get consumption for your service
  
  REST: GET /metrics/{serviceName}/consumption
  @param serviceName [required] Name of your service
  @param duration [required] Last 'm' minutes. Default is 60min
  
  API beta