| Modifier and Type | Method and Description |
|---|---|
ImageReference |
VirtualMachineConfiguration.imageReference()
Get the imageReference value.
|
ImageReference |
ImageReference.withId(String id)
Set this property is mutually exclusive with other properties.
|
ImageReference |
ImageReference.withOffer(String offer)
Set for example, UbuntuServer or WindowsServer.
|
ImageReference |
ImageReference.withPublisher(String publisher)
Set for example, Canonical or MicrosoftWindowsServer.
|
ImageReference |
ImageReference.withSku(String sku)
Set for example, 18.04-LTS or 2019-Datacenter.
|
ImageReference |
ImageReference.withVersion(String version)
Set a value of 'latest' can be specified to select the latest version of an image.
|
| Modifier and Type | Method and Description |
|---|---|
VirtualMachineConfiguration |
VirtualMachineConfiguration.withImageReference(ImageReference imageReference)
Set the imageReference value.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/