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.
The properties of the volume.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.VolumeTypeConverter))]
public class Volume : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.IVolume
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.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
AzureFileReadOnly |
The flag indicating whether the Azure File shared mounted as a volume is read-only. |
AzureFileShareName |
The name of the Azure File share to be mounted as a volume. |
AzureFileStorageAccountKey |
The storage account access key used to access the Azure File share. |
AzureFileStorageAccountName |
The name of the storage account that contains the Azure File share. |
EmptyDir |
The empty directory volume. |
GitRepoDirectory |
Target directory name. Must not contain or start with '..'. If '.' is supplied, the volume directory will be the git repository. Otherwise, if specified, the volume will contain the git repository in the subdirectory with the given name. |
GitRepoRepository |
Repository URL |
GitRepoRevision |
Commit hash for the specified revision. |
Name |
The name of the volume. |
Secret |
The secret volume. |
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.ContainerInstance.Models.Api20221001Preview.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() |