Package org.platformlayer.core.model

Examples of org.platformlayer.core.model.PlatformLayerKey.withId()


    InstanceBuilder vm = InstanceBuilder.build(model.dnsName, this, model.getTags());

    // TODO: Do we need a DnsCluster concept?
    // For now, we fake it
    PlatformLayerKey key = model.getKey();
    String groupId = key.withId(new ManagedItemId("primary")).getUrl();
    groupId = groupId.replace("/dnsServer/", "/dnsCluster/");
    vm.hostPolicy.configureSpread(groupId);

    vm.addTagToManaged = true;
    vm.publicPorts.add(53);
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.