Volume Constructors
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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET