public static interface ContainerGroup.DefinitionStages.WithPrivateImageRegistryOrVolume extends ContainerGroup.DefinitionStages.WithPrivateImageRegistry
Modifier and Type | Method and Description |
---|---|
ContainerGroup.DefinitionStages.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.
|
ContainerGroup.DefinitionStages.WithFirstContainerInstance |
withEmptyDirectoryVolume(String name)
Specifies an empty directory volume that can be shared by the container instances in the container group.
|
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.
|
withPrivateImageRegistry
ContainerGroup.DefinitionStages.WithFirstContainerInstance withoutVolume()
An IllegalArgumentException will be thrown if a container instance attempts to define a volume mounting.
ContainerGroup.DefinitionStages.WithFirstContainerInstance withNewAzureFileShareVolume(String volumeName, String shareName)
volumeName
- the name of the volumeshareName
- the Azure file share name to be created@Beta(value=V1_7_0) ContainerGroup.DefinitionStages.WithFirstContainerInstance withEmptyDirectoryVolume(String name)
name
- the name of the empty directory volumeContainerGroup.DefinitionStages.VolumeDefinitionStages.VolumeDefinitionBlank<ContainerGroup.DefinitionStages.WithVolume> defineVolume(String name)
The definition must be completed with a call to Attachable.InDefinition.attach()
name
- the name of the volumeCopyright © 2019. All rights reserved.