GalleryImageVersion.DefinitionStages.WithSource Interface
public static interface GalleryImageVersion.DefinitionStages.WithSource
The stage of the image version definition allowing to specify the source.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withSourceCustomImage(VirtualMachineCustomImage customImage)
Specifies that the provided custom image needs to be used as source of the image version. |
abstract
With |
withSourceCustomImage(String customImageId)
Specifies that the provided custom image needs to be used as source of the image version. |
abstract
With |
withSourceVirtualMachine(VirtualMachine virtualMachine)
Specifies that the provided virtual machine needs to be used as source of the image version. |
abstract
With |
withSourceVirtualMachine(String vmId)
Specifies that the provided virtual machine needs to be used as source of the image version. |
Method Details
withSourceCustomImage
public abstract GalleryImageVersion.DefinitionStages.WithCreate withSourceCustomImage(VirtualMachineCustomImage customImage)
Specifies that the provided custom image needs to be used as source of the image version.
Parameters:
Returns:
withSourceCustomImage
public abstract GalleryImageVersion.DefinitionStages.WithCreate withSourceCustomImage(String customImageId)
Specifies that the provided custom image needs to be used as source of the image version.
Parameters:
Returns:
withSourceVirtualMachine
public abstract GalleryImageVersion.DefinitionStages.WithCreate withSourceVirtualMachine(VirtualMachine virtualMachine)
Specifies that the provided virtual machine needs to be used as source of the image version.
Parameters:
Returns:
withSourceVirtualMachine
public abstract GalleryImageVersion.DefinitionStages.WithCreate withSourceVirtualMachine(String vmId)
Specifies that the provided virtual machine needs to be used as source of the image version.
Parameters:
Returns:
Applies to
Azure SDK for Java