Volume Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Volume definitions for the Container App.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.VolumeTypeConverter))]
public class Volume : Microsoft.Azure.PowerShell.Cmdlets.App.Models.IVolume
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.App.Models.VolumeTypeConverter))>]
type Volume = class
interface IVolume
interface IJsonSerializable
Public Class Volume
Implements IVolume
- Inheritance
-
Volume
- Attributes
- Implements
Constructors
Volume() |
Creates an new Volume instance. |
Properties
MountOption |
Mount options used while mounting the AzureFile. Must be a comma-separated string. |
Name |
Volume name. |
Secret |
List of secrets to be added in volume. If no secrets are provided, all secrets in collection will be added to volume. |
StorageName |
Name of storage resource. No need to provide for EmptyDir and Secret. |
StorageType |
Storage type for the volume. If not provided, use EmptyDir. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Volume. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.App.Models.IVolume. |
FromJsonString(String) |
Creates a new instance of Volume, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |