IWithVolumeMountSetting<ParentT>.WithVolumeMountSetting 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.
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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應