ArmContainerInstanceModelFactory.ContainerInstanceAzureFileVolume 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.
The properties of the Azure File volume. Azure File shares are mounted as volumes.
public static Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceAzureFileVolume ContainerInstanceAzureFileVolume(string shareName = default, bool? isReadOnly = default, string storageAccountName = default, string storageAccountKey = default, string storageAccountKeyReference = default, string userAssignedIdentityClientId = default);
static member ContainerInstanceAzureFileVolume : string * Nullable<bool> * string * string * string * string -> Azure.ResourceManager.ContainerInstance.Models.ContainerInstanceAzureFileVolume
Public Shared Function ContainerInstanceAzureFileVolume (Optional shareName As String = Nothing, Optional isReadOnly As Nullable(Of Boolean) = Nothing, Optional storageAccountName As String = Nothing, Optional storageAccountKey As String = Nothing, Optional storageAccountKeyReference As String = Nothing, Optional userAssignedIdentityClientId As String = Nothing) As ContainerInstanceAzureFileVolume
Parameters
- shareName
- String
The name of the Azure File share to be mounted as a volume.
The flag indicating whether the Azure File shared mounted as a volume is read-only.
- storageAccountName
- String
The name of the storage account that contains the Azure File share.
- storageAccountKey
- String
The storage account access key used to access the Azure File share.
- storageAccountKeyReference
- String
The reference to the storage account access key used to access the Azure File share.
- userAssignedIdentityClientId
- String
The client id of the user-assigned managed identity that has access to the Azure File share.
Returns
A new ContainerInstanceAzureFileVolume instance for mocking.