public final class ImageDiskReference extends Object
Constructor and Description |
---|
ImageDiskReference() |
Modifier and Type | Method and Description |
---|---|
String |
id()
Get the id property: A relative uri containing either a Platform Image Repository or user image reference.
|
Integer |
lun()
Get the lun property: 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.
|
void |
validate()
Validates the instance.
|
ImageDiskReference |
withId(String id)
Set the id property: A relative uri containing either a Platform Image Repository or user image reference.
|
ImageDiskReference |
withLun(Integer lun)
Set the lun property: 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.
|
public String id()
public ImageDiskReference withId(String id)
id
- the id value to set.public Integer lun()
public ImageDiskReference withLun(Integer lun)
lun
- the lun value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.