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.
/** * 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.batchai; import com.fasterxml.jackson.annotation.JsonProperty;
VM configuration.
/** * VM configuration. */
public class VirtualMachineConfiguration {
Image reference. OS image reference for cluster nodes.
/** * Image reference. * OS image reference for cluster nodes. */
@JsonProperty(value = "imageReference") private ImageReference imageReference;
Get oS image reference for cluster nodes.
Returns:the imageReference value
/** * Get oS image reference for cluster nodes. * * @return the imageReference value */
public ImageReference imageReference() { return this.imageReference; }
Set oS image reference for cluster nodes.
Params:
  • imageReference – the imageReference value to set
Returns:the VirtualMachineConfiguration object itself.
/** * Set oS image reference for cluster nodes. * * @param imageReference the imageReference value to set * @return the VirtualMachineConfiguration object itself. */
public VirtualMachineConfiguration withImageReference(ImageReference imageReference) { this.imageReference = imageReference; return this; } }