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.WithBillingProfile, 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 |
withPriority(VirtualMachinePriorityTypes priority)
Specifies a new priority for the virtual machine.
|
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
withoutTag, withTag, withTags
withoutProximityPlacementGroup, withProximityPlacementGroup
defineUnmanagedDataDisk, updateUnmanagedDataDisk, withExistingUnmanagedDataDisk, withNewUnmanagedDataDisk, withoutUnmanagedDataDisk, withoutUnmanagedDataDisk
withExistingDataDisk, withExistingDataDisk, withExistingDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withoutDataDisk
withExistingSecondaryNetworkInterface, withNewSecondaryNetworkInterface, withoutSecondaryNetworkInterface
defineNewExtension, updateExtension, withoutExtension
withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withoutBootDiagnostics
withMaxPrice
withoutSystemAssignedManagedServiceIdentity, withSystemAssignedManagedServiceIdentity
withExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentity, withoutUserAssignedManagedServiceIdentity
withLicenseType
VirtualMachine.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.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 machineVirtualMachine.Update withPriority(VirtualMachinePriorityTypes priority)
priority
- a priority from the list of available priority typesCopyright © 2020 Microsoft Corporation. All rights reserved.