DataDiskImage.java
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.compute.models;
import com.azure.core.annotation.Immutable;
import com.azure.core.util.logging.ClientLogger;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
/** Contains the data disk images information. */
@Immutable
public final class DataDiskImage {
@JsonIgnore private final ClientLogger logger = new ClientLogger(DataDiskImage.class);
/*
* 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.
*/
@JsonProperty(value = "lun", access = JsonProperty.Access.WRITE_ONLY)
private 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.
*
* @return the lun value.
*/
public Integer lun() {
return this.lun;
}
/**
* Validates the instance.
*
* @throws IllegalArgumentException thrown if the instance is not valid.
*/
public void validate() {
}
}