Compartir a través de


IVolume Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.VolumeTypeConverter))]
public interface IVolume : Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerInstance.Models.Api20221001Preview.VolumeTypeConverter))>]
type IVolume = interface
    interface IJsonSerializable
Public Interface IVolume
Implements IJsonSerializable
Derived
Attributes
Implements

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

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to