共用方式為


VolumeMount Class

Definition

The properties of the volume mount.

public class VolumeMount
type VolumeMount = class
Public Class VolumeMount
Inheritance
VolumeMount

Constructors

VolumeMount()

Initializes a new instance of the VolumeMount class.

VolumeMount(String, String, Nullable<Boolean>)

Initializes a new instance of the VolumeMount class.

Properties

MountPath

Gets or sets the path within the container where the volume should be mounted. Must not contain colon (:).

Name

Gets or sets the name of the volume mount.

ReadOnlyProperty

Gets or sets the flag indicating whether the volume mount is read-only.

Methods

Validate()

Validate the object.

Applies to