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() |
String | sourceId() |
Creation |
type() |
Methods inherited from java.lang.Object
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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for Java