ServerCreateDefinition Class |
Namespace: OpenStack.Compute.v2_1
The ServerCreateDefinition type exposes the following members.
Name | Description | |
---|---|---|
ServerCreateDefinition |
Initializes a new instance of the ServerCreateDefinition class.
|
Name | Description | |
---|---|---|
ConfigureBootFromNewVolume(Int32, Boolean) |
Configures the server to boot from a new volume, copied from the base server image.
| |
ConfigureBootFromNewVolume(Identifier, Int32, Boolean) |
Configures the server to boot from a copy of an existing volume.
| |
ConfigureBootFromVolume |
Configures the server to boot from an existing volume.
| |
LoadUserDataFromFile |
Load the UserData from the specified file path.
|
Name | Description | |
---|---|---|
AvailabilityZone |
The availability zone in which the server is located.
| |
BlockDeviceMapping |
Enables you to boot a server from a volume.
| |
DiskConfig |
The server disk configuration.
| |
FlavorId |
The flavor for the server instance.
| |
ImageId |
The image for the server instance.
| |
KeyPairName |
The name of associated key pair, if any.
| |
Metadata |
The associated metadata key and value pairs.
| |
Name |
The server name.
| |
Networks |
Specifies the networks to which the server should be attached.
| |
Personality |
The file path and contents, text only, to inject into the server at launch.
The maximum size of the file path data is 255 bytes. The maximum limit is The number of allowed bytes in the decoded, rather than encoded, data. | |
SchedulerHints |
Specifies hints for the compute scheduler.
| |
SecurityGroups |
Associated security groups.
| |
ShouldUseConfigurationDrive |
Indicates whether a configuration drive enables metadata injection.
| |
UserData |
Configuration information or scripts to use upon launch. Must be Base64 encoded.
|