Class UpdateVirtualMachineOptions

    • Constructor Detail

      • UpdateVirtualMachineOptions

        public UpdateVirtualMachineOptions()
    • Method Detail

      • displayName

        public UpdateVirtualMachineOptions displayName​(String displayName)
        sets the displayName - just for display purposes. We don't pass this parameter to the backend.
        Parameters:
        displayName - an optional user generated name for the virtual machine
      • haEnable

        public UpdateVirtualMachineOptions haEnable​(boolean haEnable)
        Parameters:
        haEnable - true if high-availability is enabled for the virtual machine, false otherwise
      • userData

        public UpdateVirtualMachineOptions userData​(byte[] unencodedData)
        Parameters:
        unencodedData - an optional binary data that can be sent to the virtual machine upon a successful deployment. This binary data must be base64 encoded before adding it to the request. Currently only HTTP GET is supported. Using HTTP GET (via querystring), you can send up to 2KB of data after base64 encoding.