ContainerGroup.DefinitionStages.ContainerInstanceDefinitionStages.WithImage<ParentT> Interface

Type Parameters

ParentT

the stage of the parent definition to return to after attaching this definition

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 Type Method and Description
abstract WithOrWithoutPorts<ParentT> withImage(String imageName)

Specifies the container image to be used.

Method Details

withImage

public abstract 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

Applies to