Class CreationSource
java.lang.Object
com.microsoft.azure.management.compute.CreationSource
The source from which managed disk or snapshot is created.
-
Constructor Details
-
CreationSource
Creates DiskSource.- Parameters:
creationData
- the creation data of managed disk or snapshot
-
-
Method Details
-
type
- Returns:
- type of the source from which disk or snapshot is created
-
sourceId
- Returns:
- ID of the source
-
sourceDataDiskImageLun
public int sourceDataDiskImageLun()- Returns:
- the LUN value of the data disk image if this disk or snapshot is created from a data disk image, -1 otherwise
-