Class CreationSource
- java.lang.Object
-
- com.azure.resourcemanager.compute.models.CreationSource
-
public class CreationSource extends Object
The source from which managed disk or snapshot is created.
-
-
Constructor Summary
Constructors Constructor Description CreationSource(CreationData creationData)Creates DiskSource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intsourceDataDiskImageLun()StringsourceId()CreationSourceTypetype()
-
-
-
Constructor Detail
-
CreationSource
public CreationSource(CreationData creationData)
Creates DiskSource.- Parameters:
creationData- the creation data of managed disk or snapshot
-
-
Method Detail
-
type
public CreationSourceType type()
- Returns:
- type of the source from which disk or snapshot is created
-
sourceId
public String 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
-
-