public static interface VirtualMachine.Update extends com.microsoft.azure.management.resources.fluentcore.model.Appliable<VirtualMachine>, com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.UpdateWithTags<VirtualMachine.Update>, VirtualMachine.UpdateStages.WithDataDisk, VirtualMachine.UpdateStages.WithSecondaryNetworkInterface, VirtualMachine.UpdateStages.WithExtension
Call Appliable.apply() to apply the changes to the resource in Azure.
| Modifier and Type | Method and Description |
|---|---|
VirtualMachine.Update |
withOsDiskCaching(CachingTypes cachingType)
Specifies the caching type for the Operating System disk.
|
VirtualMachine.Update |
withOsDiskSizeInGb(Integer size)
Specifies the size of the OSDisk in GB.
|
VirtualMachine.Update |
withSize(String sizeName)
Specifies the new size for the virtual machine.
|
VirtualMachine.Update |
withSize(VirtualMachineSizeTypes size)
Specifies the new size for the virtual machine.
|
apply, applyAsync, applyAsynckeywithoutTag, withTag, withTagsdefineExistingDataDisk, defineNewDataDisk, updateDataDisk, withExistingDataDisk, withNewDataDisk, withoutDataDisk, withoutDataDiskwithExistingSecondaryNetworkInterface, withNewSecondaryNetworkInterface, withoutSecondaryNetworkInterfacedefineNewExtension, updateExtension, withoutExtensionVirtualMachine.Update withOsDiskCaching(CachingTypes cachingType)
cachingType - the caching type.VirtualMachine.Update withOsDiskSizeInGb(Integer size)
size - the VHD size.VirtualMachine.Update withSize(String sizeName)
sizeName - the name of the size for the virtual machine as textVirtualMachine.Update withSize(VirtualMachineSizeTypes size)
size - a size from the list of available sizes for the virtual machine/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/