Show / Hide Table of Contents

Class CreateVolumeMountDetails

Defines the mapping from volume to a mount path in a container.

Inheritance
object
CreateVolumeMountDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.ContainerinstancesService.Models
Assembly: OCI.DotNetSDK.Containerinstances.dll
Syntax
public class CreateVolumeMountDetails

Properties

IsReadOnly

Declaration
[JsonProperty(PropertyName = "isReadOnly")]
public bool? IsReadOnly { get; set; }
Property Value
Type Description
bool?

Whether the volume was mounted in read-only mode. By default, the volume is not read-only.

MountPath

Declaration
[Required(ErrorMessage = "MountPath is required.")]
[JsonProperty(PropertyName = "mountPath")]
public string MountPath { get; set; }
Property Value
Type Description
string

The volume access path.

Remarks

Required

Partition

Declaration
[JsonProperty(PropertyName = "partition")]
public int? Partition { get; set; }
Property Value
Type Description
int?

If there is more than one partition in the volume, reference this number of partitions. Here is an Example: Number Start End Size File system Name Flags1 1049kB 106MB 105MB fat16 EFI System Partition boot, esp2 106MB 1180MB 1074MB xfs3 1180MB 50.0GB 48.8GB lvm

SubPath

Declaration
[JsonProperty(PropertyName = "subPath")]
public string SubPath { get; set; }
Property Value
Type Description
string

A subpath inside the referenced volume.

VolumeName

Declaration
[Required(ErrorMessage = "VolumeName is required.")]
[JsonProperty(PropertyName = "volumeName")]
public string VolumeName { get; set; }
Property Value
Type Description
string

The name of the volume. Avoid entering confidential information.

Remarks

Required

In this article
Back to top