DataDiskImage Class
- java.
lang. Object - com.
azure. resourcemanager. compute. models. DataDiskImage
- com.
Implements
public final class DataDiskImage
implements JsonSerializable<DataDiskImage>
Contains the data disk images information.
Constructor Summary
Constructor | Description |
---|---|
DataDiskImage() |
Creates an instance of Data |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Data |
fromJson(JsonReader jsonReader)
Reads an instance of Data |
Integer |
lun()
Get the lun property: Specifies the logical unit number of the data disk. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
DataDiskImage
public DataDiskImage()
Creates an instance of DataDiskImage class.
Method Details
fromJson
public static DataDiskImage fromJson(JsonReader jsonReader)
Reads an instance of DataDiskImage from the JsonReader.
Parameters:
Returns:
Throws:
lun
public Integer lun()
Get the lun property: Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java