Interface GalleryImageVersion.DefinitionStages.WithSource
-
- All Known Subinterfaces:
GalleryImageVersion.Definition
- Enclosing interface:
- GalleryImageVersion.DefinitionStages
public static interface GalleryImageVersion.DefinitionStages.WithSourceThe stage of the image version definition allowing to specify the source.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GalleryImageVersion.DefinitionStages.WithCreatewithSourceCustomImage(VirtualMachineCustomImage customImage)Specifies that the provided custom image needs to be used as source of the image version.GalleryImageVersion.DefinitionStages.WithCreatewithSourceCustomImage(String customImageId)Specifies that the provided custom image needs to be used as source of the image version.
-
-
-
Method Detail
-
withSourceCustomImage
GalleryImageVersion.DefinitionStages.WithCreate withSourceCustomImage(String customImageId)
Specifies that the provided custom image needs to be used as source of the image version.- Parameters:
customImageId- the ARM id of the custom image- Returns:
- the next definition stage
-
withSourceCustomImage
GalleryImageVersion.DefinitionStages.WithCreate withSourceCustomImage(VirtualMachineCustomImage customImage)
Specifies that the provided custom image needs to be used as source of the image version.- Parameters:
customImage- the custom image- Returns:
- the next definition stage
-
-