public static interface VirtualMachine.Update extends Appliable<VirtualMachine>, Resource.UpdateWithTags<VirtualMachine.Update>, VirtualMachine.UpdateStages.WithProximityPlacementGroup, VirtualMachine.UpdateStages.WithUnmanagedDataDisk, VirtualMachine.UpdateStages.WithManagedDataDisk, VirtualMachine.UpdateStages.WithSecondaryNetworkInterface, VirtualMachine.UpdateStages.WithExtension, VirtualMachine.UpdateStages.WithBootDiagnostics, VirtualMachine.UpdateStages.WithSystemAssignedManagedServiceIdentity, VirtualMachine.UpdateStages.WithUserAssignedManagedServiceIdentity, VirtualMachine.UpdateStages.WithLicenseType
| Modifier and Type | Method and Description |
|---|---|
VirtualMachine.Update |
withDataDiskDefaultCachingType(CachingTypes cachingType)
Specifies the default caching type for the managed data disks.
|
VirtualMachine.Update |
withDataDiskDefaultStorageAccountType(StorageAccountTypes storageAccountType)
Specifies a storage account type.
|
VirtualMachine.Update |
withOSDiskCaching(CachingTypes cachingType)
Specifies the caching type for the OS disk.
|
VirtualMachine.Update |
withOSDiskEncryptionSettings(DiskEncryptionSettings settings)
Specifies the encryption settings for the OS Disk.
|
VirtualMachine.Update |
withOSDiskSizeInGB(int size)
Specifies the size of the OS disk in GB.
|
VirtualMachine.Update |
withOSDiskSizeInGB(Integer size)
Deprecated.
use
withOSDiskSizeInGB(int) instead. |
VirtualMachine.Update |
withSize(String sizeName)
Specifies a new size for the virtual machine.
|
VirtualMachine.Update |
withSize(VirtualMachineSizeTypes size)
Specifies a new size for the virtual machine.
|
apply, applyAsync, applyAsynckeywithoutTag, withTag, withTagswithoutProximityPlacementGroup, withProximityPlacementGroupdefineUnmanagedDataDisk, updateUnmanagedDataDisk, withExistingUnmanagedDataDisk, withNewUnmanagedDataDisk, withoutUnmanagedDataDisk, withoutUnmanagedDataDiskwithExistingDataDisk, withExistingDataDisk, withExistingDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withoutDataDiskwithExistingSecondaryNetworkInterface, withNewSecondaryNetworkInterface, withoutSecondaryNetworkInterfacedefineNewExtension, updateExtension, withoutExtensionwithBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withoutBootDiagnosticswithoutSystemAssignedManagedServiceIdentity, withSystemAssignedManagedServiceIdentitywithExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentity, withoutUserAssignedManagedServiceIdentitywithLicenseTypeVirtualMachine.Update withOSDiskEncryptionSettings(DiskEncryptionSettings settings)
settings - the encryption settings.VirtualMachine.Update withDataDiskDefaultCachingType(CachingTypes cachingType)
cachingType - a caching typeVirtualMachine.Update withDataDiskDefaultStorageAccountType(StorageAccountTypes storageAccountType)
storageAccountType - a storage account typeVirtualMachine.Update withOSDiskCaching(CachingTypes cachingType)
cachingType - a caching type.@Deprecated VirtualMachine.Update withOSDiskSizeInGB(Integer size)
withOSDiskSizeInGB(int) instead.Only unmanaged disks may be resized as part of a VM update. Managed disks must be resized separately, using managed disk API.
size - a disk size.VirtualMachine.Update withOSDiskSizeInGB(int size)
Only unmanaged disks may be resized as part of a VM update. Managed disks must be resized separately, using managed disk API.
size - a disk size.VirtualMachine.Update withSize(String sizeName)
sizeName - the name of a size for the virtual machine as textVirtualMachine.Update withSize(VirtualMachineSizeTypes size)
size - a size from the list of available sizes for the virtual machineCopyright © 2019. All rights reserved.