ArmContainerInstanceModelFactory.ContainerVolume Method
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.
public static Azure.ResourceManager.ContainerInstance.Models.ContainerVolume ContainerVolume(string name = default, Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceAzureFileVolume azureFile = default, BinaryData emptyDir = default, System.Collections.Generic.IDictionary<string,string> secret = default, System.Collections.Generic.IDictionary<string,string> secretReference = default, Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceGitRepoVolume gitRepo = default);
static member ContainerVolume : string * Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceAzureFileVolume * BinaryData * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceGitRepoVolume -> Azure.ResourceManager.ContainerInstance.Models.ContainerVolume
Public Shared Function ContainerVolume (Optional name As String = Nothing, Optional azureFile As ContainerInstanceAzureFileVolume = Nothing, Optional emptyDir As BinaryData = Nothing, Optional secret As IDictionary(Of String, String) = Nothing, Optional secretReference As IDictionary(Of String, String) = Nothing, Optional gitRepo As ContainerInstanceGitRepoVolume = Nothing) As ContainerVolume
Parameters
- name
- String
The name of the volume.
- azureFile
- ContainerInstanceAzureFileVolume
The Azure File volume.
- emptyDir
- BinaryData
The empty directory volume.
- secret
- IDictionary<String,String>
The secret volume.
- secretReference
- IDictionary<String,String>
The secret reference volume.
- gitRepo
- ContainerInstanceGitRepoVolume
The git repo volume.
Returns
A new ContainerVolume instance for mocking.