Interface VirtualMachine.Update
- All Superinterfaces:
Appliable<VirtualMachine>
,Indexable
,Resource.UpdateWithTags<VirtualMachine.Update>
,VirtualMachine.UpdateStages.WithBillingProfile
,VirtualMachine.UpdateStages.WithBootDiagnostics
,VirtualMachine.UpdateStages.WithExtension
,VirtualMachine.UpdateStages.WithLicenseType
,VirtualMachine.UpdateStages.WithManagedDataDisk
,VirtualMachine.UpdateStages.WithProximityPlacementGroup
,VirtualMachine.UpdateStages.WithSecondaryNetworkInterface
,VirtualMachine.UpdateStages.WithSystemAssignedManagedServiceIdentity
,VirtualMachine.UpdateStages.WithUnmanagedDataDisk
,VirtualMachine.UpdateStages.WithUserAssignedManagedServiceIdentity
- All Known Subinterfaces:
VirtualMachine.UpdateStages.WithSystemAssignedIdentityBasedAccessOrUpdate
- Enclosing interface:
- VirtualMachine
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
The template for an update operation, containing all the settings that can be modified.
-
Method Summary
Modifier and TypeMethodDescriptionwithDataDiskDefaultCachingType
(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.Specifies the encryption settings for the OS Disk.withOSDiskSizeInGB
(int size) Specifies the size of the OS disk in GB.withOSDiskSizeInGB
(Integer size) Deprecated.withPriority
(VirtualMachinePriorityTypes priority) Specifies a new priority for the virtual machine.Specifies a new size for the virtual machine.Specifies a new size for the virtual machine.Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Appliable
apply, applyAsync, applyAsync
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.Indexable
key
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.Resource.UpdateWithTags
withoutTag, withTag, withTags
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithBillingProfile
withMaxPrice
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithBootDiagnostics
withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnostics, withBootDiagnosticsOnManagedStorageAccount, withoutBootDiagnostics
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithExtension
defineNewExtension, updateExtension, withoutExtension
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithLicenseType
withLicenseType
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithManagedDataDisk
withExistingDataDisk, withExistingDataDisk, withExistingDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withNewDataDisk, withoutDataDisk
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithProximityPlacementGroup
withoutProximityPlacementGroup, withProximityPlacementGroup
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithSecondaryNetworkInterface
withExistingSecondaryNetworkInterface, withNewSecondaryNetworkInterface, withoutSecondaryNetworkInterface
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithSystemAssignedManagedServiceIdentity
withoutSystemAssignedManagedServiceIdentity, withSystemAssignedManagedServiceIdentity
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithUnmanagedDataDisk
defineUnmanagedDataDisk, updateUnmanagedDataDisk, withExistingUnmanagedDataDisk, withNewUnmanagedDataDisk, withoutUnmanagedDataDisk, withoutUnmanagedDataDisk
Methods inherited from interface com.microsoft.azure.management.compute.VirtualMachine.UpdateStages.WithUserAssignedManagedServiceIdentity
withExistingUserAssignedManagedServiceIdentity, withNewUserAssignedManagedServiceIdentity, withoutUserAssignedManagedServiceIdentity
-
Method Details
-
withOSDiskEncryptionSettings
Specifies the encryption settings for the OS Disk.- Parameters:
settings
- the encryption settings.- Returns:
- the stage representing creatable VM update
-
withDataDiskDefaultCachingType
Specifies the default caching type for the managed data disks.- Parameters:
cachingType
- a caching type- Returns:
- the next stage of the update
-
withDataDiskDefaultStorageAccountType
Specifies a storage account type.- Parameters:
storageAccountType
- a storage account type- Returns:
- the next stage of the update
-
withOSDiskCaching
Specifies the caching type for the OS disk.- Parameters:
cachingType
- a caching type.- Returns:
- the next stage of the update
-
withOSDiskSizeInGB
Deprecated.usewithOSDiskSizeInGB(int)
instead.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.
- Parameters:
size
- a disk size.- Returns:
- the next stage of the update
-
withOSDiskSizeInGB
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.
- Parameters:
size
- a disk size.- Returns:
- the next stage of the update
-
withSize
Specifies a new size for the virtual machine.- Parameters:
sizeName
- the name of a size for the virtual machine as text- Returns:
- the next stage of the update
-
withSize
Specifies a new size for the virtual machine.- Parameters:
size
- a size from the list of available sizes for the virtual machine- Returns:
- the next stage of the definition
-
withPriority
Specifies a new priority for the virtual machine.- Parameters:
priority
- a priority from the list of available priority types- Returns:
- the next stage of the update
-
withOSDiskSizeInGB(int)
instead.