Examples of imageId()


Examples of org.jclouds.compute.domain.NodeMetadataBuilder.imageId()

                      .id("")
                      .ram(container.getContainerConfig().getMemory())
                      .processor(new Processor(container.getContainerConfig().getCpuShares(), container.getContainerConfig().getCpuShares()))
                      .build());
      builder.status(toPortableStatus.apply(container.getState()));
      builder.imageId(container.getImage());
      builder.loginPort(getLoginPort(container));
      builder.publicAddresses(getPublicIpAddresses());
      builder.privateAddresses(getPrivateIpAddresses(container));
      builder.location(Iterables.getOnlyElement(locations.get()));
      String imageId = container.getImage();
View Full Code Here

Examples of org.jclouds.compute.domain.TemplateBuilder.imageId()

      }
      if (locationId != null) {
         builder.locationId(locationId);
      }
      if (imageId != null) {
         builder.imageId(imageId);
      }
      if (hardwareId != null) {
         builder.hardwareId(hardwareId);
      }
View Full Code Here

Examples of org.jclouds.compute.domain.TemplateBuilder.imageId()

        if (locationId != null) {
            builder.locationId(locationId);
        }
        if (imageId != null) {
            builder.imageId(imageId);
        }
        if (hardwareId != null) {
            builder.hardwareId(hardwareId);
        }
View Full Code Here

Examples of org.jclouds.compute.domain.TemplateBuilder.imageId()

    // entity.setDomainToTemplateMap(new HashMap<String, Template>());
    // }

    TemplateBuilder templateBuilder = iaas.getComputeService()
        .templateBuilder();
    templateBuilder.imageId(iaas.getImage());

    // to avoid creation of template objects in each and every time, we
    // create all
    // at once!
    // for (org.apache.cartridge.autoscaler.service.util.ServiceContext temp
View Full Code Here

Examples of org.jclouds.compute.domain.TemplateBuilder.imageId()

    TemplateBuilder templateBuilder = iaas.getComputeService()
        .templateBuilder();

    // set image id specified
    templateBuilder.imageId(iaas.getImage());

    if (iaas.getProperty("instanceType") != null) {
      // set instance type eg: m1.large
      templateBuilder.hardwareId(iaas.getProperty("instanceType"));
    }
View Full Code Here

Examples of org.jclouds.compute.domain.TemplateBuilder.imageId()

    TemplateBuilder templateBuilder = iaas.getComputeService()
        .templateBuilder();

    // set image id specified
    templateBuilder.imageId(iaas.getImage());

    // build the Template
    Template template = templateBuilder.build();

    // if you wish to auto assign IPs, instance spawning call should be
View Full Code Here

Examples of org.jclouds.compute.domain.TemplateBuilder.imageId()

        if (locationId != null) {
            builder.locationId(locationId);
        }
        if (imageId != null) {
            builder.imageId(imageId);
        }
        if (hardwareId != null) {
            builder.hardwareId(hardwareId);
        }
View Full Code Here

Examples of org.jclouds.compute.domain.TemplateBuilder.imageId()

        if (locationId != null) {
            builder.locationId(locationId);
        }
        if (imageId != null) {
            builder.imageId(imageId);
        }
        if (hardwareId != null) {
            builder.hardwareId(hardwareId);
        }
View Full Code Here

Examples of org.jclouds.compute.domain.TemplateBuilder.imageId()

        if (locationId != null) {
            builder.locationId(locationId);
        }
        if (imageId != null) {
            builder.imageId(imageId);
        }
        if (hardwareId != null) {
            builder.hardwareId(hardwareId);
        }
View Full Code Here

Examples of org.jclouds.compute.domain.TemplateBuilder.imageId()

    TemplateBuilder templateBuilder = iaasInfo.getComputeService()
        .templateBuilder();

    // set image id specified
    templateBuilder.imageId(iaasInfo.getImage());

        if(!(iaasInfo instanceof IaasProvider)) {
           templateBuilder.locationId(iaasInfo.getType());
        }
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.