PersonalityContent Property |
The contents of the file to create on the target file system.
Namespace: OpenStack.Compute.v2_1Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax [JsonPropertyAttribute("contents")]
public byte[] Content { get; set; }
<JsonPropertyAttribute("contents")>
Public Property Content As Byte()
Get
Set
public:
[JsonPropertyAttribute(L"contents")]
property array<unsigned char>^ Content {
array<unsigned char>^ get ();
void set (array<unsigned char>^ value);
}
[<JsonPropertyAttribute("contents")>]
member Content : byte[] with get, set
Property Value
Type:
ByteRemarks
The maximum size of the file contents is determined by the compute provider
and may vary based on the image that is used to create the server. The provider
may provide a
maxPersonalitySize absolute limit, which is a byte limit
that is guaranteed to apply to all images in the deployment. Providers can set
additional per-image personality limits.
Caution |
---|
The behavior of the related methods is undefined
if the value is not a UTF-8 encoded text file.
|
Version Information .NET Framework
Supported in: 4.5
openstack.net
Supported in: 1.6
See Also