public interface ServerCreate extends ModelEntity, Buildable<ServerCreateBuilder>
Buildable.Builder<T extends Buildable.Builder<T,M>,M extends Buildable<?>>
Modifier and Type | Method and Description |
---|---|
void |
addNetwork(String id,
String fixedIP)
Adds the network.
|
void |
addNetworkPort(String id)
Adds network port
|
void |
addPersonality(String path,
String contents)
Adds the personality.
|
void |
addSecurityGroup(String name)
Adds the security group.
|
String |
getAccessIPv4() |
String |
getAccessIPv6() |
String |
getAdminPass() |
String |
getAvailabilityZone()
Gets the availability zone.
|
Server.DiskConfig |
getDiskConfig()
Controls how the disk is partitioned
|
String |
getFlavorRef()
The resources/flavor to be assigned
|
String |
getImageRef()
A reference to the boot Image
|
String |
getKeyName()
name of keypair to inject into the instance
|
Integer |
getMax()
Gets the max.
|
Map<String,String> |
getMetaData()
Gets the meta data.
|
Integer |
getMin() |
String |
getName()
The descriptive name for the Server
|
List<? extends NetworkCreate> |
getNetworks()
Gets the networks.
|
List<Personality> |
getPersonality()
Personality is a list of Files which will be injected onto the server.
|
Map<String,Object> |
getSchedulerHints()
A Map of Key and Value used for scheduler hints on bootup
|
List<? extends SecurityGroup> |
getSecurityGroups()
Gets the security groups.
|
String |
getUserData()
Gets the user data.
|
boolean |
isConfigDrive()
The value for config drive
|
String getName()
String getAdminPass()
String getImageRef()
String getFlavorRef()
String getAccessIPv4()
String getAccessIPv6()
Integer getMin()
Integer getMax()
Server.DiskConfig getDiskConfig()
String getKeyName()
String getUserData()
boolean isConfigDrive()
List<Personality> getPersonality()
Personality
List<? extends SecurityGroup> getSecurityGroups()
String getAvailabilityZone()
List<? extends NetworkCreate> getNetworks()
Map<String,Object> getSchedulerHints()
void addPersonality(String path, String contents)
path
- the pathcontents
- the contentsvoid addSecurityGroup(String name)
name
- the namevoid addNetwork(String id, String fixedIP)
id
- the idfixedIP
- the fixed ipvoid addNetworkPort(String id)
id
- id of a premade neutron portCopyright © 2017. All rights reserved.