Class ContainerConfigFile
The file that is mounted on a container instance through a volume mount.
Inherited Members
Namespace: Oci.ContainerinstancesService.Models
Assembly: OCI.DotNetSDK.Containerinstances.dll
Syntax
public class ContainerConfigFile
Properties
Data
Declaration
[Required(ErrorMessage = "Data is required.")]
[JsonProperty(PropertyName = "data")]
public byte[] Data { get; set; }
Property Value
Type | Description |
---|---|
byte[] | The base64 encoded contents of the file. The contents are decoded to plain text before mounted as a file to a container inside container instance. |
Remarks
Required
FileName
Declaration
[Required(ErrorMessage = "FileName is required.")]
[JsonProperty(PropertyName = "fileName")]
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
string | The name of the file. The fileName should be unique across the volume. |
Remarks
Required
Path
Declaration
[JsonProperty(PropertyName = "path")]
public string Path { get; set; }
Property Value
Type | Description |
---|---|
string | (Optional) Relative path for this file inside the volume mount directory. By default, the file is presented at the root of the volume mount path. |