你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

VolumeMount Class

Definition

The properties of the volume mount.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.VolumeMountTypeConverter))]
public class VolumeMount : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IVolumeMount
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.VolumeMountTypeConverter))>]
type VolumeMount = class
    interface IVolumeMount
    interface IJsonSerializable
Public Class VolumeMount
Implements IVolumeMount
Inheritance
VolumeMount
Attributes
Implements

Constructors

VolumeMount()

Creates an new VolumeMount instance.

Properties

MountPath

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

Name

The name of the volume mount.

ReadOnly

The flag indicating whether the volume mount is read-only.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VolumeMount.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VolumeMount.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IVolumeMount.

FromJsonString(String)

Creates a new instance of VolumeMount, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VolumeMount into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to