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

Namespace: net.openstack.Core.Domain
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
[JsonObjectAttribute(MemberSerialization.OptIn)]
public sealed class Personality : ExtensibleJsonObject

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 propertyExtensionData
Gets a map of object properties which did not map to another field or property during JSON deserialization. The keys of the map represent the property names, and the values are JToken instances containing the parsed JSON values.
(Inherited from ExtensibleJsonObject.)
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, 1.5, 1.4, 1.3.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