VirtualMachine.Update 接口
定义
The template for an update operation, containing all the settings that can be modified.
public interface Update extends Appliable<VirtualMachine>,Resource.UpdateWithTags<Update>,VirtualMachine.UpdateStages.WithUnmanagedDataDisk,VirtualMachine.UpdateStages.WithManagedDataDisk,VirtualMachine.UpdateStages.WithSecondaryNetworkInterface,VirtualMachine.UpdateStages.WithExtension,VirtualMachine.UpdateStages.WithBootDiagnostics,VirtualMachine.UpdateStages.WithManagedServiceIdentity
继承成员
方法
withDataDiskDefaultCachingType(CachingTypes cachingType) |
Specifies the default caching type for the managed data disks.
|
withDataDiskDefaultStorageAccountType(StorageAccountTypes storageAccountType) |
Specifies a storage account type.
|
withOSDiskCaching(CachingTypes cachingType) |
Specifies the caching type for the OS disk.
|
withOSDiskEncryptionSettings(DiskEncryptionSettings settings) |
Specifies the encryption settings for the OS Disk.
|
withOSDiskSizeInGB(int size) |
Specifies the size of the OS disk in GB. Only unmanaged disks may be resized as part of a VM update. Managed disks must be resized separately, using managed disk API.
|
withOSDiskSizeInGB(Integer size) |
Specifies the size of the OS disk in GB. Only unmanaged disks may be resized as part of a VM update. Managed disks must be resized separately, using managed disk API.
|
withSize(String sizeName) |
Specifies a new size for the virtual machine.
|
withSize(VirtualMachineSizeTypes size) |
Specifies a new size for the virtual machine.
|