Interface ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithVolumeMountSetting<ParentT>
- Type Parameters:
ParentT
- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.ContainerInstanceDefinition<ParentT>
,ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT>
,ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithPortsOrContainerInstanceAttach<ParentT>
- Enclosing interface:
- ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages
-
Method Summary
Modifier and TypeMethodDescriptionContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT>
withReadOnlyVolumeMountSetting
(String volumeName, String mountPath) Specifies the container group's volume to be mounted by the container instance at a specified mount path.ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT>
withReadOnlyVolumeMountSetting
(Map<String, String> volumeMountSetting) Specifies the container group's volume to be mounted by the container instance at a specified mount path.ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT>
withVolumeMountSetting
(String volumeName, String mountPath) Specifies the container group's volume to be mounted by the container instance at a specified mount path.ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT>
withVolumeMountSetting
(Map<String, String> volumeMountSetting) Specifies the container group's volume to be mounted by the container instance at a specified mount path.
-
Method Details
-
withVolumeMountSetting
ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT> withVolumeMountSetting(String volumeName, String mountPath) 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.
- Parameters:
volumeName
- the volume name as defined in the volumes of the container groupmountPath
- the local path the volume will be mounted at- Returns:
- the next stage of the definition
- Throws:
IllegalArgumentException
- thrown if volumeName was not defined in the respective container group definition stage.
-
withVolumeMountSetting
ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT> withVolumeMountSetting(Map<String, String> volumeMountSetting) 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.
- Parameters:
volumeMountSetting
- 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:
- the next stage of the definition
- Throws:
IllegalArgumentException
- thrown if volumeName was not defined in the respective container group definition stage.
-
withReadOnlyVolumeMountSetting
ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT> withReadOnlyVolumeMountSetting(String volumeName, String mountPath) 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.
- Parameters:
volumeName
- the volume name as defined in the volumes of the container groupmountPath
- the local path the volume will be mounted at- Returns:
- the next stage of the definition
- Throws:
IllegalArgumentException
- thrown if volumeName was not defined in the respective container group definition stage.
-
withReadOnlyVolumeMountSetting
ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithContainerInstanceAttach<ParentT> withReadOnlyVolumeMountSetting(Map<String, String> volumeMountSetting) 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.
- Parameters:
volumeMountSetting
- 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:
- the next stage of the definition
- Throws:
IllegalArgumentException
- thrown if volumeName was not defined in the respective container group definition stage.
-