Interface ContainerGroup.DefinitionStages.WithFirstContainerInstance
-
- All Known Subinterfaces:
ContainerGroup.Definition,ContainerGroup.DefinitionStages.WithVolume
- Enclosing interface:
- ContainerGroup.DefinitionStages
public static interface ContainerGroup.DefinitionStages.WithFirstContainerInstanceThe stage of the container group definition allowing to specify first required container instance.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.ContainerInstanceDefinitionBlank<ContainerGroup.DefinitionStages.WithNextContainerInstance>defineContainerInstance(String name)Begins the definition of a container instance.ContainerGroup.DefinitionStages.WithCreatewithContainerInstance(String imageName)Defines one container instance for the specified image with one CPU count and 1.5 GB memory, with TCP port 80 opened externally.ContainerGroup.DefinitionStages.WithCreatewithContainerInstance(String imageName, int port)Defines one container instance for the specified image with one CPU count and 1.5 GB memory, with a custom TCP port opened externally.
-
-
-
Method Detail
-
defineContainerInstance
ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.ContainerInstanceDefinitionBlank<ContainerGroup.DefinitionStages.WithNextContainerInstance> defineContainerInstance(String name)
Begins the definition of a container instance.- Parameters:
name- the name of the container instance- Returns:
- the next stage of the definition
-
withContainerInstance
ContainerGroup.DefinitionStages.WithCreate withContainerInstance(String imageName)
Defines one container instance for the specified image with one CPU count and 1.5 GB memory, with TCP port 80 opened externally.- Parameters:
imageName- the name of the container image- Returns:
- the next stage of the definition
-
withContainerInstance
ContainerGroup.DefinitionStages.WithCreate withContainerInstance(String imageName, int port)
Defines one container instance for the specified image with one CPU count and 1.5 GB memory, with a custom TCP port opened externally.- Parameters:
imageName- the name of the container imageport- the external port to be opened- Returns:
- the next stage of the definition
-
-