Operations at hypervagent/

This page describes the service operations at this endpoint.

URI | Method | Description
--- | --- | ---
hypervagent/{virtualMachineId}/assetTag/{assetTag} | PUT | Changes asset tag for the current virtual machine
hypervagent/{virtualMachineId}/availablevirtualnetworks | GET | Gets a list of virtual network adapters on Hyper-V server available for a virtual machine
hypervagent/{virtualMachineId}/cpu/{processorCount} | PUT | Changes number of virtual CPUs in current virtual machine
hypervagent/{virtualMachineId}/disks | GET | Gets a list of virtual disks currently attached to current virtual machine
hypervagent/{virtualMachineId}/disks/{diskPath} | DELETE | Detaches a virtual disk from current virtual machine
hypervagent/{virtualMachineId}/disks/{diskPath}/{storageController} | PUT | Attaches a virtual disk to current virtual machine
hypervagent/{virtualMachineId}/dvd | PUT | Adds a DVD drive to current virtual machine
hypervagent/{virtualMachineId}/endsession | DELETE | Tells Hyper-V Agent to finish session with the virtual machine
hypervagent/{virtualMachineId}/getSnapshotsCount | GET | Get the count of snapshots for virtual machine
hypervagent/{virtualMachineId}/integrationservices | PUT | Mounts the integration services setup disk
hypervagent/{virtualMachineId}/iso/{isoPath} | PUT | Adds an ISO image to a DVD drive. If DVD drive doesn't exist - creates it
hypervagent/{virtualMachineId}/name | GET | Gets name of current virtual machine
hypervagent/{virtualMachineId}/newname/{newVirtualMachineName} | PUT | Renames current virtual machine
hypervagent/{virtualMachineId}/nic/{networkAdapterName} | PUT | Adds new network adapter to current virtual machine
hypervagent/{virtualMachineId}/pingSession | PUT | Indicates that session is still being used
hypervagent/{virtualMachineId}/ram/{ramValue} | PUT | Changes amount of RAM in current virtual machine
hypervagent/attachToExistingVirtualMachine | POST | Gets virtual machine identified by bios serial number
hypervagent/connect | GET | Verifies connection to the running HyperV Agent
hypervagent/cpu/{operatingSystemFamily} | GET | Gets the maximum number of virtual CPUs that could be attached to virtual machine
hypervagent/deleteFile/{path} | DELETE | Deletes a specified file
hypervagent/existent/{virtualMachineId} | DELETE | Deletes current virtual machine and detaches from it
hypervagent/existFile/{path} | GET | Checks is specified file existed
hypervagent/finalizeDataTransferSession/{id}/{deleteData} | POST | Signals to a remote host that data transfer is over. If needed, can delete data for failed transfers
hypervagent/getConfigurationSetupStatus | POST | Gets virtual machine configuration setup status
hypervagent/getFreeSpace | POST | Gets free space on the disk
hypervagent/getOrCreate | POST | Gets or creates virtual machine specified in request parameter
hypervagent/getVersion | GET | Gets hyper-V agent version
hypervagent/getVirtualApplianceDisksSummary | POST | Gets disks that are related to this virtual appliance
hypervagent/initializeDataTransferSession/{target} | POST | Prepares a file on the remote host to receive data stream
hypervagent/rearrangeBootOrder | POST | Changes the boot order for a Hyper-V virtual machine
hypervagent/transferData/{id}/{count} | POST | Writes a block of data to a file on the remote host. You need to open the session before sending data