CreationSource Class
- java.
lang. Object - com.
microsoft. azure. management. compute. CreationSource
- com.
public class CreationSource
The source from which managed disk or snapshot is created.
Constructor Summary
Constructor | Description |
---|---|
CreationSource(CreationData creationData) |
Creates DiskSource. |
Method Summary
Modifier and Type | Method and Description |
---|---|
int | sourceDataDiskImageLun() |
String | sourceId() |
Creation |
type() |
Constructor Details
CreationSource
public CreationSource(CreationData creationData)
Creates DiskSource.
Parameters:
creationData
- the creation data of managed disk or snapshot
Method Details
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
sourceId
public String sourceId()
Returns:
ID of the source
type
public CreationSourceType type()
Returns:
type of the source from which disk or snapshot is created
Applies to
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Azure SDK for Java