다음을 통해 공유


IWithVolumeMountSetting<ParentT>.WithReadOnlyVolumeMountSetting Method

Definition

Overloads

WithReadOnlyVolumeMountSetting(IDictionary<String,String>)

Specifies the container group's volume to be mounted by the container instance at a specified mount path. Mounting an Azure file share as a volume in a container is a two-step process. First, you provide the details of the share as part of defining the container group, then you specify how you wan the volume mounted within one or more of the containers in the group.

WithReadOnlyVolumeMountSetting(String, String)

Specifies the container group's volume to be mounted by the container instance at a specified mount path. Mounting an Azure file share as a volume in a container is a two-step process. First, you provide the details of the share as part of defining the container group, then you specify how you wan the volume mounted within one or more of the containers in the group.

WithReadOnlyVolumeMountSetting(IDictionary<String,String>)

Specifies the container group's volume to be mounted by the container instance at a specified mount path. Mounting an Azure file share as a volume in a container is a two-step process. First, you provide the details of the share as part of defining the container group, then you specify how you wan the volume mounted within one or more of the containers in the group.

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithContainerInstanceAttach<ParentT> WithReadOnlyVolumeMountSetting (System.Collections.Generic.IDictionary<string,string> volumeMountSetting);
abstract member WithReadOnlyVolumeMountSetting : System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithContainerInstanceAttach<'ParentT>
Public Function WithReadOnlyVolumeMountSetting (volumeMountSetting As IDictionary(Of String, String)) As IWithContainerInstanceAttach(Of ParentT)

Parameters

volumeMountSetting
IDictionary<String,String>

The name and value pair representing volume names as defined in the volumes of the container group and the local paths the volume will be mounted at.

Returns

Applies to

WithReadOnlyVolumeMountSetting(String, String)

Specifies the container group's volume to be mounted by the container instance at a specified mount path. Mounting an Azure file share as a volume in a container is a two-step process. First, you provide the details of the share as part of defining the container group, then you specify how you wan the volume mounted within one or more of the containers in the group.

public Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithContainerInstanceAttach<ParentT> WithReadOnlyVolumeMountSetting (string volumeName, string mountPath);
abstract member WithReadOnlyVolumeMountSetting : string * string -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithContainerInstanceAttach<'ParentT>
Public Function WithReadOnlyVolumeMountSetting (volumeName As String, mountPath As String) As IWithContainerInstanceAttach(Of ParentT)

Parameters

volumeName
String

The volume name as defined in the volumes of the container group.

mountPath
String

The local path the volume will be mounted at.

Returns

Applies to