Share via


Volume Constructors

Definition

Overloads

Volume()

Initializes a new instance of the Volume class.

Volume(String, AzureFileVolume, Object, IDictionary<String,String>, GitRepoVolume)

Initializes a new instance of the Volume class.

Volume()

Initializes a new instance of the Volume class.

public Volume ();
Public Sub New ()

Applies to

Volume(String, AzureFileVolume, Object, IDictionary<String,String>, GitRepoVolume)

Initializes a new instance of the Volume class.

public Volume (string name, Microsoft.Azure.Management.ContainerInstance.Models.AzureFileVolume azureFile = default, object emptyDir = default, System.Collections.Generic.IDictionary<string,string> secret = default, Microsoft.Azure.Management.ContainerInstance.Models.GitRepoVolume gitRepo = default);
new Microsoft.Azure.Management.ContainerInstance.Models.Volume : string * Microsoft.Azure.Management.ContainerInstance.Models.AzureFileVolume * obj * System.Collections.Generic.IDictionary<string, string> * Microsoft.Azure.Management.ContainerInstance.Models.GitRepoVolume -> Microsoft.Azure.Management.ContainerInstance.Models.Volume
Public Sub New (name As String, Optional azureFile As AzureFileVolume = Nothing, Optional emptyDir As Object = Nothing, Optional secret As IDictionary(Of String, String) = Nothing, Optional gitRepo As GitRepoVolume = Nothing)

Parameters

name
String

The name of the volume.

azureFile
AzureFileVolume

The Azure File volume.

emptyDir
Object

The empty directory volume.

secret
IDictionary<String,String>

The secret volume.

gitRepo
GitRepoVolume

The git repo volume.

Applies to