共用方式為


IWithVolumeMountSetting<ParentT>.WithVolumeMountSetting Method

Definition

Overloads

WithVolumeMountSetting(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.

WithVolumeMountSetting(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.

WithVolumeMountSetting(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> WithVolumeMountSetting (System.Collections.Generic.IDictionary<string,string> volumeMountSetting);
abstract member WithVolumeMountSetting : System.Collections.Generic.IDictionary<string, string> -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithContainerInstanceAttach<'ParentT>
Public Function WithVolumeMountSetting (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

WithVolumeMountSetting(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> WithVolumeMountSetting (string volumeName, string mountPath);
abstract member WithVolumeMountSetting : string * string -> Microsoft.Azure.Management.ContainerInstance.Fluent.ContainerGroup.Definition.IWithContainerInstanceAttach<'ParentT>
Public Function WithVolumeMountSetting (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