ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume Interface

public interface WithPrivateImageRegistryOrVolume extends ContainerGroup.DefinitionStages.WithPrivateImageRegistry

The stage of the container group definition allowing to specify a private image registry or a volume.

Method Summary

Modifier and Type Method and Description
VolumeDefinitionStages.VolumeDefinitionBlank<ContainerGroup.DefinitionStages.WithVolume> defineVolume(String name)

Begins the definition of a volume that can be shared by the container instances in the container group.

The definition must be completed with a call to attach()

ContainerGroup.DefinitionStages.WithFirstContainerInstance withNewAzureFileShareVolume(String volumeName, String shareName)

Specifies a new Azure file share name to be created.

ContainerGroup.DefinitionStages.WithFirstContainerInstance withoutVolume()

Skips the definition of volumes to be shared by the container instances.

An IllegalArgumentException will be thrown if a container instance attempts to define a volume mounting.

Inherited Members

Method Details

defineVolume

public VolumeDefinitionStages.VolumeDefinitionBlank defineVolume(String name)

Begins the definition of a volume that can be shared by the container instances in the container group.

The definition must be completed with a call to attach()

Parameters:

name - the name of the volume

Returns:

the next stage of the definition

withNewAzureFileShareVolume

public WithFirstContainerInstance withNewAzureFileShareVolume(String volumeName, String shareName)

Specifies a new Azure file share name to be created.

Parameters:

volumeName - the name of the volume
shareName - the Azure file share name to be created

Returns:

the next stage of the definition

withoutVolume

public WithFirstContainerInstance withoutVolume()

Skips the definition of volumes to be shared by the container instances.

An IllegalArgumentException will be thrown if a container instance attempts to define a volume mounting.

Returns:

the next stage of the definition

Applies to