Examples of PowerState


Examples of org.jclouds.softlayer.domain.PowerState

               .createDate(new SimpleDateFormatDateService().iso8601SecondsDateParse("2011-09-28T01:52:45-08:00"))
               .domain("jclouds.org").fullyQualifiedDomainName("foo-ef4.jclouds.org")
               .hostname("foo-ef4").maxCpu(0).maxCpuUnits("CORE").maxMemory(256)
               .statusId(1001).startCpus(0)
               //TODO: maybe powerState can be flattened like billingItemId
               .powerState(new PowerState(VirtualGuest.State.HALTED)).build();
   }
View Full Code Here

Examples of org.openhab.action.openwebif.internal.impl.model.PowerState

  /**
   * Returns true, if the sat reveiver is in standby.
   */
  public boolean isStandby(OpenWebIfConfig config) throws IOException {
    String url = new UrlBuilder(config, POWERSTATE).build();
    PowerState result = executeRequest(config, url, PowerState.class);
    return result.isStandby();
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.