Click or drag to resize
Personality Class
Describes a file to inject into the file system while creating or rebuilding a server.
Inheritance Hierarchy
SystemObject
  OpenStack.Compute.v2_1Personality

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

The Personality type exposes the following members.

Constructors
  NameDescription
Public methodPersonality(String, Byte)
Initializes a new instance of the Personality class with the specified path and contents.
Public methodPersonality(String, String)
Initializes a new instance of the Personality class with the specified path and text content, using UTF8 for the content encoding.
Public methodPersonality(String, String, Encoding)
Initializes a new instance of the Personality class with the specified path, text content, and context encoding.
Top
Properties
  NameDescription
Public propertyContent
The contents of the file to create on the target file system.
Public propertyPath
The path of the file to create on the target file system.
Top
Remarks
You can customize the personality of a server instance by injecting data into its file system. For example, you might want to insert SSH keys, set configuration files, or store data that you want to retrieve from inside the instance. This feature provides a minimal amount of launch-time personalization. If you require significant customization, create a custom image.
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also