Click or drag to resize
ServerCreateDefinition Class
Defines a new server instance.
Inheritance Hierarchy
SystemObject
  OpenStack.Compute.v2_1ServerCreateDefinition

Namespace: OpenStack.Compute.v2_1
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public class ServerCreateDefinition

The ServerCreateDefinition type exposes the following members.

Constructors
  NameDescription
Public methodServerCreateDefinition
Initializes a new instance of the ServerCreateDefinition class.
Top
Methods
  NameDescription
Public methodConfigureBootFromNewVolume(Int32, Boolean)
Configures the server to boot from a new volume, copied from the base server image.
Public methodConfigureBootFromNewVolume(Identifier, Int32, Boolean)
Configures the server to boot from a copy of an existing volume.
Public methodConfigureBootFromVolume
Configures the server to boot from an existing volume.
Public methodLoadUserDataFromFile
Load the UserData from the specified file path.
Top
Properties
  NameDescription
Public propertyAvailabilityZone
The availability zone in which the server is located.
Public propertyBlockDeviceMapping
Enables you to boot a server from a volume.
Public propertyDiskConfig
The server disk configuration.
Public propertyFlavorId
The flavor for the server instance.
Public propertyImageId
The image for the server instance.
Public propertyKeyPairName
The name of associated key pair, if any.
Public propertyMetadata
The associated metadata key and value pairs.
Public propertyName
The server name.
Public propertyNetworks
Specifies the networks to which the server should be attached.
Public propertyPersonality
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.

Public propertySchedulerHints
Specifies hints for the compute scheduler.
Public propertySecurityGroups
Associated security groups.
Public propertyShouldUseConfigurationDrive
Indicates whether a configuration drive enables metadata injection.
Public propertyUserData
Configuration information or scripts to use upon launch. Must be Base64 encoded.
Top
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6
See Also