Package org.jclouds.googlecomputeengine.domain.InstanceTemplate

Examples of org.jclouds.googlecomputeengine.domain.InstanceTemplate.PersistentDisk


      List<PersistentDisk> disks = Lists.newArrayList();

      if (!tryFind(options.getDisks(), isBootDisk()).isPresent()) {
         Disk bootDisk = createBootDisk(template, name);

         disks.add(new PersistentDisk(Mode.READ_WRITE,
                                      bootDisk.getSelfLink(),
                                      null,
                                      true,
                                      true));
      }
View Full Code Here


      List<PersistentDisk> disks = Lists.newArrayList();

      if (!tryFind(options.getDisks(), isBootDisk()).isPresent()) {
         Disk bootDisk = createBootDisk(template, name);

         disks.add(new PersistentDisk(Mode.READ_WRITE,
                                      bootDisk.getSelfLink(),
                                      null,
                                      true,
                                      true));
      }
View Full Code Here

TOP

Related Classes of org.jclouds.googlecomputeengine.domain.InstanceTemplate.PersistentDisk

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.