CreationSource Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. CreationSource
- com.
public class CreationSource
The source from which managed disk or snapshot is created.
Constructor Summary
Constructor | Description |
---|---|
CreationSource(CreationData creationData) |
Creates Disk |
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
sourceDataDiskImageLun()
Gets the LUN value of the data disk image if this disk or snapshot is created from a data disk image. |
String |
sourceId()
Gets ID of the source. |
Creation |
type()
Gets type of the source from which disk or snapshot is created. |
Methods inherited from java.lang.Object
Constructor Details
CreationSource
public CreationSource(CreationData creationData)
Creates DiskSource.
Parameters:
Method Details
sourceDataDiskImageLun
public int sourceDataDiskImageLun()
Gets the LUN value of the data disk image if this disk or snapshot is created from a data disk image.
Returns:
sourceId
public String sourceId()
Gets ID of the source.
Returns:
type
public CreationSourceType type()
Gets type of the source from which disk or snapshot is created.
Returns:
Applies to
Azure SDK for Java