Partilhar via


VolumeMount Class

Definition

Volume mount for the Container App.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.VolumeMountTypeConverter))]
public class VolumeMount : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IVolumeMount
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.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

Path within the container at which the volume should be mounted.Must not contain ':'.

SubPath

Path within the volume from which the container's volume should be mounted. Defaults to "" (volume's root).

VolumeName

This must match the Name of a Volume.

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.App.Models.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