Vm Guest Filesystem Transfers APIs

Vm Guest Filesystem Transfers APIs

The Transfers service provides operations to copy files into and out of the guest file system. Warning: This service is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Operations
GET
Get Vm Guest Filesystem Internal
Initiates an operation to transfer a file from the guest. Obtains a URL to the file inside the guest to be transferred to the client. If the power state of the Virtual Machine is changed when the file transfer is in progress, or the Virtual Machine is migrated, then the transfer operation is aborted. In order to ensure a secure connection to the host when transferring a file using HTTPS, the X.509 certificate for the host must be used to authenticate the remote end of the connection. The certificate of the host that the virtual machine is running on can be retrieved using the following fields: XXX insert link to certificate in Host config XXX . Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.
PUT
Set Vm Guest Filesystem Internal
Initiates an operation to transfer a file to the guest. Obtains a URL to the file inside the guest to be transferred from the client. The user should send a HTTP PUT request specifying the file content in the body of the request. Multiple PUT request cannot be sent to the URL simultaneously. URL will be invalidated after a successful PUT request is sent. If the power state of the Virtual Machine is changed when the file transfer is in progress, or the Virtual Machine is migrated, then the transfer operation is aborted. In order to ensure a secure connection to the host when transferring a file using HTTPS, the X.509 certificate for the host must be used to authenticate the remote end of the connection. The certificate of the host that the virtual machine is running on can be retrieved using the following fields: XXX insert link to certificate in Host config XXX . Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.