Package org.jclouds.ibm.smartcloud.options

Examples of org.jclouds.ibm.smartcloud.options.RestartInstanceOptions


   }

   public void testRestartInstanceNewKey() throws SecurityException, NoSuchMethodException, IOException {
      Method method = IBMSmartCloudAsyncClient.class.getMethod("restartInstance", String.class,
               RestartInstanceOptions[].class);
      GeneratedHttpRequest httpRequest = processor.createRequest(method, "1", new RestartInstanceOptions()
               .authorizePublicKey("keyName"));

      assertRequestLineEquals(httpRequest,
               "PUT https://www-147.ibm.com/computecloud/enterprise/api/rest/20100331/instances/1 HTTP/1.1");
      assertNonPayloadHeadersEqual(httpRequest, "");
View Full Code Here

TOP

Related Classes of org.jclouds.ibm.smartcloud.options.RestartInstanceOptions

Copyright © 2018 www.massapicom. 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.