Package org.platformlayer.service.cloud.google.ops.compute

Examples of org.platformlayer.service.cloud.google.ops.compute.GoogleComputeClient.createInstance()


        PlatformLayerKey instanceKey = instance.getKey();
        request.tags.add(Tag.buildParentTag(instanceKey));

        PublicKey servicePublicKey = service.getSshKey().getKeyPair().getPublic();
        Instance created = computeClient.createInstance(cloud, request, servicePublicKey);

        {
          Tag instanceTag = Tag.build(Tag.ASSIGNED, created.getName());
          platformLayer.addTag(instance.getKey(), instanceTag);
        }
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.