Interface VirtualMachine.Update

    • Method Detail

      • withOSDiskEncryptionSettings

        VirtualMachine.Update withOSDiskEncryptionSettings​(DiskEncryptionSettings settings)
        Specifies the encryption settings for the OS Disk.
        Parameters:
        settings - the encryption settings.
        Returns:
        the stage representing creatable VM update
      • withDataDiskDefaultCachingType

        VirtualMachine.Update withDataDiskDefaultCachingType​(CachingTypes cachingType)
        Specifies the default caching type for the managed data disks.
        Parameters:
        cachingType - a caching type
        Returns:
        the next stage of the update
      • withDataDiskDefaultStorageAccountType

        VirtualMachine.Update withDataDiskDefaultStorageAccountType​(StorageAccountTypes storageAccountType)
        Specifies a storage account type.
        Parameters:
        storageAccountType - a storage account type
        Returns:
        the next stage of the update
      • withDataDiskDefaultDeleteOptions

        VirtualMachine.Update withDataDiskDefaultDeleteOptions​(DeleteOptions deleteOptions)
        Specifies the delete options for managed data disks.
        Parameters:
        deleteOptions - the delete options for managed data disks
        Returns:
        the next stage of the definition
      • withDataDiskDefaultDiskEncryptionSet

        VirtualMachine.Update withDataDiskDefaultDiskEncryptionSet​(String diskEncryptionSetId)
        Specifies the disk encryption set for the managed data disk.
        Parameters:
        diskEncryptionSetId - the ID of disk encryption set.
        Returns:
        the next stage of the definition
      • withOSDiskCaching

        VirtualMachine.Update withOSDiskCaching​(CachingTypes cachingType)
        Specifies the caching type for the OS disk.
        Parameters:
        cachingType - a caching type.
        Returns:
        the next stage of the update
      • withOSDiskSizeInGB

        VirtualMachine.Update 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.

        Parameters:
        size - a disk size.
        Returns:
        the next stage of the update
      • withSize

        VirtualMachine.Update withSize​(String sizeName)
        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

        VirtualMachine.Update withSize​(VirtualMachineSizeTypes size)
        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

        VirtualMachine.Update withPriority​(VirtualMachinePriorityTypes priority)
        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