/** * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. */ package com.microsoft.azure.management.compute; import com.microsoft.azure.management.compute.implementation.ImageReferenceInner; import java.util.List; import com.fasterxml.jackson.annotation.JsonProperty; /** * Describes a virtual machine scale set storage profile. */ public class VirtualMachineScaleSetStorageProfile { /** * The image reference. */ @JsonProperty(value = "imageReference") private ImageReferenceInner imageReference; /** * The OS disk. */ @JsonProperty(value = "osDisk") private VirtualMachineScaleSetOSDisk osDisk; /** * The data disks. */ @JsonProperty(value = "dataDisks") private List<VirtualMachineScaleSetDataDisk> dataDisks; /** * Get the imageReference value. * * @return the imageReference value */ public ImageReferenceInner imageReference() { return this.imageReference; } /** * Set the imageReference value. * * @param imageReference the imageReference value to set * @return the VirtualMachineScaleSetStorageProfile object itself. */ public VirtualMachineScaleSetStorageProfile withImageReference(ImageReferenceInner imageReference) { this.imageReference = imageReference; return this; } /** * Get the osDisk value. * * @return the osDisk value */ public VirtualMachineScaleSetOSDisk osDisk() { return this.osDisk; } /** * Set the osDisk value. * * @param osDisk the osDisk value to set * @return the VirtualMachineScaleSetStorageProfile object itself. */ public VirtualMachineScaleSetStorageProfile withOsDisk(VirtualMachineScaleSetOSDisk osDisk) { this.osDisk = osDisk; return this; } /** * Get the dataDisks value. * * @return the dataDisks value */ public List<VirtualMachineScaleSetDataDisk> dataDisks() { return this.dataDisks; } /** * Set the dataDisks value. * * @param dataDisks the dataDisks value to set * @return the VirtualMachineScaleSetStorageProfile object itself. */ public VirtualMachineScaleSetStorageProfile withDataDisks(List<VirtualMachineScaleSetDataDisk> dataDisks) { this.dataDisks = dataDisks; return this; } }