Lingua

ArmContainerInstanceModelFactory.ContainerVolume Method

Definition

The properties of the volume.

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>

Defines files for a secret volume. Dictionary keys are file names and values are Base64-encoded secret data used as file contents. The values are sensitive, and the service does not return the contents of this property in GET responses.

secretReference
IDictionary<String,String>

Defines files for a secret reference volume. Dictionary keys are file names and values identify entries in the container group's secretReferences collection. This property contains reference names rather than secret values.

gitRepo
ContainerInstanceGitRepoVolume

The git repo volume.

Returns

A new ContainerVolume instance for mocking.

Applies to