共用方式為


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