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<Container |
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() |
Container |
withNewAzureFileShareVolume(String volumeName, String shareName)
Specifies a new Azure file share name to be created. |
Container |
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
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:
Returns:
withNewAzureFileShareVolume
public WithFirstContainerInstance withNewAzureFileShareVolume(String volumeName, String shareName)
Specifies a new Azure file share name to be created.
Parameters:
Returns:
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:
Applies to
Azure SDK for Java
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по