Interface ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithImage<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.ContainerInstanceDefinitionBlank<ParentT>
- Enclosing interface:
- ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages
public static interface ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithImage<ParentT>
The stage of the container instance definition allowing to specify the container image.
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the container image to be used.
-
Method Details
-
withImage
ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithOrWithoutPorts<ParentT> withImage(String imageName) Specifies the container image to be used.- Parameters:
imageName
- the container image- Returns:
- the next stage of the definition
-