Class ImageDiskReference
java.lang.Object
com.microsoft.azure.management.compute.ImageDiskReference
The source image used for creating the disk.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionid()
Get a relative uri containing either a Platform Image Repository or user image reference.lun()
Get if the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use.Set a relative uri containing either a Platform Image Repository or user image reference.Set if the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use.
-
Constructor Details
-
ImageDiskReference
public ImageDiskReference()
-
-
Method Details
-
id
Get a relative uri containing either a Platform Image Repository or user image reference.- Returns:
- the id value
-
withId
Set a relative uri containing either a Platform Image Repository or user image reference.- Parameters:
id
- the id value to set- Returns:
- the ImageDiskReference object itself.
-
lun
Get if the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.- Returns:
- the lun value
-
withLun
Set if the disk is created from an image's data disk, this is an index that indicates which of the data disks in the image to use. For OS disks, this field is null.- Parameters:
lun
- the lun value to set- Returns:
- the ImageDiskReference object itself.
-